/* =========================================
   1. GLOBAL VARIABLES & PREMIUM RESET
========================================= */
:root { 
    --yellow: #F5A623; 
    --yellow-hover: #d98e16;
    --navy: #111827; 
    --navy-light: #1f2937;
    --light-bg: #f8fafc;
    --text-muted: #6b7280;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px rgba(17, 24, 39, 0.15);
    --transition-elite: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes pageFadeIn {
    0%   { opacity: 0; transform: translateY(20px); filter: blur(5px); }
    100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Prevents fixed navbar from hiding section titles */
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--light-bg); 
    margin: 0; padding: 0;
    overflow-x: hidden; 
    display: flex; flex-direction: column; min-height: 100vh;
    /* REMOVED THE ANIMATION THAT WAS BREAKING THE PRELOADER */
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
.content-wrapper { flex: 1 0 auto; }


/* =========================================
   2. NAVIGATION & HEADER
========================================= */
nav { 
    background: rgba(17, 24, 39, 0.90); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; 
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: var(--transition-elite);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

/* Logo */
.logo { font-weight: 800; font-size: 1.2rem; color: white; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: var(--transition-elite); }
.logo:hover { transform: scale(1.05); }
.logo i { font-size: 1.5rem; color: var(--yellow); }
.logo div { display: flex; flex-direction: column; line-height: 1.2; }
.logo span { color: #9ca3af; font-size: 0.7rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

/* Links & Dropdown */
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a, .dropdown-trigger {
    text-decoration: none; color: white; font-weight: 500; font-size: 0.9rem; 
    position: relative; padding: 10px 0; transition: color 0.3s ease; cursor: pointer;
}
.nav-links a::after, .dropdown-trigger::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; width: 0; height: 2px;
    background: var(--yellow); transition: var(--transition-elite); transform: translateX(-50%);
}
.nav-links a:hover::after, .dropdown:hover .dropdown-trigger::after { width: 100%; }
.nav-links a:hover, .dropdown:hover .dropdown-trigger { color: var(--yellow); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    background-color: rgba(17, 24, 39, 0.95); backdrop-filter: blur(15px);
    min-width: 220px; box-shadow: 0px 15px 30px rgba(0,0,0,0.5);
    border-radius: 8px; padding: 10px 0; z-index: 1001;
    margin-top: 10px; border: 1px solid rgba(255,255,255,0.08);
}
.dropdown:hover .dropdown-content { display: block; animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.dropdown-content a { color: #cbd5e1 !important; padding: 12px 20px; display: flex; align-items: center; gap: 12px; transition: var(--transition-elite); }
.dropdown-content a::after { display: none !important; }
.dropdown-content a i { color: var(--yellow); width: 20px; font-size: 1.1rem; transition: var(--transition-elite); }
.dropdown-content a:hover { background-color: rgba(245, 166, 35, 0.1); color: var(--yellow) !important; padding-left: 25px; }

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


/* =========================================
   3. BUTTONS & NAV ACTIONS
========================================= */
.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-solid {
    background: var(--yellow); color: var(--navy) !important; padding: 16px 40px;
    border-radius: 6px; font-weight: 800 !important; text-decoration: none;
    display: inline-block; position: relative; overflow: hidden; z-index: 1;
    transition: var(--transition-elite); font-size: 1.1rem;
}
.btn-solid::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); transition: var(--transition-elite); z-index: -1;
}
.btn-solid:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(245, 166, 35, 0.4); background: var(--yellow-hover); }
.btn-solid:hover::after { left: 200%; transition: 0.8s ease-in-out; }

.btn-outline {
    background: transparent; color: var(--yellow); border: 2px solid var(--yellow);
    padding: 14px 40px; border-radius: 6px; font-weight: 800; text-decoration: none;
    font-size: 1.1rem; transition: var(--transition-elite);
}
.btn-outline:hover { background: var(--yellow); color: var(--navy); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(245, 166, 35, 0.2); }

.btn-admin-nav {
    display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.07);
    color: white; border: 1px solid rgba(255,255,255,0.15); padding: 10px 20px;
    border-radius: 6px; font-size: 0.88rem; font-weight: 700; text-decoration: none;
    transition: var(--transition-elite); backdrop-filter: blur(5px);
}
.btn-admin-nav:hover {
    background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4);
    color: white; transform: translateY(-2px); text-decoration: none;
}
.btn-admin-nav i { color: var(--yellow); font-size: 0.8rem; }


/* =========================================
   4. CARDS & GRIDS
========================================= */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; margin-top: 40px; }

.premium-card { 
    background: white; padding: 50px 40px; border-radius: 12px; border: 1px solid #e2e8f0; 
    border-top: 4px solid var(--navy); transition: var(--transition-elite); text-align: center; 
    box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.premium-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.05) 0%, transparent 100%);
    opacity: 0; transition: var(--transition-elite);
}
.premium-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-hover); border-top-color: var(--yellow); }
.premium-card:hover::before { opacity: 1; }
.premium-card i { font-size: 3rem; color: var(--yellow); margin-bottom: 25px; transition: var(--transition-elite); display: inline-block; }
.premium-card:hover i { transform: scale(1.2) translateY(-5px); }

.img-card { 
    background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); 
    transition: var(--transition-elite); border: 1px solid #e2e8f0; display: flex; flex-direction: column; height: 100%;
}
.img-wrapper { overflow: hidden; position: relative; }
.img-wrapper::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 24, 39, 0.2); transition: var(--transition-elite); opacity: 0;
}
.img-card img { width: 100%; height: 260px; object-fit: cover; border-bottom: 4px solid var(--yellow); transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.img-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); }
.img-card:hover img { transform: scale(1.1); }
.img-card:hover .img-wrapper::after { opacity: 1; }
.img-card-content { padding: 35px; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }


/* =========================================
   5. TYPOGRAPHY & REVEALS
========================================= */
.playfair-title { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 20px; line-height: 1.2; }
.section-title { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--navy); margin-bottom: 15px; text-align: center; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--yellow); margin: 20px auto 0; border-radius: 2px; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 1.15rem; max-width: 700px; margin: 0 auto 50px; line-height: 1.7; }

.reveal-base { opacity: 0; transform: translateY(50px); transition: var(--transition-elite); will-change: transform, opacity; }
.reveal-base.active { opacity: 1; transform: translateY(0); }

.badge-yellow { background: rgba(245, 166, 35, 0.1); color: var(--yellow-hover); padding: 8px 16px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; display: inline-block; margin-bottom: 15px; }


/* =========================================
   6. TRUST SECTION (SPLIT GRID)
========================================= */
.trust-split-layout {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: center;
}
.trust-card {
    background: white; padding: 40px 30px; border-radius: 16px; box-shadow: var(--shadow-soft);
    transition: var(--transition-elite); border: 1px solid rgba(0,0,0,0.03); position: relative; z-index: 1;
}
.trust-card:hover { box-shadow: var(--shadow-hover); border-color: var(--yellow); }

.trust-icon {
    width: 65px; height: 65px; border-radius: 50%; background: rgba(245, 166, 35, 0.1);
    color: var(--yellow); display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: 25px; transition: var(--transition-elite);
}
.trust-card:hover .trust-icon { background: var(--yellow); color: var(--navy); transform: scale(1.1) rotate(5deg); }

.trust-card h3 { color: var(--navy); font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; font-family: 'Playfair Display', serif; }
.trust-card p  { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; margin: 0; }
.offset-down { transform: translateY(40px); }


/* =========================================
   7. ADMISSIONS CTA SECTION
========================================= */
@keyframes floatUp {
    0%   { transform: translateY(0) rotate(0deg);     opacity: 0.6; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}
@keyframes ctaLineGrow { 0% { width: 0; } 100% { width: 120px; } }
@keyframes ctaBadgePop {
    0%   { transform: scale(0.7) translateY(20px); opacity: 0; }
    70%  { transform: scale(1.05) translateY(-3px); }
    100% { transform: scale(1) translateY(0);       opacity: 1; }
}
@keyframes ctaTitleReveal { 0% { opacity: 0; transform: translateY(35px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ctaFadeIn { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes ctaCountdown { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes pulseRing {
    0%   { transform: scale(0.9); box-shadow: 0 0 0 0    rgba(245,166,35,0.5); }
    70%  { transform: scale(1);   box-shadow: 0 0 0 18px rgba(245,166,35,0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0    rgba(245,166,35,0); }
}
@keyframes shimmerBtn { 0% { background-position: -200% center; } 100% { background-position:  200% center; } }

.cta-particle { position: absolute; border-radius: 50%; background: rgba(245,166,35,0.15); animation: floatUp linear infinite; pointer-events: none; }

.cta-section-upgraded { opacity: 0; transition: opacity 0.3s; }
.cta-section-upgraded.cta-visible { opacity: 1; }
.cta-badge, .cta-title, .cta-body, .cta-slots, .cta-actions { opacity: 0; }

.cta-section-upgraded.cta-visible .cta-slots   { animation: ctaCountdown   0.7s 0.2s  ease forwards; }
.cta-section-upgraded.cta-visible .cta-badge   { animation: ctaBadgePop    0.7s 0.4s  cubic-bezier(0.175,0.885,0.32,1.275) forwards; }
.cta-section-upgraded.cta-visible .cta-title   { animation: ctaTitleReveal 0.8s 0.6s  ease forwards; }
.cta-section-upgraded.cta-visible .cta-line    { animation: ctaLineGrow    0.8s 0.7s  ease forwards; }
.cta-section-upgraded.cta-visible .cta-body    { animation: ctaFadeIn      0.7s 0.85s ease forwards; }
.cta-section-upgraded.cta-visible .cta-actions { animation: ctaFadeIn      0.7s 1.0s  ease forwards; }

.cta-line { display: block; width: 0; height: 3px; background: linear-gradient(90deg, #F5A623, #fff8e7); margin: 22px auto 30px; border-radius: 2px; }

.slot-counter { display: inline-flex; align-items: center; gap: 10px; background: rgba(245,166,35,0.12); border: 1px solid rgba(245,166,35,0.35); border-radius: 50px; padding: 10px 22px; font-size: 0.9rem; font-weight: 700; color: #F5A623; backdrop-filter: blur(6px); }
.slot-dot { width: 9px; height: 9px; border-radius: 50%; background: #F5A623; animation: pulseRing 1.8s ease-in-out infinite; display: inline-block; flex-shrink: 0; }

.cta-btn-primary {
    display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #F5A623 0%, #ffc85c 40%, #F5A623 60%, #d98e16 100%);
    background-size: 200% auto; color: #111827; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 900; font-size: 1.05rem;
    padding: 18px 48px; border-radius: 6px; text-decoration: none; animation: shimmerBtn 2.5s linear infinite; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-btn-primary:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 50px rgba(245,166,35,0.5); color: #111827; }

.cta-btn-secondary {
    display: inline-flex; align-items: center; gap: 10px; background: transparent; color: white; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700;
    font-size: 1rem; padding: 18px 40px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.3); text-decoration: none; transition: all 0.35s ease; backdrop-filter: blur(5px);
}
.cta-btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); transform: translateY(-5px); color: white; }

.cta-trust-strip { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.cta-trust-item { display: flex; align-items: center; gap: 10px; color: #9ca3af; font-size: 0.88rem; font-weight: 600; }
.cta-trust-item i { color: #F5A623; font-size: 1rem; }


/* =========================================
   8. FOOTER
========================================= */
.site-footer { background: #0a0e17; color: #9ca3af; padding: 90px 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }

.footer-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: white; font-weight: 800; font-size: 1.1rem; margin-bottom: 20px; }
.footer-logo i { color: var(--yellow); font-size: 1.4rem; }
.footer-logo div { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo span { color: #9ca3af; font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }

.footer-brand p { font-size: 0.92rem; line-height: 1.8; margin: 0 0 25px; max-width: 280px; }

.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #9ca3af; font-size: 0.85rem; text-decoration: none; transition: var(--transition-elite); }
.footer-socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); transform: translateY(-4px); }

.footer-links h4, .footer-contact h4 { color: white; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; margin: 0 0 25px; position: relative; padding-bottom: 15px; }
.footer-links h4::after, .footer-contact h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--yellow); border-radius: 2px; }

.footer-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links ul li a { color: #9ca3af; text-decoration: none; font-size: 0.92rem; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.footer-links ul li a::before { content: '→'; color: var(--yellow); opacity: 0; transform: translateX(-8px); transition: all 0.3s ease; font-size: 0.8rem; }
.footer-links ul li a:hover { color: white; padding-left: 6px; }
.footer-links ul li a:hover::before { opacity: 1; transform: translateX(0); }

.footer-contact ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-contact ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; line-height: 1.6; }
.footer-contact ul li i { color: var(--yellow); margin-top: 3px; flex-shrink: 0; width: 16px; }
.footer-contact ul li a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.footer-contact ul li a:hover { color: var(--yellow); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 25px 0; font-size: 0.83rem; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--yellow); }


/* =========================================
   9. MOBILE NAVIGATION & RESPONSIVE FIXES
========================================= */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
    .nav-actions { display: none; }
    .hamburger { display: flex !important; }

    .nav-links {
        display: none; flex-direction: column; position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh; background: rgba(17,24,39,0.98); backdrop-filter: blur(20px);
        justify-content: center; align-items: center; gap: 30px; z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-links a, .dropdown-trigger { font-size: 1.2rem; }
    
    .dropdown-content { position: static; box-shadow: none; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 0; margin-top: 8px; min-width: 200px; }
    .dropdown-content a { justify-content: center; }

    .container { padding: 0 15px; }
    .trust-split-layout { grid-template-columns: 1fr; gap: 50px; }
    .offset-down { transform: translateY(0); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .cta-actions { flex-direction: column !important; align-items: center !important; }
    .cta-trust-strip { gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
/* =========================================
   10. ULTRA-PREMIUM MICRO-INTERACTIONS (FIXED)
========================================= */

/* 1. Glowing Stats Interaction (Numbers only) */
.stat-item {
    transition: var(--transition-elite);
    cursor: default;
}
.stat-item:hover h3 {
    text-shadow: 0 0 15px rgba(245, 166, 35, 0.4);
    transform: scale(1.1);
    color: var(--yellow-hover);
}
/* Keep the student/teacher text gray on hover */
.stat-item:hover p {
    color: #9ca3af !important;
    transform: translateY(2px);
}

/* 2. Professional Card Hover (Depth without color changes) */
.premium-card, .img-card, .trust-card {
    position: relative;
    overflow: hidden;
}

/* Subtle light sweep across the card */
.premium-card::after, .img-card::after, .trust-card::after {
    content: '';
    position: absolute;
    top: 0; left: -150%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    z-index: 5;
}
.premium-card:hover::after, .img-card:hover::after, .trust-card:hover::after {
    left: 200%;
}

/* 3. Magnetic Image Separation (The borders move) */
.reveal-base:hover > div[style*="border"] {
    transform: translate(-12px, 12px) !important;
    transition: var(--transition-elite) !important;
}

/* 4. Interactive Links (Arrow Movement) */
.img-card a {
    transition: var(--transition-elite);
}
.img-card:hover a {
    transform: translateX(8px);
    color: var(--navy) !important; /* Kept dark for visibility */
}

/* 5. Badge Pop (The yellow tags) */
span.badge-yellow, span[style*="background: rgba(245,166,35,0.1)"] {
    transition: var(--transition-elite);
}
span.badge-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.2);
}

/* 6. Form Input Glow (No text color changes) */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--yellow) !important;
    box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.1) !important;
}
/* =========================================
   11. FOOTER MOBILE RESPONSIVE FIXES
========================================= */
@media (max-width: 768px) {
    /* Stack the footer into a single column */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 45px !important;
        text-align: center; /* Centers all text on mobile */
    }

    /* Center the logo and social icons */
    .footer-logo {
        justify-content: center;
    }
    .footer-brand p {
        margin: 0 auto 25px; /* Centers the bio paragraph */
    }
    .footer-socials {
        justify-content: center;
        margin-top: 10px;
    }

    /* Center the yellow underlines under the headers */
    .footer-links h4::after, 
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Make links bigger and easier to tap on phones */
    .footer-links ul {
        align-items: center;
    }
    .footer-links ul li a {
        padding: 8px 0;
        font-size: 1.05rem; 
    }

    /* Center the contact info icons */
    .footer-contact ul li {
        justify-content: center;
        text-align: center;
        flex-direction: column; /* Stacks the icon above the text */
        align-items: center;
        gap: 5px;
    }
    .footer-contact ul li i {
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    /* Stack your credits and copyright neatly */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
/* =========================================
   12. ULTRA-RESPONSIVE MOBILE CARDS & TOUCH PHYSICS
========================================= */
@media (max-width: 768px) {
    
    /* 1. Trust Cards (Why Parents Trust Us) */
    .trust-card {
        padding: 30px 20px !important; /* Reduces fat padding for mobile */
    }
    .trust-icon {
        width: 55px; height: 55px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .trust-card h3 { font-size: 1.25rem; }

    /* 2. Premium Cards (Facilities & Vision/Mission) */
    .premium-card {
        padding: 35px 20px !important;
    }
    .premium-card i { 
        font-size: 2.5rem; 
        margin-bottom: 15px; 
    }
    
    /* 3. Image Cards (Academic Journey) */
    .img-card img {
        height: 220px !important; /* Slightly shorter so it doesn't take up the whole screen */
    }
    .img-card-content {
        padding: 25px 20px !important;
    }
    .img-card-content h3 { font-size: 1.5rem !important; }

    /* =========================================
       NATIVE APP "TAP" PHYSICS
       (Makes the cards compress when tapped on a phone)
    ========================================= */
    .trust-card:active, 
    .premium-card:active, 
    .img-card:active {
        transform: scale(0.97) !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
        transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    }
    
    /* Ensure the Call to Action buttons also feel tactile on mobile */
    .cta-btn-primary:active,
    .btn-solid:active {
        transform: scale(0.95) !important;
    }
}