

/********************************************************************************/ /* Free Courses */
.free-course {
    position: relative;
}
section.free-course{
    padding-top: 91px;
}
.free-course-inner-wrap {
    margin: 128px 0 200px;
    background: color-mix(in srgb, var(--primary_color) 8%, transparent);
    padding: 50px 48px;
    border-radius: 24px;
    position: relative;
}

.free-course-vector-wrapper .col-12:first-child {
    padding-left: 50px;
}

.free-course:before {
    content: " ";
    background-color: var(--primary_color);
    -webkit-mask-image: url(../img/wave-2.svg);
    mask-image: url(../img/wave-2.svg);
    width: 78px;
    height: 101px;
    position: absolute;
    right: 25%;
    top: 62px;
    box-shadow: 0 4px 26px 0 color-mix(in srgb, var(--primary_color) 36%, transparent);
    z-index: 1;
    transform: scaleX(-1);
}

.free-course-vector-wrapper {
    border-radius: 24px;
    background: transparent;
    overflow: hidden;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.free-course-vector-wrapper:before {
    content: " ";
    width: 126px;
    height: 126px;
    background: color-mix(in srgb, var(--primary_color) 8%, transparent);
    border-radius: 100%;
    position: absolute;
    left: 44%;
    bottom: -20px;
}

.free-course-vector-wrapper:after {
    content: " ";
    background-color: var(--primary_color);
    -webkit-mask-image: url("../img/vector-hero-2.svg");
    mask-image: url("../img/vector-hero-2.svg");
    width: 332px;
    height: 224px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(-1);
}

.free-course-title {
    font-size: 26px;
    font-weight: 400;
    line-height: 48px;
    color: var(--primary_color);
    margin-bottom: 32px;
}

.free-course-title em {
    font-style: normal;
    font-weight: bold;
}

.free-course-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 40px;
    color: var(--dark_gray_color);
    margin-bottom: 44px;
}

.free-course-foot {
    display: flex;
    align-items: center;
    gap: 40px;
}

.free-course-foot-item {
    text-align: center;
}

.free-course-foot-item {
    display: block;
    font-size: 16px;
    color: var(--dark_gray_color);
    line-height: 1;
}

.free-course-foot-item em {
    direction: ltr;
    font-style: normal;
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: var(--primary_color);
    line-height: 1;
    margin-bottom: 16px;
}



.free-course-foot div:last-of-type:after {
    content: none;
}

.free-course-list {
    gap: 20px;
    height: 0;
    justify-content: end;
}

.free-course-list .product-box-free {
    max-width: calc(50% - 10px);
}

.free-course-list article.product-box-free:nth-of-type(2n+1) {
    transform: translateY(-60%);
}

.free-course-list article.product-box-free:nth-of-type(2n) {
    transform: translateY(-35%);
}

@media (max-width: 1199px) {
    .free-course-list {
        gap: 10px;
    }

    .free-course-list .product-box-free {
        max-width: calc(50% - 5px);
    }

    .free-course-foot {
        gap: 20px;
    }

}
@media (max-width: 991px) {
    section.free-course {
        padding-top: 71px;
    }

    .free-course-inner-wrap {
        margin: 0;
        padding: 40px 16px;
    }

    .free-course-title,
    .free-course-text {
        text-align: center;
        padding: 0;
        margin-bottom: 32px;
    }

    .free-course:before,
    .free-course .title-shape:before,
    .free-course .title-shape:after {
        display: none;
    }

    .free-course-list {
        height: auto;
        gap: 20px;
        padding: 24px 0 80px;
    }

    .free-course-list .product-box-free {
        max-width: calc(50% - 10px);
        width: auto;
    }

    .free-course-list article.product-box-free:nth-of-type(2n+1),
    .free-course-list article.product-box-free:nth-of-type(2n) {
        transform: translateY(0);
    }

    .free-course-foot {
        justify-content: center;
    }

    .free-course .btn-2-icon {
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        margin: 0 16px;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .free-course-vector-wrapper {
        display: none;
    }

    .free-course-title {
        font-size: 22px;
        line-height: 44px;
    }

    .free-course-text {
        font-size: 16px;
        line-height: 36px;
    }

    .free-course-list .product-box-free {
        max-width: 298px;
        display: inline-block;
        margin-left: 16px;
    }

    .free-course-list {
        white-space: nowrap;
        display: block !important;
        overflow: auto;
    }

}
