/* Eurokid | Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

:root {
    /* Color Palette - Vibrant & Trustworthy */
    --p-50: #eff6ff;
    --p-100: #dbeafe;
    --p-500: #3b82f6; /* Trust Blue */
    --p-600: #2563eb;
    
    --s-500: #10b981; /* Growth Green */
    --a-500: #f43f5e; /* Playful Rose */
    --y-500: #f59e0b; /* Joy Yellow */
    
    --dark: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --grad-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    
    /* Effects */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* Brand-Focused Header Alignment */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Eliminate Jitter: Specific transitions + hardware acceleration */
    transition: background 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                padding 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                box-shadow 0.5s ease;
    padding: 0.15rem 0; /* Slim base */
    background: var(--brand-blue);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    will-change: background, padding;
    backface-visibility: hidden;
}

#main-header.scrolled {
    background: rgba(43, 45, 137, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.1rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
}

.logo {
    position: relative;
    height: 60px; /* Base height for links alignment */
    width: 260px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.logo-img {
    height: 120px; /* Overhanging logo */
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0;
    /* Smooth Transition logic */
    transform: translateY(-40%) translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1001;
    opacity: 1;
    filter: drop-shadow(0 8px 15px rgba(0,0,0,0.12));
    will-change: transform, opacity;
}

#main-header.scrolled .logo-img {
    opacity: 0;
    transform: translateY(-50%) scale(0.7) translateZ(0);
}

.logo-text-scrolled {
    font-size: 1.65rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateY(15px) translateZ(0);
    transition: opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1), 
                transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    white-space: nowrap;
    will-change: transform, opacity;
}

.logo-text-scrolled strong {
    color: var(--brand-green);
}

#main-header.scrolled .logo-text-scrolled {
    opacity: 1;
    transform: translateY(0);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
    display: inline-block;
    will-change: transform, opacity;
}

@keyframes navLinkIn {
    from {
        opacity: 0;
        transform: translateY(-20px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.nav-links li {
    animation: navLinkIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }
.nav-links li:nth-child(5) { animation-delay: 0.5s; }

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--brand-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 10px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 25px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--p-600);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--y-500);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--p-100);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--p-50);
    border-color: var(--p-500);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    padding-bottom: 5rem;
    background: radial-gradient(circle at 0% 0%, #eff6ff 0%, #f8fafc 50%),
                radial-gradient(circle at 100% 100%, #ecfdf5 0%, #f8fafc 50%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -2px;
}

.hero-text .highlight {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-text p {
    font-size: 1.25rem;
    color:rgb(255, 255, 255);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.25rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 100%;
    height: 100%;
    background: var(--p-100);
    z-index: -1;
    animation: blob 10s infinite alternate;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-xl);
    animation: float 4s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.5rem;
    background: var(--p-100);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.badge-info span {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--p-600);
    line-height: 1;
}

.badge-info small {
    color: var(--text-muted);
    font-weight: 600;
}

/* Eurokids | Professional & Creative Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

:root {
    /* Brand Colors extracted from logo */
    --brand-blue: #120e91;
    --brand-blue-light: #2721bf;
    --brand-green: #7ac142;
    --brand-green-hover: #65a136;
    --brand-red: #ea2e3f;
    
    /* Neutrals */
    --white: #ffffff;
    --light-bg: #f8fbff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    
    /* Layout */
    --radius-md: 12px;
    --radius-lg: 24px;
    --shadow-soft: 0 10px 30px rgba(18, 14, 145, 0.08);
    --shadow-hover: 0 15px 35px rgba(18, 14, 145, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
#main-header {
    background: var(--brand-blue);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.logo-text {
    color: var(--white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.logo-text strong {
    background: var(--brand-green);
    color: var(--white);
    padding: 0px 6px;
    border-radius: 4px;
    margin-left: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--brand-green);
}

/* Custom Cursor (Desktop Only) */
.cursor-dot { display: none; }

@media (pointer: fine) {
    .cursor-dot {
        display: block;
        position: fixed;
        width: 12px; height: 12px;
        background: var(--brand-green);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.1s;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-green);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(122, 193, 66, 0.3);
    box-shadow: 0 8px 15px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
    background: var(--brand-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.4);
}

.btn-urgent {
    background: var(--brand-orange);
    color: var(--white);
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.3);
}

.btn-urgent:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.5);
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

/* Hero Section */
#hero {
    background: var(--brand-blue);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.8rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.05; /* Reduced line height */
    font-weight: 900;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

.text-white { color: var(--white); }

.highlight {
    color: var(--brand-green);
    display: inline-block;
}

.hero-body {
    font-size: 1.25rem;
    max-width: 580px;
    color: rgba(255,255,255,0.95);
    font-weight: 600; /* Increased font weight */
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-mask {
    width: 520px;
    height: 520px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 40%;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 50px rgba(34, 197, 94, 0.15);
    animation: blobMorph 12s infinite alternate ease-in-out;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 40%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; transform: rotate(5deg); }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Sections */
section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--brand-green);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-content h4 {
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--brand-blue);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-green);
}

/* Page Headers */
.page-header {
    background: var(--brand-blue);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    margin-bottom: 3rem;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    text-align: left;
}

.footer-brand p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--brand-green);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--brand-green);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

footer {
    background: var(--brand-blue);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
}

/* Gallery Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 14, 145, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

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

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

/* Mobile Toggle Styling */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Testimonials & FAQ */
.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.reviewer strong {
    display: block;
    color: var(--brand-blue);
    font-size: 1.1rem;
}

.reviewer span {
    font-size: 0.9rem;
    color: var(--brand-green);
    font-weight: 500;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border-left: 4px solid var(--brand-green);
}

.faq-item h3 {
    color: var(--brand-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
}

/* Icon Styling */
.icon-svg {
    width: 48px;
    height: 48px;
    fill: var(--brand-green);
    margin-bottom: 1.5rem;
}

.feature-icon .icon-svg, .icon-box .icon-svg {
    margin-bottom: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Moved to left side */
    width: 50px;
    height: 50px;
    background: var(--brand-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(20px);
}

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

.back-to-top:hover {
    background: var(--brand-green);
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px; /* Sticky on right side */
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}



/* Final Design Fixes */
.hero-text h1 {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1;
    margin-bottom: 2.5rem;
}

.hero-text h1 span {
    display: block;
}

.btn-urgent {
    background: #20b3d8 !important; /* Forces Orange */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(196, 182, 158, 0.4) !important;
    border: none !important;
}

.btn-urgent:hover {
    background: #d97706 !important;
    transform: translateY(-2px) !important;
}

/* Program Section Fix */
.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Admissions Process Polish */
#admissions .program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem;
}

#admissions .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#admissions .feature-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    z-index: 2;
}

#admissions .feature-item p {
    font-size: 1.1rem;
    z-index: 2;
}

/* Step Number Background */
#admissions .feature-item::after {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

/* Header & Nav */
header {
    background: var(--brand-blue);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 800; /* Extra Bold Nav */
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Hero Reset */
#hero {
    background: var(--brand-blue);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Simple 3-Column Program Cards - Final Clean Edition */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem;
    margin-bottom: 4rem;
}

.program-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-image {
    height: 260px;
}

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

.program-body {
    padding: 3rem 2.5rem; /* Slightly more padding for the simple look */
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.date-badge {
    background: #f1f5f9;
    color: var(--brand-blue-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-body h3 {
    font-size: 1.6rem;
    color: var(--brand-blue);
    font-weight: 800;
    line-height:1.2;
}

.program-body p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.6;
}

/* Professional Vertical Admissions */
.admissions-professional-vertical {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pro-step-v {
    background: var(--white);
    padding: 2.5rem 3.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-left: 6px solid var(--brand-green);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    transition: var(--transition);
}

.pro-step-v:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.pro-icon .icon-svg {
    width: 45px;
    height: 45px;
    fill: var(--brand-blue-light);
}

.pro-text h3 {
    font-size: 1.5rem;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.pro-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.admissions-cta {
    text-align: center;
    margin-top: 5rem;
}

.admissions-cta p {
    font-size: 1.2rem;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Bento Gallery Styling */
.gallery-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: crop;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.bento-big {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-tall {
    grid-row: span 2;
}

/* Review Stars Styling */
.testimonial-stars {
    color: #ffc107; /* Gold */
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Card Simplicity Polish */
.testimonial-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}



/* Elite Testimonials Styling - Restored */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    margin-top: auto;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: var(--brand-blue-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.user-info h5 {
    font-size: 1.1rem;
    color: var(--brand-blue);
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.user-info span {
    color: var(--brand-green);
    font-weight: 700;
    font-size: 0.85rem;
}



.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--brand-blue);
    margin-bottom: 1rem;
    font-weight: 800;
}

.faq-item p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Extracurricular Section Polish */
#extracurricular .feature-item {
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

#extracurricular .feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}



/* White Button Global Fix Refined */
.btn-urgent {
    background: #7ac142 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(122, 193, 66, 0.4) !important;
}

.btn-urgent:hover {
    background: #6ab036 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 30px rgba(122, 193, 66, 0.6) !important;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Mobile Fixes for Grid */
/* Premium Responsive Design System */
@media (max-width: 1200px) {
    .testimonial-grid, .program-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .contact-wrap {
        gap: 2rem;
        padding: 3rem;
    }
}

@media (max-width: 900px) {
    .hide-mobile { display: none !important; }
    .mobile-toggle { display: flex; }
    
    header {
        padding: 1rem 0 !important;
    }

    .logo {
        height: 50px;
        width: 180px;
    }

    .logo-img {
        height: 80px;
        top: 0;
        transform: translateY(0);
    }

    #main-header.scrolled .logo-img {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }

    .logo-text-scrolled {
        font-size: 1.4rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--brand-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        gap: 2.5rem;
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.8rem;
        color: white;
    }

    .nav-links li {
        animation: none !important; /* Reset animation for mobile */
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
        padding-top: 5rem;
    }
    
    .hero-text {
        order: 1;
    }

    .hero-text h1 {
        font-size: 3rem;
        align-items: center;
    }
    
    .hero-body {
        margin: 0 auto 2.5rem;
        font-size: 1.1rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-image-container {
        order: 2;
        justify-content: center;
    }

    .image-mask {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand, .footer-links, .footer-contact {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-big, .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
        height: 280px;
    }

    section {
        padding: 4rem 0 !important;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .pro-step-v {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 650px) {
    .program-grid, #admissions .program-grid, .testimonial-grid {
        grid-template-columns: 1fr !important;
    }

    .image-mask {
        width: 260px;
        height: 260px;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrap {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .logo {
        width: 140px;
    }

    .logo-text-scrolled {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
}

