/* =========================================================================
   base / tokens
   ========================================================================= */

:root {
    /* Color Palette - Premium Light Aesthetic */
    --clr-bg: #f8fafc;           /* Light Slate Base */
    --clr-surface: #ffffff;      /* White card surface */
    --clr-surface-glass: rgba(255, 255, 255, 0.85);
    --clr-text: #0f172a;         /* High contrast dark text */
    --clr-text-muted: #475569;   /* Muted dark text (WCAG AA) */
    
    /* Vibrant Accents */
    --clr-primary: #3b82f6;      /* Bright Blue */
    --clr-secondary: #0ea5e9;    /* Sky Blue */
    --clr-accent: #10b981;       /* Emerald */
    --clr-warning: #f59e0b;      /* Amber */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.2));
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Borders & Shadows */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

/* Accessibility Focus States */
*:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Skip to Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--clr-primary);
    color: white;
    padding: 8px;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

/* =========================================================================
   utilities
   ========================================================================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border-color: rgba(15, 23, 42, 0.2);
    color: var(--clr-text);
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.5);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.15rem;
    border-radius: var(--radius-full);
}

/* =========================================================================
   navigation
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(248, 250, 252, 0.85); /* Light slate transparent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05); /* Dark subtle border */
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--clr-primary);
    font-size: 2rem;
}

.logo img {
    height: 60px; /* Adjust height based on uploaded image shape */
    width: auto;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-links a:hover {
    color: var(--clr-text);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    background: var(--clr-bg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-fast);
    z-index: 999;
    pointer-events: none;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    padding-bottom: 1rem;
}

/* =========================================================================
   hero section
   ========================================================================= */

.hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Cross-Fading Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5; /* Placed behind the hexagons */
    overflow: hidden;
}

/* Overlay to blend the image into the light/white theme */
.hero-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 250, 252, 0.1); /* Very light to make images pop */
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    animation: zoomPan 30s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.slide-1 { background-image: url('../img/gallery/photo-1.jpg'); }
.slide-2 { background-image: url('../img/gallery/photo-2.jpg'); }
.slide-3 { background-image: url('../img/gallery/photo-3.jpg'); }

@keyframes zoomPan {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.1) translate(-2%, 2%);
    }
}

/* Removed Fading Blue Hexagon Wall Background */

/* Gradient Fade Overlay to blend into the solid white background below */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Keep bottom fade to next section, remove heavy radial overlay so images are clear */
    background: 
        linear-gradient(to bottom, rgba(248, 250, 252, 0) 70%, rgba(248, 250, 252, 1) 100%);
    z-index: -2;
}

/* Bright glow top-right for premium feel */
.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, rgba(15,23,42,0) 70%);
    filter: blur(80px);
    z-index: -1;
}

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

.hero-text-content {
    /* Background removed as requested to not block view */
    padding: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #ffffff;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--clr-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background-color: var(--clr-primary);
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--clr-bg);
    margin-left: -15px;
}

.avatars img:first-child { margin-left: 0; }

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--clr-surface);
    border: 2px solid var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

/* =========================================================================
   auth card
   ========================================================================= */

.auth-container {
    padding: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.auth-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: var(--shadow-glow);
}

.auth-tabs {
    display: flex;
    background: rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1.25rem 1rem;
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.auth-tab:hover {
    background: rgba(255,255,255,0.05);
    color: var(--clr-text);
}

.auth-tab.active {
    color: var(--clr-primary);
    border-bottom-color: var(--clr-primary);
    background: rgba(255,255,255,0.02);
}

.auth-form {
    padding: 2.5rem;
    display: none;
}

.auth-form.active-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header {
    text-align: center;
    margin-bottom: 1rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text);
}

.form-header p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-group select option {
    background: var(--clr-bg);
    color: var(--clr-text);
}

.btn-full {
    width: 100%;
    margin-top: 2rem;
    padding: 1.2rem;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    font-weight: 700;
}

.form-message {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
    min-height: 1.5em; /* Reserve space */
}

.form-message.success {
    color: var(--clr-accent);
}

.form-message.error {
    color: #ef4444;
}

/* =========================================================================
   compliance banner
   ========================================================================= */

.compliance-banner {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 5;
}

.compliance-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.compliance-text {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--clr-text);
    font-weight: 600;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.compliance-badge:hover {
    opacity: 1;
}

.compliance-badge i {
    font-size: 1.1rem;
    color: var(--clr-accent);
}

.compliance-link {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--clr-secondary);
    font-weight: 600;
}

.compliance-link:hover {
    color: var(--clr-primary);
}

/* =========================================================================
   sections common
   ========================================================================= */

section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* =========================================================================
   portals section
   ========================================================================= */

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

.portal-card {
    background: var(--clr-surface);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portal-card:hover {
    transform: translateY(-8px);
    border-color: var(--clr-primary);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.portal-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

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

.icon-admin { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); }
.icon-teacher { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }
.icon-student { color: #10b981; background: rgba(16, 185, 129, 0.1); }
.icon-parent { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }

.portal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--clr-text);
}

.portal-card p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.portal-link i {
    transition: transform 0.3s ease;
}

.portal-card:hover .portal-link {
    gap: 0.75rem;
}

.portal-card:hover .portal-link i {
    transform: translateX(4px);
}

/* =========================================================================
   curriculum section
   ========================================================================= */
   
.curriculum-section {
    background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-surface) 100%);
}

.curriculum-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.curriculum-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.curriculum-text .lead {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
}

.list-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.feature-list span {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.curriculum-visual {
    height: 100%;
}

.curriculum-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.curriculum-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* =========================================================================
   verified social proof section
   ========================================================================= */

.social-proof-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, var(--clr-bg) 100%);
}

.district-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    opacity: 0.7;
    transition: opacity var(--transition-fast), color var(--transition-fast);
    cursor: help;
}

.logo-item:hover {
    opacity: 1;
    color: var(--clr-text);
}

.logo-item i {
    font-size: 1.8rem;
    color: var(--clr-primary);
}

.case-study-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.case-study-badge {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-glow);
}

.case-study-content {
    padding-right: 2rem;
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.case-study-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--clr-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.case-study-author {
    display: flex;
    flex-direction: column;
}

.case-study-author strong {
    font-size: 1.1rem;
    color: var(--clr-primary);
}

.case-study-author span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

.case-study-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 2px solid rgba(255,255,255,0.05);
    padding-left: 3rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--clr-text-muted);
}

.verification-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-top: 3rem;
    opacity: 0.7;
}

/* Responsive adjustments for Case Study */
@media (max-width: 900px) {
    .case-study-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .case-study-metrics {
        border-left: none;
        border-top: 2px solid rgba(255,255,255,0.05);
        padding-left: 0;
        padding-top: 2rem;
        flex-direction: row;
        justify-content: space-around;
        text-align: center;
    }
}

/* =========================================================================
   cta section
   ========================================================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    background: var(--gradient-primary);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
    transform: scale(1.1);
    mix-blend-mode: multiply;
    border-radius: var(--radius-lg);
}

.cta-actions .btn-secondary {
    background: white;
    color: var(--clr-primary);
}

.cta-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.cta-actions .btn-primary {
    background: var(--clr-bg);
    border-color: var(--clr-bg);
    box-shadow: none;
}

.cta-actions .btn-primary:hover {
    background: var(--clr-surface);
}

/* =========================================================================
   footer
   ========================================================================= */

footer {
    background: #0b1120;
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.link-group {
    min-width: 120px;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--clr-text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.link-group a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* =========================================================================
   responsive
   ========================================================================= */

@media (max-width: 992px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

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

    .float-1, .float-2 {
        display: none;
    }

    .curriculum-content {
        grid-template-columns: 1fr;
    }
    
    .curriculum-text {
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
        display: inline-flex;
    }

    .footer-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

    .cta-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        justify-content: center;
    }
    
    .cta-img {
        max-height: 300px;
        transform: scale(1);
    }
    
    .footer-content {
        gap: 2rem;
    }
}
