
/********************************************************************************/ /* Offer Courses */
.offer-course {
    background: color-mix(in srgb, var(--primary_color) 8%, transparent);
    padding: 40px;
    border-radius: 24px;
    position: relative;
}
.offer-course:before{
    content: " ";
    background-color: var(--secondary_color);
    -webkit-mask-image: url(../img/wave-2.svg);
    mask-image: url(../img/wave-2.svg);
    width: 78px;
    height: 101px;
    position: absolute;
    left: 12%;
    top: -55px;
    box-shadow: 0 4px 26px 0
    color-mix(in srgb, var(--secondary_color) 36%, transparent);
    z-index: 1;
    transform: scale(0.8);
}

.offer-course .mid-line:after,
.offer-course .mid-line:before,
.offer-course .mid-line {
    background: color-mix(in srgb, var(--dark_gray_color) 20%, transparent);
}

.offer-course .section-head {
    padding-bottom: 32px;
}

.offer-course .section-head .d-flex {
    width: calc(100% - 390px);
}

.offer-course .section-head .d-flex .mid-line {
    width: calc(100% - 220px - 112px);
    margin: 0 auto;
}

.offer-course .section-head-btns-wrap {
    width: 390px;
    justify-content: end;
    gap: 40px;
}

.swiper-buttons {
    display: flex;
    position: relative;
}

.swiper-buttons:before {
    content: " ";
    width: 1px;
    height: 24px;
    background: var(--dark_gray_color);
    opacity: 0.45;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.courses-timer {
    display: flex;
    align-items: center;
    gap: 18px;
    direction: ltr;
}

.courses-timer > div {
    position: relative;
    width: 48px;
    height: 48px;
    background: var(--gray_color);
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.courses-timer > div:after {
    content: ":";
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--dark_gray_color);
    width: 6px;
    height: 18px;
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
}

.courses-timer > div.day:after {
    display: none;
}

.courses-timer span {
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    contain: var(--text_color);
}

.courses-timer em {
    font-style: normal;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    contain: var(--dark_gray_color);
}


@media (max-width: 991px) {

    .offer-course .section-head {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 0;
    }

    .offer-course .section-head .section-head-btns-wrap .swiper-buttons {
        display: none;
    }



    .offer-course .section-head .d-flex,
    .offer-course .section-head .section-head-btns-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .offer-course .section-head .section-head-btns-wrap {
        --border-color: color-mix(in srgb, var(--dark_gray_color) 20%, transparent);
        border-bottom: 1px solid var(--border-color);
        position: relative;
        margin: 0 0 24px;
    }

    .offer-course .section-head .section-head-btns-wrap:before {
        content: " ";
        width: 5px;
        height: 5px;
        background: var(--border-color);
        border-radius: 100%;
        position: absolute;
        bottom: -3px;
        right: 0;
    }

    .offer-course .section-head .section-head-btns-wrap:after {
        content: " ";
        width: 5px;
        height: 5px;
        background: var(--border-color);
        border-radius: 100%;
        position: absolute;
        bottom: -3px;
        left: 0;
    }

    .courses-timer {
        padding-bottom: 24px;
    }
}
@media (max-width: 767px) {


    .offer-course {
        padding: 40px 16px 16px;
    }
}