@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
    /* fonts */
    --poppins: "Poppins", sans-serif;
    --montserrat: "Montserrat", sans-serif;
    --playfair: "EB Garamond", serif;
    --eb-garamond: "EB Garamond", serif;
    --montserrat_alternates: "Montserrat Alternates", sans-serif;

    /* colors */
    --blue: #38a6dd;
    --navy-blue: #38a6dd;
    --dark-blue: #00285e;
    /* --red: #a22634; */
    --white: #ffffff;
    --grey: #666666;
    --light_grey: #f8f9fa;
    --light_grey2: #d2d2d2;
}

/* ------------------------------------- */
/* 1. CSS VARIABLES & RESET              */
/* ------------------------------------- */
/* :root {
    --blue: #072761;
    --red: #f43939;
    --white: #ffffff;
    --light-grey: #f7f7f7;
    --grey: #8d8d8d;
    --black: #000000;
    --montserrat: 'Montserrat', sans-serif;
    --poppins: 'Poppins', sans-serif;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden !important;
}

.text-red {
    color: var(--blue) !important;
}

a {
    text-decoration: none;
}

.desc {
    font-family: var(--montserrat_alternates);
    color: var(--grey);
    line-height: 1.7;
    font-size: 1rem;
}

/* Base state for all description elements */
.desc {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: transform, opacity;
}

/* When the section/element is in the viewport */
.desc.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: If you want a slight delay so it follows the heading */
section.animated .desc {
    transition-delay: 0.2s;
}

.btn-outline-red {
    border: 1.5px solid var(--blue) !important;
    color: var(--blue) !important;
    border-radius: 30px;
    padding: 10px 30px;
    font-family: var(--montserrat);
    font-weight: 600;
    font-size: 0.85rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px !important;
}

.btn-outline-red:hover {
    background-color: var(--blue) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 91, 172, 0.3);
}

/* ------------------------------------- */
/* 2. HEADER & MENU (OVERLAY)            */
/* ------------------------------------- */
/* ── HEADER ── */
.hdr-info {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 32px;
    z-index: 100;
}

.logo-placeholder {
    width: 90px;
}

.logo-placeholder img {
    width: 100%;
}

.hdr-info .logo {
    width: 110px;
}

.hdr-info .logo img {
    width: 100%;
}

#menuBtn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: opacity 0.3s, transform 0.2s;
}

#menuBtn:hover {
    transform: scale(1.08);
}

#menuBtn.hidden {
    opacity: 0;
    pointer-events: none;
}

#menuBtn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

#menuBtn span:nth-child(1) {
    width: 20px;
}

#menuBtn span:nth-child(2) {
    width: 13px;
}

#menuBtn span:nth-child(3) {
    width: 20px;
}

/* ── RIPPLE ── */
#ripple {
    position: fixed;
    border-radius: 50%;
    background: var(--dark-blue);
    z-index: 200;
    pointer-events: none;
    transform: scale(0);
    transition: transform 0.75s cubic-bezier(0.7, 0, 0.3, 1);
}


/* ── FULLSCREEN OVERLAY ── */
#menuOverlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: var(--navy);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

#menuOverlay.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#menuOverlay:after {
    content: '';
    position: absolute;
    background: url(../images/logo.png);
    top: 10%;
    right: 0;
    width: 80%;
    height: 80%;
    background-repeat: no-repeat;
    opacity: 0.05;
    background-size: contain;
    z-index: -1;
    margin-left: auto;
    display: flex;
    justify-content: end;
    background-position: right;
}

/* ── TOP BAR ── */
.overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.overlay-logo {
    width: 90px;
}

.overlay-logo img {
    width: 100%;
}

.top-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.top-links a {
    color: rgb(255 255 255 / 78%);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s;
    font-family: 'Playfair Display';
}

.top-links a:hover {
    color: #fff;
}

#closeBtn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.3s;
    padding: 4px 0 4px 16px;
}

#closeBtn:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* ── BODY: left nav + divider + right sub ── */
.overlay-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    width: 80%;
}

/* ── LEFT: nav (right-aligned toward divider) ── */
#navCol {
    width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 56px 40px 40px;
    flex-shrink: 0;
}

.main-hdr {
    list-style: none;
    width: 100%;
}

.main-hdr .nav-item {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    text-align: right;
}

.main-hdr .nav-item.show {
    opacity: 1;
    transform: translateX(0);
}

.main-link {
    display: block;
    width: 100%;
    text-align: right;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.4vw, 2.3rem);
    font-weight: 500;
    padding: 9px 0;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.25s, font-size 0.2s;
    line-height: 1.2;
    user-select: none;
}

.main-hdr .nav-item.active .main-link,
.main-link:hover {
    color: #fff;
    font-size: clamp(1.8rem, 2.7vw, 4.55rem);
}

/* ── CENTER DIVIDER ── */
#divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    margin: 40px 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.65s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;
}

#menuOverlay.open #divider {
    transform: scaleY(1);
}

/* ── RIGHT: submenu panel ── */
#subCol {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.sub-group {
    position: absolute;
    top: 50%;
    left: 56px;
    right: 56px;
    transform: translateY(-50%) translateX(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sub-group.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.sub-group a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: 'Playfair Display';
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.2s, padding-left 0.2s;
}

.sub-group a:last-child {
    border-bottom: none;
}

.sub-group a:hover {
    color: #fff;
    padding-left: 6px;
}

/* ── FOOTER ── */
.overlay-footer {
    padding: 16px 36px;
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.8s, transform 0.4s ease 0.8s;
}

#menuOverlay.open .overlay-footer {
    opacity: 1;
    transform: translateY(0);
}

.overlay-footer a {
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.overlay-footer a:hover {
    color: var(--dark-blue);
}

.top-menu a {
    position: relative;
}

.top-menu a:after {
    content: '';
    position: absolute;
    left: 0;
    height: 2px;
    width: 0%;
    bottom: -4px;
    background: var(--white);
    transition: all 0.5s linear;
}

.top-menu a:hover:after {
    width: 100%;
    transition: all 0.5s linear;
}

#rightPanel ul.main-hdr {
    height: 70vh;
    overflow-y: auto;
}

#leftPanel .logo {
    left: 20px;
    top: 10px;
    position: relative;
    width: 100px;
}

#leftPanel .logo img {
    width: 100%;
}

/* ------------------------------------- */
/* 4. BANNER SECTION (SLIDER)            */
/* ------------------------------------- */

.banner-section-main {
    position: relative;
    height: 80vh;
    overflow: hidden;
    width: 98%;
    margin: auto;
    margin-top: 1%;
    border-radius: 20px;
}

.banner-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    width: 98%;
    margin: auto;
    margin-top: 1%;
    border-radius: 20px;
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center;
}

.banner-slide .slide-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform: scale(1.15);
    transition: transform 7s cubic-bezier(0.1, 0, 0.3, 1);
}

.banner-slide.swiper-slide-active .slide-media {
    transform: scale(1);
}

.banner-slide .slide-media img,
.banner-slide .slide-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(7 39 97 / 16%) 0%, rgb(7 39 97 / 78%) -3%, transparent 100%), linear-gradient(to top, rgb(7 39 97 / 6%) 0%, transparent 40%);
    z-index: 2;
}

.banner-slide .slide-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    max-width: 740px;
    text-align: center;
}

/* Container for reveal effect */
.reveal-text {
    overflow: hidden;
    position: relative;
    display: inline-block;
    width: 100%;
}

.banner-slide .slide-eyebrow {
    font-family: var(--montserrat);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-slide .slide-eyebrow::before {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--red);
    display: inline-block;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s ease 0.8s;
}

.banner-slide .slide-title {
    font-family: var(--playfair);
    font-size: 3rem;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(100%) skewY(5deg);
    transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.7s;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    font-style: italic;
}

.banner-slide .slide-body {
    font-family: var(--montserrat_alternates);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1s;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
}

.banner-slide .btn-outline-red {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 1.3s;
    border: 2px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    padding: 18px 45px;
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.banner-slide .btn-outline-red::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.banner-slide .btn-outline-red:hover::before {
    left: 100%;
}

.banner-slide.swiper-slide-active .slide-eyebrow,
.banner-slide.swiper-slide-active .slide-title,
.banner-slide.swiper-slide-active .slide-body,
.banner-slide.swiper-slide-active .btn-outline-red {
    opacity: 1;
    transform: translate(0) skewY(0) scale(1);
    filter: blur(0);
}

.banner-slide.swiper-slide-active .slide-eyebrow::before {
    transform: scaleX(1);
}

.banner-slide .btn-outline-red:hover {
    background: var(--white);
    color: var(--blue);
    transform: scale(1.05) translateY(-5px);
}

.banner-slide.swiper-slide-active .slide-eyebrow,
.banner-slide.swiper-slide-active .slide-title,
.banner-slide.swiper-slide-active .slide-body,
.banner-slide.swiper-slide-active .btn-outline-red {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Banner Controls */
.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 20;
}

.logo-swiper img:hover {
    opacity: 1;
}

.banner-pagination-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 350px;
    padding-left: 30px;
}

.banner-number-pagination {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    text-align: left !important;
    color: var(--white) !important;
    font-family: var(--playfair);
    font-size: 2rem;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.swiper-pagination-current {
    font-size: 4rem;
}

.banner-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--dark-blue);
    transition: width 0.1s linear;
}

.banner-nav {
    display: flex;
    gap: 15px;
    padding-right: 30px;
}

.banner-nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-nav-btn:hover {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

/* ------------------------------------- */
/* 4b. ANNOUNCEMENTS RIBBON              */
/* ------------------------------------- */
.announcements-ribbon {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #0f2a4a 100%);
    overflow: hidden;
    z-index: 10;
    margin-top: 20px;
    border-radius: 12px;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
}

.announcements-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 166, 221, 0.4), transparent);
}

.announcements-ribbon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 166, 221, 0.2), transparent);
}

.announcements-ribbon__inner {
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.announcements-ribbon__label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 18px;
    background: linear-gradient(135deg, var(--blue) 0%, #2d8bc9 100%);
    color: var(--white);
    font-family: var(--eb-garamond);
    font-size: 2rem;
    font-weight: 200;
    text-transform: capitalize;
    letter-spacing: 0;
    white-space: nowrap;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    height: -webkit-fill-available;
    font-style: italic;
    line-height: normal;
}

/* .announcements-ribbon__label::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(135deg, #2d8bc9 0%, transparent 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
} */

.announcements-ribbon__label i {
    font-size: 0.9rem;
    animation: bellPulse 2s ease-in-out infinite;
}

@keyframes bellPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.announcements-ribbon__track {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 0 20px;
}

.announcements-ribbon__scroll {
    display: flex;
    align-items: center;
    gap: 0;
    animation: ribbonScroll 50s linear infinite;
    width: max-content;
    padding: 16px 0;
}

.announcements-ribbon__scroll:hover {
    animation-play-state: paused;
}

@keyframes ribbonScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.announcements-ribbon__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 28px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    white-space: nowrap;
    font-family: var(--poppins);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 8px;
    margin: 0 4px;
}

.announcements-ribbon__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.5;
}

.announcements-ribbon__item:first-child::before {
    display: none;
}

.announcements-ribbon__item:hover {
    color: var(--white);
    background: rgba(56, 166, 221, 0.12);
}

.announcements-ribbon__date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-family: var(--montserrat);
    font-size: 1rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(56, 166, 221, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(56, 166, 221, 0.2);
}

.announcements-ribbon__date i {
    font-size: 0.65rem;
}

.announcements-ribbon__title {
    font-weight: 500;
    letter-spacing: 0.2px;
}

.announcements-ribbon__controls {
    display: flex;
    gap: 8px;
    padding: 0 24px;
    flex-shrink: 0;
    z-index: 2;
}

.announcements-ribbon__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(4px);
}

.announcements-ribbon__btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(56, 166, 221, 0.3);
}
.announcements-ribbon__label img{
    width: 50px;
    filter: invert(1);
}

/* Ribbon Responsive */
@media (max-width: 1360px) {
    .announcements-ribbon {
        width: 98%;
    }

    .announcements-ribbon__label {
        padding: 16px 24px;
        font-size: 1.5rem;
    }

    .announcements-ribbon__item {
        padding: 9px 24px;
        font-size: 0.82rem;
    }

    .announcements-ribbon__date {
        font-size: 0.65rem;
        padding: 5px 11px;
    }

    .announcements-ribbon__controls {
        padding: 0 18px;
        gap: 6px;
    }

    .announcements-ribbon__btn {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 992px) {
    .announcements-ribbon {
        width: 98%;
        margin-top: 16px;
    }

    .announcements-ribbon__label {
        padding: 14px 18px;
        font-size: 1rem;
        gap: 8px;
    }

    .announcements-ribbon__label::after {
        display: none;
    }

    .announcements-ribbon__item {
        padding: 8px 18px;
        font-size: 0.78rem;
        gap: 10px;
    }

    .announcements-ribbon__date {
        font-size: 0.8rem;
        padding: 4px 9px;
    }

    .announcements-ribbon__controls {
        padding: 0 14px;
    }

    .announcements-ribbon__btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .announcements-ribbon {
        width: 100%;
        border-radius: 0;
        margin-top: 12px;
    }
    .announcements-ribbon__title{
        font-size: 0.9rem;
    }

    .announcements-ribbon__inner {
        flex-wrap: nowrap;
    }

    .announcements-ribbon__label {
        padding: 10px 14px;
        font-size: 1rem;
        gap: 5px;
    }

    .announcements-ribbon__label i {
        font-size: 0.75rem;
    }

    .announcements-ribbon__track {
        padding: 0 10px;
    }

    .announcements-ribbon__item {
        padding: 7px 14px;
        font-size: 0.72rem;
        gap: 8px;
    }

    .announcements-ribbon__date {
        font-size: 0.8rem;
        padding: 3px 7px;
        letter-spacing: 0.3px;
    }

    .announcements-ribbon__date i {
        font-size: 0.7rem;
    }

    .announcements-ribbon__controls {
        display: none;
    }
}

@media (max-width: 480px) {
    .announcements-ribbon {
        margin-top: 8px;
        border-radius: 0;
    }

    .announcements-ribbon__label {
        padding: 8px 10px;
        font-size: 1rem;
        gap: 4px;
        letter-spacing: 0.8px;
    }

    .announcements-ribbon__label i {
        font-size: 0.7rem;
    }

    .announcements-ribbon__item {
        padding: 6px 12px;
        font-size: 0.68rem;
        gap: 6px;
    }

    .announcements-ribbon__date {
        font-size: 0.8rem;
        padding: 2px 6px;
    }
}

/* ------------------------------------- */
/* 5. OUR PHILOSOPHY SECTION             */
/* ------------------------------------- */
.our-philosophy {
    padding: 100px 0;
    background: url('../images/pattern-bg.png') center/cover no-repeat;
}

.our-philosophy .section-title {
    font-size: calc(3rem + 3px);
}

.our-philosophy .desc {
    font-size: calc(1rem + 2px);
    line-height: 1.8;
}

/* ------------------------------------- */
/* 6. CUSTOM TABS & FEATURE CARDS        */
/* ------------------------------------- */
.custom-tabs {
    border-bottom: none;
    gap: 0;
    background: var(--dark-blue);
    padding: 6px !important;
    border-radius: 50px;
    display: inline-flex;
    align-items: stretch;
    /* Crucial: ensures children can stretch to same height */
}

.custom-tabs .nav-item {
    flex: 1;
    display: flex;
    /* Allows the link inside to stretch */
    text-align: center;
}

.custom-tabs .nav-link {
    border: none;
    color: var(--white);
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 25px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px !important;
    opacity: 0.7;
    margin: 0;

    /* New Additions */
    display: flex;
    align-items: center;
    /* Centers text vertically */
    justify-content: center;
    /* Centers text horizontally */
    width: 100%;
    /* Ensures it fills the nav-item width */
}

.custom-tabs .nav-link.active {
    color: var(--dark-blue);
    background-color: var(--white);
    opacity: 1;
    z-index: 2;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.custom-tabs .nav-link:hover:not(.active) {
    color: var(--bs-white);
    opacity: 1;
}

.feature-card .arrow {
    right: auto;
    left: 26px;
    bottom: -105px;
    z-index: 2;
    font-size: 18px;
    justify-content: end;
    align-items: end;
    transition: all 0.5s linear;
    color: #fff;
    font-family: 'Playfair Display';
    font-style: italic;
}

.feature-card:hover .card-content {
    bottom: 60px;
    transition: all 0.5s linear;
}

.feature-card:hover .arrow {
    position: absolute;
    left: 26px;
    bottom: 20px;
    font-size: 18px;
    transition: all 0.5s linear;
    font-family: 'Playfair Display';
    font-style: italic;
    right: auto;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.feature-card:hover .arrow i {
    font-size: 16px;
    margin-left: 0.5rem;
}

.feature-card .arrow:hover {
    border-bottom: 1px solid var(--red);
}

/* .nav-tabs .nav-link:hover {
    border: none !important;
} */

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent !important;
    isolation: isolate;
}

/* Tab Content */
.tab-subtitle {
    font-family: var(--playfair);
    font-weight: 600;
    color: var(--blue);
    font-size: 1.5rem;
    text-transform: capitalize;
    font-style: italic;
    position: relative;
    width: fit-content;
}

.tab-subtitle::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, var(--blue), transparent);
    height: 2px;
    width: 0;
    left: 0;
    bottom: -8px;
    border-radius: 2px;
    opacity: 0;
    transition: width 5s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.5s ease;
}

@keyframes lineEntrance {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 140px;
        opacity: 1;
    }

    100% {
        width: 100px;
        opacity: 1;
    }
}

.tab-pane.active .tab-subtitle::after {
    animation: lineEntrance 5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    animation-delay: 0.6s;
}

.tab-description {
    font-family: var(--montserrat_alternates);
    color: var(--grey);
    line-height: 1.7;
    font-size: 1rem;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomInAppearance {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations to active tab content */
.custom-tab-content .tab-pane.active .tab-pane-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.custom-tab-content .tab-pane.active .tab-subtitle {
    animation: fadeInUp 0.8s ease-out 0.15s forwards;
    opacity: 0;
}

.custom-tab-content .tab-pane.active .tab-description {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.custom-tab-content .tab-pane.active .btn-outline-red {
    animation: fadeInUp 0.8s ease-out 0.45s forwards;
    opacity: 0;
}

.custom-tab-content .tab-pane.active .pathway-image-container {
    animation: zoomInAppearance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* 1. Main Container - Must have overflow: visible for the 3D effect to show */
.pathway-image-container {
    width: 34vw;
    height: 32vw;
    position: relative;
    margin-left: -9%;
    /* overflow: visible is crucial here */
    overflow: visible;
    transition: all 0.4s ease;
    /* Added drop-shadow to make the blue part look like a solid object */
    filter: drop-shadow(0 10px 20px rgba(0, 91, 172, 0.2));
}

/* 2. The Blue 3D / Offset Background */
.pathway-image-container::after {
    content: "";
    position: absolute;
    top: 2.1% !important;
    left: 25px;
    width: 100%;
    height: 96%;
    background-color: var(--blue);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: 1;
    transform: all 5s linear;
    /* transition: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1); */

}

/* 3. The Image Wrapper */
.pathway-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    /* transition: all 0.5s linear; */
    /* transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1); */
}

/* 4. Interactive Hover Effects */
.pathway-image-container:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 15px 30px rgba(0, 91, 172, 0.3));
    /* transition: all 0.5s linear; */

}

.pathway-image-container:hover::after {
    /* Moves the blue background slightly more on hover for a 3D feel */
    transition: all 0.5s linear;
    left: 29px;
    top: 1.5%;

}

.pathway-image-container:hover img {
    transform: scale(1.05);
    transition: all 0.5s linear;
}

/* 5. Entrance Animation */
.custom-tab-content .tab-pane.active .pathway-image-container,
.pathway-image-container.zoom-animate {
    animation: zoomInAppearance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* @keyframes zoomInAppearance {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.education-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* ------------------------------------- */
/* 7. PATHWAY SECTION                    */
/* ------------------------------------- */
.pathway-section {
    overflow: hidden;
    background: #fff9f0;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}

/* ------------------------------------- */
/* 8. ESSENTIAL LEARNING VAULT           */
/* ------------------------------------- */
.jnis-futuristic-vault {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 4.5vw, 72px) 0;
    background:
        radial-gradient(circle at top left, rgba(56, 166, 221, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(216, 67, 46, 0.1), transparent 22%),
        linear-gradient(180deg, #071421 0%, #050b14 100%);
    isolation: isolate;
}

.jnis-futuristic-vault::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03), transparent 26%);
    pointer-events: none;
    z-index: 0;
}

.vault-bg-marquee {
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-50%);
    font-family: var(--montserrat);
    font-size: clamp(7rem, 15vw, 15rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, 0.02);
    text-transform: uppercase;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.vault-heading-wrap {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto clamp(18px, 2.8vw, 36px);
    padding: 0 20px;
}

.vault-heading-wrap .section-title {
    margin-bottom: 10px;
}

.vault-heading-desc {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(226, 232, 240, 0.84);
    font-size: 0.98rem;
}

.vault-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(20px, 3vw, 56px);
    align-items: start;
}

.vault-interactive-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vault-fluid-trigger {
    position: relative;
    padding: 12px 18px 13px 22px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    cursor: pointer;
    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}

.vault-fluid-trigger::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(61, 188, 237, 0.08), transparent 72%);
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
}

.vault-fluid-trigger:hover,
.vault-fluid-trigger.is-active {
    transform: translateX(6px);
    border-left-color: #3dbced;
}

.vault-fluid-trigger:hover::before,
.vault-fluid-trigger.is-active::before {
    opacity: 1;
}

.vault-fluid-trigger .trigger-num {
    display: block;
    margin-bottom: 5px;
    font-family: var(--playfair);
    font-size: 0.92rem;
    font-style: italic;
    color: #3dbced;
    opacity: 0.72;
    letter-spacing: 0.04em;
}

.vault-fluid-trigger h3 {
    margin: 0;
    font-family: var(--montserrat);
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.42);
    transition: color 0.32s ease, transform 0.32s ease;
}

.vault-fluid-trigger .trigger-desc {
    margin: 6px 0 0;
    max-height: 0;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.88);
    opacity: 0;
    transition:
        max-height 0.36s ease,
        opacity 0.24s ease;
}

.vault-fluid-trigger:hover h3,
.vault-fluid-trigger.is-active h3 {
    color: #ffffff;
    transform: translateX(6px);
}

.vault-fluid-trigger.is-active .trigger-desc {
    max-height: 90px;
    opacity: 1;
}

.vault-portal-stage {
    position: relative;
    min-height: clamp(320px, 40vw, 520px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-lens-wrapper {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    border-radius: 42% 58% 62% 38% / 45% 45% 55% 55%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.45);
    animation: vaultOrganicFloat 14s ease-in-out infinite alternate;
}

@keyframes vaultOrganicFloat {
    0% {
        border-radius: 42% 58% 62% 38% / 45% 45% 55% 55%;
        transform: translateY(0);
    }

    50% {
        border-radius: 58% 42% 40% 60% / 55% 55% 45% 45%;
        transform: translateY(-8px);
    }

    100% {
        border-radius: 48% 52% 55% 45% / 40% 48% 52% 60%;
        transform: translateY(4px);
    }
}

.portal-lens-img {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 0.55s ease,
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-lens-img.is-visible {
    opacity: 1;
    transform: scale(1);
}

.portal-floating-glass-card {
    position: absolute;
    left: clamp(12px, 2vw, 22px);
    bottom: clamp(12px, 2vw, 24px);
    max-width: 300px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(5, 11, 20, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
    z-index: 2;
}

.portal-floating-glass-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portal-floating-glass-card h4 {
    margin: 0 0 6px;
    font-family: var(--montserrat);
    font-size: 1.08rem;
    font-weight: 700;
    color: #3dbced;
}

.portal-floating-glass-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
}

@media (max-width: 1399px) and (min-width: 992px) {
    .vault-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.98fr);
        gap: 28px;
    }

    .vault-fluid-trigger h3 {
        font-size: 1.2rem;
    }

    .vault-portal-stage {
        min-height: 300px;
    }

    .portal-lens-wrapper {
        width: min(100%, 480px);
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .jnis-futuristic-vault {
        padding: 30px 0 34px;
    }

    .vault-heading-wrap {
        margin-bottom: 16px;
    }

    .vault-heading-wrap .section-title .title-left,
    .vault-heading-wrap .section-title .title-right {
        font-size: 2.1rem;
    }

    .vault-heading-desc {
        max-width: 700px;
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .vault-container {
        gap: 22px;
        align-items: start;
    }

    .vault-interactive-menu {
        gap: 8px;
    }

    .vault-fluid-trigger {
        padding: 10px 16px 11px 20px;
    }

    .vault-fluid-trigger .trigger-num {
        margin-bottom: 4px;
        font-size: 0.84rem;
    }

    .vault-fluid-trigger h3 {
        font-size: 1.12rem;
    }

    .vault-fluid-trigger .trigger-desc {
        margin-top: 5px;
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .vault-portal-stage {
        min-height: 280px;
    }

    .portal-lens-wrapper {
        width: min(100%, 440px);
    }

    .portal-floating-glass-card {
        max-width: 250px;
        padding: 16px 18px;
    }

    .portal-floating-glass-card h4 {
        font-size: 1rem;
    }

    .portal-floating-glass-card p {
        font-size: 0.82rem;
        line-height: 1.45;
    }
}

/* ------------------------------------- */
/* 9. CORE IDEAS SECTION                  */
/* ------------------------------------- */
.core-ideas {
    background-color: #071b40;
    position: relative;
    padding: 60px 0 !important;
}

.core-ideas::before {
    content: "";
    position: absolute;
    left: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.07;
    filter: grayscale(1);
}

.container-core {
    max-width: 1600px;
    margin: 0 auto;
}

.top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.top-icon::before,
.top-icon::after {
    content: "";
    width: 80px;
    height: 1px;
    background: #ccc;
    margin: 0 15px;
}

.top-icon img {
    width: 40px;
}

.eagle-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.eagle-innerCard {
    padding: 20px;
    text-align: center;
    border: 1px solid #ffffff24;
    border-radius: 20px;
    outline: 1px dashed #ffffff24;
    outline-offset: -12px;
}

.eagle-innerCard:hover {
    border: 1px solid #ffffff4f;
    outline: 1px dashed #ffffff4f;
}

.color-blue {
    color: #3dbced !important;
}

.eagle-innerCard:hover {
    box-shadow: 10px 10px 20px 4px #1b305b1a;
}

.eagle-innerCard:hover .eagle-img img {
    width: 100%;
    filter: invert(1);
    opacity: 1;
}

.eagle-img {
    width: 80px;
    margin: auto;
    margin-bottom: 20px;
}

.eagle-img img {
    width: 100%;
    filter: invert(1);
    opacity: 0.6;
}

/* red shape */
.marker {
    width: 22px;
    height: 20px;
    background: #39a6dd;
    margin: 0 auto 15px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.eagle-innerCard h3 {
    font-family: var(--playfair);
    color: #3dbced;
    letter-spacing: 0;
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-weight: 600;
    font-style: italic;
}

.success-text .btn-outline-red {
    border: 1px solid var(--white);
    color: var(--white);
}

.eagle-innerCard p {
    color: var(--light_grey2);
}

/* ------------------------------------- */
/* 10. SCHOOL IN NUMBERS SECTION         */
/* ------------------------------------- */
/* counter */
.educators-section {
    position: relative;
    background: #000000;
    color: #fff;
    /* margin-top: 60px; */
    /* overflow: hidden; */
}

/* BACKGROUND IMAGE */
.educators-bg {
    position: absolute;
    inset: 0;
    background: url('../images/banner1.webp') center/cover no-repeat;
    opacity: 0.25;
}

/* BLUE OVERLAY */
.educators-overlay {
    position: absolute;
    inset: 0;
    background: #00000000;
}

/* CONTENT WRAP */
.educators-content {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 60px;
    height: 300px;
}

/* LEFT IMAGE (CUTOUT STYLE) */
.educators-left {
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 410px;
    z-index: 2;
}

.educators-left img {
    width: 100%;
    display: block;
}

.educators-content {
    padding: 120px 60px 80px 480px;
}

/* RIGHT CONTENT */
.educators-right {
    flex: 1;
    padding-left: 40px;
}

/* LABEL */
.tag {
    display: inline-block;
    background: var(--red);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 30px;
}

/* HEADING */
.heading-small {
    color: #f7b500;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.heading-main {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.educators-right .desc {
    color: #dcdcdc;
}

.line {
    width: 80px;
    height: 2px;
    background: #dcdcdc;
    margin: auto;
    margin-bottom: 60px;
    margin-top: 20px;
}

section.jnis-futuristic-vault .title-left {
    color: #FFF;
}

/* STATS */

/* STATS BAR REDESIGN */
.stats-container {
    padding-top: 0;
    padding-bottom: 0;
    z-index: 10;
    position: relative;
    width: 100%;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #00122e;
    /* Deep navy */
    padding: 30px 40px;
    border-radius: 0;
    /* End-to-end */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.stats-bar .stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    position: relative;
    flex: 1;
    min-width: 200px;
    justify-content: center;
    margin: 0;
    background: transparent;
}

/* Vertical separator line */
.stats-bar .stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    flex-shrink: 0;
}

.stat-icon img {
    width: 40px;
    height: auto;
    /* Apply a greenish filter to match the image icons */
    filter: invert(56%) sepia(59%) saturate(543%) hue-rotate(162deg) brightness(92%) contrast(89%);
}

.stat-info {
    text-align: left;
}

.stat-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    font-family: var(--montserrat);
}

.stat-info p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--poppins);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* RESPONSIVE */




/* NAV BUTTONS */
.nav-btns {
    position: absolute;
    right: 30px;
    bottom: 30px;
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-btn:hover {
    background: #fff;
    color: #0b2a5b;
}

/* ------------------------------------- */
/* 11. AWARDS SECTION                     */
/* ------------------------------------- */
.swiper-awards {
    padding: 20px 0;
    overflow: hidden;
}

.awards-next,
.awards-prev {
    color: var(--blue) !important;
    background: #ffffff8c;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.awards-next:after,
.awards-prev::after {
    display: none;
}

.logo-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.awards-next:after,
.awards-prev:after {
    font-size: 18px !important;
}

/* CARD */
.feature-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    cursor: pointer;
}

/* IMAGE */
.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

/* OVERLAY */
.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

/* CONTENT */
.card-content {
    position: absolute;
    bottom: 30px;
    left: 25px;
    z-index: 2;
    color: #fff;
}

/* RED TAG */
.tag {
    display: inline-block;
    background: var(--red);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 30px;
}

/* TITLE */
.feature-card .title {
    font-size: 26px;
    line-height: 1.1;
}

/* SUBTEXT */
.sub {
    margin-top: 5px;
    font-size: 14px;
    opacity: 0.85;
}

/* ARROW */
.arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 24px;
    z-index: 2;
}

/* HOVER */
.feature-card:hover img {
    transform: scale(1.08);
}

/* ------------------------------------- */
/* 12. HALL OF EXCELLENCE SECTION          */
/* ------------------------------------- */
/* testimonials */
/* --- Base Slide Styles --- */
.testimonial-section .swiper-slide {
    position: relative;
    width: 320px;
    height: 520px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease, opacity 0.4s ease;
    text-align: center;
    border-radius: 30px;
    overflow: hidden;
    background: #000;

    /* Make non-active slides grey and slightly transparent */
    filter: grayscale(100%);
    opacity: 0.6;
}

.testimonial-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* --- Active Slide Styles (Color Restored) --- */
.testimonial-section .swiper-slide-active {
    transform: scale(1.10) !important;
    opacity: 1;
    filter: grayscale(0%);
    /* Restore color */
    margin: 0 10px !important;
    margin-right: 40px !important;
    z-index: 5;
}

/* --- Hover Effects --- */
/* Restore color on hover even if it's not the active slide */
/* --- Content Overlay --- */
.center-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* 1. Visible height on non-hover (Adjust this to fit your Title/Class) */
    height: 140px;
    /* display: flex; */
    /* flex-direction: column; */
    /* 2. Keeps text at the bottom initially */
    /* justify-content: flex-end; */
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 3;
    /* 3. Smooth transition for the height and background change */
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1), background 0.6s ease;
    box-sizing: border-box;
}

.center-content h2 {
    font-size: 28px;
    margin: 5px 0;
    color: #fff;
    text-transform: uppercase;
}

.center-content .class {
    color: #f5b400;
    font-size: 14px;
    font-weight: 600;
}

.center-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
    color: #fff;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    /* Smooth entrance for paragraph */
    transition: opacity 0.4s ease, max-height 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}

/* --- Hover State --- */
.testimonial-section .swiper-slide:hover .center-content {
    /* 4. Full height to allow centering */
    height: 100%;
    /* 5. Move content to center */
    /* justify-content: center; */
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: column;
    /* 2. Keeps text at the bottom initially */
    justify-content: center;
}

.testimonial-section .swiper-slide:hover .center-content p {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
}

/* --- Profile Button (Design Unchanged) --- */
.profile-btn {
    margin-top: 25px;
    font-size: 14px;
    border-top: 1px dashed #515151;
    padding-top: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.testimonial-section .swiper-slide:hover .profile-btn {
    opacity: 1;
    transform: translateY(0);
}

.profile-btn p {
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    font-weight: bold;
    letter-spacing: 1px;
}

.profile-btn i {
    background: var(--blue);
    width: 40px;
    height: 40px;
    color: var(--white, #fff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.profile-btn:hover i {
    transform: translateX(5px);
}

/* Smooth Slide Image Scaling */
.testimonial-section .swiper-slide img {
    transition: transform 0.6s ease;
}

.testimonial-section .swiper-slide:hover img {
    transform: scale(1.05);
}

.mySwiper-testimonial .swiper-wrapper {
    padding: 40px 0;
    padding-bottom: 90px;

}

/* 13. ASPIRATIONS SECTION (SUCCESS SLIDER) */
/* ------------------------------------- */
/* --- Section 2: Success Slider --- */
/* SUCCESS SECTION BASE */
.success-section {
    /* Deep Navy overlay using your --dark-blue logic */
    background: linear-gradient(rgba(18, 40, 76, 0.8), rgba(18, 40, 76, 0.8)),

        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect for a premium feel */
    padding: 80px 5%;
    color: var(--white);
    transition: background 0.8s ease-in-out;
    overflow: hidden;
    min-height: 64vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* GRID LAYOUT */
.success-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px;
    width: 100%;
    z-index: 2;
    padding-bottom: 150px;
    /* Space for the absolute logo bar */
}

/* THE SWIPER CARD (Glassmorphism) */
.swiper-stats {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.swiper-stats .swiper-slide {
    padding: 60px 40px;
}

/* Hide helper images */
.swiper-stats .swiper-slide img {
    display: none;
}

/* STAT NUMBER (Gradient Text) */
.stat-number {
    font-size: 5.5rem;
    font-weight: 800;
    margin: 0;
    font-family: var(--montserrat);
    line-height: 1;
    background: linear-gradient(to bottom, #ffffff 30%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.stat-desc {
    font-size: 1.1rem;
    font-family: var(--poppins);
    color: var(--light_grey2);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

/* PAGINATION STYLING */
.swiper-stats .swiper-pagination {
    position: relative;
    margin-top: -20px;
    padding-bottom: 30px;
}

.swiper-stats .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.swiper-stats .swiper-pagination-bullet-active {
    background: var(--blue);
    opacity: 1;
    width: 25px;
    /* Long pill shape for active */
    border-radius: 5px;
}

/* SUCCESS TEXT CONTENT */
.success-text {
    flex: 1;
}

.success-text h2 .title-left {
    font-family: var(--playfair);
    font-style: italic;
    font-size: 3.5rem;
    font-weight: 400;
    text-transform: capitalize;
}

.success-text h2 .title-right {
    font-family: var(--montserrat);
    font-weight: 800;
    text-transform: capitalize;
    letter-spacing: 2px;
    font-size: 3.5rem;
    display: block;
    margin-top: -10px;
}

.success-text .desc {
    font-family: var(--poppins);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

.logo-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* BUTTON */
.btn-outline-red {
    border: 2px solid var(--blue);
    /* Adjusted to match blue theme */
    /* color: var(--white); */
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--montserrat);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-outline-red:hover {
    background: var(--blue);
    box-shadow: 0 0 20px rgba(56, 166, 221, 0.4);
    transform: translateY(-3px);
}

/* LOGO SLIDER (Bottom Bar) */
.logo-slider-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    cursor: pointer;
}

/* MANDATORY FOR CONTINUOUS MOVEMENT */

.logo-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.logo-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-swiper img {
    height: 50px;
    width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* HOVER EFFECTS */

.logo-slider-container:hover .logo-swiper img {
    opacity: 0.4;

}

.logo-swiper .swiper-slide:hover img {
    opacity: 1;

    transform: scale(1.15);
}


.swiper-container-free-mode>.swiper-wrapper {
    transition-timing-function: linear !important;
    margin: 0 auto;
}

/* RESPONSIVE DESIGN */




/* ------------------------------------- */
/* 14. PHILOSOPHY SECTION (PHIL)         */
/* ------------------------------------- */
.phil-section {
    background-color: #fff9f0;
    ;
    padding: 80px 20px;
}

.phil-container {
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Image Grid Layout */
.phil-image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-width: 350px;
}

.phil-img-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--light_grey2);
}

.phil-img-tall {
    grid-row: span 2;
    height: 450px;
}

.phil-img-small {
    height: 215px;
}

.phil-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge overlay */
.phil-experience-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.phil-badge-text {
    font-family: var(--montserrat);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Section */
.phil-text-content {
    flex: 1;
    min-width: 350px;
}

.phil-title {
    font-family: var(--playfair);
    font-size: 48px;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.1;
    margin-top: 0;
}

.phil-title span {
    color: var(--blue);
    font-style: italic;
}

/* Testimonial/Quote Card */
.phil-quote-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    border-left: 6px solid var(--dark-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.phil-quote-card p {
    color: var(--grey);
    font-family: var(--poppins);
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    font-size: 17px;
}

.phil-quote-icon {
    font-size: 40px;
    color: var(--blue);
    position: absolute;
    bottom: 15px;
    right: 25px;
    opacity: 0.3;
}

/* ------------------------------------- */
/* 15. COMMUNITY VOICES SECTION          */
/* ------------------------------------- */
.voc-section {
    background: #fff9f0;
}

.voc-title {
    font-family: var(--playfair);
    color: var(--dark-blue);
}

.voc-title-right {
    color: var(--blue);
    font-style: italic;
}

.voc-desc {
    font-family: var(--poppins);
    color: var(--grey);
}

.voc-swiper {
    padding: 20px 0 !important;
}

.voc-swiper .swiper-wrapper {
    align-items: stretch;
}

.voc-swiper .swiper-slide {
    display: flex;
    height: auto;
}

/* Redesigned Modern Card */
.voc-card-modern {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 20px;
    position: relative;
    height: 100%;
    transition: transform 0.35s ease;
    width: 100%;
}

.voc-image-container {
    width: 100%;
    height: 280px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 40, 94, 0.12);
}

.voc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.voc-card-modern:hover {
    transform: translateY(-8px);
}

.voc-card-modern:hover .voc-image-container img {
    transform: scale(1.1) rotate(1deg);
}

.voc-content-modern {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 24px;
    margin-top: -60px;
    /* Dynamic overlap */
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px rgba(0, 40, 94, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.voc-card-modern:hover .voc-content-modern {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 40, 94, 0.15);
}

.voc-badge-icon {
    position: absolute;
    top: -25px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(56, 166, 221, 0.35);
    border: 4px solid #fff;
    overflow: hidden;
}

/* Uploaded badge image fits inside the circular badge; the icon-font <i>
   fallback keeps the original sizing above. */
.voc-badge-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.voc-content-modern h4 {
    font-family: var(--playfair);
    font-weight: 700;
    font-style: italic;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
    line-height: 1.2;
}

.voc-content-modern p {
    font-family: var(--montserrat_alternates);
    font-size: 0.98rem;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 22px;
}

.voc-card-modern .h-card-link,
.voc-action-link {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voc-card-modern .h-card-link {
    margin-top: auto !important;
}

.voc-card-modern .h-card-link:hover,
.voc-action-link:hover {
    gap: 6px;
    color: var(--dark-blue);
}

.voc-card-modern .h-card-link i {
    transition: transform 0.3s ease;
}

.voc-card-modern .h-card-link:hover i {
    transform: translateX(6px);
}

.voc-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--blue);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.voc-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    opacity: 1;
}

@media (min-width: 1200px) and (max-width: 1366px) and (max-height: 700px) {
    .voc-image-container {
        height: 230px;
    }

    .voc-content-modern {
        /* height: 240px; */
        min-height: 240px;
        padding: 28px 28px 24px;
    }

    .voc-content-modern h4 {
        font-size: 1.35rem;
        min-height: 3.1em;
        margin-bottom: 12px;
    }

    .voc-content-modern p {
        font-size: 0.94rem;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .voc-card-modern .h-card-link {
        margin-top: auto !important;
    }
}

/* ------------------------------------- */
/* 16. SECTION TITLE ANIMATIONS          */
/* ------------------------------------- */
.section-title .title-left,
.section-title .title-right,
.scroll-split-title .title-left,
.scroll-split-title .title-right {
    display: inline-block;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease;
    will-change: transform, opacity;
}

.section-title .title-left,
.scroll-split-title .title-left {
    transform: translateX(-60px);
    font-family: var(--montserrat);
    font-weight: 500;
    font-size: 3rem;
    color: var(--dark-blue);
}

.section-title .title-right,
.scroll-split-title .title-right {
    transform: translateX(60px);
    font-family: var(--eb-garamond);
    font-weight: 600;
    font-size: 3rem;
    color: #38a6dd;
    font-style: italic;
    transition-delay: 0.15s;
}

.section-title.animated .title-left,
.section-title.animated .title-right,
.scroll-split-title.animated .title-left,
.scroll-split-title.animated .title-right {
    opacity: 1;
    transform: translateX(0);
}

/* Two call-to-action buttons side by side, wrapping on narrow screens. */
.ob-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Shared text call-to-action: light by default, with a dark-surface variant. */
.ob-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin-top: 18px;
    padding: 10px 22px;
    color: var(--dark-blue, #00285e);
    background: #fff;
    border: 1.5px solid var(--dark-blue, #00285e);
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    font-family: var(--montserrat, "Montserrat", sans-serif);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}

/* .ob-btn::after {
    content: "→";
    font-size: 1.05em;
    transition: transform .3s ease;
} */

.ob-btn:hover,
.ob-btn:focus-visible {
    color: #fff;
    background: var(--dark-blue, #00285e);
    border-color: var(--dark-blue, #00285e);
    box-shadow: 0 6px 18px rgba(0, 40, 94, .2);
    transform: translateY(-2px);
}

.ob-btn:hover::after,
.ob-btn:focus-visible::after {
    transform: translateX(4px);
}

.ob-btn--dark-bg {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.ob-btn--dark-bg:hover,
.ob-btn--dark-bg:focus-visible {
    color: var(--dark-blue, #00285e);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
}

.dark-btn:hover {
    color: var(--blue);
}

/* ------------------------------------- */
/* 17. FOOTER                            */
/* ------------------------------------- */
footer a {
    position: relative;
}

footer a:after {
    content: '';
    position: absolute;
    left: 0;
    height: 2px;
    width: 0%;
    bottom: -4px;
    background: var(--red);
    transition: all 0.5s linear;
}

footer a:hover:after {
    width: 100%;
    transition: all 0.5s linear;
}

.logo-wrapper {
    width: 110px;
}

.logo-wrapper img {
    width: 100%;
}

footer .social-icons a:after {
    display: none;
}

.sas-footer {
    background-color: #f9f3e5;
    padding: 60px 0px;
    font-family: 'Montserrat';
    padding-bottom: 0;
    position: relative;
}

.sas-footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 90%;
    background: url(../images/line-art1.webp);
    z-index: 0;
    background-repeat: no-repeat;
    opacity: 0.05;
    background-size: contain;
    background-position: right bottom;
}

.footer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

/* Typography */
footer h3 {
    color: var(--blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0px;
    font-family: 'Montserrat';
}

address,
.contact-links p,
.quick-links li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-grey);
    font-weight: 500;
}

/* Social Icons */
.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #888;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--blue);
}

/* Links */
.footer-col a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 10px;
}

/* Icons in Contact */
.contact-links i {
    color: var(--blue);
    margin-right: 10px;
    width: 15px;
}

/* ------------------------------------- */
/* 18. RESPONSIVE STYLES                 */
/* ------------------------------------- */






.mobile-tab-header,
.tab-pane-content .pathway-image-container {
    display: none;
}



/* Honors & Accolades Refined */
/* Section Container */
.awrd-sec {
    background: #fdfdfd;
    padding: 100px 0;
}

/* Main Card Style */
.h-card {
    position: relative;
    border-radius: 16px;
    overflow: visible;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* margin-top: 60px; */
    /* Increased margin to account for the image pop-out */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* border: 2px solid var(--blue); */
}

.h-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Image Wrapper with 3D Effect */
.h-card-img-wrap {
    height: 250px;
    border-radius: 12px;
    /* overflow must be visible to see the 3D layer behind it */
    overflow: visible;
    margin: -30px 15px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    transform: translateX(30px);
}

/* The Blue 3D Layer (Behind the Image) */
.h-card-img-wrap::before {
    content: "";
    position: absolute;
    /* Offsetting to the left and bottom */
    top: 15px;
    bottom: -15px;
    left: -20px;
    right: 20px;

    background-color: #38a6dd;
    border-radius: 25px;
    /* Organic rounded look from your sample */
    z-index: -1;
    transition: transform 0.4s ease;
}

.h-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.6s ease;
    display: block;
}

/* Hover Animations */
.h-card:hover .h-card-img-wrap img {
    transform: scale(1.05);
}

.h-card:hover .h-card-img-wrap::before {
    /* Slight shift on hover for extra depth */
    transform: translate(-5px, 3px);
}

/* Card Content Styles */
.h-card-body {
    padding: 25px 20px 20px;
}

.h-card-tag {
    display: inline-block;
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.h-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 3.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.h-card-link {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.h-card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.h-card:hover .h-card-link i {
    transform: translateX(5px);
}

/* End of Styles */
@media (max-width: 1300px) {
    .educators-left {
        width: 310px;
    }

    .logo-slider-container {
        bottom: -15px;
    }

    .logo-swiper img {
        width: 100% !important;
    }
}

/* Standardized non-banner section headings */
.section-title .title-left,
.scroll-split-title .title-left {
    font-family: var(--montserrat) !important;
    font-size: 3rem !important;
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.08;
}

.section-title .title-right,
.scroll-split-title .title-right {
    font-family: var(--eb-garamond) !important;
    font-size: 3rem !important;
    font-weight: 600 !important;
    font-style: italic !important;
    color: #38a6dd !important;
    line-height: 1.08;
}

@media (max-width: 767px) {

    .section-title .title-left,
    .section-title .title-right,
    .scroll-split-title .title-left,
    .scroll-split-title .title-right {
        font-size: 2.25rem !important;
    }
}

/* -------------------------------------------------------------------------- */
/* Shared card actions and circular navigation controls                        */
/* -------------------------------------------------------------------------- */

/* Light card actions: navy text, a quiet navy circle, then a blue hover. */
.h-card-link,
.voc-action-link,
.process-step__btn,
.team-profile-card__btn,
.jnis-team-card__more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding-top: 12px;
    border-top: 1px dashed rgba(23, 53, 111, 0.18);
    color: #17356f;
    font-family: var(--montserrat);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.h-card-link i,
.voc-action-link__icon,
.process-step__btn-icon,
.team-profile-card__btn-icon,
.jnis-team-card__arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: rgba(23, 53, 111, 0.08);
    color: #17356f;
    font-size: 0.7rem;
    line-height: 1;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.h-card:hover .h-card-link i,
.voc-action-link:hover .voc-action-link__icon,
.process-step__btn:hover .process-step__btn-icon,
.team-profile-card__btn:hover .team-profile-card__btn-icon,
.jnis-team-card__more:hover .jnis-team-card__arrow {
    background: #38a6dd;
    color: #fff;
    transform: translateX(3px);
}

/* On a dark card, retain a light outline and invert to white on hover. */
.hoe-card__cta,
.process-stepper>.process-step:nth-child(1) .process-step__btn,
.process-stepper>.process-step:nth-child(3) .process-step__btn {
    border-top-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.hoe-card__cta-icon,
.process-stepper>.process-step:nth-child(1) .process-step__btn-icon,
.process-stepper>.process-step:nth-child(3) .process-step__btn-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hoe-card:hover .hoe-card__cta-icon,
.process-stepper>.process-step:nth-child(1) .process-step__btn:hover .process-step__btn-icon,
.process-stepper>.process-step:nth-child(3) .process-step__btn:hover .process-step__btn-icon {
    background: #fff;
    color: #082652;
    transform: translateX(3px);
}

/* Arrow-only controls share the same circle behaviour without changing layout. */
:is(.graduate-profile-nav, .pyp-nav-btn, .iyc-deck-btn, .hoe-nav, .mela-arrow, #tripTimelineSection .nav-arrow) {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

:is(.graduate-profile-nav, .pyp-nav-btn, .iyc-deck-btn, .hoe-nav, .mela-arrow, #tripTimelineSection .nav-arrow):focus-visible {
    outline: 3px solid rgba(56, 166, 221, 0.52);
    outline-offset: 3px;
}

/* Light surfaces move to blue with a white arrow. */
:is(.pyp-nav-btn, .iyc-deck-section .iyc-deck-btn, #tripTimelineSection .nav-arrow):hover:not(:disabled) {
    background: #38a6dd;
    border-color: #38a6dd;
    color: #fff;
}

.iyc-deck-section .iyc-deck-btn:hover:not(:disabled) svg {
    fill: #fff;
}

/* Dark surfaces invert to a white circle with a navy arrow. */
.hoe-section--dark .hoe-nav:hover:not(:disabled),
.banner-slide .banner-nav-btn:hover:not(:disabled) {
    background: #fff;
    border-color: #fff;
    color: #082652;
}



@media (max-width:1602px) {
    .educators-left {
        position: absolute;
        bottom: -130px;
    }
}

@media (max-width:1300px) {
    .educators-left {
        position: absolute;
        bottom: -30px;
    }
}








/* essential scroll slider */
.essential-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    background: #2f528a;
}

.essential-slider__navbar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px 40px 0;
    flex-wrap: wrap;
}

.essential-slider__nav-btn {
    padding: 10px 22px;
    border: 1px solid rgba(183, 240, 130, 0.4);
    border-radius: 30px;
    background: transparent;
    color: #b7f082;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.essential-slider__nav-btn--filled {
    border: none;
    background: #b7f082;
    color: #1a3023;
}

.essential-slider__logo {
    color: #b7f082;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.essential-slider__wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100vh;
    padding-top: 125px;
}

.essential-slider__cards {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 600px;
    perspective: 1200px;
}

.essential-slider__card {
    position: absolute;
    width: 25vw;
    height: 23vw;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.essential-slider__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.essential-slider__card::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    content: "";
    transition: opacity 0.3s ease;
}

.essential-slider__card.is-active::after {
    opacity: 0;
}

.essential-slider__arc-overlay {
    position: absolute;
    bottom: -850px;
    left: 50%;
    z-index: 10;
    width: 1200px;
    height: 1100px;
    transform: translateX(-50%);
    pointer-events: none;
}

.essential-slider__arc-wheel {
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
}

.essential-slider__arc-overlay svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.essential-slider__arc-overlay text {
    fill: #fff;
    font-family: var(--eb-garamond);
    font-size: 1.8vw;
    font-weight: 600;
    line-height: 140%;
    text-transform: capitalize;
    word-spacing: 3px;
}

.essential-slider__descriptions {
    position: absolute;
    bottom: 60px;
    left: 50%;
    z-index: 40;
    width: 90%;
    max-width: 500px;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.essential-slider__description {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 75%;
    transform: translate(-50%, 5%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    text-align: center;
    transition: opacity 0.4s ease-in-out;
}

.essential-slider__description.is-active {
    position: relative;
    opacity: 1;
}

.pyp-exhibition-page__section-title {
    margin-bottom: 30px;
}

/* ------------------------------------- */
/* ESSENTIAL LEARNING PILLARS (NEW DESIGN) */
/* ------------------------------------- */
.pillars-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    background: var(--dark-blue);
    overflow: hidden;
}

.pillars-section .top-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 0;
    pointer-events: none;
}

.pillars-section .top-wave-bg svg {
    width: 100%;
    height: 100%;
}

.pillars-bg-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.pillars-bg-dot--yellow {
    width: 90px;
    height: 90px;
    background: var(--blue);
    opacity: 0.12;
    top: 8%;
    right: 3%;
}

.pillars-bg-dot--blue {
    width: 130px;
    height: 130px;
    background: var(--white);
    opacity: 0.08;
    bottom: -50px;
    left: -30px;
}

.pillars-header {
    position: relative;
    z-index: 5;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 850px;
    padding: 0 1rem;
}

.pillars-eyebrow {
    color: var(--white);
    background: var(--dark-blue);
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 30px;
    font-family: var(--montserrat);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.pillars-title {
    margin-bottom: 0 !important;
}

.pillars-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
    font-family: var(--eb-garamond) !important;
    font-weight: 600 !important;
    font-style: italic !important;
    color: var(--white) !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pillars-title .title-left {
    color: var(--white) !important;
}

.pillars-title .title-right {
    color: var(--blue) !important;
}

.pillars-title-white {
    color: var(--white) !important;
}

.pillars-intro {
    font-family: var(--montserrat_alternates);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.55rem;
    line-height: 1.55;
}

.pillars-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.15rem;
    width: 100%;
    max-width: 1500px;
    padding: 0 1.5rem;
    align-items: center;
}

/* Staggered deck */
.pillar-card:nth-child(odd) {
    transform: translateY(-24px);
}

.pillar-card:nth-child(even) {
    transform: translateY(24px);
}

/* Card */
.pillar-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    height: auto;
    border: 1px solid #dce5ec;
    box-shadow: 0 8px 24px rgba(0, 40, 94, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card:nth-child(odd):hover {
    transform: translateY(-31px);
    box-shadow: 0 18px 35px rgba(0, 40, 94, 0.16);
    border-color: var(--blue);
}

.pillar-card:nth-child(even):hover {
    transform: translateY(17px);
    box-shadow: 0 18px 35px rgba(0, 40, 94, 0.16);
    border-color: var(--dark-blue);
}

/* Small top accent */
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--dark-blue);
    transition: background 0.3s ease;
}

.pillar-card:nth-child(even)::before {
    background: var(--blue);
}

/* .pillar-card:nth-child(odd):hover::before {
    background: var(--blue);
}

.pillar-card:nth-child(even):hover::before {
    background: var(--dark-blue);
} */

/* Icon Badge */
.icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}

.icon-badge.dark-blue {
    background: var(--dark-blue);
}

.icon-badge.blue {
    background: var(--blue);
}

/* The badge holds an uploaded icon image. Constrain it to the badge and let it
   sit centred; white icons read on both badge colours. */
.icon-badge img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* Kept for any icon still supplied as inline SVG: it inherits currentColor. */
.icon-badge svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.icon-badge.dark-blue svg,
.icon-badge.blue svg {
    color: var(--white);
}

/* Card Content */
.card-number {
    position: absolute;
    right: 1rem;
    top: 0.9rem;
    color: #dce6ef;
    font-family: var(--eb-garamond);
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    font-style: italic;
}

.card-title {
    font-family: var(--montserrat);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.card-desc {
    font-family: var(--montserrat_alternates);
    font-size: 0.8rem;
    color: #536b8a;
    line-height: 1.45;
    position: relative;
    z-index: 1;
    margin-bottom: 0.85rem;
}

.card-tag {
    margin-bottom: 0.85rem;
    font-family: var(--montserrat);
    color: var(--dark-blue);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.card-tag::before {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--blue);
    display: inline-block;
}

/* Static Media Block */
.card-media-block {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.card-media-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pillar-card:nth-child(even) {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto auto auto;
}

.pillar-card:nth-child(even) .card-media-block {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0.85rem;
}

.pillar-card:nth-child(even) .icon-badge {
    grid-column: 1;
    grid-row: 2;
    /* margin: 0; */
    align-self: center;
}

.pillar-card:nth-child(even) .card-number {
    position: relative;
    right: auto;
    top: auto;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
}

.pillar-card:nth-child(even) .card-title {
    grid-column: 1 / -1;
    grid-row: 3;
}

.pillar-card:nth-child(even) .card-desc {
    grid-column: 1 / -1;
    grid-row: 4;
}

.pillar-card:nth-child(even) .card-tag {
    grid-column: 1 / -1;
    grid-row: 5;
}

/* Pillar Section Responsive */
@media (max-width: 1100px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 2rem;
    }

    .pillar-card:nth-child(odd),
    .pillar-card:nth-child(even),
    .pillar-card:nth-child(odd):hover,
    .pillar-card:nth-child(even):hover {
        transform: none;
    }
}

@media (max-width: 700px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .pillar-card {
        height: auto;
    }

    .pillars-header {
        margin-bottom: 1.5rem;
    }
}

@media (max-width:1602px) {
    .essential-slider__descriptions {
        bottom: 20px;
    }

    .essential-slider__arc-overlay {
        bottom: -910px;
    }

    .essential-slider__wrapper {
        padding-top: 95px;
    }
}

@media (min-width:1600px) {
    .circular-scroll {
        position: relative;
        height: 80vh;
        /* margin-top: 20vh; */
    }

    .circular-sticky {
        position: sticky;
        top: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        display: flex;
        align-items: end;
        justify-content: center;
        /* padding: 40px; */
    }
}

@media (max-width: 1350px) {

    #essentialCityWheel .essential-city-wheel__circle::after {
        left: -8vw !important;
    }

    .essential-slider__arc-overlay text {
        font-size: 1.8vw;
    }

    .essential-slider__description {
        font-size: 14px;
    }

    .nwd-bring__card {
        height: 450px !important;
    }

    .essential-slider__navbar {
        padding: 20px 40px 0;
    }

    .essential-slider__wrapper {
        padding-top: 16px;
    }

    .essential-slider__card {
        width: 25vw;
        height: 22vw;
    }

    .essential-slider__cards {
        height: 536px;
    }

    .essential-slider__arc-overlay {
        bottom: -900px;
    }

    .essential-slider__descriptions {
        bottom: 30px;
        width: 100%;
        max-width: 600px;
    }

    .essential-slider__arc-overlay text {
        font-size: 2.2vw;
    }

    .pyp-exhibition-page__section-title {
        margin-bottom: 20px;
    }
}




/* =========================================================
       MAIN SCROLL AREA
    ========================================================= */

.circular-scroll {
    position: relative;
    height: 100vh;
}

.circular-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 40px; */
}

/* =========================================================
       WHITE PANEL
    ========================================================= */

.circular-panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 500px;
    background: #f5f5f7;
    overflow: hidden;
    /* box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25); */
}

/* =========================================================
       LEFT ORBIT AREA
    ========================================================= */

.orbit-area {
    position: absolute;
    left: 0;
    top: -15%;
    width: 52%;
    height: 130vh;
    overflow: hidden;
}

/*
       The orbit is intentionally larger than the visible area.
       This creates the partial circular shape seen in the design.
    */

.orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    left: -195px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(50, 50, 50, 0.12);
    border-radius: 50%;
}

/* =========================================================
       IMAGE INSIDE EMPTY LEFT SPACE
    ========================================================= */

.orbit-image {
    position: absolute;
    width: 90%;
    height: 90%;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0 50% 50% 0;
    overflow: hidden;
    z-index: 2;
    opacity: 0.95;
}

.orbit-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/*
       Slight fade over image to keep the minimal aesthetic.
    */

.orbit-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(245, 245, 247, 0.12);
    pointer-events: none;
}

/* =========================================================
       ORBIT ITEMS
    ========================================================= */

.orbit-items {
    position: absolute;
    inset: 0;
    transform-origin: center center;
    transition:
        transform 0.7s cubic-bezier(.22, .61, .36, 1);
}

.orbit-item {
    position: absolute;
    width: 100px;
    height: 45px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    color: rgba(50, 50, 50, 0.16);
    transform-origin: center center;
    transition:
        color 0.6s ease,
        opacity 0.6s ease,
        font-size 0.6s ease;
    font-family: var(--eb-garamond) !important;
}

.orbit-item.active {
    color: var(--blue);
    font-size: 38px;
    opacity: 1;
}

/* small dot on orbit */

.orbit-item::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.35);
    left: -18%;
    top: 50%;
    transform: translateY(-50%);
}

.orbit-item.active::after {
    width: 4px;
    height: 4px;
    background: #111;
}

/* =========================================================
       CENTER CONTENT
    ========================================================= */

.circular-panel .content-area {
    position: absolute;
    left: 60%;
    right: 7%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    height: auto;
}

.content-item {
    display: none;
    align-items: center;
    gap: 55px;
}

.content-item.active {
    display: flex;
    animation: contentIn 0.65s cubic-bezier(.22, .61, .36, 1);
}

@keyframes contentIn {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-number {
    font-size: 36px;
    font-weight: 700;
    color: #191919;
    line-height: 1;
}

.content-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.content-title {
    font-size: clamp(38px, 4vw, 58px);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--dark-blue);
    font-family: var(--eb-garamond) !important;
    margin-bottom: 16px;
}

.content-description {
    /* font-size: 9px;
      color: #999;
      letter-spacing: 0.3px; */
    font-family: var(--site-body-copy-font) !important;
    font-size: var(--site-body-copy-size) !important;
    font-weight: var(--site-body-copy-weight) !important;
    font-style: var(--site-body-copy-style) !important;
    line-height: var(--site-body-copy-line-height) !important;
}

/* =========================================================       ACTIVE DOT / CONNECTION    ========================================================= */
.active-line {
    position: absolute;
    left: 53%;
    top: 50%;
    width: 48px;
    height: 1px;
    background: #222;
    z-index: 4;
    transform: translateY(-50%);
}

.active-dot {
    position: absolute;
    left: 52%;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
    z-index: 6;
    transform: translate(-50%, -50%);
}


/* =========================================================
   CIRCULAR TIMELINE NAVIGATION
========================================================= */

.circular-navigation {
    position: absolute;
    right: 8%;
    bottom: 8%;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 50;
}

.circular-nav {
    width: 62px;
    height: 62px;
    border: none;
    background: var(--dark-blue);
    border-radius: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    box-shadow: 6px 7px 20px #0000004d;
    color: #fff;
}

.circular-nav span {
    font-size: 22px;
    line-height: 1;
}

.circular-nav:hover {
    transform: scale(1.08);
    background: var(--blue);
    color: #fff;
}

.circular-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}




.custom-form {
    max-width: 700px;
    /* margin: 40px auto; */
}

.custom-form .form-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 4px;
}

.custom-form .form-control {
    min-height: 50px;
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    box-shadow: none;
    /* box-shadow: 4px 5px 10px 0px #00000012; */
    background: transparent;
    border-bottom: 1px dashed #00000026;
}

.custom-form .form-control:focus {
    border-color: #222;
    box-shadow: none;
    background: transparent;
}

/* Drag & Drop */
.file-drop-area {
    position: relative;
    border: 1px dashed #cfcfcf;
    border-radius: 10px;
    padding: 35px 20px;
    text-align: center;
    background: #fffdfb;
    cursor: pointer;
    transition: all 0.25s ease;
}

.file-drop-area:hover,
.file-drop-area.dragover {
    border-color: #222;
    /* background: #f5f5f5; */
}

.file-drop-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.file-drop-text {
    margin-bottom: 5px;
    font-weight: 600;
    color: #222;
}

.file-drop-subtext {
    font-size: 14px;
    color: #777;
}

.file-name {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #222;
}

.file-input {
    display: none;
}

.submit-btn {
    min-height: 50px;
    padding: 12px 30px;
    border: 0;
    border-radius: 8px;
    background: #222;
    color: #fff;
    font-weight: 600;
    transition: 0.25s ease;
}

.submit-btn:hover {
    background: #000;
}

.custom-form-wrapper {
    padding: 40px;
    background: #ffffffb5;
    border-radius: 30px;
    box-shadow: 10px 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .circular-navigation {
        right: 20px;
        bottom: 25px;
    }

    .circular-nav {
        width: 46px;
        height: 46px;
    }

}

@media (min-width: 1700px) {
    .educators-left {

        width: 320px;
    }
}

@media (max-width:1199px) {
    .circular-panel {
        height: 60vh;
    }

    .circular-sticky {
        height: 60vh;
        min-height: 60vh;
    }

    .circular-scroll {
        height: 60vh;
    }

    .orbit-area {
        height: 60vh;
    }

    .circular-panel .content-area {
        left: 52%;
        right: 5%;
    }

    .active-dot {
        left: 45.5%;
    }

    .active-line {
        left: 47%;
        width: 30px;
    }
}

/* =========================================================       MOBILE    ========================================================= */
@media (max-width: 900px) {
    /* .circular-panel {
        width: 94vw;
        height: 82vh;
    } */

    .orbit-area {
        width: 45%;
    }

    .orbit {
        width: 500px;
        height: 500px;
        left: -250px;
    }

    /* .orbit-image {
        width: 170px;
        height: 170px;
        left: 15px;
    } */

    /* .circular-panel .content-area {
        left: 40%;
        right: 5%;
    } */

    .content-item {
        gap: 20px;
    }

    .content-title {
        font-size: 36px;
    }

    .content-number {
        font-size: 27px;
    }

    .active-line {
        left: 37%;
        width: 30px;
    }

    .active-dot {
        left: 36.5%;
    }
}

@media (max-width: 600px) {
    .circular-scroll {
        height: 100vh;
    }

    .circular-sticky {
        padding: 0px;
    }

    .circular-panel {
        width: 100%;
        height: 100vh;
    }

    .orbit-area {
        width: 100%;
        height: 55%;

        top: 0;
    }

    .orbit {
        width: 430px;
        height: 430px;

        left: -165px;
        top: 40%;
    }

    .orbit-image {
        width: 90%;
        height: 90%;
        left: 5%;
        top: 50%;
    }

    .orbit-item {
        font-size: 26px;
    }

    .orbit-item.active {
        font-size: 30px;
    }

    .circular-panel .content-area {
        left: 10%;
        right: 8%;
        top: 80%;
    }

    .content-item {
        gap: 15px;
    }

    .content-number {
        font-size: 24px;
    }

    .content-title {
        font-size: 31px;
    }

    .content-description {
        font-size: 8px;
    }

    .active-line,
    .active-dot {
        display: none;
    }

    .essential-slider__card {
        width: 85vw;
        height: 100vw;
    }

    .essential-slider__cards {
        height: 100vh;
    }

    .essential-slider__arc-overlay text {
        font-size: 6vw;
    }

    .circular-panel h2 {
        position: absolute;
        top: 65%;
        left: 40px;
    }


}



.trustee-section {
    position: relative;
}

.trustee-container {
    position: relative;
}

.trustee-section .image-column {
    width: 50%;
}

.trustee-section .image-column.trustee-sticky {
    position: fixed !important;
    top: 100px !important;
    z-index: 10;
}

.trustee-section .image-column.trustee-normal {
    position: sticky !important;
}

/* Mobile */
@media (max-width: 767px) {

    .trustee-section .image-column,
    .trustee-section .image-column.trustee-sticky,
    .trustee-section .image-column.trustee-normal {
        position: relative !important;
        top: auto !important;
        width: 100%;
    }
}




/* Global Section Container */
.members-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 80px 20px;
    color: #1a202c;
}

/* Section Main Header */
.members-header {
    text-align: center;
    margin-bottom: 40px;
}

.members-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* Subsections (Board & Committee) */
/* .members-section {
    margin-bottom: 48px;
} */

.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 8px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Grid Layout */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

/* Base Member Card Styling */
.member-card {
    background-color: #ffffff;
    /* border: 1px solid #cbd5e1; */
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Specific Accent Style for Committee Members */
.member-card.accent-left {
    border-left: 5px solid var(--dark-blue);
}

/* Card Content Typography */
.member-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 4px 0;
}

.member-role {
    font-size: 13px !important;
    font-weight: 600;
    color: var(--grey);
    margin: 0;
    position: relative;
    z-index: 1;
}

.member-card.accent-left {
    position: relative;
    overflow: hidden;
}

.member-card .card-bottom-wave-accent {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 76px;
    opacity: 0.7;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.6s ease;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    width: 100%;
}

.member-card.accent-left:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: all 0.3s linear;
    /* background: red; */
}

.member-card.accent-left:hover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-blue);
    transition: all 0.3s linear;
}

.member-card.accent-left:hover .member-name {
    color: #fff;
    position: relative;
    z-index: 1;
}

.member-card.accent-left:hover .member-role {
    color: #b0b0b0;
}

.member-card.accent-left {
    transform: translateZ(-10px);
}

.member-card.accent-left:hover {
    transform: translateZ(10px);
}

.admission-team__showcase {
    width: 100%;
    margin-top: 50px;
    gap: 30px !important;
}

.admission-team__image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
}

.admission-team__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admission-team__content {
    text-align: center;
}

.admission-team__content h3 {
    margin: 0 0 8px;
}

.admission-team__content p {
    margin: 0;
    max-width: 800px;

    /* Maximum 2 lines */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}




.curriculum-accordion {
    /* width: 100%;
      max-width: 1800px;
      margin: 0 auto;
      padding: 0 40px; */
    padding: 40px 0;
}

.accordion-item {
    border: none !important;
    /* border-bottom: 1px solid #0b3d70; */
    background: transparent !important;

}

.accordion-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #073b70;
    border-bottom: 1px solid #0b3d70;
}

.accordion-header h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    font-family: Georgia, serif;
}

.accordion-icon {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 28px;
    line-height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 30px;
}

.accordion-item.active .accordion-content {
    display: block;
}


/* Subject Grid */
.subject-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* border-top: 1px dotted #9aacc0;
      border-left: 1px dotted #9aacc0; */
}

.subject-item {
    min-height: 165px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px dotted #9aacc0;
    /* border-bottom: 1px dotted #9aacc0; */
}

.subject-item span {
    margin-top: 15px;
    color: #073b70;
    font-family: 'EB Garamond';
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}

.subject-grid .subject-item:last-child {
    border-right: none;
}


/* Circular subject icon */
.subject-icon {
    width: 82px;
    height: 82px;
    /* border: 2px solid #f5a400; */
    border-radius: 20%;
    /* outline: 2px solid #00c5d2; */
    outline-offset: -6px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #111;
    font-size: 18px;
    font-weight: 500;
    padding: 14px;
    background: #39a6dd14;
}

.subject-icon img {
    width: 100%;
    height: 100%;
}


/* Active accordion */
.accordion-item.active .accordion-header {
    padding-bottom: 18px;
}

.accordion-item.active .accordion-icon {
    font-size: 25px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.subject-item {
    min-height: 165px;
    padding: 18px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px dotted #9aacc0;
    border-bottom: 1px dotted #9aacc0;
}

/* Last column of each row */
.subject-item.last-column {
    border-right: none;
}

/* Entire last row */
.subject-item.last-row {
    border-bottom: none;
}

/* Last item when last row is incomplete */
.subject-item:last-child {
    border-right: none;
}

/* Mobile */
@media (max-width: 991px) {

    .curriculum-accordion {
        padding: 0 20px;
    }

    .subject-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .accordion-header h3 {
        font-size: 24px;
    }
}


@media (max-width: 767px) {

    .curriculum-accordion {
        padding: 0 15px;
    }

    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .subject-item {
        min-height: 145px;
    }

    .subject-icon {
        width: 65px;
        height: 65px;
        font-size: 15px;
    }

    .subject-item span {
        font-size: 15px;
    }

    .accordion-header {
        min-height: 65px;
    }

    .accordion-header h3 {
        font-size: 21px;
    }

    .accordion-icon {
        width: 34px;
        height: 34px;
        font-size: 23px;
    }
}


@media (max-width: 480px) {

    .subject-grid {
        grid-template-columns: 1fr 1fr;
    }

    .subject-item {
        padding: 15px 8px;
    }

    .subject-item span {
        font-size: 14px;
    }
}


.members-container--cream {
    background: #fff9f0;
}