/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 16px;
}

.navbar-brand h1 {
    font-size: 1.65rem;
    line-height: 1.05;
}

.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        margin-left: 12px;
    }

    .navbar-brand {
        flex: 1 1 0;
        min-width: 0;
        margin-right: 0;
        gap: 8px;
        white-space: normal;
    }

    .navbar-brand img {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }

    .navbar-brand h1 {
        flex: 1 1 0;
        min-width: 0;
        font-size: 1.15rem;
        line-height: 1.1;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/***.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.about-page-header {
    overflow: hidden;
    background: #103741;
    min-height: 400px;
}

.about-page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%;
    opacity: .8;
}

.about-page-header > .container {
    position: relative;
    z-index: 2;
}***/

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Admissions ***/
.admission-process-section {
    padding: 34px 0 46px;
    background: var(--light);
}

.admission-process-heading {
    margin-bottom: 34px;
    text-align: center;
}

.admission-process-heading h2 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 36px;
}

.admission-process-heading p {
    margin: 0;
    color: #64747a;
}

.admission-process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admission-process-step {
    position: relative;
    padding: 0 8px;
    text-align: center;
}

.admission-process-step:not(:last-child)::after {
    position: absolute;
    top: 27px;
    right: -13px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #65727f;
    border-right: 2px solid #65727f;
    content: "";
    transform: rotate(45deg);
}

.admission-step-number {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #cf1717;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

.admission-process-step h3 {
    margin-bottom: 8px;
    color: var(--dark);
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.admission-process-step p {
    margin: 0;
    color: #64747a;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .admission-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .admission-process-step::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .admission-process-section {
        padding: 30px 0 36px;
    }

    .admission-process-heading {
        margin-bottom: 28px;
    }

    .admission-process-heading h2 {
        font-size: 30px;
    }

    .admission-process-steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .admission-process-step {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 14px;
        padding: 0;
        text-align: left;
    }

    .admission-step-number {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .admission-process-step h3 {
        align-self: end;
    }
}

.admission-section {
    position: relative;
    z-index: 0;
    background: linear-gradient(135deg, #fffaf7 0%, #ffffff 52%, #edf8f2 100%);
}

.admission-intro {
    position: relative;
    overflow: hidden;
    padding: 42px 36px;
    color: #ffffff;
    background: var(--dark);
    border-radius: 18px 5px 18px 5px;
}

.admission-intro::after {
    position: absolute;
    content: "";
    width: 190px;
    height: 190px;
    right: -65px;
    bottom: -75px;
    border: 22px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
}

.admission-intro h2,
.admission-intro p,
.admission-points {
    position: relative;
    z-index: 1;
}

.admission-intro p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.admission-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.admission-heading {
    font-size: clamp(27px, 3vw, 40px);
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: none;
}

.admission-points i {
    color: #7dc9a1;
}

.admission-points span {
    color: rgba(255, 255, 255, .88);
    line-height: 1.55;
}

.partners-strip {
    padding: 24px 0 30px;
    background: #fff5f3;
}

.partners-strip h2 {
    margin: 0 0 24px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    color: var(--dark);
    font-family: 'Heebo', sans-serif;
    font-size: 27px;
    font-weight: 600;
}

.partners-logo-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.partner-logo-placeholder {
    display: flex;
    height: 80px;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.partner-logo-placeholder img {
    display: block;
    width: min(100%, 150px);
    height: 64px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .partners-logo-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 399.98px) {
    .partners-logo-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admission-form-wrap {
    padding: 42px;
    background: #ffffff;
    border: 1px solid rgba(16, 55, 65, .08);
    border-radius: 5px 18px 5px 18px;
    box-shadow: 0 14px 40px rgba(16, 55, 65, .08);
}

.admission-form-wrap h3 {
    color: var(--dark);
}

.admission-form-wrap .form-control,
.admission-form-wrap .form-select {
    border: 1px solid #e8eeee;
}

.admission-form-wrap .form-control:focus,
.admission-form-wrap .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(254, 93, 55, .12);
}

.admission-form-wrap .form-check-label {
    color: #667b80;
    font-size: 14px;
}

.admission-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.job-openings {
    position: relative;
    padding: 30px 36px;
    background: #ffffff;
    border-top: 4px solid var(--primary);
    border-radius: 5px 18px 5px 18px;
    box-shadow: 0 12px 32px rgba(16, 55, 65, .07);
}

.job-openings h3 {
    color: var(--dark);
}

.job-openings p {
    color: #667b80;
    line-height: 1.7;
}

.job-opening-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 20px 26px;
    border-left: 3px solid #7dc9a1;
}

.job-opening-item h5 {
    color: var(--dark);
}

.job-opening-button {
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .admission-intro,
    .admission-form-wrap,
    .job-openings {
        padding: 30px 24px;
    }

    .job-opening-item {
        display: block;
        padding: 20px 0 0;
        border-top: 3px solid #7dc9a1;
        border-left: 0;
    }

    .job-opening-button {
        margin-top: 18px;
    }
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Why Choose Us ***/
.why-choose-us {
    background: linear-gradient(135deg, #fffaf7 0%, #ffffff 48%, #f2fbf7 100%);
}

.school-impact {
    background: linear-gradient(110deg, #fff5f3 0%, #ffffff 52%, #edf7f1 100%);
}

.impact-heading {
    max-width: 620px;
}

.impact-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.impact-heading h2 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 2.5rem;
}

.impact-heading p {
    margin-bottom: 0;
    color: #667b80;
}

.impact-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid rgba(16, 55, 65, 0.16);
    border-bottom: 1px solid rgba(16, 55, 65, 0.16);
}

.impact-stat {
    display: flex;
    min-width: 0;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.impact-stat + .impact-stat {
    border-left: 1px solid rgba(16, 55, 65, 0.16);
}

.impact-stat-value {
    display: block;
    font-family: 'Lobster Two', cursive;
    font-size: 4rem;
    line-height: 1.1;
}

.impact-stat-coral .impact-stat-value { color: var(--primary); }
.impact-stat-green .impact-stat-value { color: #198754; }
.impact-stat-blue .impact-stat-value { color: #0d6efd; }

.impact-stat-label {
    margin-top: 8px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .impact-heading h2 {
        font-size: 2rem;
    }

    .impact-stat-grid {
        grid-template-columns: 1fr;
    }

    .impact-stat {
        min-height: 0;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 18px 12px;
        text-align: center;
    }

    .impact-stat + .impact-stat {
        border-top: 1px solid rgba(16, 55, 65, 0.16);
        border-left: 0;
    }

    .impact-stat-value {
        width: auto;
        flex: 0 1 auto;
        font-size: 3rem;
        text-align: center;
    }

    .impact-stat-label {
        margin-top: 8px;
    }
}

@media (max-width: 359.98px) {
    .impact-stat {
        gap: 12px;
    }

    .impact-stat-value {
        width: 112px;
        flex-basis: 112px;
        font-size: 2.7rem;
    }
}

.why-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.why-card {
    position: relative;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    padding: 42px 34px 34px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(16, 55, 65, 0.08);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease;
}

.why-card::before {
    position: absolute;
    content: "";
    width: 180px;
    height: 180px;
    top: -95px;
    right: -70px;
    border-radius: 50%;
    background: var(--card-accent);
    opacity: .1;
    transition: transform .6s ease, opacity .6s ease;
}

.why-card::after {
    position: absolute;
    content: "";
    width: 140%;
    height: 2px;
    left: -160%;
    bottom: 0;
    background: var(--card-accent);
    transition: left .6s ease;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(16, 55, 65, 0.15);
}

.why-card:hover::before {
    transform: scale(1.9);
    opacity: .16;
}

.why-card:hover::after {
    left: -20%;
}

.why-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: #ffffff;
    background: var(--card-accent);
    border-radius: 20px 20px 20px 5px;
    font-size: 29px;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-radius .5s ease;
}

.why-card:hover .why-icon {
    transform: rotate(-8deg) scale(1.1);
    border-radius: 50%;
}

.why-number {
    position: absolute;
    top: 38px;
    right: 30px;
    color: var(--card-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.why-card h3,
.why-card p,
.why-arrow {
    position: relative;
    z-index: 1;
}

.why-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 27px;
}

.why-card p {
    margin-bottom: 22px;
    color: #667b80;
    line-height: 1.8;
}

.why-arrow {
    display: inline-flex;
    color: var(--card-accent);
    transition: transform .4s ease;
}

.why-card:hover .why-arrow {
    transform: translateX(9px);
}

.why-card-orange { --card-accent: #fe5d37; }
.why-card-green { --card-accent: #198754; }
.why-card-blue { --card-accent: #0d6efd; }

@media (prefers-reduced-motion: reduce) {
    .why-card,
    .why-card::before,
    .why-card::after,
    .why-icon,
    .why-arrow {
        transition: none;
    }
}


/*** Footer ***/
.testimonial-section {
    overflow: hidden;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 52%, #f0f8f5 100%);
}

.testimonial-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.testimonial-section h2 { color: var(--dark); }
.testimonial-section .text-center > p { color: #667b80; }

.testimonial-carousel { padding: 8px 4px 48px; }

.testimonial-item {
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(16, 55, 65, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(16, 55, 65, 0.07);
}

.testimonial-sample {
    display: inline-block;
    padding: 4px 9px;
    color: #7a5a00;
    background: #fff2c2;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonial-quote {
    margin: 20px 0 8px;
    color: var(--primary);
    font-size: 32px;
    line-height: 1;
}

.testimonial-item blockquote {
    flex: 1;
    margin: 0 0 24px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(16, 55, 65, 0.12);
}

.testimonial-author img {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h3 {
    margin: 0 0 3px;
    color: var(--dark);
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.testimonial-author span { color: #728286; font-size: 13px; }

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.testimonial-carousel .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0;
    background: rgba(16, 55, 65, 0.22);
    border-radius: 50%;
    transition: width .25s ease, background-color .25s ease;
}

.testimonial-carousel .owl-dot.active span {
    width: 24px;
    background: var(--primary);
    border-radius: 8px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.testimonial-carousel .owl-nav button {
    width: 38px;
    height: 38px;
    color: var(--dark);
    background: #fff;
    border: 1px solid rgba(16, 55, 65, 0.2) !important;
    border-radius: 50%;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.testimonial-carousel .owl-nav button:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary) !important;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-carousel .owl-dot span,
    .testimonial-carousel .owl-nav button {
        transition: none;
    }
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    font-size: 14px;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.footer-social-links svg {
    width: 14px;
    height: 14px;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Gallery Page ***/
.gallery-page {
    --gallery-ink: #172e38;
    --gallery-muted: #6d7d80;
    --gallery-coral: #fe5d37;
    --gallery-mint: #e8f3ee;
    color: var(--gallery-ink);
    overflow: hidden;
}

.gallery-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.gallery-hero {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #fffaf7 0%, #ffffff 48%, #edf8f2 100%);
}

.gallery-hero .gallery-wrap {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 9vw;
    align-items: center;
}

.gallery-kicker {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--gallery-coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-hero h1 {
    margin-bottom: 26px;
    color: var(--gallery-ink);
    font-size: clamp(52px, 7vw, 88px);
    line-height: .93;
}

.gallery-hero h1 em {
    color: var(--gallery-coral);
    font-style: normal;
}

.gallery-hero-copy p {
    max-width: 390px;
    color: var(--gallery-muted);
    font-size: 18px;
    line-height: 1.75;
}

.gallery-hero-stack {
    position: relative;
    min-height: 440px;
}

.gallery-hero-image {
    position: absolute;
    width: 76%;
    height: 350px;
    object-fit: cover;
    box-shadow: 0 24px 55px rgba(23, 46, 56, .14);
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.gallery-hero-image-back {
    top: 0;
    right: 0;
    transform: rotate(5deg);
}

.gallery-hero-image-front {
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-3deg);
}

.gallery-hero-stack:hover .gallery-hero-image-back {
    transform: translate(10px, -8px) rotate(8deg);
}

.gallery-hero-stack:hover .gallery-hero-image-front {
    transform: translate(-8px, 8px) rotate(-6deg);
}

.gallery-hero-sticker {
    position: absolute;
    right: 1%;
    bottom: 14%;
    z-index: 2;
    display: flex;
    width: 92px;
    height: 92px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--gallery-coral);
    border-radius: 50%;
    font-family: 'Lobster Two', cursive;
    font-size: 17px;
    line-height: 1.05;
    text-align: center;
    transform: rotate(9deg);
}

.gallery-showcase {
    padding: 120px 0 140px;
    background: #ffffff;
}

.school-culture-gallery {
    padding: 120px 0 135px;
    background: var(--gallery-mint);
}

.culture-photo-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.culture-photo {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    margin: 0;
    background: var(--gallery-ink);
}

.culture-photo-large {
    min-height: 440px;
}

.culture-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}

.culture-photo:hover img {
    transform: scale(1.08);
}

.culture-photo::after {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(16, 55, 65, .8));
}

.culture-photo figcaption {
    position: absolute;
    right: 22px;
    bottom: 20px;
    left: 22px;
    z-index: 1;
    color: #ffffff;
    font-family: 'Lobster Two', cursive;
    font-size: 25px;
}

.gallery-video {
    padding: 120px 0 135px;
    background: var(--gallery-ink);
    color: #ffffff;
}

.gallery-video .gallery-wrap {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 8vw;
    align-items: center;
}

.gallery-video-heading h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.05;
}

.gallery-video-heading p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
}

.gallery-video-heading strong {
    color: #ffffff;
    font-weight: 600;
}

.gallery-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0c2931;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .25);
}

.gallery-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, .85);
    background: rgba(16, 55, 65, .5);
    pointer-events: none;
}

.gallery-video-placeholder i {
    color: var(--gallery-coral);
    font-size: 58px;
}

.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 52px;
}

.gallery-heading h2 {
    margin: 0;
    color: var(--gallery-ink);
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.05;
}

.gallery-heading p {
    max-width: 330px;
    margin: 0 0 5px;
    color: var(--gallery-muted);
    line-height: 1.85;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-filter {
    padding: 10px 18px;
    color: var(--gallery-muted);
    background: #ffffff;
    border: 1px solid #dce4e1;
    border-radius: 30px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active {
    color: #ffffff;
    background: var(--gallery-coral);
    border-color: var(--gallery-coral);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-auto-rows: 245px;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.gallery-tile {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    background: var(--gallery-ink);
    border: 0;
    cursor: pointer;
    text-align: left;
    animation: galleryTileReveal .75s both cubic-bezier(.2, .8, .2, 1);
}

.gallery-tile:nth-child(2) { animation-delay: .08s; }
.gallery-tile:nth-child(3) { animation-delay: .16s; }
.gallery-tile:nth-child(4) { animation-delay: .24s; }
.gallery-tile:nth-child(5) { animation-delay: .32s; }
.gallery-tile:nth-child(6) { animation-delay: .4s; }
.gallery-tile:nth-child(7) { animation-delay: .48s; }
.gallery-tile:nth-child(8) { animation-delay: .56s; }

@keyframes galleryTileReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-tile-tall {
    grid-row: span 2;
}

.gallery-tile-wide {
    grid-column: span 2;
}

.gallery-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1), filter .6s ease;
}

.gallery-tile::after {
    position: absolute;
    content: "";
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(16, 55, 65, .82) 100%);
    opacity: .7;
    transition: opacity .5s ease;
}

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
    transform: scale(1.08);
    filter: saturate(1.12);
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
    opacity: 1;
}

.gallery-tile-caption {
    position: absolute;
    right: 22px;
    bottom: 19px;
    left: 22px;
    z-index: 1;
    color: #ffffff;
    transform: translateY(8px);
    transition: transform .5s ease;
}

.gallery-tile:hover .gallery-tile-caption,
.gallery-tile:focus-visible .gallery-tile-caption {
    transform: translateY(0);
}

.gallery-tile-caption strong,
.gallery-tile-caption small {
    display: block;
}

.gallery-tile-caption strong {
    font-family: 'Lobster Two', cursive;
    font-size: 24px;
    font-weight: 700;
}

.gallery-tile-caption small {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear .35s, opacity .35s ease;
}

.gallery-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 55, 65, .9);
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: 92vh;
    background: #ffffff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .3);
    transform: translateY(25px) scale(.97);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.gallery-lightbox.is-open .gallery-lightbox-dialog {
    transform: translateY(0) scale(1);
}

.gallery-lightbox-dialog > img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: var(--gallery-ink);
}

.gallery-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    color: #ffffff;
    background: var(--gallery-coral);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .3s ease;
}

.gallery-lightbox-close:hover {
    transform: rotate(90deg);
}

.gallery-lightbox-caption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 22px 20px;
}

.gallery-lightbox-caption span {
    color: var(--gallery-coral);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gallery-lightbox-caption strong {
    color: var(--gallery-ink);
    font-family: 'Lobster Two', cursive;
    font-size: 26px;
}

@media (max-width: 991.98px) {
    .gallery-hero .gallery-wrap {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .gallery-hero-copy {
        max-width: 650px;
    }

    .gallery-hero-stack {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-video .gallery-wrap {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 575.98px) {
    .gallery-wrap {
        width: min(100% - 36px, 1120px);
    }

    .gallery-hero {
        padding: 75px 0 90px;
    }

    .gallery-hero-stack {
        min-height: 340px;
    }

    .gallery-hero-image {
        height: 270px;
    }

    .gallery-hero-sticker {
        right: 0;
        bottom: 8%;
        width: 76px;
        height: 76px;
        font-size: 14px;
    }

    .gallery-showcase {
        padding: 80px 0 90px;
    }

    .school-culture-gallery,
    .gallery-video {
        padding: 80px 0 90px;
    }

    .gallery-heading {
        display: block;
        margin-bottom: 35px;
    }

    .gallery-heading p {
        margin-top: 22px;
    }

    .gallery-grid {
        grid-auto-rows: 220px;
        grid-template-columns: 1fr;
    }

    .culture-photo-grid {
        grid-template-columns: 1fr;
    }

    .culture-photo,
    .culture-photo-large {
        min-height: 270px;
    }

    .gallery-tile-tall,
    .gallery-tile-wide {
        grid-column: auto;
        grid-row: span 1;
    }

    .gallery-tile-caption strong {
        font-size: 21px;
    }

    .gallery-lightbox-caption {
        display: block;
    }

    .gallery-lightbox-caption strong {
        display: block;
        margin-top: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-hero-image,
    .gallery-tile img,
    .gallery-tile::after,
    .gallery-tile-caption,
    .gallery-lightbox,
    .gallery-lightbox-dialog,
    .gallery-filter,
    .gallery-lightbox-close {
        transition: none;
    }

    .gallery-tile {
        animation: none;
    }
}


/*** Academics Page ***/
.academics-page { --academic-ink: #103741; --academic-coral: #fe5d37; --academic-mint: #c9f3e5; overflow: hidden; color: var(--academic-ink); background: #fffaf5; }
.academics-kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.academics-hero { position: relative; min-height: 620px; padding: 90px 0 95px; overflow: hidden; color: #fff; background: var(--academic-ink); }
.academics-hero::before { position: absolute; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.14) 48.2% 48.7%, transparent 49%), repeating-linear-gradient(135deg, transparent 0 35px, rgba(255,255,255,.06) 36px 37px); }
.academics-hero-orbit { position: absolute; width: 480px; height: 480px; border: 1px solid rgba(201,243,229,.38); border-radius: 50%; pointer-events: none; }
.academics-hero-orbit::before, .academics-hero-orbit::after { position: absolute; width: 16px; height: 16px; content: ""; background: var(--academic-coral); border-radius: 50%; box-shadow: 0 0 0 8px rgba(254,93,55,.16), 0 0 28px rgba(254,93,55,.8); }
.academics-hero-orbit::before { top: 12%; left: 8%; } .academics-hero-orbit::after { right: 4%; bottom: 18%; background: var(--academic-mint); box-shadow: 0 0 0 8px rgba(201,243,229,.13), 0 0 28px rgba(201,243,229,.8); }
.orbit-one { top: -165px; right: -35px; animation: orbit-spin 18s linear infinite; } .orbit-two { right: 155px; bottom: -320px; width: 650px; height: 650px; animation: orbit-spin-reverse 26s linear infinite; }
.academics-hero-slide { display: grid; min-height: 435px; grid-template-columns: minmax(0,1fr) 390px; gap: 30px; align-items: center; }
.academics-hero-copy { position: relative; z-index: 2; max-width: 650px; } .academics-hero-copy h1, .academics-hero-copy h2 { margin: 14px 0 18px; color: #fff; font-size: clamp(3rem,6vw,6.5rem); line-height: .9; } .academics-hero-copy p { max-width: 540px; margin-bottom: 30px; color: rgba(255,255,255,.8); font-size: 1.1rem; line-height: 1.8; }
.academics-hero-carousel .owl-dots { position: absolute; bottom: -38px; left: 0; } .academics-hero-carousel .owl-dot span { width: 28px; height: 4px; margin: 5px 4px; border-radius: 0; background: rgba(255,255,255,.35); transition: .4s; } .academics-hero-carousel .owl-dot.active span { width: 60px; background: var(--academic-coral); }
.academics-hero-carousel .owl-nav { position: absolute; right: 0; bottom: -48px; } .academics-hero-carousel .owl-nav button { width: 43px; height: 43px; margin-left: 8px; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; border-radius: 50%; }
.academics-hero-art { position: relative; width: 360px; height: 360px; justify-self: end; border: 10px solid rgba(255,255,255,.1); border-radius: 44% 56% 61% 39% / 53% 38% 62% 47%; background-position: center; background-size: cover; box-shadow: 22px 22px 0 rgba(254,93,55,.34), -18px -18px 0 rgba(201,243,229,.25); animation: hero-portrait 9s ease-in-out infinite; }
.hero-art-one { background-image: linear-gradient(145deg,rgba(16,55,65,.08),rgba(16,55,65,.4)),url('../img/pic32.jpeg'); } .hero-art-two { background-image: linear-gradient(145deg,rgba(254,93,55,.12),rgba(16,55,65,.35)),url('../img/pic26.jpeg'); animation-delay: -3s; } .hero-art-three { background-image: linear-gradient(145deg,rgba(201,243,229,.08),rgba(16,55,65,.45)),url('../img/pic29.jpeg'); animation-delay: -6s; } .academics-hero-art span { position: absolute; right: 26px; bottom: 17px; color: rgba(255,255,255,.7); font: 700 2rem 'Lobster Two',cursive; }
.academics-intro { background: #fffaf5; } .academics-intro h2, .academics-stages h2, .exams-section h2 { color: var(--academic-ink); } .academics-lead { color: #527077; font-size: 1.05rem; line-height: 1.8; }
.curriculum-ribbon { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 3rem; border-top: 1px solid #d7e8e1; border-bottom: 1px solid #d7e8e1; } .curriculum-ribbon div { display: flex; gap: 15px; align-items: center; padding: 22px 18px; border-right: 1px solid #d7e8e1; } .curriculum-ribbon div:last-child { border-right: 0; } .curriculum-ribbon strong { color: var(--academic-coral); font-size: 1.2rem; } .curriculum-ribbon span { color: var(--academic-ink); font-weight: 600; }
.academics-stages { background: #f2faf5; } .stage-count { color: var(--academic-coral); font: 700 1.4rem 'Lobster Two',cursive; } .stage-card { position: relative; min-height: 420px; overflow: hidden; color: #fff; background: var(--academic-ink); isolation: isolate; } .stage-card-bg { position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; opacity: .42; transition: transform .8s ease,opacity .5s ease; } .stage-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(135deg,rgba(16,55,65,.92) 8%,rgba(16,55,65,.35) 100%); }
.stage-preschool .stage-card-bg { background-image: url('../img/land5r.jpg'); } .stage-nursery .stage-card-bg { background-image: url('../img/pic26r.jpg'); } .stage-primary .stage-card-bg { background-image: url('../img/land6r.jpg'); } .stage-college .stage-card-bg { background-image: url('../img/senior.jpg'); } .stage-card:hover .stage-card-bg { opacity: .7; transform: scale(1.12) rotate(2deg); }
.stage-card-content { position: relative; z-index: 1; padding: 44px; } .stage-label { color: var(--academic-mint); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; } .stage-card h3 { margin: 12px 0; color: #fff; font-size: 2.6rem; } .stage-card h4 { margin: 24px 0 8px; color: #fff; font: 600 .75rem 'Heebo',sans-serif; letter-spacing: .16em; text-transform: uppercase; } .stage-card p { color: rgba(255,255,255,.78); line-height: 1.65; } .subject-list { max-width: 520px; color: #fff !important; font-size: .95rem; } .stage-number { position: absolute; top: -19px; right: 24px; color: rgba(255,255,255,.11); font: 700 9rem 'Lobster Two',cursive; line-height: 1; } .stage-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); color: var(--academic-mint); font-size: .82rem; } .stage-note i { margin-top: 4px; color: var(--academic-coral); }
.exams-section { background: #fffaf5; } .exams-section p { color: #527077; line-height: 1.8; } .exam-track { position: relative; padding-left: 34px; } .exam-track::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 2px; content: ""; background: var(--academic-coral); } .exam-stop { position: relative; display: grid; grid-template-columns: 50px 1fr; gap: 20px; margin-bottom: 28px; } .exam-stop > span { position: relative; z-index: 1; display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; margin-left: -59px; color: var(--academic-ink); font-weight: 700; background: var(--academic-mint); border: 6px solid #fffaf5; border-radius: 50%; } .exam-stop h3 { margin: 0 0 5px; color: var(--academic-ink); font-size: 1.4rem; } .exam-stop p { margin: 0; font-size: .95rem; }
@keyframes orbit-spin { to { transform: rotate(360deg); } } @keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } } @keyframes hero-portrait { 0%,100% { transform: rotate(-4deg) translateY(0); border-radius: 44% 56% 61% 39% / 53% 38% 62% 47%; } 50% { transform: rotate(5deg) translateY(-16px); border-radius: 58% 42% 35% 65% / 40% 57% 43% 60%; } }
@media (max-width: 767.98px) { .academics-hero { min-height: 700px; padding: 60px 0; } .academics-hero-slide { display: block; min-height: 580px; } .academics-hero-copy h1, .academics-hero-copy h2 { font-size: 3.7rem; } .academics-hero-art { width: 245px; height: 245px; margin: 55px auto 0; } .academics-hero-carousel .owl-nav { right: 0; bottom: -45px; } .curriculum-ribbon { grid-template-columns: repeat(2,1fr); } .curriculum-ribbon div:nth-child(2) { border-right: 0; } .curriculum-ribbon div:nth-child(-n+2) { border-bottom: 1px solid #d7e8e1; } .stage-card-content { padding: 32px 28px; } }
@media (prefers-reduced-motion: reduce) { .academics-hero-orbit, .academics-hero-art { animation: none; } }

/*** About Page ***/
.about-page {
    --about-ink: #172e38;
    --about-muted: #6d7d80;
    --about-coral: #fe5d37;
    --about-mint: #e8f3ee;
    color: var(--about-ink);
    overflow: hidden;
}

.about-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.about-hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 8vw;
    padding: 76px max(24px, calc((100vw - 1120px) / 2)) 90px;
    background: #172e38;
    color: #ffffff;
}

.about-hero-copy {
    max-width: 520px;
}

.about-eyebrow {
    display: block;
    margin-bottom: 19px;
    color: var(--about-coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.about-hero .about-eyebrow {
    font-size: 18px;
}

.about-hero h1 {
    margin-bottom: 25px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
}

.about-hero h1 em,
.about-values h2 em {
    color: var(--about-coral);
    font-style: normal;
}

.about-hero p {
    max-width: 410px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px;
    line-height: 1.75;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 9px;
    color: #ffffff;
    border-bottom: 1px solid var(--about-coral);
    font-size: 14px;
    font-weight: 700;
    transition: gap .3s ease, color .3s ease;
}

.about-link:hover {
    gap: 22px;
    color: var(--about-coral);
}

.about-hero-image {
    position: relative;
}

.about-hero-image::before {
    position: absolute;
    content: "";
    width: 80%;
    height: 80%;
    top: -22px;
    right: -22px;
    border: 1px solid rgba(254, 93, 55, .7);
}

.about-hero-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 475px;
    object-fit: cover;
}

.about-hero-note {
    position: absolute;
    z-index: 2;
    right: -25px;
    bottom: -28px;
    padding: 21px 25px;
    background: var(--about-coral);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.7;
}

.about-hero-note strong {
    font-size: 15px;
}

.about-story {
    padding: 125px 0 115px;
}

.about-story > .about-wrap > .about-section-label {
    font-size: 18px;
}

.about-section-label {
    margin-bottom: 37px;
    color: var(--about-coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-board-label {
    font-size: 18px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
    margin-bottom: 75px;
}

.about-story h2,
.about-purpose h2,
.about-values h2,
.about-culture h2 {
    margin: 0;
    color: var(--about-ink);
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.05;
}

.about-story p,
.about-purpose p,
.about-values p,
.about-culture p {
    color: var(--about-muted);
    line-height: 1.85;
}

.about-story .about-lead {
    margin-bottom: 19px;
    color: var(--about-ink);
    font-size: 20px;
    line-height: 1.55;
}

.about-photo-row {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 22px;
    align-items: end;
}

.about-photo-row img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.about-photo-row img:first-child {
    height: 350px;
}

.about-stat {
    position: absolute;
    right: 40px;
    bottom: -35px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    background: var(--about-mint);
    color: var(--about-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.about-stat strong {
    color: var(--about-coral);
    font-family: 'Lobster Two', cursive;
    font-size: 32px;
}

.about-purpose {
    padding: 110px 0 125px;
    background: var(--about-mint);
}

.about-section-label-light {
    color: #4a8072;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.purpose-intro {
    padding-right: 25px;
}

.purpose-intro h2 {
    margin-bottom: 22px;
    font-size: 48px;
}

.purpose-card {
    min-height: 315px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(23, 46, 56, .07);
    transition: transform .4s ease, box-shadow .4s ease;
}

.purpose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 42px rgba(23, 46, 56, .13);
}

.purpose-card > span {
    color: var(--about-coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.purpose-card i {
    align-self: flex-end;
    margin: 28px 0 30px;
    color: var(--about-coral);
    font-size: 27px;
}

.purpose-card h3 {
    margin: auto 0 0;
    font-size: 25px;
    line-height: 1.3;
}

.purpose-card-accent h3 {
    margin-top: 0;
}

.purpose-card-accent {
    background: var(--about-coral);
    color: #ffffff;
}

.purpose-card-accent > span,
.purpose-card-accent i {
    color: #ffffff;
}

.about-values {
    padding: 125px 0;
}

.about-values-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 65px;
}

.about-values-heading p {
    max-width: 330px;
    margin-bottom: 5px;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #dce4e1;
}

.value-list article {
    min-height: 250px;
    padding: 27px 22px 15px 0;
    border-right: 1px solid #dce4e1;
    transition: background .35s ease, padding .35s ease;
}

.value-list article:not(:first-child) {
    padding-left: 22px;
}

.value-list article:last-child {
    border-right: 0;
}

.value-list article:hover {
    padding-top: 20px;
    background: #fff8f5;
}

.value-list span {
    display: block;
    margin-bottom: 33px;
    color: var(--about-coral);
    font-size: 12px;
    font-weight: 700;
}

.value-list i {
    color: var(--about-coral);
    font-size: 25px;
}

.value-list h3 {
    margin: 18px 0 10px;
    font-size: 25px;
}

.value-list p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.about-culture {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--about-ink);
    color: #ffffff;
}

.about-culture-image {
    min-height: 510px;
}

.about-culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-culture-copy {
    max-width: 560px;
    padding: 95px 8vw;
}

.about-culture-copy h2 {
    margin-bottom: 25px;
    color: #ffffff;
}

.about-culture-copy p {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, .7);
}

.about-link-dark {
    color: #ffffff;
}

.proprietress-speech {
    padding: 110px 0;
    background: var(--about-mint);
}

.proprietress-speech-content {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 10vw;
    align-items: start;
}

.proprietress-speech-content h2 {
    margin: 0;
    color: var(--about-ink);
    font-size: clamp(38px, 4.5vw, 62px);
    line-height: 1.05;
}

.proprietress-speech-copy {
    max-width: 560px;
}

.proprietress-speech-copy p {
    color: var(--about-muted);
    line-height: 1.85;
}

.proprietress-speech-copy .about-lead {
    margin-bottom: 19px;
    color: var(--about-ink);
    font-size: 20px;
    line-height: 1.55;
}

.proprietress-signature {
    margin-top: 28px;
    color: var(--about-ink) !important;
    font-family: 'Lobster Two', cursive;
    font-size: 25px;
    line-height: 1.2 !important;
}

.proprietress-signature span {
    color: var(--about-muted);
    font-family: 'Heebo', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.about-leadership {
    padding: 125px 0;
    background: #ffffff;
}

.about-leadership-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 60px;
    margin-bottom: 65px;
}

.about-leadership-heading > div {
    max-width: 640px;
}

.about-leadership-heading h2 {
    margin: 0;
}

.about-leadership-heading p {
    max-width: 330px;
    margin: 0 0 5px;
    color: var(--about-muted);
    line-height: 1.85;
}

.about-leaders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-leaders article {
    overflow: hidden;
    background: #f8fbfa;
}

.about-leaders img {
    display: block;
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center top;
}

.about-leaders h3 {
    margin: 25px 25px 8px;
    color: var(--about-ink);
    font-size: 25px;
}

.about-leaders p {
    margin: 0 25px 28px;
    color: var(--about-muted);
    line-height: 1.7;
}

.about-join {
    padding: 115px 0 125px;
    background: var(--about-ink);
    color: #ffffff;
    text-align: center;
}

.about-join .about-wrap {
    max-width: 720px;
}

.about-join .about-eyebrow {
    color: #7dc9a1;
}

.about-join h2 {
    margin-bottom: 22px;
    color: #ffffff;
}

.about-join p {
    max-width: 520px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.85;
}

@media (max-width: 991.98px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 80px;
    }

    .about-hero-copy {
        max-width: 680px;
    }

    .about-hero-image {
        max-width: 650px;
    }

    .about-purpose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .purpose-intro {
        grid-column: 1 / -1;
    }

    .value-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-leadership-heading {
        align-items: start;
        flex-direction: column;
        gap: 25px;
    }

    .about-leadership-heading p {
        max-width: 520px;
    }

    .about-leaders {
        grid-template-columns: 1fr 1fr;
    }

    .about-leaders article:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 11px);
    }

    .value-list article:nth-child(2) {
        border-right: 0;
    }

    .value-list article:nth-child(3),
    .value-list article:nth-child(4) {
        border-top: 1px solid #dce4e1;
    }
}

@media (max-width: 575.98px) {
    .about-wrap {
        width: min(100% - 36px, 1120px);
    }

    .about-hero {
        min-height: auto;
        padding: 65px 18px 85px;
    }

    .about-hero h1 {
        font-size: 48px;
    }

    .about-hero-image img {
        height: 310px;
    }

    .about-hero-image::before {
        top: -12px;
        right: -12px;
    }

    .about-hero-note {
        right: -7px;
        bottom: -25px;
    }

    .about-story,
    .about-values,
    .about-leadership {
        padding: 80px 0;
    }

    .about-join {
        padding: 80px 0;
    }

    .about-story-grid,
    .about-purpose-grid,
    .about-culture {
        grid-template-columns: 1fr;
    }

    .proprietress-speech {
        padding: 80px 0;
    }

    .proprietress-speech-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-story-grid {
        gap: 28px;
        margin-bottom: 50px;
    }

    .about-photo-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .about-photo-row img,
    .about-photo-row img:first-child {
        height: 210px;
    }

    .about-leaders {
        grid-template-columns: 1fr;
    }

    .about-leaders article:last-child {
        grid-column: auto;
        max-width: none;
    }

    .about-stat {
        right: 10px;
        bottom: -28px;
    }

    .about-purpose {
        padding: 80px 0;
    }

    .purpose-intro {
        padding-right: 0;
    }

    .purpose-intro h2 {
        font-size: 42px;
    }

    .purpose-card {
        min-height: 260px;
    }

    .about-values-heading {
        display: block;
        margin-bottom: 40px;
    }

    .about-values-heading p {
        margin-top: 22px;
    }

    .value-list {
        grid-template-columns: 1fr;
    }

    .value-list article,
    .value-list article:not(:first-child) {
        min-height: auto;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid #dce4e1;
    }

    .value-list article:last-child {
        border-bottom: 0;
    }

    .value-list article:nth-child(3),
    .value-list article:nth-child(4) {
        border-top: 0;
    }

    .about-culture-image {
        min-height: 300px;
    }

    .about-culture-copy {
        padding: 70px 24px 80px;
    }
}









.about-page-header {
    overflow: hidden; 
    background: #103741;
    height: 500px;
}

.admission-page-header {
    background-image: linear-gradient(rgba(16, 55, 65, .7), rgba(16, 55, 65, .7)), url("../img/pic3r.jpg");
    background-position: center, center 45%;
    background-size: cover;
    background-repeat: no-repeat;
}

.about-page-header-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .8;
}

.about-page-header > .container {
    position: relative;
    z-index: 2;
}




.about-page-header-video {
    object-position: center center;
}

/* Mobile About Header */
@media (max-width: 767.98px) {

    .about-page-header {
        height: 400px !important;
        min-height: 400px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .about-page-header-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 400px !important;
        object-fit: contain;
        opacity: .8;
    }

    .about-page-header > .container {
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .about-page-header h1 {
        font-size: 36px !important;
        margin-bottom: 15px !important;
    }
}





.gallery-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    transition: all 0.2s ease;
}

.gallery-lightbox-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-prev {
    left: 20px;
}

.gallery-lightbox-next {
    right: 20px;
}
















/* Staff Group Photograph Subsection */
.staff-group-section {
    margin-top: 75px;
    padding-top: 45px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.staff-group-heading {
    max-width: 750px;
    margin: 0 auto 30px;
    text-align: center;
}

.staff-group-heading h2 {
    margin: 12px 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1.2;
    color: #173b67;
}

.staff-group-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    line-height: 1.8;
}

.staff-group-photo {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #edf2f7;
    box-shadow: 0 18px 45px rgba(20, 45, 75, 0.14);
}

.staff-group-photo > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 750px;
    object-fit: contain;
    margin: 0 auto;
}

.staff-photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(9, 27, 48, 0.92),
        rgba(9, 27, 48, 0.55),
        transparent
    );
}

.staff-photo-caption > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5a623;
    color: #173b67;
    font-size: 20px;
}

.staff-photo-caption h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
}

.staff-photo-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .staff-group-section {
        margin-top: 45px;
        padding-top: 30px;
    }

    .staff-group-photo {
        border-radius: 14px;
    }

    .staff-photo-caption {
        padding: 16px;
        gap: 10px;
    }

    .staff-photo-caption > span {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .staff-photo-caption p {
        font-size: 0.8rem;
    }
}
