:root {
    --school-ink: var(--dark);
    --school-green: var(--primary);
    --school-mint: var(--light);
    --school-sun: var(--school-accent);
}

body {
    color: var(--dark);
    font-family: "Nunito", "Segoe UI", sans-serif;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    color: var(--school-ink);
    font-family: "Nunito", "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

.school-topbar {
    background: var(--school-ink);
    color: #fff;
    font-size: .85rem;
    padding: .45rem 0;
}

.school-topbar a {
    color: #fff;
    text-decoration: none;
}

.school-topbar__links,
.school-header-social {
    align-items: center;
    display: flex;
}

.school-topbar__links {
    gap: 1rem;
}

.school-header-social {
    gap: .45rem;
}

.school-header-social a {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    display: inline-flex;
    height: 1.75rem;
    justify-content: center;
    transition: background-color .2s ease, color .2s ease;
    width: 1.75rem;
}

.school-header-social a:hover,
.school-header-social a:focus-visible {
    background: #fff;
    color: var(--school-ink);
}

.school-topbar__email {
    white-space: nowrap;
}

.school-brand-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

.school-brand-name {
    color: var(--school-ink);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 230px;
}

#header {
    top: 0;
    box-shadow: 0 4px 20px rgba(23, 60, 61, .08);
}

.navbar .navbar-nav .nav-link {
    font-size: .96rem;
    font-weight: 700;
}

.school-nav-cta {
    white-space: nowrap;
}

.school-home section[id],
.school-home div[id] {
    scroll-margin-top: 95px;
}

.registration-popup {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, .35);
    height: fit-content;
    margin: auto;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    max-width: calc(100vw - 2rem);
    overflow: visible;
    padding: 0;
    width: fit-content;
    background: transparent;
}

.registration-popup::backdrop {
    background: rgba(15, 35, 34, .72);
    backdrop-filter: blur(3px);
}

.registration-popup__content {
    position: relative;
    width: fit-content;
}

.registration-popup__image {
    border-radius: 1rem;
    display: block;
    height: auto;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    max-width: calc(100vw - 2rem);
    object-fit: contain;
    width: auto;
}

.registration-popup__close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .22);
    color: #173c3d;
    cursor: pointer;
    display: flex;
    font-size: 1.8rem;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    padding: 0 0 .15rem;
    position: absolute;
    right: .6rem;
    top: .6rem;
    width: 2.5rem;
    z-index: 1;
}

.registration-popup__close:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 575.98px) {
    .registration-popup {
        border-radius: .75rem;
        max-height: calc(100vh - 1.25rem);
        max-height: calc(100dvh - 1.25rem);
        max-width: calc(100vw - 1.25rem);
    }

    .registration-popup__image {
        border-radius: .75rem;
        max-height: calc(100vh - 1.25rem);
        max-height: calc(100dvh - 1.25rem);
        max-width: calc(100vw - 1.25rem);
    }

    .registration-popup__close {
        height: 2.25rem;
        right: .45rem;
        top: .45rem;
        width: 2.25rem;
    }
}

.school-home .header-carousel .owl-carousel-item {
    min-height: 520px;
}

.school-home .header-carousel .owl-carousel-item > img {
    height: 560px;
    object-fit: cover;
    width: 100%;
}

.school-home .header-carousel .owl-carousel-item .position-absolute {
    background: linear-gradient(90deg, rgba(14, 43, 41, .82), rgba(14, 43, 41, .25)) !important;
}

.school-hero-eyebrow,
.school-section-eyebrow {
    color: var(--school-green);
    display: inline-block;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: .85rem;
}

.school-home .header-carousel .school-hero-eyebrow {
    color: var(--school-sun);
}

.school-home .header-carousel h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    max-width: 760px;
}

.school-home .header-carousel p {
    line-height: 1.7;
    max-width: 620px;
}

.school-home .btn {
    font-family: inherit;
    font-weight: 800;
}

.school-home .btn-primary {
    background-color: var(--school-green);
    border-color: var(--school-green);
}

.school-home .btn-primary:hover,
.school-home .btn-primary:focus {
    background-color: color-mix(in srgb, var(--school-green), black 15%);
    border-color: color-mix(in srgb, var(--school-green), black 15%);
}

.school-home .container-xxl {
    padding-bottom: 5rem;
    padding-top: 5rem;
}

.school-latest-news {
    background: #f6f7ed;
    
}

.school-latest-news .news-listing {
    padding: 2.5rem 0;
}

.school-latest-news .news-section-heading {
    margin-bottom: 1rem;
}

.school-latest-news .news-featured {
    margin-bottom: 1rem;
}

.school-latest-news .news-featured h3,
.school-latest-news .news-card h3 {
    margin: .5rem 0 .5rem;
}

.school-latest-news .news-featured__content > p,
.school-latest-news .news-card__content > p {
    margin-bottom: .5rem;
}

.school-latest-news .news-grid {
    gap: 1rem;
}

.school-benefits {
    background: var(--school-mint);
    padding: 3.5rem 0;
}

.school-benefits h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.school-benefit-card {
    background: #fff;
    border-radius: 1rem;
    height: 100%;
    padding: 1.4rem;
}

.school-benefit-icon {
    align-items: center;
    background: color-mix(in srgb, var(--school-accent), white 78%);
    border-radius: 50%;
    color: var(--school-green);
    display: inline-flex;
    font-size: 1.4rem;
    height: 3rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 3rem;
}

.school-benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: .6rem;
}

.school-benefit-card p {
    font-size: .92rem;
    margin-bottom: 0;
}

.school-home p {
    font-size: 1.02rem;
}

.school-home .classes-item,
.school-home .facility-item,
.school-home .testimonial-item,
.school-home .bg-light.rounded {
    border-radius: 1.25rem !important;
}

.school-testimonial-video {
    aspect-ratio: 16 / 9;
    border-radius: .75rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.school-testimonial-video iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.school-home .classes-item {
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(23, 60, 61, .08);
}

.school-home .classes-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.school-home .school-contact-link {
    color: var(--school-ink);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.school-footer-intro {
    color: rgba(255, 255, 255, .86);
    font-size: 1rem;
    line-height: 1.7;
}

.school-map {
    width: 100%;
}

.school-social-media {
    background: var(--school-mint);
    padding: 5rem 0;
}

.school-social-video {
    aspect-ratio: 16 / 9;
    background: #e5ece8;
    border-radius: 1rem;
    overflow: hidden;
}

.school-social-video iframe,
.school-social-instagram {
    border: 0;
    display: block;
    width: 100%;
}

.school-social-video iframe {
    height: 100%;
}

.school-social-instagram {
    background: #fff;
    border-radius: 1rem;
    height: 540px;
    margin: 0 auto;
    max-width: 400px;
}

.footer h2 {
    font-size: 1.35rem;
}

@media (max-width: 991.98px) {
    .school-topbar {
        font-size: .75rem;
    }

    .school-topbar .container {
        gap: .4rem;
    }

    .school-topbar .container > span {
        max-width: 72%;
    }

    .school-topbar__links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .school-brand-name {
        font-size: 1.1rem;
    }

    .school-nav-cta {
        margin: .75rem 0 1rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .school-topbar .container {
        align-items: center !important;
        flex-direction: column;
        text-align: center;
    }

    .school-topbar .container > span {
        max-width: none;
        text-align: center;
    }

    .school-topbar__links {
        justify-content: center;
    }

    .school-topbar .container > span {
        max-width: none;
    }

    .school-home .header-carousel .owl-carousel-item {
        min-height: 510px;
    }

    .school-home .header-carousel .owl-carousel-item > img {
        height: 510px;
    }

    .school-home .header-carousel .position-absolute .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .school-home .header-carousel h1 {
        font-size: 2.25rem;
    }

    .school-home .header-carousel .btn {
        padding: .8rem 1.2rem !important;
    }

    .school-home .container-xxl {
        padding-bottom: 3.5rem;
        padding-top: 3.5rem;
    }

    .school-social-media {
        padding: 3.5rem 0;
    }

    .school-home #contact .p-5 {
        padding: 1.5rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .school-home *,
    .school-topbar *,
    #header * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.school-classess {
    background: var(--school-accent);
    padding: 3.5rem 0;
}