:root {
    --primary-blue: #2c7eb5;
    --dark-blue: #0f2d55;
    --light-blue: #e3f2fd;
    --lighter-blue: #d6eff6;
    --sky-blue: #ade1f6;
    --accent-green: #79b833;
    --text-dark: #333;
    --transition-speed: 0.3s;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
}

h1,
h2,
h3,
h5,
h6,
.section-title-serif {
    font-family: 'Roboto Slab', serif;
}

h4 {
    font-family: 'Roboto', sans-serif;
}

/* --- HEADER --- */
.navbar {
    padding: 0;
    background: white !important;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 70px;
    margin-left: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: stretch;
}

.nav-link {
    color: #444 !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    padding: 1.8rem 0.5rem !important;
    letter-spacing: 0.1px;
    position: relative;
    display: flex;
    align-items: center;
    transition: all var(--transition-speed) ease;
    border-radius: 8px 8px 0 0;
    margin-top: 0 !important;
    background-color: transparent;
}

.nav-link::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -1px;
    color: #ddd;
    font-weight: 300;
}

.nav-item:last-child .nav-link::after,
.nav-item:nth-last-child(2) .nav-link::after,
.nav-item.enquire-item .nav-link::after {
    display: none !important;
}

.dropdown-toggle::after {
    border: none !important;
    vertical-align: middle !important;
}

.nav-link.active-menu,
.nav-item:hover .nav-link {
    background-color: var(--primary-blue);
    color: white !important;
}

.nav-link.active-menu::after,
.nav-item:hover .nav-link::after {
    display: none;
}

/* Dropdown custom hover - only on desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.dropdown-menu {
    border: none;
    background-color: var(--primary-blue);
    border-radius: 0 0 12px 12px;
    padding: 1rem 0;
    min-width: 220px;
    top: 98%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.3s ease-out;
    border-top: none;
}

.dropdown-item {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.6rem 1.5rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-enquire {
    background-color: var(--accent-green);
    color: white;
    font-weight: 700;
    border-radius: 30px;
    padding: 0.6rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    transition: transform 0.2s;
}

.btn-enquire:hover {
    transform: scale(1.05);
    background-color: #6ba32d;
    color: white;
}

/* Optimization for standard laptops (992px - 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
    .nav-link {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        font-size: 0.7rem;
    }

    .nav-item.ms-lg-5 {
        margin-left: 1.5rem !important;
    }

    .navbar-brand img {
        height: 65px;
    }
}

/* --- WELCOME & ENQUIRY --- */
.welcome-enquiry-v2 {
    background: white;
    height: auto;
    min-height: fit-content;
    padding: 100px 0 150px 0;
    display: block;
    overflow: visible;
    clear: both;
}

.welcome-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.enquiry-card {
    background-color: var(--lighter-blue);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.enquiry-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--dark-blue);
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.enquiry-form label {
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.enquiry-form .form-control,
.enquiry-form .form-select {
    border: 1px solid #fff;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.enquiry-form .form-control:focus,
.enquiry-form .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

.btn-submit-enquiry {
    background-color: #297ab9;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit-enquiry:hover {
    background-color: #1a5685;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

.btn-submit-enquiry:disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* --- WHY CHOOSE --- */
.why-choose {
    background-color: var(--lighter-blue) !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 100px 0 !important;
    display: block !important;
    overflow: visible !important;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose {
        padding: 4rem 0;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.feature-item:hover {
    background: #d1e9f0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

.feature-icon-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-text {
    font-weight: 600;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.3;
}

@media (max-width: 575px) {
    .feature-item {
        padding: 1.5rem;
    }

    .feature-icon-wrapper {
        font-size: 2.5rem;
        width: 60px;
        margin-right: 1rem;
    }

    .feature-text {
        font-size: 1rem;
    }
}

/* --- SCHOLAR SECTION --- */
.scholar-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.scholar-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.scholar-item {
    flex: 1;
    padding: 0 1rem;
    position: relative;
    min-width: 140px;
}

.scholar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #ddd;
}

.scholar-letter {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
}

.scholar-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 767px) {
    .scholar-item {
        flex: 0 0 100% !important;
        margin-bottom: 3rem;
    }

    .scholar-item:not(:last-child)::after {
        display: none !important;
    }
}

/* Colors */
.letter-s {
    color: #db2128;
}

.letter-c {
    color: #f26623;
}

.letter-h {
    color: #f69f19;
}

.letter-o {
    color: #72bf45;
}

.letter-l {
    color: #028ace;
}

.letter-a {
    color: #34306d;
}

.letter-r {
    color: #7f3e98;
}

/* --- BEYOND ACADEMICS --- */
.beyond-academics {
    background-color: var(--lighter-blue);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.beyond-academics:hover {
    z-index: 10000;
}

.club-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    align-items: center;
}

.club-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.club-item {
    background: white;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}

.club-item:hover {
    transform: translateY(-5px);
    z-index: 5;
}

.club-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Tooltip style */
.club-tooltip {
    position: absolute;
    top: 50%;
    left: 105%;
    transform: translateY(-50%);
    width: 350px;
    background-color: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-tooltip {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 5px;
}

.close-tooltip:hover {
    color: white;
}

.club-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent var(--primary-blue) transparent transparent;
}

.club-item:hover .club-tooltip {
    display: block;
    opacity: 1;
    visibility: visible;
    left: 110%;
}

/* Adjust tooltip position for items on the right side if needed */
.club-row .club-item:nth-child(n+3) .club-tooltip {
    left: auto;
    right: 110%;
}

.club-row .club-item:nth-child(n+3) .club-tooltip::after {
    right: auto;
    left: 100%;
    border-color: transparent transparent transparent var(--primary-blue);
}

/* Mobile and Tablet adjustments for Club Tooltips (Centered Overlay) */
@media (max-width: 1200px) {
    .beyond-academics:hover {
        z-index: 100000 !important;
    }

    .club-item:hover {
        transform: none !important;
    }

    .club-tooltip {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 350px !important;
        max-width: 90vw !important;
        padding: 2.5rem 1.5rem 1.5rem !important;
        font-size: 1rem !important;
        z-index: 10000 !important;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.6), 0 20px 50px rgba(0, 0, 0, 0.3) !important;
        line-height: 1.6 !important;
    }

    .club-item:hover .club-tooltip {
        display: block !important;
        left: 50% !important;
    }

    .club-tooltip::after {
        display: none !important;
    }

    .close-tooltip {
        top: 15px !important;
        right: 15px !important;
        font-size: 1.5rem !important;
    }

    .logo-item {
        padding: 0 1rem !important;
    }
}

/* --- STATS SECTION --- */
.stats-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://www.vibgyorworldacademy.com/old/img/leadership-team-banner1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.stats-logo {
    background: white;
    padding: 10px 20px;
    display: inline-block;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.stats-logo img {
    height: 60px;
}

.stats-headline {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-section {
    position: relative;
}

.triptych-row {
    display: flex;
    height: 69vh;
    overflow: hidden;
}

.triptych-row.hero-sub {
    height: 42vh;
}

/* --- MOBILE MENU FIXES --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        transition: height 0.35s ease-in-out;
        /* Smooth height transition */
    }

    .navbar-nav {
        padding: 0 !important;
        align-items: stretch !important;
        will-change: transform;
    }

    .nav-item {
        width: 100%;
        display: block !important;
        text-align: center;
        transform: translateZ(0);
        /* Hardware acceleration to prevent shaking */
        backface-visibility: hidden;
    }

    .nav-item:nth-child(even) {
        background-color: var(--lighter-blue);
    }

    .nav-link {
        padding: 1.25rem !important;
        width: 100%;
        justify-content: center;
        border-radius: 0 !important;
        margin-top: 0 !important;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background-color: #f8f9fa;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        display: none;
        /* Controlled by Bootstrap JS 'show' class */
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        color: var(--primary-blue) !important;
        padding: 1rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
    }

    .nav-item:last-child {
        padding: 2rem 0 4rem 0;
        background-color: white !important;
    }

    .btn-enquire {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
}



.triptych-col {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.triptych-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* .triptych-col:hover img {
    transform: scale(1.1);
} */

.hero-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000000a3;
    padding: 2rem 2rem 2rem;
    text-align: center;
}

.hero-overlay-text h1 {
    color: white;
    font-weight: 700;
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* --- PARENT ZONE CUSTOM REFINEMENTS --- */
.policy-item,
.app-feature {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background: #fdfdfd;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.policy-item:hover,
.app-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    background: white;
}

.policy-item i,
.app-feature i {
    transition: transform 0.3s ease;
}

.policy-item:hover i,
.app-feature:hover i {
    transform: scale(1.1);
}

/* --- BOTTOM CTA --- */
.bottom-cta {
    background-color: var(--sky-blue);
}

/* --- FOOTER --- */
.footer-top {
    background-color: var(--lighter-blue);
    padding: 5rem 0 3.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
}

.footer-links-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.footer-link {
    display: block;
    color: #555;
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-blue);
}

.social-icons {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #666;
    border-radius: 50%;
    margin-right: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--dark-blue);
    color: white;
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ampersand-logo {
    height: 60px;
}

.ampersand-logo {
    border-radius: 2px;
}

/* --- SCROLL TO TOP --- */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary-blue);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s;
}

.scroll-top:hover {
    background: var(--primary-blue);
    color: white;
}

/* --- ANIMATIONS --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* --- CAMBRIDGE SECTION --- */
.cambridge-section {
    padding: 6rem 0;
    background: white;
}

.cambridge-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
    color: #444;
}

.cambridge-text p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cambridge-subtext {
    font-style: italic;
    font-weight: 600;
    color: #00a99d;
    font-size: 1.1rem;
}

/* Learner Profile Illustration */
.learner-profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.central-hub {
    background-color: #00aeef;
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    width: 140px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
    line-height: 1.2;
}

.learner-attributes {
    margin-left: 80px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.attribute-item {
    display: flex;
    align-items: center;
    position: relative;
}

.attribute-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    margin-right: 1.5rem;
    z-index: 2;
    padding: 12px;
}

.attribute-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.attribute-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Connection Lines (Simplified SVG approach using CSS or real SVG in HTML) */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Colors for attributes */
.attr-engaged .attribute-circle {
    border-color: #f26d7d;
}

.attr-engaged .attribute-label {
    color: #f26d7d;
}

.attr-reflective .attribute-circle {
    border-color: #fbb03b;
}

.attr-reflective .attribute-label {
    color: #fbb03b;
}

.attr-innovative .attribute-circle {
    border-color: #00aeef;
}

.attr-innovative .attribute-label {
    color: #00aeef;
}

.attr-confident .attribute-circle {
    border-color: #00a99d;
}

.attr-confident .attribute-label {
    color: #00a99d;
}

.attr-responsible .attribute-circle {
    border-color: #8cc63f;
}

.attr-responsible .attribute-label {
    color: #8cc63f;
}

@media (max-width: 991px) {
    .cambridge-title {
        font-size: 2rem;
    }

    .learner-profile-wrapper {
        flex-direction: column;
    }

    .central-hub {
        margin-bottom: 2rem;
    }

    .learner-attributes {
        margin-left: 0;
    }
}

/* --- PATHWAY SECTION --- */
.pathway-section {
    padding: 6rem 0;
    background-color: var(--lighter-blue);
    overflow: hidden;
}

.pathway-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 5rem;
    color: #444;
}

.pathway-carousel-container {
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.pathway-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Centering handled in JS */
    visibility: hidden;
    /* Prevent flickering on load */
}

.pathway-card {
    min-width: 320px;
    width: 320px;
    margin: 0 1rem;
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.5s ease;
    cursor: pointer;
}

.pathway-card.active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 10;
}

.card-inner {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card-header-accent {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 60px;
    /* border-top: 3px solid;
    border-left: 3px solid;
    border-right: 3px solid; */
    /* border-radius: 15px 15px 0 0; */
}

.card-stage {
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.card-age-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #00aeef;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.card-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-features li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.card-features li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #00a99d;
    font-size: 0.8rem;
}

.card-footer-info {
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.4;
}

/* Colors and Accents */
.border-early {
    border-color: #f26d7d;
}

.bg-early {
    background-color: #fbd6da;
}

.border-primary {
    border-color: #fbb03b;
}

.bg-primary {
    background-color: #fff1da;
}

.border-lower {
    border-color: #00aeef;
}

.bg-lower {
    background-color: #daf2fb;
}

.border-upper {
    border-color: #00a99d;
}

.bg-upper {
    background-color: #dafbfa;
}

.border-advanced {
    border-color: #8cc63f;
}

.bg-advanced {
    background-color: #effbda;
}

@media (max-width: 576px) {
    .pathway-card {
        min-width: 280px;
        width: 280px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .triptych-row {
        /* flex-direction: column;
        height: auto; */
        height: 250px !important;

    }

    .hero-overlay-text h1 {
        font-size: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .container,
    .container-fluid {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* --- CAMPUSES SECTION --- */
.campuses-section {
    background-color: white;
    padding-bottom: 5rem !important;
}

.campus-card {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.campus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.campus-image-wrapper {
    overflow: hidden;
    height: 100%;
}

.campus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campus-card:hover .campus-img {
    transform: scale(1.05);
}

.campus-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.btn-learn-more {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    text-decoration: none;
}

.btn-learn-more:hover {
    background-color: var(--dark-blue);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- CAROUSEL NAVIGATION --- */
.pathway-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.pathway-nav:hover {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pathway-nav.prev {
    left: 20px;
}

.pathway-nav.next {
    right: 20px;
}

.pathway-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 3rem;
}

.pathway-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pathway-dot.active {
    background-color: var(--primary-blue);
    transform: scale(1.3);
}

/* --- VIDEO SECTION --- */
.video-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.video-container {
    width: 100%;
    cursor: pointer;
}

.video-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.video-section:hover .video-img {
    transform: scale(1.02);
}

/* --- GLOBAL OPPORTUNITIES --- */
.global-opps-section {
    background-color: #fcfcfc;
}

.uni-logo {
    max-height: 120px;
    width: auto;
    /* filter: grayscale(1); */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    white-space: nowrap;
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-logos 50s linear infinite;
    align-items: center;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.logo-item {
    padding: 0 4rem;
    flex: 0 0 auto;
}

.logo-item:hover .uni-logo {
    /* filter: grayscale(0); */
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {}

@media (max-width: 767px) {
    .display-4 {
        font-size: 2.2rem !important;
    }

    .display-5 {
        font-size: 2rem !important;
    }

    .display-6 {
        font-size: 1.8rem !important;
    }

    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    section {
        overflow-x: hidden !important;
    }
}

@media (max-width: 575px) {
    .display-4 {
        font-size: 1.8rem !important;
    }

    .display-5 {
        font-size: 1.6rem !important;
    }

    .display-6 {
        font-size: 1.4rem !important;
    }

    .campus-content {
        text-align: center !important;
    }
}

/* --- SCROLL OFFSET FOR STICKY NAVBAR --- */
section[id],
div[id] {
    scroll-margin-top: 150px;
}

.feature-icon-wrapper img {
    width: 75px;
}

/* --- WHY PARENTS CHOOSE SECTION --- */
.why-parents-choose-section {
    padding: 80px 0;
}

.why-choose-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-bottom: 1rem;
}

.why-choose-icon img {
    transition: transform 0.3s ease;
}

.why-parents-choose-section .col:hover img {
    transform: scale(1.1);
}

/* --- BEYOND ACADEMICS ICONS --- */
.feat-icon img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.beyond-academics-new .col-lg-4:hover img {
    transform: scale(1.1);
}

p.h6.fw-normal.px-lg-4 {
    width: 260px;
}

/* --- GALLERY MOSAIC --- */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 15px;
    margin-top: 30px;
}

.gallery-mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-mosaic-item:hover img {
    transform: scale(1.1);
}

/* Mosaic pattern */
.gallery-mosaic-item.wide {
    grid-column: span 2;
}

.gallery-mosaic-item.tall {
    grid-row: span 2;
}

.gallery-mosaic-item.big {
    grid-column: span 2;
    grid-row: span 2;
}

/* Hover Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 126, 181, 0.85);
    /* primary-blue with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-mosaic-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    color: white;
    font-size: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-mosaic-item:hover .gallery-icon {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-mosaic-item.wide,
    .gallery-mosaic-item.big {
        grid-column: span 1;
    }
}

/* --- CAREERS PAGE --- */
.career-intro {
    background-color: white;
}

.career-why-work {
    background-color: #f8f9fa;
}

.career-benefit-list {
    list-style: none;
    padding-left: 0;
}

.career-benefit-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 1.05rem;
}

.career-benefit-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.career-placeholder-img {
    background-color: var(--dark-blue);
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: bold;
}

.who-we-look-for {
    background-color: white;
}

.career-search-card {
    background-color: var(--lighter-blue);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.career-search-card p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    color: #444;
    font-weight: 500;
}

.openings-section {
    background-color: var(--lighter-blue);
}

.apply-section {
    background-color: white;
}

.career-final-cta {
    background-color: var(--sky-blue);
}

@media (max-width: 767px) {
    .career-placeholder-img {
        height: 250px;
        margin-top: 2rem;
    }
}

@media screen and (max-width:425px) {
    img.img-fluid.rounded-3.shadow-sm {
        width: 100%;
    }

    img.img-fluid.w-100 {
        height: 445px !important;
    }
}

/* --- CURRICULUM OVERVIEW SECTION --- */
.curriculum-overview {
    background-color: #d6eff6;
    padding: 120px 0;
}

.curriculum-overview h2 {
    color: #5d5d5d;
    font-weight: 500;
    margin-bottom: 5rem;
    font-family: 'Roboto Slab', serif;
    font-size: 2.8rem;
    letter-spacing: 0.5px;
}

.curriculum-text p {
    color: #616161;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 2.2rem;
    max-width: 95%;
}

.curriculum-img-wrapper {
    position: relative;
    border-radius: 0;
    /* Square corners like mockup */
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Square ratio like mockup */
}

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

@media (max-width: 991px) {
    .curriculum-overview {
        padding: 80px 0;
    }

    .curriculum-overview h2 {
        font-size: 2.2rem;
        margin-bottom: 3.5rem;
    }

    .curriculum-img-wrapper {
        margin-top: 3.5rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .curriculum-text p {
        max-width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }
}

/* --- CAMBRIDGE APPROACH SECTION --- */
.cambridge-approach {
    background-color: white;
    padding: 100px 0;
}

.cambridge-approach h2 {
    color: #5d5d5d;
    font-weight: 500;
    margin-bottom: 3.5rem;
    font-family: 'Roboto Slab', serif;
    font-size: 2.8rem;
    letter-spacing: 0.5px;
}

.cambridge-text {
    max-width: 850px;
    margin: 0 auto;
}

.cambridge-text p {
    color: #616161;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: left;
    /* Left aligned within centered container like mockup */
}

@media (max-width: 991px) {
    .cambridge-approach {
        padding: 60px 0;
    }

    .cambridge-approach h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .cambridge-text p {
        text-align: center;
        font-size: 1.1rem;
    }
}

/* --- ASSESSMENTS BRIDGE --- */
.assessments-intro {
    margin-bottom: 0 !important;
}

.assessments-intro p:last-child {
    margin-bottom: 0 !important;
}

.assessments-intro+.pathway-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.assessments-intro+.pathway-section .pathway-title {
    display: none;
    /* Hide empty title space */
}

.assessments-intro+.pathway-section .text-center.mb-5 {
    margin-bottom: 0 !important;
    /* Remove spacing from empty title container */
    height: 0;
    overflow: hidden;
}

/* --- EXPERIENCE CTA SECTION --- */
.experience-cta {
    background-color: white;
    padding: 100px 0;
}

.experience-cta h2 {
    color: #5d5d5d;
    font-weight: 500;
    margin-bottom: 3.5rem;
    font-family: 'Roboto Slab', serif;
    font-size: 2.5rem;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-blue {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-blue:hover {
    background-color: var(--dark-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
    .experience-cta {
        padding: 60px 0;
    }

    .experience-cta h2 {
        font-size: 2rem;
    }
}

/* --- ADMISSION PROCESS HORIZONTAL --- */
.admission-process-h {
    background-color: white;
    padding: 100px 0;
}

.process-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.process-card {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.process-card-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
}

.process-card-body {
    background-color: #e9ecef;
    padding: 20px;
    flex-grow: 1;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-card-body strong {
    display: block;
    color: #444;
    margin-bottom: 10px;
    font-weight: 700;
}

@media (max-width: 1199px) {
    .process-card {
        min-width: 180px;
    }
}

@media (max-width: 991px) {
    .process-grid {
        gap: 20px;
    }

    .process-card {
        max-width: calc(33.33% - 20px);
        min-width: 250px;
    }
}

@media (max-width: 767px) {
    .process-card {
        max-width: 100%;
        min-width: 100%;
    }



}

@media only screen and (min-width: 1200px) {}

@media only screen and (max-width: 768px) {

    .triptych-row.hero-sub {
        height: auto !important;
    }

    .triptych-col img {
        width: 100%;
        height: auto !important;
    }

    .hero-overlay-text {
        background: #000000 !important;
    }


}