.chapter {
    font-size: 15px;
    padding: 0 5%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 992px) {
    .chapter {
        font-size: 16px;
        padding: 0 6%;
    }
}
.chapter p {
    margin-bottom: 0;
}
.chapters {
    background-color: var(--color-bg);
    padding: 64px 0;
    text-align: center;
}
@media (min-width: 992px) {
    .chapters {
        padding-top: 96px;
    }
}
.chapters-title-header {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;

    @media (min-width: 992px) {
        margin-bottom: 56px;
    }

    & > * {
        margin-bottom: 0;
    }
}
.chapters .row > [class^=col-]:not(:last-child) {
    margin-bottom: 40px;
}
.chapter-title {
    font-family: "Inter", sans-serif;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.33;
}
@media (min-width: 992px) {
    .chapter-title {
        margin-bottom: 16px;
    }
}
.chapter-icon {
    margin-bottom: 20px;
    color: var(--color-primary);
}
@media (min-width: 992px) {
    .chapter-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 24px;
    }
}

.boxes {
    background: var(--color-bg);
}
.boxes-title {
    text-align: center;
    margin-bottom: 32px;
}
@media (min-width: 992px) {
    .boxes-title {
        margin-bottom: 56px;
    }
}
.boxes-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
}
@media (min-width: 768px) {
    .boxes-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.box {
    border-radius: 16px;
    background: #fff;
    border: 2px solid var(--color-gray);
    padding: 32px 24px 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    position: relative;
}
.box .box-highlight-badge {
    position: absolute;
    top: -16px;
    text-align: center;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    padding: 4px 8px;
    border-radius: 16px;
    text-transform: uppercase;
    width: 50%;
}
.box.box-highlight {
    border: 4px solid var(--color-primary);
    -webkit-box-shadow: 0 0 57px -22px var(--color-primary);
            box-shadow: 0 0 57px -22px var(--color-primary);
    background: #fff;
}
.box.box-highlight .box-highlight-text {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.22px;
    margin-top: 4px;
    display: block;
}
.box-price {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    font-family: "Inter", sans-serif;
    color: var(--color-primary);
}
@media (max-width: 991px) {
    .box {
        min-height: 344px;
    }
}
.box:hover {
    -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
            transform: translateY(-10px);
}
.box-title {
    margin-bottom: 20px;
}
@media (min-width: 992px) {
    .box-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
}
.box-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    color: #373737;
    font-size: 15px;
    line-height: 1.33;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
}
.box-list li {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 17'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%230CAC94' fill-rule='evenodd' d='M15.58 2.528c.49.4.561 1.12.162 1.608L6.775 15.095a2.286 2.286 0 0 1-3.274.273l-3.11-2.722a1.143 1.143 0 0 1 1.504-1.72l3.111 2.722 8.967-10.959c.4-.489 1.12-.56 1.608-.16Z' clip-rule='evenodd'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 1h16v16H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
    background-size: 16px 17px;
    background-position: left top;
    background-repeat: no-repeat;
    padding-left: 24px;
}
.box-list + .btn {
    margin-top: auto;
    width: 100%;
}
@media (min-width: 992px) {
    .box-list + .btn {
        -ms-flex-item-align: start;
            align-self: flex-start;
    }
}

@media (max-width: 567px) {
    .fancybox-slide {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.fancybox-button {
    color: #FFF;
}

.course-content {
    text-align: center;
    color: #474747;
    font-size: 18px;
    line-height: 1.22;
}
@media (min-width: 992px) {
    .course-content {
        text-align: left;
        font-size: 20px;
    }
}
.course-content-title {
    margin-bottom: 12px;

    & + p {
        font-size: 18px;
        font-weight: 500;
    }
}
.course-content-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
}
@media (min-width: 992px) {
    .course-content-items {
        gap: 58px;
    }
}
@media (min-width: 992px) {
    .course-content-item {
        position: relative;
        padding-left: 64px;
    }
}
.course-content-item-title {
    margin-top: 22px;
    margin-bottom: 12px;
}
@media (min-width: 992px) {
    .course-content-item-title {
        margin-top: 0;
        margin-bottom: 16px;
    }
}
.course-content-item-icon {
    color: #0CAC94;
}
@media (min-width: 992px) {
    .course-content-item-icon {
        position: absolute;
        left: 0;
        top: 0;
    }
}
.course-content .btn {
    margin-top: 40px;
    padding-left: 44px;
    padding-right: 44px;
}
@media (min-width: 992px) {
    .course-content .btn {
        margin-top: 0;
        padding-left: 60px;
        padding-right: 60px;
    }
}