@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette from User's Image (input_file_0.png) */
    --primary-slate: #5b84b1;       /* Top color: Slate Blue */
    --secondary-sky: #9fc5e8;       /* Second color: Soft Sky Blue */
    --bg-cream: #fcf8f2;            /* Third color: Warm Cream/Beige */
    --accent-taupe: #d9ccbf;        /* Fourth color: Soft Taupe/Tan */
    
    /* High Contrast Text & Vibrant Accents for Readability & Wow Factor */
    --primary-dark: #1e3552;        /* Deep slate navy for headings and primary text */
    --text-main: #334155;           /* Slate grey for body text */
    --text-muted: #64748b;          /* Muted slate for captions */
    --accent-orange: #f59e0b;       /* Vibrant amber/orange for CTA buttons and highlights */
    --accent-gold: #fbbf24;         /* Warm gold for stars and badges */
    
    --bg-light: var(--bg-cream);
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-glass-dark: rgba(30, 53, 82, 0.85);
    
    --text-light: #ffffff;
    --text-light-muted: #f1f5f9;

    /* Typography */
    --font-heading: 'Montserrat', 'Poppins', sans-serif;
    --font-body: 'Inter', 'Poppins', sans-serif;
    --font-poppins: 'Poppins', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 4px 15px rgba(91, 132, 177, 0.12);
    --shadow-md: 0 10px 30px rgba(91, 132, 177, 0.18);
    --shadow-lg: 0 20px 45px rgba(91, 132, 177, 0.22);
    --shadow-gold: 0 10px 30px rgba(245, 158, 11, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-cream);
    background-image: radial-gradient(var(--accent-taupe) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

p {
    font-size: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-slate);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ====================================
   REUSABLE UTILITIES & BUTTONS
   ==================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
    position: relative;
    z-index: 2;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    width: 220px; height: 50px;
    background: var(--secondary-sky);
    filter: blur(20px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.65;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-poppins);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    background: rgba(245, 158, 11, 0.08);
    padding: 0.4rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    margin: 0.8rem auto 0 auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.6;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-slate), var(--primary-dark));
    color: var(--text-light);
    box-shadow: 0 10px 25px rgba(30, 53, 82, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30, 53, 82, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: var(--bg-white);
    color: var(--primary-slate);
    border-color: var(--primary-slate);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: var(--primary-slate);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.gradient-text {
    background: linear-gradient(135deg, #e11d48 0%, #ea580c 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.25));
}

/* ====================================
   0. LOADING ANIMATION
   ==================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loader p {
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ====================================
   1. TOP HEADER BAR
   ==================================== */
.top-bar {
    background: #20354d;
    color: #ffffff;
    font-size: 0.74rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar .container {
    max-width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.6rem;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-poppins);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.2px;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.top-bar-item:hover {
    color: #ffb703;
}

.top-bar-item i {
    color: #ffb703;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-item:hover i {
    background: #ffb703;
    color: #20354d;
}

.top-badge {
    background: #ffb703;
    color: #1e3552;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Responsive visibility rules to maintain strict single-line layout on all desktop viewports */
@media (max-width: 1250px) {
    .top-bar-left .top-bar-item:nth-child(3) {
        display: none !important;
    }
}
@media (max-width: 1000px) {
    .top-bar-left .top-bar-item:nth-child(2) {
        display: none !important;
    }
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    font-size: 0.75rem;
    border: none;
}

.social-icons a[aria-label="Facebook"] { background: #1877F2; }
.social-icons a[aria-label="Twitter"] { background: #1DA1F2; }
.social-icons a[aria-label="Instagram"] { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icons a[aria-label="LinkedIn"] { background: #0A66C2; }
.social-icons a[aria-label="YouTube"] { background: #FF0000; }

.social-icons a:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ====================================
   2. STICKY NAVBAR
   ==================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    /* Forest Green Chalkboard custom academy banner as the navbar background */
    background: linear-gradient(rgba(10, 25, 47, 0.15), rgba(10, 25, 47, 0.15)), url('./assets/navbar_green_board_banner.png') center center / cover no-repeat;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.15);
    transition: var(--transition);
}

/* Subtle academic notebook dot-grid background texture overlay */
.navbar::before {
    display: none;
}

/* Shimmering multi-color academy gradient border at the bottom */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent-gold), var(--accent-orange), var(--primary-slate), var(--primary-dark));
    background-size: 300% 100%;
    animation: shimmerNavbarBorder 8s linear infinite;
    z-index: 1001;
}

@keyframes shimmerNavbarBorder {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.navbar.scrolled {
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.2);
    padding: 0.15rem 0;
    background: linear-gradient(rgba(10, 25, 47, 0.25), rgba(10, 25, 47, 0.25)), url('./assets/navbar_green_board_banner.png') center center / cover no-repeat;
}

.navbar .container {
    max-width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    transition: var(--transition);
}

.navbar.scrolled .container {
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-slate), var(--primary-dark));
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    border: 2px solid var(--accent-gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo:hover .logo-icon {
    animation: logoBounce 0.8s ease-in-out infinite;
    box-shadow: 0 8px 22px rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: #ffffff;
    border-color: #ffffff;
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0) scale(1.06); }
    50% { transform: translateY(-4px) scale(1.1); }
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    transition: var(--transition);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.nav-logo:hover .nav-logo-text {
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.6);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    padding: 0.3rem 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Highly creative chalk marker dot above hovered/active links */
.nav-link::before {
    content: '●';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    color: var(--accent-gold);
    font-size: 0.45rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
    border-radius: 50px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scale(1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 85%;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    transform: translateY(-1px);
    text-shadow: 0 2px 5px rgba(251, 191, 36, 0.4);
}

/* Creative Animated Mini Badges */
.nav-mini-badge {
    background: linear-gradient(135deg, #e11d48, #ea580c);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(225, 29, 72, 0.4);
}

.pulse-anim {
    animation: badgePulse 2s infinite;
}

.badge-glow {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: badgeGlow 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) translateY(-2px); box-shadow: 0 4px 10px rgba(225, 29, 72, 0.6); }
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.9); }
}

.nav-cta {
    margin-left: 1rem;
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    border: 2px solid var(--accent-gold);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    animation: ctaButtonPulse 2.5s infinite;
}

@keyframes ctaButtonPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.shimmer-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: shimmerSweep 3s infinite;
}

@keyframes shimmerSweep {
    0% { left: -100%; }
    20%, 100% { left: 200%; }
}

.nav-cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
    color: var(--text-light);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-slate);
    transform: translateY(-3px) scale(1.05);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* ====================================
   3. HERO SECTION
   ==================================== */
.hero {
    position: relative;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    background-image: url('./assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.45) 100%);
    z-index: -1;
}

/* Artistic Poster Background Elements (Paint brush strokes, pencil scratches, stationery) */
.artistic-bg-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.brush-stroke {
    position: absolute;
    border-radius: 100px;
    filter: blur(45px);
    opacity: 0.65;
}

.stroke-orange {
    bottom: -10%; right: -5%; width: 650px; height: 650px;
    background: #fed7aa; /* Soft pastel orange */
    animation: floatPoster 12s ease-in-out infinite alternate-reverse;
}
.stroke-blue {
    top: 30%; left: 35%; width: 450px; height: 450px;
    background: #e0f2fe; /* Soft pastel sky blue */
    animation: floatPoster 14s ease-in-out infinite alternate;
}
.pencil-scratch {
    position: absolute;
    width: 250px; height: 250px;
    border: 2px dashed rgba(100, 116, 139, 0.25);
    border-radius: 50%;
}
.scratch-left {
    top: 20%; left: 10%;
    animation: rotateScratch 25s linear infinite;
}
.scratch-right {
    bottom: 25%; right: 12%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: rotateScratch 30s linear infinite reverse;
}
.floating-tool {
    position: absolute;
    display: flex; align-items: center; justify-content: center;
    font-size: 3.2rem;
    color: var(--accent-orange);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
    z-index: 2;
    pointer-events: none;
}
.tool-pen { top: 12%; right: 12%; animation: floatTool 6s ease-in-out infinite alternate; color: #f59e0b; }
.tool-pencil { top: 22%; left: 6%; animation: floatTool 7s ease-in-out infinite alternate 1s; color: #3b82f6; }
.tool-palette { bottom: 15%; right: 10%; animation: floatTool 8s ease-in-out infinite alternate 2s; color: #10b981; }
.tool-compass { top: 70%; left: 6%; animation: floatTool 9s ease-in-out infinite alternate 3s; color: #8b5cf6; } /* Moved away from buttons */
.tool-ruler { top: 15%; right: 30%; animation: floatTool 10s ease-in-out infinite alternate 4s; color: #ef4444; }

@keyframes floatPoster {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.15); }
}
@keyframes rotateScratch {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes floatTool {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(15deg); }
}

.hero .container {
    max-width: 950px;
    margin: 0;
    padding-top: 5rem;
    padding-bottom: 8rem; /* Increased padding so buttons never overlap bottom elements */
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--primary-slate), var(--primary-dark));
    border: 2px solid var(--accent-gold);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    color: var(--text-light);
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-md);
    animation: fadeInDown 1s ease;
}
.hero-badge i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero p {
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-slate);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92));
    backdrop-filter: blur(10px);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid rgba(251, 191, 36, 0.6); /* Soft gold border */
    box-shadow: 0 8px 25px rgba(30, 53, 82, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-feature-item:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
    color: white;
}

.hero-feature-item i {
    color: var(--primary-dark);
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.hero-feature-item:hover i {
    background: white;
    color: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* ====================================
   4. TRUST / STATS SECTION
   ==================================== */
.stats {
    position: relative;
    margin-top: -60px;
    z-index: 10;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.7);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem 1.6rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(30, 53, 82, 0.05);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--accent-gold);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-gold));
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.25);
    border-bottom: 4px solid var(--accent-orange);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-slate));
}

.stat-card:hover::before {
    width: 8px;
    background: linear-gradient(180deg, var(--accent-gold), var(--text-light));
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.9rem;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(245, 158, 11, 0.25);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: white;
    color: var(--accent-orange);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.35);
}

.stat-content h3 {
    font-size: 1.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    font-weight: 800;
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.stat-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: all 0.4s ease;
    line-height: 1.3;
}

.stat-card:hover .stat-content h3,
.stat-card:hover .stat-content p {
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

/* ====================================
   5. ABOUT SECTION
   ==================================== */
.about {
    position: relative;
    background-image: url('./assets/stats_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    z-index: 1;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.about-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* A clean, soft semi-transparent white tint so the text is 100% readable over the background image doodles, without any clashing double grid lines! */
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

.about .container {
    position: relative;
    z-index: 5;
}

.about-main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.about-image-wrapper {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 4px dashed var(--primary-slate);
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    z-index: 1;
    box-shadow: var(--shadow-sm);
}

.about-img {
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    overflow: hidden;
    border: 2px solid var(--accent-taupe);
}

.about-img img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

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

.about-exp-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-slate), var(--primary-dark));
    color: var(--text-light);
    padding: 1.8rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    text-align: center;
    border: 3px solid var(--accent-gold);
}

.about-exp-badge h4 {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.about-exp-badge p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-content h2 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.about-desc {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    font-weight: 600;
    background: var(--bg-white);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    font-style: italic;
    border: 1px solid var(--accent-taupe);
    border-left: 5px solid var(--accent-orange);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 2px solid var(--accent-taupe);
    box-shadow: var(--shadow-sm);
}

.about-feature-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.about-feature-card i {
    color: var(--accent-orange);
    font-size: 1.6rem;
    margin-top: 0.2rem;
    background: rgba(245, 158, 11, 0.15);
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.about-feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.about-feature-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

/* ====================================
   6. COURSES SECTION
   ==================================== */
.courses {
    background-color: var(--bg-light);
}

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

.course-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(10, 25, 47, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.course-card > div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
    transition: var(--transition);
    opacity: 0;
}

.course-card:hover::before {
    opacity: 1;
    height: 5px;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: rgba(10, 25, 47, 0.05);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    transform: scale(1.1) rotate(-5deg);
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.course-card p {
    margin-bottom: 1.8rem;
    flex-grow: 1;
    color: var(--text-main);
    font-size: 0.98rem;
    line-height: 1.5;
}

.course-features-list {
    margin-bottom: 1.8rem;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 1.2rem;
}

.course-features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-main);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.course-features-list li i {
    color: var(--accent-orange);
}

.course-card .btn {
    width: 100%;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-white);
    width: 100%;
    max-width: 650px;
    border-radius: var(--radius-md);
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent-orange);
    transform: rotate(90deg);
}

.modal-body h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.modal-body p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius-sm);
}

.modal-detail-item h4 {
    font-size: 1.1rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

/* ====================================
   7. WHY CHOOSE US SECTION
   ==================================== */
.why-us {
    background-color: transparent;
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.why-us .section-header h2 {
    color: var(--primary-dark);
}

.why-us .section-header p {
    color: var(--text-muted);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: var(--bg-white);
    border: 2px solid var(--accent-taupe);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.why-card:hover {
    transform: translateY(-10px);
    background: var(--bg-white);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--accent-orange);
    color: var(--bg-white);
    transform: scale(1.1) rotate(10deg);
}

.why-card h4 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ====================================
   8. RESULTS SECTION
   ==================================== */
.results {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.result-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    padding-bottom: 2.2rem;
}

.result-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.2);
}

.badge-topper {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    z-index: 2;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.result-card:hover .badge-topper {
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
    transform: translateX(-50%) scale(1.05);
}

.result-img-container {
    position: relative;
    padding-top: 3.5rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(79, 70, 229, 0.03) 0%, transparent 100%);
}

.result-img-ring {
    position: absolute;
    top: 2.8rem;
    width: 174px;
    height: 174px;
    border-radius: 50%;
    border: 2px dashed rgba(245, 158, 11, 0.4);
    animation: rotateRing 20s linear infinite;
    pointer-events: none;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.result-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
    background: var(--bg-light);
}

.result-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.result-card:hover .result-img-wrapper img {
    transform: scale(1.1);
}

.result-content {
    padding: 1.5rem 2rem 0 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.result-marks {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    background: rgba(245, 158, 11, 0.08);
    padding: 0.3rem 1.4rem;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.result-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.result-stream {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.4;
}

/* ====================================
   9. TESTIMONIAL SECTION
   ==================================== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-graphic-col {
    position: relative;
}

.testimonial-img-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--bg-white);
}

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

.testimonial-img-card:hover .testimonial-feature-img {
    transform: scale(1.03);
}

.testimonial-badge-card {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-orange);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.testimonial-badge-card i {
    font-size: 1.8rem;
    color: var(--accent-orange);
}

.testimonial-badge-card h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.1rem;
    font-weight: 700;
}

.testimonial-badge-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.testimonial-slider-col {
    position: relative;
}

.testimonial-slider-box {
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    text-align: left;
    animation: fade 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.quote-icon {
    font-size: 2.8rem;
    color: rgba(245, 158, 11, 0.15);
    margin-bottom: 1.5rem;
    display: block;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2.2rem;
    line-height: 1.8;
    position: relative;
    font-weight: 500;
}

.student-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 2rem;
}

.student-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-orange);
}

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

.student-details {
    text-align: left;
}

.student-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.student-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stars {
    color: var(--accent-orange);
    font-size: 1rem;
    margin-top: 0.3rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.slider-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    background: var(--accent-orange);
    color: var(--primary-dark);
    border-color: var(--accent-orange);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light-muted);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-orange);
    width: 28px;
    border-radius: 10px;
}

/* ====================================
   10. ADMISSION CTA SECTION
   ==================================== */
.admission-cta {
    position: relative;
    background: linear-gradient(135deg, #4f46e5 0%, #1e1b4b 100%);
    padding: 5rem 4rem;
    overflow: hidden;
    border-radius: var(--radius-lg);
    max-width: 1250px;
    margin: 6rem auto;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.admission-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.admission-doodle {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 1;
    animation: driftDoodle 8s ease-in-out infinite alternate;
}
.doodle-1 { top: 10%; left: 8%; animation-delay: 0s; }
.doodle-2 { top: 75%; left: 5%; animation-delay: 2s; }
.doodle-3 { top: 20%; left: 45%; animation-delay: 4s; }
.doodle-4 { top: 80%; left: 40%; animation-delay: 1s; }
.doodle-5 { top: 15%; right: 45%; animation-delay: 3s; }
.doodle-6 { top: 70%; right: 8%; animation-delay: 5s; }

@keyframes driftDoodle {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-15px) rotate(15deg) scale(1.1); }
}

.admission-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.admission-info-col {
    text-align: left;
    color: var(--text-light);
}

.admission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.admission-info-col h2 {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.25;
    font-family: var(--font-heading);
    font-weight: 800;
}

.admission-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.admission-sub strong {
    color: var(--accent-gold);
}

.admission-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.admission-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.admission-features li i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.admission-cta .cta-buttons-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-white:hover {
    background: var(--text-light);
    color: #4f46e5;
    border-color: var(--text-light);
    transform: translateY(-3px);
}

/* Right Col Graphic styles */
.admission-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.admission-graphic-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
}

.admission-main-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    animation: floatImg 6s ease-in-out infinite alternate;
}

@keyframes floatImg {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-12px) scale(1.02); }
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: floatBadge 4s ease-in-out infinite alternate;
}

.badge-top {
    top: 10%;
    right: -10%;
    border-left: 4px solid var(--accent-orange);
    animation-delay: 0.5s;
}

.badge-bottom {
    bottom: 12%;
    left: -12%;
    border-left: 4px solid var(--accent-gold);
    animation-delay: 1.5s;
}

@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* ====================================
   11. CONTACT SECTION
   ==================================== */
.contact {
    background-image: linear-gradient(to right, rgba(10, 25, 47, 0.05) 0%, rgba(10, 25, 47, 0.95) 75%), url('./assets/student_journey_bg.png');
    background-size: cover;
    background-position: left center;
    background-attachment: scroll;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact .section-header .section-subtitle {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
}

.contact .section-header h2 {
    color: #ffffff;
}

.contact .section-header p {
    color: var(--text-light-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-spacer {
    min-height: 500px;
    pointer-events: none;
}

@media (max-width: 991px) {
    .contact-spacer {
        display: none;
    }
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.contact-map-row {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(10, 25, 47, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 2.2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.25);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

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

.contact-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: #ffffff;
    font-weight: 700;
}

.contact-card-content p, 
.contact-card-content a {
    font-size: 1.05rem;
    color: var(--text-light-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--accent-gold);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    height: 320px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.4s ease;
}

.map-wrapper:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(15px);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-form-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.contact-form-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    color: var(--accent-gold);
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

.form-control option {
    background: var(--primary-dark);
    color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.25);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    border: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: var(--font-poppins);
    padding: 1.1rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
}

/* Success Popup */
.form-success-popup {
    display: none;
    background: #10b981;
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInDown 0.5s ease;
}

/* ====================================
   12. FOOTER
   ==================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--text-light-muted);
    padding-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.footer-about p {
    margin-bottom: 1.8rem;
    font-size: 1rem;
    color: var(--text-light-muted);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light-muted);
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--accent-orange);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.footer-contact-list li i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer-bottom p {
    color: var(--text-light-muted);
}

.footer-bottom p a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom p a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* ====================================
   SPECIAL FEATURES
   ==================================== */
/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    background-color: #20ba5c;
    transform: scale(1.1) rotate(10deg);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll-to-top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-gold);
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
}

/* Reveal-on-scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   /* ====================================
   STUDENT CAREER FINDER & PARENT FAQ STYLES
   ==================================== */
/* Career Finder Section Wallpaper & Parallax */
#career-finder {
    background-image: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)), url('./assets/career_finder_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Scrolling */
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

#career-finder .section-header .section-subtitle {
    color: var(--accent-gold);
    background: rgba(251, 191, 36, 0.15);
}

#career-finder .section-header h2 {
    color: #ffffff;
}

#career-finder .section-header p {
    color: var(--text-light-muted);
}

/* Floating Symbols for Classroom chalkboard theme */
.floating-symbol {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.18);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    animation: floatSymbol 8s ease-in-out infinite alternate;
}
.sym-1 { top: 10%; left: 8%; animation-delay: 0s; font-size: 3.5rem; color: rgba(251, 191, 36, 0.25); }
.sym-2 { top: 22%; right: 10%; animation-delay: 2s; font-size: 4rem; color: rgba(251, 191, 36, 0.2); }
.sym-3 { bottom: 15%; left: 12%; animation-delay: 4s; font-size: 3.2rem; color: rgba(56, 189, 248, 0.25); }
.sym-4 { bottom: 25%; right: 8%; animation-delay: 6s; font-size: 3.8rem; color: rgba(244, 63, 94, 0.2); }

@keyframes floatSymbol {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    100% { transform: translateY(-25px) rotate(15deg) scale(1.08); }
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    color: var(--accent-orange);
    animation: blinkCursor 0.7s infinite;
}
@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Career Finder Tabs */
.career-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}
.career-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-light);
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.career-tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.career-tab-btn.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

/* Career Panels with smooth entry zoom & slide */
.career-panel {
    display: none;
    opacity: 0;
    transform: scale(0.97) translateY(15px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.career-panel.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.career-panel-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}
.career-panel-grid:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.2);
    box-shadow: 0 25px 60px rgba(251, 191, 36, 0.08);
}
.career-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.05);
}
.career-panel-info h3 {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}
.career-panel-info p {
    color: var(--text-light-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
}
.career-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.8rem;
}
.career-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.6rem 1.4rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.career-highlights span:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.2);
}
.career-highlights span i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Daily Brain Teaser Notepad Card Style */
.question-of-day-card {
    background-color: #fffdf2; /* Cream notebook page */
    background-image: linear-gradient(rgba(226, 232, 240, 0.7) 1px, transparent 1px);
    background-size: 100% 32px;
    line-height: 32px;
    color: var(--text-main);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
    border-left: 8px solid var(--accent-orange);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}
.question-of-day-card:hover {
    transform: translateY(-3px) rotate(0.5deg);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.5);
}
/* Binder ring spiral illustration for notebook */
.question-of-day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    width: 2px;
    height: 100%;
    border-left: 2px dashed rgba(239, 68, 68, 0.25); /* Faint red notebook margin line */
}
.question-of-day-card h4 {
    font-size: 1.35rem;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
}
.question-of-day-card h4 i {
    color: var(--accent-orange);
    font-size: 1.6rem;
    animation: lightBulbGlow 1.5s ease-in-out infinite alternate;
}
@keyframes lightBulbGlow {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.4)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8)); }
}
.q-text {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding-left: 15px; /* Stay to the right of red margin */
}
.reveal-ans-btn {
    margin-left: 15px;
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
    font-weight: 700;
}
.reveal-ans-btn:hover {
    background: var(--accent-orange) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}
.ans-box {
    margin-top: 1.5rem;
    margin-left: 15px;
    padding: 1.2rem;
    background: rgba(16, 185, 129, 0.08);
    border-left: 4px solid #10b981;
    border-radius: var(--radius-sm);
    animation: revealAnswerAnim 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes revealAnswerAnim {
    0% { opacity: 0; transform: translateY(15px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ans-box p {
    color: #065f46;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Parent's Corner & FAQ Styling */
#parents-corner {
    background-color: #faf9f6; /* Soft cream base */
    position: relative;
    overflow: hidden;
}

.parent-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 2;
}

.parent-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.parent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.015));
    pointer-events: none;
}

.parent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.parent-card-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.parent-card h4 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.parent-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Modifiers for Accent Colors */
.card-green {
    border-left: 5px solid #10b981;
}
.card-green .parent-card-icon {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
}
.card-green:hover {
    border-color: #10b981;
}

.card-orange {
    border-left: 5px solid var(--accent-orange);
}
.card-orange .parent-card-icon {
    background: rgba(239, 68, 68, 0.08);
    color: var(--accent-orange);
}
.card-orange:hover {
    border-color: var(--accent-orange);
}

.card-blue {
    border-left: 5px solid #3b82f6;
}
.card-blue .parent-card-icon {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}
.card-blue:hover {
    border-color: #3b82f6;
}

.card-purple {
    border-left: 5px solid #8b5cf6;
}
.card-purple .parent-card-icon {
    background: rgba(139, 92, 246, 0.08);
    color: #8b5cf6;
}
.card-purple:hover {
    border-color: #8b5cf6;
}

/* Parents FAQ Accordion */
.parents-faq-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 3.5rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .parents-faq-container {
        padding: 2rem 1.5rem;
    }
}

.parents-faq-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-dark);
    font-weight: 800;
    position: relative;
}

.parents-faq-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 50px;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.015);
}

.faq-item.active {
    border-color: var(--accent-orange);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.05);
}

.faq-btn {
    width: 100%;
    padding: 1.4rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-btn i {
    font-size: 1.1rem;
    color: #64748b;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-btn {
    color: var(--accent-orange);
}

.faq-item.active .faq-btn i {
    transform: rotate(180deg);
    color: var(--accent-orange);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-content {
    padding-bottom: 1.6rem;
    max-height: 250px;
}

.faq-content p {
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

/* Institute Proper Information Box */
.institute-info-box {
    margin-top: 2.5rem; margin-bottom: 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--accent-taupe);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.info-tab-headers {
    display: flex;
    background: var(--primary-slate);
    border-bottom: 4px solid var(--accent-taupe);
}
.info-tab-btn {
    flex: 1;
    padding: 1.2rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: var(--font-poppins);
    font-weight: 700; font-size: 1.05rem;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    border-bottom: 4px solid transparent; margin-bottom: -4px;
}
.info-tab-btn:hover, .info-tab-btn.active {
    background: var(--accent-orange); color: var(--primary-dark); border-bottom: 4px solid var(--primary-dark);
}
.info-tab-content {
    padding: 2.5rem; background: var(--bg-white); display: none; animation: fadeInPanel 0.4s ease;
}
.info-tab-content.active { display: block; }
.info-tab-content h4 { font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 1rem; font-weight: 700; }
.info-tab-content p { color: var(--text-main); font-size: 1.05rem; line-height: 1.7; margin: 0; font-weight: 500; }

/* Gallery Section */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 4rem;
}
.gallery-filter-btn {
    padding: 0.8rem 2.2rem;
    background: var(--bg-white);
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-family: var(--font-poppins);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-main);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    transform: translateY(-3px);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--bg-white);
    border: 6px solid var(--bg-white);
}
.gallery-item:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg);
}
.gallery-img {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 18px;
}
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-img img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 6px;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.4) 60%, transparent 100%);
    backdrop-filter: blur(2px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 18px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
}
.gallery-overlay p {
    font-size: 0.95rem;
    color: var(--text-light-muted);
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.08s;
    font-weight: 500;
}
.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ====================================

   RESPONSIVE DESIGN (MEDIA QUERIES)
   ==================================== */
@media (max-width: 1200px) {
    html { font-size: 15px; }
    .top-bar .container, .navbar .container { padding: 0 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .admission-cta { margin: 5rem 2rem; }
}

@media (max-width: 992px) {
    .about-main-row, .about-details-row, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrapper { max-width: 600px; margin: 0 auto; }
    .hero h1 { font-size: 3.2rem; }
    .hero p { font-size: 1.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stats { margin-top: -30px; padding: 2.5rem 1.5rem; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .admission-grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
    .admission-info-col { text-align: center; }
    .admission-cta .cta-buttons-wrapper { justify-content: center; }
    .admission-cta { margin: 4rem 2rem; padding: 4rem 2rem; }
    .admission-cta h2 { font-size: 2.5rem; }
    .admission-graphic-wrapper { max-width: 360px; margin: 0 auto; }
    .testimonial-grid-wrapper { grid-template-columns: 1fr; gap: 4rem; }
    .testimonial-graphic-col { max-width: 500px; margin: 0 auto; }
    .testimonial-slider-box { padding: 3rem 2.5rem; }
    .results-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
    .top-bar { display: none; } /* Hide top bar on mobile for cleaner navbar */
    .navbar .container { padding: 0 1.5rem; }
    .menu-toggle { display: block; }
    .nav-logo-text { font-size: 1.25rem; }
    .logo-icon { width: 35px; height: 35px; font-size: 1.1rem; }
    
    .info-tab-headers {
        flex-direction: column;
    }
    .info-tab-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 1.1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-right: none;
        margin-bottom: 0;
    }
    .info-tab-btn:hover, .info-tab-btn.active {
        background: var(--accent-orange);
        color: var(--primary-dark);
        border-left: 5px solid var(--primary-dark);
        border-bottom: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        overflow-y: auto;
        padding: 2rem 0;
    }

    .navbar.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-cta {
        margin: 1rem 0 0 0;
    }

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .testimonial-slider-box { padding: 2.5rem 1.8rem; }
    .review-text { font-size: 1.1rem; line-height: 1.7; }
    .student-info { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .student-details { text-align: left; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    
    .floating-whatsapp { width: 48px; height: 48px; font-size: 1.6rem; bottom: 78px; right: 20px; left: auto; }
    #scrollTopBtn { width: 48px; height: 48px; font-size: 1.2rem; bottom: 20px; right: 20px; }
    .admission-cta { margin: 4rem 1.5rem; padding: 4rem 1.5rem; }
    .admission-cta h2 { font-size: 2.1rem; }
    .admission-sub { font-size: 1.05rem; }
}

@media (max-width: 576px) {
    .hero h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 2rem; }
    .nav-logo-text { font-size: 1.15rem; }
    .about-features { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .stats { margin-top: 0; padding: 2rem 1.2rem; border-radius: 20px; }
    .courses-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .why-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .parent-features { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 3rem; }
    .modal-details { grid-template-columns: 1fr; }
    .modal-content { padding: 2rem 1.5rem; }
    .admission-cta { margin: 3rem 1rem; padding: 3rem 1rem; }
    .admission-graphic-wrapper { max-width: 280px; }
    .floating-badge { position: relative; top: auto; bottom: auto; left: auto; right: auto; margin: 0.5rem auto; justify-content: center; width: max-content; }
    .admission-features li { font-size: 0.95rem; }
    .testimonial-badge-card { padding: 0.8rem 1rem; bottom: 15px; left: 15px; right: 15px; }
    .testimonial-badge-card i { font-size: 1.4rem; }
    .testimonial-badge-card h5 { font-size: 0.85rem; }
    .testimonial-badge-card p { font-size: 0.75rem; }
    .results-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .info-tab-content { padding: 1.8rem 1.2rem; }
    .info-tab-content h4 { font-size: 1.25rem; }
    .info-tab-content p { font-size: 0.95rem; line-height: 1.6; }
}
