:root {
    --scrollbar-track: #0E2432;
    --scrollbar-thumb: #4B81A3;
    --scrollbar-thumb-hover: #2D6283;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: 0.62rem;
    height: 0.62rem;
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-hover) 100%);
    border: 2px solid var(--scrollbar-track);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5D92B3 0%, #366F91 100%);
}

*::-webkit-scrollbar-corner {
    background: var(--scrollbar-track);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    background: none;

    -webkit-font-smoothing: antialiased;
}

menu, ol, ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
}

.text-underline {
    text-decoration: underline;
}

.home {
    background: #0E2432 url("../img/bg-simbols.webp") center / cover no-repeat;
    height: 97.4vh;
    border-radius: 0 0 5.25vw 5.25vw;
}

.block-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 27.17vh;
    text-transform: uppercase;
}

.title {
    font-family: Impact;
    font-size: 9.06vw;
    font-weight: 400;
    color: #fff;
}

.subtitle {
    font-family: Geist;
    font-size: 1.875vw;
    font-weight: 400;
    color: #fff;
}

.block-title__button {
    margin-top: 13.17vh;
    padding: 2.54vh 3.125vw;
    font-family: Geist;
    font-size: 1.6vw;
    font-weight: bold;
    color: #0E2432;
    background-color: #fff;
    border-radius: 4.84vw;
    cursor: pointer;
    text-transform: uppercase;
}

main {
    padding: 0 1.77vw;
    margin: 0 auto;
}

.course-highlight {
    margin-top: 10.24vh;
    margin-left: auto;
    margin-right: auto;
}

.course-highlight__title {
    font-family: Montserrat;
    font-size: 2.8125vw;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.course-highlight__title span {
    font-size: 1.875vw;
    text-transform: uppercase;
    color: #fff;
    background-color: #264E66;
    border-radius: 1.67vw;
    padding: 0.16vw 0.78vw;
}

.quran {
    margin-top: 11.58vh;
}

.quran__block {
    width: 55.9375vw;
    height: 43.06vh;
    padding: 3.82vh 2.66vw;
    background-color: #17374A;
    border-radius: 2.6vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.quran__block h2 {
    font-size: 2.5vw;
    font-weight: 700;
    font-family: Geist;
    color: #F2FAFF;
}

.quran__block a {
    padding: 2.87vh 7.16vw;
    color: #17374A;
    background-color: #fff;
    font-size: 1.4vw;
    font-family: Geist;
    font-weight: 700;
    border-radius: 2.6vw;
    cursor: pointer;
    text-transform: uppercase;
}

.format {
    margin-top: 20.67vh;
}

.format__title {
    font-family: Montserrat;
    font-size: 2.5vw;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.format__list {
    display: flex;
    flex-direction: row;
    margin: 7.18vh auto 0;
    justify-content: center;
    width: 80%;
    align-items: stretch;
}

.format__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2vw;
    padding: 0 1.667vw;
    font-family: Geist;
}

.format__item + .format__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #3E667E;
}

.format__item h3 {
    font-size: 2.1875vw;
    font-weight: 700;
    color: #fff;
    padding: 0 0.73vw;
    background-color: #264E66;
    border-radius: 1.82vw;
}

.format__item p {
    font-size: 1.25vw;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
}

.price {
    margin-top: 18.18vh;
}

.price__title {
    font-family: Montserrat;
    font-size: 3.3vw;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.price__list {
    position: relative;
    width: 56.25vw;
    height: 64.29vh;
    margin: 8.04vh auto 0;
}

.price__item {
    position: absolute;
    border-radius: 2.5vw;
}

.price__item h3 {
    font-family: Geist;
    font-size: 3.54vw;
    font-weight: 700;
}

.price__item--small {
    left: 0;
    top: 0;
    width: 43vw;
    height: 43.06vh;
    border: 1px solid #2D6283;
    padding: 3.35vh 2.135vw;
}

.price__item--small h3 {
    color: #17374A;
}

.price__item--full {
    right: 0;
    bottom: 0;
    width: 43vw;
    height: 43.06vh;
    background-color: #173F58;
    padding: 3.06vh 3vw;
    color: #D9E7EF;
}

.price__item--full h3 {
    color: #F2FAFF;
}

.price__subtitle {
    font-family: Geist;
    font-size: 2.5vw;
    font-weight: 500;
    color: #376179;
}

.price__subtitle--full {
    color: #D8F0FF !important;
}

.price__value {
    position: absolute;
    width: 13.8vw;
    height: 15vh;
    border-radius: 100%;
    border: 0.3125vw solid #2D6283;
    background-color: #fff;
    font-family: Geist;
    font-size: 1.823vw;
    font-weight: 500;
    color: #2D6283;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-13deg);
}

.price__item--small .price__value {
    left: -3.4375vw;
    bottom: -2.5vh;
}

.price__item--full .price__value {
    right: -1.354vw;
    bottom: -2.3vh;
}

.price__value span {
    color: #C5943D;
    margin-left: 0.42vw;
}

@media (max-width: 500px) {
    .home {
        position: relative;
        overflow: hidden;
        width: 91.795vw;
        height: 194.88vw;
        margin: 4.1vw auto 0;
        border-radius: 7.7vw 0 7.7vw 7.7vw;
        background: #fff;
    }

    .home::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        border-radius: inherit;
        background:
            url("../img/bg-simbols.webp") center / cover no-repeat,
            url("../img/bg-adaptive-home.svg") center / cover no-repeat;
        clip-path: inset(0 0 0 0 round 7.7vw);
        transform: translateY(0) translateX(0) scale(1);
        transform-origin: top right;
        opacity: 1;
        transition:
            clip-path 460ms cubic-bezier(0.22, 1, 0.36, 1),
            border-radius 460ms cubic-bezier(0.22, 1, 0.36, 1),
            transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 460ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, clip-path, border-radius;
        pointer-events: none;
    }

    main {
        padding: 0;
        margin: 0 4.1vw;
    }

    .block-title {
        position: relative;
        margin-top: 60%;
        padding: 4.1vw 4.1vw;
        z-index: 1;
        transform: translateY(0) scale(1);
        transform-origin: top right;
        transition:
            transform 460ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 460ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .title {
        font-family: Impact;
        font-size: 17.18vw;
        font-weight: 400;
        line-height: 0.95;
        text-align: center;
    }

    .subtitle {
        margin-top: 2vw;
        font-family: Arial, sans-serif;
        font-size: 4.62vw;
        font-weight: 400;
        line-height: 1.1;
        text-align: center;
    }

    .block-title__button {
        display: none;
    }

    .home.menu-open::before {
        clip-path: inset(0 0 100% 100% round 12.82vw);
        border-radius: 12.82vw;
        opacity: 1;
        transform: translateY(-8px) translateX(8px) scale(0.72);
    }


    .course-highlight {
        margin-top: 5.92vh;
        width: 100%;
    }

    .course-highlight__title {
        font-size: 5.64vw;
        line-height: 1.2;
    }

    .course-highlight__title span {
        font-size: 4.87vw;
        border-radius: 999px;
        padding: 2px 2.564vw;
    }

    .quran {
        margin-top: 5.92vh;
    }

    .quran__block {
        width: 100%;
        height: 17.77vh;
        padding: 1.54vh 4.36vw;
        border-radius: 3.85vw;
    }

    .quran__block h2 {
        font-size: 4.1vw;
    }

    .quran__block a {
        font-size: 2.56vw;
        padding: 1.06vh 8vw;
        border-radius: 999px;
    }

    .format {
        margin-top: 11.85vh;
    }

    .format__title {
        font-size: 5.64vw;
    }

    .format__list {
        width: 100%;
        margin-top: 0;
        flex-direction: column;
    }

    .format__item {
        gap: 3.85vw;
        padding: 8.06vh 0;
    }

    .format__item:first-child {
        padding: 5.92vh 0 8.06vh 0;
    }

    .format__item:last-child {
        padding: 8.06vh 0 0 0;
    }

    .format__item + .format__item::before {
        top: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        height: 1px;
    }

    .format__item h3 {
        font-size: 7.7vw;
        border-radius: 6.15vw;
        padding: 0 2.5vw;
    }

    .format__item p {
        font-size: 5.128vw;
    }

    .price {
        margin-top: 18.36vh;
    }

    .price__title {
        font-size: 5.64vw;
    }

    .price__list {
        width: 100%;
        height: 34vh;
        margin-top: 3.55vh;
    }

    .price__item {
        width: 62.5vw;
        height: 15.76vh;
        padding: 1.78vh 5.128vw;
        border-radius: 3.85vw;
    }

    .price__item--small {
        right: 20vw;
        left: inherit;
        top: 0;
    }

    .price__item--full {
        left: 20vw;
        right: inherit;
        bottom: 0;
    }

    .price__item h3 {
        font-size: 4.615vw;
    }

    .price__subtitle {
        font-size: 3.58vw;
    }

    .price__value {
        width: 20vw;
        height: 5.45vh;
        font-size: 2.56vw;
        border-width: 2px;
    }

    .price__item--small .price__value {
        left: -10vw;
        bottom: -1.185vh;
    }

    .price__item--full .price__value {
        right: -10vw;
        bottom: -0.95vh;
    }

    .price__value span {
        margin-left: 0.77vw;
    }

}


@media (min-width: 1920px) {
    a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    background: none;

    -webkit-font-smoothing: antialiased;
}

menu, ol, ul {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
}



.home {
    background: #0E2432 url("../img/bg-simbols.webp") center / cover no-repeat;
    height: 1052px;
    border-radius: 0 0 100px 100px;
}

.block-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 284px;
    text-transform: uppercase;
}

.title {
    font-family: Impact;
    font-size: 174px;
    font-weight: 400;
    color: #fff;
}

.subtitle {
    font-family: Geist;
    font-size: 36px;
    font-weight: 400;
    color: #fff;
}

.block-title__button {
    margin-top: 137px;
    padding: 26.5px 60px;
    font-family: Geist;
    font-size: 31px;
    font-weight: bold;
    color: #0E2432;
    background-color: #fff;
    border-radius: 93px;
    cursor: pointer;
    text-transform: uppercase;
}

main {
    padding: 0 34px;
}

.course-highlight {
    margin-top: 107px;
    margin-left: auto;
    margin-right: auto;
}

.course-highlight__title {
    font-family: Montserrat;
    font-size: 54px;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.course-highlight__title span {
    font-size: 36px;
    text-transform: uppercase;
    color: #fff;
    background-color: #264E66;
    border-radius: 32px;
    padding: 3px 15px;
}

.quran {
    margin-top: 121px;
}

.quran__block {
    width: 1074px;
    height: 450px;
    padding: 40px 51px;
    background-color: #17374A;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
}

.quran__block h2 {
    font-size: 48px;
    font-weight: 700;
    font-family: Geist;
    color: #F2FAFF;
}

.quran__block a {
    padding: 30px 137.5px;
    color: #17374A;
    background-color: #fff;
    font-size: 27px;
    font-family: Geist;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
}

.format {
    margin-top: 216px;
}

.format__title {
    font-family: Montserrat;
    font-size: 48px;
    font-weight: 700;
    color: #0E2432;
    text-align: center;
}

.format__list {
    display: flex;
    flex-direction: row;
    margin: 75px auto 0;
    justify-content: center;
    width: 80%;
    align-items: stretch;
}

.format__item {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 23px;
    padding: 0 16px;
    font-family: Geist;
}

.format__item + .format__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background-color: #3E667E;
}

.format__item h3 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    padding: 0 14px;
    background-color: #264E66;
    border-radius: 35px;
}

.format__item p {
    font-size: 24px;
    font-weight: 500;
    color: #4B81A3;
    text-align: center;
}

.price {
    margin-top: 190px;
}

.price__title {
    font-family: Montserrat;
    font-size: 64px;
    font-weight: 700;
    color: #0E143F;
    text-align: center;
}

.price__list {
    position: relative;
    width: 1080px;
    height: 670px;
    margin: 84px auto 0;
}

.price__item {
    position: absolute;
    border-radius: 48px;
}

.price__item h3 {
    font-family: Geist;
    font-size: 68px;
    font-weight: 700;
}

.price__item--small {
    left: 0;
    top: 0;
    width: 826px;
    height: 450px;
    border: 1px solid #2D6283;
    padding: 35px 41px;
}

.price__item--small h3 {
    color: #17374A;
}

.price__item--full {
    right: 0;
    bottom: 0;
    width: 826px;
    height: 450px;
    background-color: #173F58;
    padding: 32px 58px;
    color: #D9E7EF;
}

.price__item--full h3 {
    color: #F2FAFF;
}

.price__subtitle {
    font-family: Geist;
    font-size: 48px;
    font-weight: 500;
}

.price__value {
    position: absolute;
    width: 265px;
    height: 157px;
    border-radius: 100%;
    border: 6px solid #2D6283;
    background-color: #fff;
    font-family: Geist;
    font-size: 35px;
    font-weight: 500;
    color: #2D6283;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-13deg);
}

.price__item--small .price__value {
    left: -66px;
    bottom: -26px;
}

.price__item--full .price__value {
    right: -26px;
    bottom: -24px;
}

.price__value span {
    color: #C5943D;
    margin-left: 8px;
}

}

@media (max-width: 500px) and (prefers-reduced-motion: reduce) {
    .home::before,
    .block-title {
        transition-duration: 1ms;
    }

    .home.menu-open::before {
        clip-path: inset(0 0 100% 100% round 12.82vw);
        border-radius: 12.82vw;
        transform: none;
    }

    .home.menu-open > .block-title {
        transform: none;
    }
}




