@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* =============================================
   DESIGN SYSTEM - CSS Variables
   ============================================= */
:root {
    --primary: #0EA5E9;
    --primary-hover: #0284C7;
    --primary-dark: #075985;
    --primary-light: #E0F2FE;
    --primary-glow: rgba(14, 165, 233, 0.25);

    --secondary: #F59E0B;
    --secondary-hover: #D97706;
    --secondary-light: #FEF3C7;

    --accent-orange: #F97316;
    --accent-orange-hover: #EA580C;
    --accent-orange-light: #FFF7ED;

    --accent-green: #10B981;
    --accent-green-light: #D1FAE5;

    --accent-purple: #8B5CF6;
    --accent-purple-light: #EDE9FE;

    --accent-rose: #F43F5E;
    --accent-rose-light: #FFE4E6;

    --dark: #0F172A;
    --dark-card: #1E293B;
    --gray-dark: #334155;
    --gray-mid: #64748B;
    --gray-light: #94A3B8;
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --border-light: rgba(226, 232, 240, 0.6);

    --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 2px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 32px 64px rgba(15, 23, 42, 0.16);
    --shadow-primary: 0 8px 24px rgba(14, 165, 233, 0.35);
    --shadow-orange: 0 8px 24px rgba(249, 115, 22, 0.35);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-full: 9999px;

    --transition-fast: all 0.2s ease;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--gray-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 800;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-hover); }

/* =============================================
   ANIMATIONS & KEYFRAMES
   ============================================= */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(18px) rotate(-2deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 0 20px transparent; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce-in {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-left {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-right {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hero-bg-pan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blob-morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-35px);
}

.reveal.reveal-right {
    transform: translateX(35px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section-sm { padding: 70px 0; }

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark {
    background: linear-gradient(135deg, var(--dark) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--gray-mid);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
}

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark); }

/* Responsive Grid Utilities */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.club-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Prevent grid items from exceeding container boundaries */
.info-grid > div,
.form-row > div,
.features-grid > div,
.club-grid > div {
    min-width: 0;
}


/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
    color: var(--dark);
    box-shadow: var(--shadow-orange);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.45);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2.5px solid currentColor;
    color: var(--primary);
}

.btn-outline-white {
    background-color: transparent;
    border: 2.5px solid rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* =============================================
   TOP UTILITY BAR
   ============================================= */
.top-bar {
    background: linear-gradient(90deg, var(--dark) 0%, #1E293B 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.82rem;
    font-weight: 600;
    position: relative;
    z-index: 100;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.top-bar-info {
    display: flex;
    gap: 24px;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 7px;
    opacity: 0.85;
}

.top-bar-info span i {
    color: var(--secondary);
    font-size: 0.85rem;
}

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

.top-bar-links a {
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.top-bar-links a:hover { color: var(--secondary); }

.top-bar-social {
    display: flex;
    gap: 10px;
    align-items: center;
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 16px;
}

.top-bar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.top-bar-social a:hover { background: var(--primary); color: white; transform: scale(1.1); }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(15, 23, 42, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    gap: 32px;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img-box {
    width: auto;
    height: 60px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-img-box img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gray-dark);
    padding: 8px 14px;
    border-radius: 10px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--light-bg);
    border: 1.5px solid var(--border-color);
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark);
    transition: var(--transition-fast);
}

.hamburger:hover { background: var(--primary-light); color: var(--primary); }

/* Mobile drawer helper classes hidden by default on desktop */
.drawer-mobile-header,
.drawer-mobile-cta,
.drawer-mobile-contact,
.drawer-mobile-socials {
    display: none;
}


/* =============================================
   TICKER BAR
   ============================================= */
.ticker-bar {
    background: linear-gradient(90deg, var(--secondary-light) 0%, #FFF7ED 100%);
    border-bottom: 1.5px dashed rgba(245, 158, 11, 0.4);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.ticker-bar-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.ticker-label {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    margin-left: 24px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.ticker-track-wrap {
    overflow: hidden;
    flex: 1;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.ticker-track span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary-hover);
    padding-right: 80px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ticker-track span i {
    color: var(--accent-orange);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #0EA5E9 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    bottom: -80px;
    left: 5%;
    pointer-events: none;
    animation: float-reverse 10s ease-in-out infinite;
}

.hero-content-wrap {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.hero-badge i { color: var(--secondary); }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.75;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Image Area */
.hero-image-area {
    position: relative;
}

.hero-img-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.15);
    animation: float 7s ease-in-out infinite;
}

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

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 50%);
}

.hero-img-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.hero-img-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-img-badge-text h4 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2px;
}

.hero-img-badge-text p {
    font-size: 0.78rem;
    color: var(--gray-mid);
    font-weight: 600;
}

/* Floating Pill Cards */
.hero-float-card {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.hero-float-card.card-top-right {
    top: -20px;
    right: -30px;
    animation: float-reverse 5s ease-in-out infinite;
}

.hero-float-card.card-left {
    top: 40%;
    left: -40px;
    animation: float 6s ease-in-out infinite;
}

.hero-float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-float-icon.icon-yellow { background: var(--secondary-light); color: var(--secondary-hover); }
.hero-float-icon.icon-green { background: var(--accent-green-light); color: var(--accent-green); }

.hero-float-text .title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--dark);
}

.hero-float-text .sub {
    font-size: 0.72rem;
    color: var(--gray-mid);
    font-weight: 600;
}

/* Wave Divider */
.wave-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    z-index: 5;
    overflow: hidden;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* =============================================
   ABOUT / INFO SECTION
   ============================================= */
.info-section {
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-img-wrap {
    position: relative;
}

.info-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.info-img-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.info-img-accent {
    position: absolute;
    width: 200px;
    bottom: -30px;
    right: -30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}

.info-img-accent img { width: 100%; height: 150px; object-fit: cover; }

.info-card-stat {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.info-card-stat .big-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.info-card-stat .label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-mid);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.info-content {}

.info-content h3.sub-heading {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.info-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.info-content p {
    color: var(--gray-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.info-pill i { font-size: 0.85rem; }

/* =============================================
   FEATURES / ACADEMIC STANDARDS
   ============================================= */
.features-section {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.feature-card.fc-blue::before { background: linear-gradient(90deg, var(--primary), var(--primary-hover)); }
.feature-card.fc-yellow::before { background: linear-gradient(90deg, var(--secondary), var(--accent-orange)); }
.feature-card.fc-green::before { background: linear-gradient(90deg, var(--accent-green), #059669); }
.feature-card.fc-purple::before { background: linear-gradient(90deg, var(--accent-purple), #7C3AED); }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.icon-bg-blue { background: var(--primary-light); color: var(--primary); }
.icon-bg-yellow { background: var(--secondary-light); color: var(--secondary-hover); }
.icon-bg-green { background: var(--accent-green-light); color: var(--accent-green); }
.icon-bg-purple { background: var(--accent-purple-light); color: var(--accent-purple); }
.icon-bg-orange { background: var(--accent-orange-light); color: var(--accent-orange); }
.icon-bg-rose { background: var(--accent-rose-light); color: var(--accent-rose); }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0284C7 100%);
    position: relative;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.stats-section .section-title h2 {
    color: var(--white);
}

.stats-section .section-title p {
    color: rgba(255,255,255,0.65);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.25);
}

.stat-card:hover::after { opacity: 1; }

.stat-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.stat-card:hover .stat-icon { transform: scale(1.12) rotate(-5deg); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =============================================
   ACHIEVEMENTS SECTION
   ============================================= */
.achievements-section {
    background: var(--white);
}

.achievement-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.achievement-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.achievement-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

.achievement-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sports { background: var(--accent-green-light); color: var(--accent-green); }
.badge-academic { background: var(--primary-light); color: var(--primary); }
.badge-arts { background: var(--accent-purple-light); color: var(--accent-purple); }
.badge-science { background: var(--accent-orange-light); color: var(--accent-orange); }

.achievement-content {
    padding: 28px;
}

.achievement-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.achievement-content p {
    color: var(--gray-mid);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-section {
    background: var(--light-bg);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.news-featured {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
}

.news-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.news-featured-img {
    height: 300px;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured:hover .news-featured-img img { transform: scale(1.05); }

.news-featured-body {
    padding: 32px;
}

.news-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-green { background: var(--accent-green-light); color: var(--accent-green); }
.tag-orange { background: var(--accent-orange-light); color: var(--accent-orange); }

.news-date {
    font-size: 0.82rem;
    color: var(--gray-light);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-featured-body h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.news-featured-body p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-list-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border-light);
    transition: var(--transition);
}

.news-list-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.news-list-img {
    width: 110px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.news-list-item:hover .news-list-img img { transform: scale(1.1); }

.news-list-body {
    padding: 16px;
}

.news-list-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.4;
}

.news-list-body p {
    font-size: 0.82rem;
    color: var(--gray-mid);
    line-height: 1.55;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    font-size: 25rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: rgba(14, 165, 233, 0.06);
    line-height: 1;
    top: -50px;
    left: -30px;
    pointer-events: none;
    user-select: none;
}

.testimonial-slider-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track-outer {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.testimonial-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 52px 52px 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.testimonial-quote-mark {
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    line-height: 0.6;
    margin-bottom: 24px;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 500;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-meta h4 { font-size: 1.05rem; margin-bottom: 2px; }
.testimonial-meta p { font-size: 0.85rem; color: var(--primary); font-weight: 700; }

.testimonial-stars {
    margin-left: auto;
    color: var(--secondary);
    font-size: 1rem;
    letter-spacing: 3px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--primary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    background: var(--white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.faq-sidebar h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.faq-sidebar p {
    color: var(--gray-mid);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    gap: 16px;
    user-select: none;
}

.faq-item.open .faq-question {
    color: var(--primary);
    background: var(--primary-light);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--gray-mid);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
    background: var(--white);
}

.faq-item.open .faq-answer {
    padding: 20px 24px;
    max-height: 300px;
}

.faq-answer p {
    color: var(--gray-mid);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -150px;
    left: -80px;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 5;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(15, 23, 42, 0.75);
    max-width: 650px;
    margin: 0 auto 44px;
    font-weight: 600;
    line-height: 1.65;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 90px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-orange));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 52px;
    margin-bottom: 60px;
}

.footer-brand {}

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

.footer-logo-box {
    width: auto;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px 12px;
}

.footer-logo-box img { width: auto; height: 100%; object-fit: contain; }

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--white);
}

.footer-brand-name span { color: var(--secondary); }

.footer-description {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.55);
}

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

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 6px;
}

.footer-links a i {
    font-size: 0.75rem;
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-bottom p { color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--primary); font-weight: 600; }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(14, 165, 233, 0.5); }

/* =============================================
   PAGE HEADERS (Inner Pages)
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1E3A5F 50%, var(--primary) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-header-content {
    position: relative;
    z-index: 5;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 24px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}

.breadcrumbs a { color: rgba(255,255,255,0.7); }
.breadcrumbs a:hover { color: var(--secondary); }
.breadcrumbs i { font-size: 0.7rem; }

/* =============================================
   CARD GRIDS (Generic)
   ============================================= */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--light-bg);
    color: var(--dark);
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-control::placeholder { color: var(--gray-light); }

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-light);
}

.contact-info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-text h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-text p { font-size: 0.9rem; color: var(--gray-mid); line-height: 1.6; }

.contact-form-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border-light);
}

.contact-form-card h3 { font-size: 1.8rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--gray-mid); font-size: 0.95rem; margin-bottom: 28px; }

/* =============================================
   TOUR SIMULATOR (Facilities)
   ============================================= */
.tour-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1.5px solid var(--border-light);
}

.tour-viewer {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: background-image 0.5s ease;
}

.tour-overlay {
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 60%);
    width: 100%;
    padding: 50px 40px;
    color: white;
}

.tour-tabs {
    display: flex;
    background: var(--dark);
    padding: 10px;
    gap: 6px;
    overflow-x: auto;
}

.tour-tab {
    padding: 12px 24px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-tab:hover, .tour-tab.active {
    background: var(--primary);
    color: white;
}

/* =============================================
   ADMISSION CALCULATOR
   ============================================= */
.calc-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border-light);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.calc-result {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    padding: 28px;
    border: 2px dashed var(--primary);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* =============================================
   CLUB TABS (Academics)
   ============================================= */
.club-tabs-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1.5px solid var(--border-light);
}

.club-tabs-nav {
    display: flex;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.club-tab {
    padding: 16px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-mid);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.club-tab:hover { color: var(--primary); }
.club-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--white); }

.club-content {
    display: none;
    padding: 40px;
}

.club-content.active { display: block; }

/* =============================================
   HOUSE SYSTEM CARDS
   ============================================= */
.house-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.house-card {
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.house-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.house-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.house-card h3 { font-size: 1.3rem; color: white; margin-bottom: 8px; }
.house-card p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
    .info-grid { gap: 40px; }
}

@media (max-width: 1100px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .house-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-grid, .info-grid, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .achievement-cards, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .info-img-accent, .info-card-stat, .hero-float-card { display: none; }
    .calc-grid { grid-template-columns: 1fr; }
    .hero-img-card img { height: 360px; }
    .section { padding: 80px 0; }
}

@media (max-width: 768px) {
    :root { --nav-height: 68px; }

    /* Disable horizontal scroll reveal shifts on mobile to prevent layout overflow */
    .reveal.reveal-left,
    .reveal.reveal-right {
        transform: translateY(20px) translateX(0);
    }


    /* Disable containing block triggers on mobile header to allow full viewport fixed placement */
    header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        transition: none !important;
    }

    /* Hide top utility bar on mobile */
    .top-bar { display: none; }

    /* Compact Header Branding */
    .logo-img-box {
        height: 42px;
        width: auto;
    }

    /* Hamburger & Main Header CTA */
    .hamburger { display: flex; position: relative; z-index: 9999; }
    .nav-cta { display: none; } /* Hide from sticky header row */

    /* Drawer slide-in animation from right */
    @keyframes mobileMenuSlideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    /* Full-Screen Premium Mobile Drawer */
    .main-nav .nav-links {
        display: none; /* Hide when closed to prevent horizontal page overflow */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 50px 30px 40px;
        z-index: 9998;
        overflow-y: auto;
        width: 100vw;
        height: 100vh;
    }

    .main-nav .nav-links.mobile-open {
        display: flex;
        animation: mobileMenuSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }



    /* Premium Drawer Internal Components */
    .drawer-mobile-header {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 15px;
    }
    .drawer-logo-box {
        width: auto;
        height: 44px;
        border-radius: 8px;
        overflow: hidden;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 4px 10px;
    }
    .drawer-logo-box img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }

    /* Menu Links in Drawer */
    .main-nav .nav-links a {
        font-size: 1.25rem;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
        color: rgba(255, 255, 255, 0.85);
        border-radius: var(--radius-xs);
        font-family: var(--font-heading);
        font-weight: 700;
        transition: var(--transition-fast);
    }
    .main-nav .nav-links a:hover,
    .main-nav .nav-links a.active {
        color: var(--white);
        background: rgba(14, 165, 233, 0.2);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    }

    /* Drawer CTA Wrapper */
    .drawer-mobile-cta {
        display: block;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* Drawer Contact info */
    .drawer-mobile-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .drawer-mobile-contact a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.88rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.75);
        transition: var(--transition-fast);
    }
    .drawer-mobile-contact a:hover {
        color: var(--secondary);
    }
    .drawer-mobile-contact a i {
        color: var(--secondary);
    }

    /* Drawer Socials */
    .drawer-mobile-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
        margin-top: 15px;
    }
    .drawer-mobile-socials a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        transition: var(--transition-fast);
    }
    .drawer-mobile-socials a:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.1);
    }

    /* Stretched Hamburger Contrast when drawer is active */
    .main-nav:has(.mobile-open) ~ .hamburger {
        color: white;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.25);
    }

    /* Ticker/Updates styling on mobile */
    .ticker-label {
        margin-left: 12px;
        margin-right: 12px;
        padding: 4px 12px;
        font-size: 0.72rem;
    }
    .ticker-track span {
        font-size: 0.8rem;
        padding-right: 40px;
    }

    /* Hero section refinements */
    .hero-content-wrap {
        padding: 80px 0 40px;
    }
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 16px;
        letter-spacing: -0.8px;
    }
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 100%;
    }
    .hero-actions {
        margin-bottom: 40px;
    }

    /* Stats styling refinements */
    .stat-card {
        padding: 24px 16px;
    }
    .stat-number {
        font-size: 2.2rem;
    }
    .stat-suffix {
        font-size: 1.4rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }

    /* General layout styles */
    .achievement-cards, .card-grid-3 { grid-template-columns: 1fr; }
    .card-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .features-grid { grid-template-columns: 1fr; }
    .house-cards { grid-template-columns: repeat(2, 1fr); }

    .form-row { grid-template-columns: 1fr; gap: 12px; }
    .club-grid { grid-template-columns: 1fr; gap: 20px; }

    .tour-viewer { height: 350px; }
    .tour-overlay { padding: 24px 16px; }
    .tour-tabs, .club-tabs-nav { -webkit-overflow-scrolling: touch; }
    .tour-tabs::-webkit-scrollbar, .club-tabs-nav::-webkit-scrollbar { display: none; }

    .hero-stats-row { gap: 28px; }
    .hero-stat-value { font-size: 1.8rem; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .section { padding: 60px 0; }
    .testimonial-card { padding: 36px 28px 28px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    .calc-box, .contact-info-card, .contact-form-card, .club-content {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 12px;
    }
    .stat-card {
        padding: 16px 8px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.72rem;
    }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { flex-direction: column; align-items: center; }
    .house-cards { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 16px; }
    .news-list-item { flex-direction: column; }
    .news-list-img { width: 100%; height: 160px; }
}

@media (max-width: 360px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.text-muted {
    color: #aaaaaabf !important;
}

/* News Detail Page Layout */
.news-detail-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.news-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
}

.news-detail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.news-detail-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    border: 1px solid var(--border-light);
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.news-detail-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 20px;
}

.news-detail-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-mid);
}

.news-detail-content p {
    margin-bottom: 20px;
}

/* News Sidebar Layout */
.news-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-light);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.news-sidebar-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-sidebar-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.news-sidebar-item:hover {
    transform: translateX(5px);
}

.news-sidebar-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.news-sidebar-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-sidebar-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-sidebar-item:hover .news-sidebar-item-title {
    color: var(--primary);
}

.news-sidebar-item-date {
    font-size: 0.78rem;
    color: var(--gray-light);
    font-weight: 600;
}

/* Hover effect on home page side list news titles */
.news-list-body h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.news-list-body h4 a:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .news-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .news-sidebar-card {
        position: static;
    }
}

