/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Forest Green & Gold — Premium Trident-Inspired School Theme */
    --green-900: #0a2e1a;
    --green-800: #0f3d22;
    --green-700: #14522e;
    --green-600: #1a6b3a;
    --green-500: #1e8548;
    --green-400: #27a35a;
    --green-300: #3ec77a;
    --green-200: #7edda5;
    --green-100: #d1f0df;
    --green-50: #edf8f2;

    --gold: #c8952e;
    --gold-light: #daa840;
    --gold-dark: #a67a1e;
    --gold-glow: rgba(200, 149, 46, 0.18);

    --white: #ffffff;
    --gray-50: #f7faf8;
    --gray-100: #f0f5f2;
    --gray-200: #dde8e1;
    --gray-300: #bfd0c5;
    --gray-400: #8da99a;
    --gray-500: #5f7a6b;
    --gray-600: #465c4f;
    --gray-700: #334a3c;
    --gray-800: #1e332a;
    --gray-900: #0f1f16;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 32px rgba(0,0,0,0.11);
    --shadow-xl: 0 16px 48px rgba(10, 46, 26, 0.14);

    --transition-fast: 0.2s ease;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== TOP ACCENT STRIP ===== */
.tricolor-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--green-800), var(--green-600), var(--green-400), var(--gold));
    position: relative;
    z-index: 10001;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--green-900);
    color: rgba(255,255,255,0.78);
    font-size: 0.78rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.top-bar-item a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition-fast);
}

.top-bar-item a:hover { color: var(--gold-light); }

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.top-bar-link {
    color: rgba(255,255,255,0.75);
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.top-bar-link:hover { color: var(--gold-light); }

.top-bar-btn {
    background: var(--gold);
    color: var(--green-900) !important;
    padding: 5px 16px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
}

.top-bar-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(200, 149, 46, 0.35);
}

/* ===== HEADER ===== */
.header {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(10, 46, 26, 0.08);
    padding: 6px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.school-logo-img:hover { transform: scale(1.05); }

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--green-800);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.68rem;
    color: var(--gray-500);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--green-600);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover { color: var(--green-700); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 60%; }
.nav-menu a.active { color: var(--green-800); font-weight: 700; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 10001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 22%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, 
            rgba(0, 0, 0, 0.88) 0%, 
            rgba(0, 0, 0, 0.76) 28%, 
            rgba(0, 0, 0, 0.48) 46%, 
            rgba(0, 0, 0, 0.12) 64%, 
            transparent 78%
        ),
        linear-gradient(to top, rgba(0, 0, 0, 0.42) 0%, transparent 26%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 50px;
    padding-bottom: 60px;
    width: 100%;
}

.hero-content {
    max-width: 490px;
    color: var(--white);
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

.hero h2 .highlight {
    color: var(--gold-light);
    font-style: normal;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    margin-bottom: 30px;
    max-width: 460px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--green-900) !important;
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 149, 46, 0.4);
}

.btn-outline {
    background: rgba(10, 46, 26, 0.4);
    color: var(--white);
    border-color: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--green-800);
    color: var(--white) !important;
    border-color: var(--green-800);
}

.btn-dark:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(15, 61, 34, 0.3);
}

.btn-outline-dark {
    background: transparent;
    color: var(--green-800);
    border-color: var(--green-800);
}

.btn-outline-dark:hover {
    background: var(--green-800);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--gold);
    color: var(--green-900) !important;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 149, 46, 0.45);
}

/* ===== FEATURE STRIP: SLOGAN & SCHOOL HOUSES ===== */
.features-strip {
    position: relative;
    z-index: 5;
    margin-top: -46px;
    margin-bottom: 24px;
}

.features-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 22px 18px;
    border: 1px solid rgba(0,0,0,0.05);
}

.slogan-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 16px;
    border-right: 1px solid var(--gray-200);
    position: relative;
    transition: transform 0.25s ease;
}

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

.slogan-info {
    flex: 1;
}

.house-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 3px;
}

.tag-red { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.tag-blue { background: #dbeafe; color: #2563eb; border: 1px solid #bfdbfe; }
.tag-green { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.tag-yellow { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }

.slogan-en {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.en-red { color: #dc2626; }
.en-blue { color: #2563eb; }
.en-green { color: #16a34a; }
.en-yellow { color: #d97706; }

.slogan-hi {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-600);
    line-height: 1.2;
}

/* House Text Colors */
.en-red { color: #dc2626; }
.en-blue { color: #2563eb; }
.en-green { color: #16a34a; }
.en-yellow { color: #d97706; }

/* House Icon Badges */
.feature-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.house-ico-red { background: #fef2f2; border: 1.5px solid #fca5a5; color: #dc2626; }
.house-ico-blue { background: #eff6ff; border: 1.5px solid #93c5fd; color: #2563eb; }
.house-ico-green { background: #f0fdf4; border: 1.5px solid #86efac; color: #16a34a; }
.house-ico-yellow { background: #fffbeb; border: 1.5px solid #fde68a; color: #d97706; }

.slogan-item:hover .feature-ico {
    transform: scale(1.1);
}

/* Slogan Directional Arrow */
.slogan-arrow {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-300);
    margin-left: auto;
    padding-left: 4px;
    user-select: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.slogan-item:hover .slogan-arrow {
    color: var(--gold);
    transform: translateX(3px);
}

/* ===== SECTION STYLING ===== */
.section { padding: 80px 0; }

.section-alt {
    background: var(--gray-50);
}

.section-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-dark);
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    color: var(--green-800);
    margin-bottom: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-center { text-align: center; margin-top: 36px; }

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 54px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover .about-img { transform: scale(1.04); }

.about-image-badge {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.06);
}

.badge-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--green-800);
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 0.94rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 16px;
    margin: 28px 0 32px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
    padding: 14px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    min-width: 105px;
    transition: var(--transition);
}

.about-stat:hover {
    border-color: var(--green-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.about-stat strong {
    display: block;
    font-size: 1.15rem;
    color: var(--green-800);
    font-weight: 800;
    margin-bottom: 2px;
}

.about-stat span {
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ===== DESK MESSAGE / PRINCIPAL SHOWCASE (REFERENCE DESIGN) ===== */
.desk-message-section {
    position: relative;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

/* Background layers running across full width */
.desk-bg-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
    pointer-events: none;
}

.desk-bg-top-white {
    height: 120px;
    background: #ffffff;
}

.desk-bg-navy-bar {
    height: 52px;
    background: #2b5c97;
}

.desk-bg-blue-body {
    flex: 1;
    background: #6a91c1;
    min-height: 400px;
}

.desk-container {
    position: relative;
    z-index: 2;
}

.desk-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 48px;
    align-items: start;
}

/* --- Left Column: Overlapping Framed Portrait & Name --- */
.desk-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 30px; /* Aligns top of frame with 'MESSAGE FROM DESK OF' */
    padding-bottom: 50px;
}

.desk-photo-frame {
    background: #ffffff;
    padding: 9px;
    border-radius: 4px;
    box-shadow: 0 16px 38px rgba(10, 30, 60, 0.26);
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desk-photo-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(10, 30, 60, 0.32);
}

.desk-photo-frame img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 2px;
    transition: opacity 0.35s ease;
}

.desk-person-meta {
    margin-top: 14px;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.desk-person-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.desk-person-role {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.desk-person-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.desk-badge-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* --- Right Column: Header, Dark Bar, Content --- */
.desk-content-col {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    padding-bottom: 50px;
}

.desk-top-header {
    height: 120px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

.desk-main-heading {
    font-size: 1.85rem;
    font-weight: 800;
    color: #122c54;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0;
    line-height: 1;
    font-family: 'Inter', system-ui, sans-serif;
}

.desk-stripe-bar {
    height: 52px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 0 0;
}

.desk-stripe-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.desk-slider-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.desk-arrow-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.desk-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.1);
}

.desk-arrow-btn:active {
    transform: scale(0.95);
}

.desk-body-card {
    background: transparent;
    padding: 26px 20px 20px 0;
    color: #ffffff;
    flex: 1;
    position: relative;
}

.desk-slide-item {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.desk-slide-item.active {
    display: block;
    opacity: 1;
    animation: deskFadeIn 0.4s ease forwards;
}

@keyframes deskFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.desk-quote {
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.65;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 400;
    opacity: 0.98;
}

.desk-text-p {
    font-size: 0.94rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.93);
    margin-bottom: 12px;
}

.desk-plus-wrap {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.desk-plus-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.desk-plus-btn:hover {
    background: #ffffff;
    color: #2e629e;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.desk-plus-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: opacity 0.2s;
}

.desk-plus-wrap:hover .desk-plus-label {
    opacity: 1;
    text-decoration: underline;
}

/* --- Modal Popup for Read More --- */
.desk-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 30, 50, 0.75);
    backdrop-filter: blur(6px);
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.desk-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.desk-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    animation: deskModalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes deskModalPop {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.desk-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: #edf2f7;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.desk-modal-close:hover {
    background: #e2e8f0;
    color: #1a202c;
    transform: scale(1.1);
}

.desk-modal-header {
    background: linear-gradient(135deg, #2e629e 0%, #1a4270 100%);
    color: #ffffff;
    padding: 28px 30px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.desk-modal-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.desk-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.desk-modal-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.desk-modal-role {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
}

.desk-modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dmb-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.desk-modal-body {
    padding: 28px 30px;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.85;
}

.desk-modal-body blockquote {
    background: #f7fafc;
    border-left: 4px solid #2e629e;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-style: italic;
    color: #4a5568;
    border-radius: 0 6px 6px 0;
}

.desk-modal-body p {
    margin-bottom: 14px;
}

.desk-modal-footer {
    padding: 16px 30px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.desk-modal-contact {
    display: flex;
    gap: 18px;
    font-size: 0.82rem;
    color: #4a5568;
    flex-wrap: wrap;
}

.desk-modal-contact a {
    color: #2e629e;
    font-weight: 600;
}

/* --- Desk Message Responsive Breakpoints --- */
@media (max-width: 992px) {
    .desk-grid {
        grid-template-columns: 320px 1fr;
        gap: 30px;
    }
    .desk-photo-frame img {
        height: 260px;
    }
    .desk-main-heading {
        font-size: 1.55rem;
    }
}

@media (max-width: 768px) {
    .desk-message-section {
        padding: 20px 0 40px;
    }
    .desk-bg-backdrop {
        display: none;
    }
    .desk-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .desk-content-col {
        display: contents;
    }
    .desk-top-header {
        order: 1;
        height: auto;
        padding-top: 10px;
        padding-bottom: 16px;
        text-align: center;
        justify-content: center;
    }
    .desk-main-heading {
        font-size: 1.45rem;
        text-align: center;
    }
    .desk-stripe-bar {
        order: 2;
        background: #2b5c97;
        border-radius: 8px 8px 0 0;
        padding: 0 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .desk-photo-col {
        order: 3;
        padding-top: 24px;
        padding-bottom: 14px;
        background: #6a91c1;
    }
    .desk-photo-frame {
        max-width: 290px;
    }
    .desk-photo-frame img {
        height: 230px;
    }
    .desk-body-card {
        order: 4;
        background: #6a91c1;
        padding: 10px 16px 36px;
        border-radius: 0 0 8px 8px;
    }
    .desk-plus-wrap {
        justify-content: center;
    }
}

/* ===== ACTIVITIES 2-LAYER STAGGERED MARQUEE SLIDER ===== */
:root {
    --act-card-w: 280px;
    --act-card-h: 195px;
    --act-gap: 18px;
    --act-unit: calc(var(--act-card-w) + var(--act-gap));
    --act-stagger: calc(var(--act-unit) / 2);
}

.activities-section {
    padding: 75px 0 85px;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.activities-header-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 34px;
}

.activities-subtitle {
    color: var(--gray-600);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-top: -24px;
}

.activities-marquee-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: var(--act-gap);
}

/* Soft Edge Fade Overlays */
.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}

.activities-track-row {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.activities-track {
    display: flex;
    gap: var(--act-gap);
    width: max-content;
    will-change: transform;
}

/* Layer 1: Right to Left smooth continuous scroll */
.activities-row-1 .activities-track {
    animation: marqueeSlideRow1 40s linear infinite;
}

/* Layer 2: Right to Left, shifted by exactly half-card for staggered brick effect */
.activities-row-2 .activities-track {
    animation: marqueeSlideRow2 40s linear infinite;
}

/* Pause animation on hover */
.activities-marquee-container:hover .activities-track {
    animation-play-state: paused;
}

@keyframes marqueeSlideRow1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeSlideRow2 {
    0% {
        transform: translateX(calc(-1 * var(--act-stagger)));
    }
    100% {
        transform: translateX(calc(-50% - var(--act-stagger)));
    }
}

/* Activity Card */
.activity-card {
    position: relative;
    width: var(--act-card-w);
    height: var(--act-card-h);
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(10, 46, 26, 0.08);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    background: var(--green-900);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.activity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}









.activity-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(10, 46, 26, 0.22);
    border-color: var(--gold);
    z-index: 4;
}

.activity-card:hover img {
    transform: scale(1.08);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 22, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeInModal 0.25s ease forwards;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--gold);
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}







.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--gold);
    color: var(--green-900);
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Breakpoints for Tablet and Mobile */
@media (max-width: 992px) {
    :root {
        --act-card-w: 240px;
        --act-card-h: 170px;
        --act-gap: 14px;
    }
    .activities-header-wrap {
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    :root {
        --act-card-w: 195px;
        --act-card-h: 140px;
        --act-gap: 12px;
    }
    .activities-section {
        padding: 50px 0 60px;
    }
    .activities-subtitle {
        font-size: 0.88rem;
    }
    .marquee-fade-left,
    .marquee-fade-right {
        width: 40px;
    }
    
    
    
    
}



/* ===== WHY SCHOOL / WAVE FACILITIES SECTION (REFERENCE DESIGN) ===== */
.why-school-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 44px;
}

.why-school-title {
    font-size: 2.35rem;
    font-weight: 700;
    color: #1e293b;
    margin: 8px 0 12px;
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.5px;
}

.why-school-title span {
    color: #d32828;
    font-weight: 800;
    text-transform: uppercase;
}

.why-school-subtitle {
    font-size: 0.96rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 auto;
}

.wave-facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wave-facility-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.wave-facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.wave-img-box {
    position: relative;
    height: 195px;
    overflow: hidden;
    background: #e2e8f0;
}

.wave-facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.wave-facility-card:hover .wave-facility-img {
    transform: scale(1.08);
}

.wave-svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 40px;
    display: block;
    z-index: 2;
    pointer-events: none;
}

.wave-card-body {
    padding: 20px 18px 24px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ffffff;
}

.wave-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    font-family: 'Inter', system-ui, sans-serif;
    transition: color 0.2s ease;
}

.wave-facility-card:hover .wave-card-title {
    color: #d32828;
}

.wave-card-desc {
    font-size: 0.88rem;
    font-style: italic;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

@media (max-width: 1024px) {
    .wave-facility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .why-school-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 600px) {
    .wave-facility-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .why-school-title {
        font-size: 1.45rem;
    }
    .wave-img-box {
        height: 190px;
    }
}

/* ===== GALLERY / STUDENT LIFE ===== */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 34px;
}

.gallery-header .section-title { margin-bottom: 0; }

.gallery-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 180px;
    cursor: pointer;
    background: linear-gradient(145deg, var(--green-700), var(--green-900));
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    gap: 6px;
}

.gallery-placeholder .icon { font-size: 2rem; }
.gallery-placeholder p { font-size: 0.78rem; font-weight: 500; }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px;
    background: linear-gradient(transparent, rgba(10,46,26,0.85));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ADMISSION CTA BANNER ===== */
.admission-cta {
    background: linear-gradient(135deg, #0f3d22, #0a2e1a);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 50px 0;
    box-shadow: var(--shadow-lg);
}

.admission-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(200,149,46,0.12) 0%, transparent 50%);
}

.cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    font-size: 3rem;
    line-height: 1;
}

.cta-left h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--gold-light);
    font-weight: 700;
    line-height: 1.25;
}

.cta-divider {
    width: 1px;
    height: 56px;
    background: rgba(255,255,255,0.22);
}

.cta-right {
    display: flex;
    align-items: center;
    gap: 26px;
}

.cta-right p {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.5;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateX(4px);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 61, 34, 0.2);
    color: white;
}

.contact-card h4 {
    font-size: 0.9rem;
    color: var(--green-800);
    margin-bottom: 3px;
    font-weight: 700;
}

.contact-card p {
    font-size: 0.84rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-card p a {
    color: var(--gray-700);
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-card p a:hover { color: var(--green-600); }

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    height: 100%;
    min-height: 380px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--green-900);
    color: rgba(255,255,255,0.72);
    padding: 64px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-700), var(--green-500), var(--gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.95fr 1.35fr 1.2fr;
    gap: 36px;
    align-items: start;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 4px;
    flex-shrink: 0;
}

.footer-logo-wrap h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.footer-school-sub {
    font-size: 0.72rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

.footer-desc {
    font-size: 0.83rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.65);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
    background: var(--gold);
    color: var(--green-900);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(200, 149, 46, 0.35);
}

/* Footer Headings */
.footer h4 {
    color: white;
    font-size: 0.88rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2.5px;
    background: var(--gold);
    border-radius: 2px;
}

/* Links List */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.footer-links a::before {
    content: '›';
    font-size: 1.05rem;
    color: var(--gold);
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact List */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.83rem;
    line-height: 1.55;
}

.footer-contact-item .icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(200, 149, 46, 0.12);
    border: 1px solid rgba(200, 149, 46, 0.25);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.68);
    transition: var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--gold-light);
}

.footer-contact-item .timing-text {
    white-space: nowrap;
    color: rgba(255,255,255,0.68);
}

/* Newsletter */
.newsletter-desc {
    font-size: 0.83rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.65);
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.newsletter-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(200, 149, 46, 0.25);
    background: rgba(255,255,255,0.09);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 11px 14px;
    color: white;
    font-size: 0.82rem;
    outline: none;
    min-width: 0;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form button {
    background: var(--gold);
    color: var(--green-900);
    border: none;
    padding: 11px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: var(--gold-light);
    transform: scale(1.04);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.45);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--gold-light);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: white;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible { opacity: 1; visibility: visible; }

.scroll-top:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(200, 149, 46, 0.35);
}

/* ===== ANIMATIONS ===== */


/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero h2 { font-size: 2.6rem; }
    .features-card { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 20px 16px; }
    .slogan-item:nth-child(2) { border-right: none; }
    .slogan-item:nth-child(2) .slogan-arrow { display: none; }
    .slogan-item:nth-child(1),
    .slogan-item:nth-child(2) { border-bottom: 1px solid var(--gray-200); padding-bottom: 12px; }
    .academics-layout { grid-template-columns: 1fr; }
    .holistic-growth-card { max-width: 400px; margin: 0 auto; width: 100%; }
    .gallery-row { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; max-width: 540px; }
    .cta-grid { flex-direction: column; text-align: center; }
    .cta-divider { display: none; }
    .cta-right { flex-direction: column; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .hamburger { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 30px;
        box-shadow: var(--shadow-xl);
        z-index: 10000;
        align-items: stretch;
        gap: 0;
        display: none;
    }

    .nav-menu.active {
        display: flex;
        animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nav-menu a {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .nav-menu a::after { display: none; }

    .hero { min-height: 480px; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 55%, rgba(0, 0, 0, 0.45) 100%);
    }
    .hero h2 { font-size: 2.1rem; }
    .hero p { font-size: 0.92rem; }

    .features-strip { margin-top: -30px; }
    .features-card { grid-template-columns: 1fr 1fr; padding: 16px 12px; gap: 10px; }
    .slogan-item { border-right: none; padding: 8px 6px; }
    .slogan-item:nth-child(1),
    .slogan-item:nth-child(2) { border-bottom: 1px solid var(--gray-200); padding-bottom: 10px; }
    .slogan-arrow { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-img { height: 280px; }
    .academics-grid { grid-template-columns: 1fr; }
    .gallery-header { flex-direction: column; align-items: flex-start; gap: 14px; }
    .gallery-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(4) { display: block; }
    .gallery-item:nth-child(5) { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; margin-bottom: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; max-width: 100%; }
    .cta-left h3 { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .hero h2 { font-size: 1.7rem; line-height: 1.25; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
    .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
    .features-card { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 8px; }
    .slogan-item { gap: 8px; }
    .feature-ico { width: 38px; height: 38px; font-size: 1.15rem; }
    .slogan-en { font-size: 1rem; }
    .slogan-hi { font-size: 0.78rem; }
    .house-tag { font-size: 0.58rem; padding: 1px 5px; }
    .gallery-row { grid-template-columns: 1fr 1fr; }
    .gallery-item { height: 140px; }
    .container { padding: 0 16px; }
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 46, 26, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.nav-overlay.active { display: block; }

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.hero-bg-img {
    animation: slowZoom 20s infinite alternate linear;
}
@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.academic-card:hover .academic-icon {
    animation: floatIcon 2s ease-in-out infinite;
}
.facility-card:hover .facility-card-body h4 {
    color: var(--gold);
    transition: color 0.3s ease;
}

/* ===== MODERN ACADEMICS BENTO (NEW DESIGN) ===== */
.modern-academics-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px;
    gap: 24px;
}

.bento-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 38px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.bento-item:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 149, 46, 0.6);
}

.bento-item:nth-child(1) { grid-column: span 2; }
.bento-item:nth-child(2) { grid-column: span 1; }
.bento-item:nth-child(3) { grid-column: span 1; }
.bento-item:nth-child(4) { grid-column: span 2; }

.bento-content {
    position: relative;
    z-index: 3;
}

.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 31, 22, 0.95) 0%, rgba(15, 31, 22, 0.4) 50%, rgba(15, 31, 22, 0.1) 100%);
    z-index: 2;
}

.bento-item:hover .bento-bg {
    transform: scale(1.08);
}

.bento-icon {
    font-size: 2.8rem;
    margin-bottom: 22px;
    
    
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(200, 149, 46, 0.3)); display: inline-flex; align-items: center; justify-content: center;
}

.bento-item h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}

.bento-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

/* Responsive for Bento */
@media (max-width: 992px) {
    .modern-academics-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .bento-item:nth-child(1) { grid-column: span 2; min-height: 280px; }
    .bento-item:nth-child(2) { grid-column: span 1; min-height: 240px; }
    .bento-item:nth-child(3) { grid-column: span 1; min-height: 240px; }
    .bento-item:nth-child(4) { grid-column: span 2; min-height: 280px; }
}

@media (max-width: 600px) {
    .modern-academics-bento {
        grid-template-columns: 1fr;
    }
    .bento-item {
        grid-column: span 1 !important;
        min-height: 260px;
        padding: 28px;
    }
}





/* ===== ADMISSION BANNER ===== */
.admission-banner-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    margin-bottom: 40px;
}

.admission-banner {
    background: linear-gradient(135deg, var(--green-900) 0%, #102a18 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(15, 61, 34, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 45px;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.admission-banner::before {
    content: '';
    position: absolute;
    top: -50px; left: -50px; width: 200px; height: 200px;
    background: var(--gold);
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
}

.ad-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ad-icon {
    width: 65px;
    height: 65px;
    background: rgba(200, 149, 46, 0.12);
    border: 1px solid rgba(200, 149, 46, 0.25);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    flex-shrink: 0;
    box-shadow: inset 0 0 20px rgba(200,149,46,0.1);
}

.ad-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--white);
    line-height: 1.35;
    margin: 0;
    letter-spacing: 0.5px;
}

.ad-highlight {
    color: var(--gold-light);
    font-size: 1.6rem;
    font-weight: 800;
}

.ad-divider {
    width: 1px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
}

.ad-middle {
    flex-grow: 1;
}

.ad-middle p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
    max-width: 340px;
    font-weight: 400;
}

.ad-right {
    flex-shrink: 0;
}

.ad-btn {
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: var(--green-900);
    padding: 15px 32px;
    font-size: 0.95rem;
    border: none;
    font-weight: 800;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 20px rgba(200, 149, 46, 0.3);
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.ad-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(200, 149, 46, 0.45);
    color: var(--green-900);
}

@media (max-width: 992px) {
    .admission-banner {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        gap: 20px;
    }
    .ad-left {
        flex-direction: column;
        gap: 16px;
    }
    .ad-divider {
        width: 80px;
        height: 1px;
    }
    .ad-middle p {
        max-width: 100%;
        margin-bottom: 10px;
    }
    .admission-banner-section {
        margin-top: -30px;
    }
}

/* ===== ADDITIONAL MOBILE OPTIMIZATIONS ===== */
@media (max-width: 992px) {
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Sections general */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .desk-main-heading {
        font-size: 1.25rem;
    }
    .desk-person-name {
        font-size: 1.05rem;
    }
    .desk-modal-dialog {
        padding: 0;
    }
    .desk-modal-header {
        padding: 20px;
    }
    .desk-modal-body {
        padding: 20px;
    }
    .desk-modal-footer {
        padding: 14px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Features Slogan Strip: 2x2 Box for Mobile (No Arrow) */
    .features-card.slogan-strip {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        padding: 14px 8px !important;
        gap: 0 !important;
    }
    .slogan-item {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 12px 10px !important;
        gap: 10px !important;
        border: none !important;
    }
    .slogan-item:nth-child(1) {
        border-right: 1px solid var(--gray-200) !important;
        border-bottom: 1px solid var(--gray-200) !important;
    }
    .slogan-item:nth-child(2) {
        border-bottom: 1px solid var(--gray-200) !important;
    }
    .slogan-item:nth-child(3) {
        border-right: 1px solid var(--gray-200) !important;
    }
    .slogan-item:nth-child(4) {
        border: none !important;
    }
    .slogan-item .slogan-arrow {
        display: none !important;
    }
    .feature-ico {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }
    .feature-ico svg {
        width: 20px !important;
        height: 20px !important;
    }
    .slogan-en {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }
    .slogan-hi {
        font-size: 0.75rem !important;
        color: var(--gray-500) !important;
        margin: 0 !important;
        line-height: 1.2 !important;
    }
    .admission-banner {
        padding: 25px 20px;
    }
    .ad-icon {
        width: 50px;
        height: 50px;
    }
    .ad-title {
        font-size: 1.2rem;
    }
    .ad-highlight {
        font-size: 1.4rem;
    }
}

/* ===== ADDITIONAL TABLET FOOTER FIX ===== */
@media (max-width: 1100px) and (min-width: 769px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 3;
    }
}

/* ===== CONTACT CARDS MODERNIZATION ===== */
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

.contact-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 149, 46, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    width: 54px;
    height: 54px;
    background: var(--green-900);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(16, 42, 24, 0.2);
}

.contact-card h4 {
    font-size: 1.1rem;
    color: var(--green-900);
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.contact-card p, .contact-card p a {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
    font-weight: 500;
}

.contact-card p a {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.contact-card p a:hover {
    color: var(--green-700);
}










