/* =====================================================
   CHERI School Management System - Landing Page Styles
   Color Scheme from Video Presentation
   ===================================================== */

:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --secondary-dark: #db2777;
    --accent: #06b6d4;
    --accent-dark: #0891b2;

    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Neutral Colors */
    --dark: #020617;
    --dark-100: #0f172a;
    --dark-200: #1e293b;
    --dark-300: #334155;
    --light: #f8fafc;
    --light-100: #f1f5f9;
    --light-200: #e2e8f0;
    --gray: #64748b;

    /* Glass Effect */
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-dark: rgba(0, 0, 0, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-100) 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 120px;
    height: 120px;
}

.preloader-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
}

.loader-circle {
    animation: spinCircle 2s linear infinite;
    transform-origin: center;
}

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

.node-pulse {
    animation: nodePulse 1.5s ease-in-out infinite;
}

.node-pulse:nth-child(2) {
    animation-delay: 0.2s;
}

.node-pulse:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.loader-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 2s ease-in-out infinite;
}

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

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

/* ===== Navigation ===== */
.navbar {
    padding: 15px 0;
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    transition: var(--transition-normal);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 200px;
    flex-shrink: 0;
}

.brand-logo {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.logo-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 15px rgba(99, 102, 241, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 10px 12px;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 24px);
}

.navbar-nav {
    align-items: center;
}

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

.nav-cta .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Buttons ===== */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition-normal);
}

.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--light);
}

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

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Demo Video Button */
.btn-demo-video {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    animation: demoGlow 2s ease-in-out infinite;
}

.btn-demo-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: demoShimmer 2s infinite;
}

.btn-demo-video:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.btn-demo-video i {
    animation: playPulse 1.5s ease-in-out infinite;
}

@keyframes demoGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(245, 158, 11, 0.7); }
}

@keyframes demoShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes playPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--dark);
    overflow: hidden;
    padding-top: 48px; /* Account for top banner */
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 20%;
    left: -150px;
    background: var(--gradient-accent);
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 10%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    right: 30%;
    background: linear-gradient(135deg, var(--success), var(--accent));
    animation-delay: -15s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 20%;
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(30px) rotate(-5deg); }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 25px;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 540px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-plus {
    font-size: 1.5rem;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-trust {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.trust-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 10px;
}

.trust-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-logo {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
    padding: 20px;
}

.dashboard-preview {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-header {
    background: var(--dark-200);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ef4444; }
.control.yellow { background: #f59e0b; }
.control.green { background: #10b981; }

.dashboard-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.dashboard-content {
    display: flex;
    padding: 15px;
    gap: 15px;
    min-height: 320px;
}

.dash-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    background: var(--dark-200);
    border-radius: 12px;
}

.menu-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-normal);
}

.menu-item.active,
.menu-item:hover {
    background: var(--gradient-primary);
    color: white;
}

.dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.mini-card {
    background: var(--dark-200);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.mini-card i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.mini-card.students i { color: var(--primary); }
.mini-card.attendance i { color: var(--success); }
.mini-card.fees i { color: var(--accent); }

.mini-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light);
}

.mini-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.dash-chart {
    background: var(--dark-200);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    gap: 10px;
}

.bar {
    width: 30px;
    background: var(--gradient-primary);
    border-radius: 5px 5px 0 0;
    animation: growBar 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.ai-chat-preview {
    background: var(--dark-200);
    border-radius: 12px;
    padding: 12px 15px;
}

.ai-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.ai-bubble i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--light);
    box-shadow: var(--shadow-md);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-1 i { color: var(--success); }

.card-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: -1.3s;
}

.card-2 i { color: var(--primary); }

.card-3 {
    bottom: 5%;
    right: 5%;
    animation-delay: -2.6s;
}

.card-3 i { color: var(--secondary); }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    color: var(--light);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Features Section ===== */
.features-section {
    background: var(--dark-100);
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    height: 100%;
    transition: var(--transition-slow);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 25px;
}

.feature-icon.security { background: linear-gradient(135deg, var(--success), var(--accent)); }
.feature-icon.roles { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.feature-icon.mobile { background: linear-gradient(135deg, var(--accent), var(--success)); }
.feature-icon.fees { background: linear-gradient(135deg, var(--warning), var(--secondary)); }
.feature-icon.reports { background: linear-gradient(135deg, var(--primary), var(--accent)); }

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--success);
}

.feature-link {
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link:hover {
    color: var(--light);
    gap: 12px;
}

/* ===== AI Section ===== */
.ai-section {
    background: var(--dark);
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.ai-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ai-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent);
    flex-shrink: 0;
}

.ai-feature-item h4 {
    font-size: 1.1rem;
    color: var(--light);
    margin-bottom: 5px;
}

.ai-feature-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

/* AI Chat Demo */
.ai-chat-demo {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-header {
    background: var(--dark-200);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.chat-info h5 {
    color: var(--light);
    margin-bottom: 3px;
}

.online-status {
    font-size: 0.85rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.chat-messages {
    padding: 25px;
    max-height: 350px;
    overflow-y: auto;
}

.message {
    margin-bottom: 20px;
}

.message span {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 18px;
    max-width: 85%;
    line-height: 1.5;
}

.user-message {
    text-align: right;
}

.user-message span {
    background: var(--gradient-primary);
    color: white;
}

.ai-message span {
    background: var(--dark-200);
    color: var(--light);
}

.ai-message .highlight {
    color: var(--success);
    display: block;
    margin-top: 10px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 10px 0;
}

.typing-indicator span {
    width: 10px;
    height: 10px;
    background: var(--gray);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

.chat-input {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 15px;
}

.chat-input input {
    flex: 1;
    background: var(--dark-200);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--light);
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input input::placeholder {
    color: var(--gray);
}

.chat-input button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.chat-input button:hover {
    transform: scale(1.05);
}

/* ===== Parent Section ===== */
.parent-section {
    background: var(--dark-100);
}

.parent-insight-card {
    background: var(--dark-200);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
}

.insight-question {
    background: var(--gradient-primary);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.insight-question i {
    font-size: 1.5rem;
}

.insight-answer {
    padding: 25px;
}

.answer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 600;
}

.answer-header i {
    font-size: 1.3rem;
}

.answer-content p {
    color: var(--light);
    margin-bottom: 20px;
}

.factor {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--glass);
    border-radius: 12px;
}

.factor-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.factor-icon.attendance { background: var(--danger); }
.factor-icon.homework { background: var(--warning); }
.factor-icon.trend { background: var(--primary); }

.factor strong {
    color: var(--light);
    display: block;
    margin-bottom: 3px;
}

.factor p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.recommendation {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
}

.recommendation i {
    color: var(--success);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.recommendation span {
    color: var(--light);
    font-size: 0.95rem;
}

.parent-questions {
    padding-right: 40px;
}

.parent-questions h4 {
    color: var(--light);
    margin-bottom: 25px;
}

.question-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.pill {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.parent-benefit-stats {
    display: flex;
    gap: 30px;
}

.benefit-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.benefit-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light);
}

.benefit-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== Security Section ===== */
.security-section {
    background: var(--dark);
}

.security-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    height: 100%;
    transition: var(--transition-slow);
}

.security-card:hover {
    transform: translateY(-10px);
    border-color: var(--success);
}

.security-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), var(--accent));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 25px;
}

.security-card h4 {
    color: var(--light);
    margin-bottom: 15px;
}

.security-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.security-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Permission Matrix */
.permission-matrix {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
}

.permission-matrix h3 {
    color: var(--light);
}

.permission-matrix .table {
    color: var(--light);
    margin-bottom: 0;
}

.permission-matrix th {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 15px;
    border: none;
}

.permission-matrix td {
    background: var(--dark-200);
    border-color: var(--glass-border);
    padding: 15px;
    vertical-align: middle;
}

.permission-matrix tbody tr:hover td {
    background: var(--dark-300);
}

/* ===== Modules Section ===== */
.modules-section {
    background: var(--dark-100);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.module-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition-slow);
}

.module-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.module-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.module-card span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.module-card.more {
    background: var(--gradient-primary);
    border: none;
}

.module-card.more i,
.module-card.more span {
    color: white;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.stats-card {
    text-align: center;
    padding: 30px;
}

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

.stats-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.stats-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-top: 5px;
}

.stats-sublabel {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Pricing Section ===== */
.pricing-section {
    background: var(--dark);
}

.pricing-card {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: var(--transition-slow);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--dark-100) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: var(--light);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

.pricing-price {
    margin-bottom: 30px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    color: var(--accent);
    vertical-align: top;
}

.pricing-price .amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--light);
}

.pricing-price .period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features li:last-child {
    border: none;
}

.pricing-features li i {
    color: var(--success);
    font-size: 1.2rem;
}

.pricing-extras {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.extra-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.extra-item i {
    font-size: 1.5rem;
    color: var(--success);
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--dark-100);
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    height: 100%;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1.1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
}

.author-info h5 {
    color: var(--light);
    margin-bottom: 3px;
}

.author-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.cta-stat {
    text-align: center;
}

.cta-stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
}

.cta-stat-label {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--dark);
}

.contact-info {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--light);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--dark-200);
    border: 1px solid var(--glass-border);
    color: var(--light);
    border-radius: 12px;
    padding: 15px 20px;
    height: auto;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: var(--dark-200);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    color: var(--light);
}

.contact-form .form-floating > label {
    color: var(--gray);
    padding: 15px 20px;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > .form-select ~ label {
    color: var(--primary);
}

.contact-form .form-check-input {
    background-color: var(--dark-200);
    border-color: var(--glass-border);
}

.contact-form .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.contact-form .form-check-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contact-form .form-check-label a {
    color: var(--accent);
}

.form-response {
    padding: 15px 20px;
    border-radius: 12px;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.form-response.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ===== Modal ===== */
.modal-content {
    background: var(--dark-100);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.modal-header {
    border-color: var(--glass-border);
    padding: 20px 25px;
}

.modal-title {
    color: var(--light);
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 25px;
}

.modal-body .form-control,
.modal-body .form-select {
    background: var(--dark-200);
    border: 1px solid var(--glass-border);
    color: var(--light);
    border-radius: 10px;
    padding: 12px 15px;
}

.modal-body .form-control:focus,
.modal-body .form-select:focus {
    background: var(--dark-200);
    border-color: var(--primary);
    box-shadow: none;
    color: var(--light);
}

.modal-body .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-100);
    padding: 80px 0 30px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 280px;
    margin-bottom: 20px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-divider {
    border-color: var(--glass-border);
    margin: 40px 0 25px;
}

.footer-bottom {
    padding: 10px 0;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

.footer-social a:hover {
    color: var(--primary);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: white;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--dark-100);
        padding: 20px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid var(--glass-border);
    }

    .nav-cta {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--glass-border);
        flex-direction: column;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text {
        font-size: 1.4rem;
    }

    .brand-tagline {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-visual {
        margin-top: 50px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .parent-questions {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .modules-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .floating-card {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .modules-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .module-card {
        padding: 20px 10px;
    }

    .module-card i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .module-card span {
        font-size: 0.75rem;
    }

    .stats-section {
        padding: 60px 0;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-stats {
        flex-direction: column;
        gap: 30px;
    }

    .parent-benefit-stats {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-extras {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .permission-matrix {
        padding: 20px;
        overflow-x: auto;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ROI Calculator Section */
.roi-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a3e 100%);
    position: relative;
    overflow: hidden;
}

.roi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.roi-calculator-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.roi-calculator-card h4 {
    color: #fff;
    margin-bottom: 30px;
    font-weight: 600;
}

.roi-input-group {
    margin-bottom: 25px;
}

.roi-input-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: block;
}

.roi-input-group .form-range {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.roi-input-group .form-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.roi-input-value {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    display: inline-block;
    width: 100%;
}

.roi-input-value span {
    color: #ec4899;
    font-size: 1.3rem;
}

.roi-results {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.roi-results h4 {
    color: #fff;
    font-weight: 600;
}

.roi-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.roi-result-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.roi-result-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
}

.roi-result-card.time-saved {
    border-top: 3px solid #6366f1;
}

.roi-result-card.money-saved {
    border-top: 3px solid #10b981;
}

.roi-result-card.efficiency {
    border-top: 3px solid #f59e0b;
}

.roi-result-card.fee-collection {
    border-top: 3px solid #ec4899;
}

.roi-result-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.time-saved .roi-result-icon {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.money-saved .roi-result-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.efficiency .roi-result-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.fee-collection .roi-result-icon {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.roi-result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.roi-result-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.roi-result-detail {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.roi-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-cta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

@media (max-width: 991px) {
    .roi-calculator-card,
    .roi-results {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .roi-results-grid {
        grid-template-columns: 1fr;
    }

    .roi-section {
        padding: 60px 0;
    }
}

/* =====================================================
   AI INSIGHTS SECTION
   ===================================================== */
.ai-insights-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0f1a3a 100%);
    position: relative;
    overflow: hidden;
}

.ai-insights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Dashboard Preview */
.ai-dashboard-preview {
    background: rgba(15, 15, 35, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow:
        0 25px 80px rgba(99, 102, 241, 0.2),
        0 0 100px rgba(236, 72, 153, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-nav {
    display: flex;
    gap: 8px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.nav-dot.active {
    background: #10b981;
}

.dashboard-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 500;
}

.pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.dashboard-content {
    padding: 30px;
}

/* AI Cards */
.ai-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.ai-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.ai-card-header i {
    font-size: 1.3rem;
    color: #6366f1;
}

.ai-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.ai-tag {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: 600;
}

/* Prediction Card */
.prediction-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 30px;
    height: 150px;
    margin: 20px 0;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 100%;
}

.chart-bar {
    width: 50px;
    height: var(--height);
    background: linear-gradient(180deg, #6366f1, #4f46e5);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1s ease;
}

.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.chart-bar.predicted {
    background: linear-gradient(180deg, #10b981, #059669);
}

.prediction-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #10b981;
}

.prediction-arrow i {
    font-size: 2rem;
    animation: bounceUp 1s infinite;
}

.prediction-arrow span {
    font-size: 1.5rem;
    font-weight: 700;
}

@keyframes bounceUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Alert Card */
.alert-students {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid transparent;
}

.alert-item.high {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.alert-item.medium {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.alert-item.low {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.alert-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.alert-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.alert-info .name {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-info .issue {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.alert-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.alert-item.medium .alert-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.alert-badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

/* Recommendations Card */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.rec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.rec-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.apply-all-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* AI Features Grid */
.ai-features-grid {
    margin-bottom: 60px;
}

.ai-feature {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ai-feature:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

.ai-feature:hover::before {
    opacity: 1;
}

.ai-feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 20px;
}

.ai-feature-icon i {
    font-size: 2rem;
    color: #6366f1;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    filter: blur(15px);
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.ai-feature h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.ai-feature p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Competitive Edge Banner */
.competitive-edge {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.competitive-edge::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.edge-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.edge-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edge-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.edge-text {
    flex: 1;
}

.edge-text h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.edge-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.competitive-edge .btn-light {
    white-space: nowrap;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 991px) {
    .edge-content {
        flex-direction: column;
        text-align: center;
    }

    .ai-dashboard-preview {
        margin-bottom: 40px;
    }

    .dashboard-content {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .ai-insights-section {
        padding: 60px 0;
    }

    .competitive-edge {
        padding: 30px;
    }

    .edge-text h3 {
        font-size: 1.2rem;
    }

    .dashboard-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .dashboard-title {
        order: -1;
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   PARENT PORTAL SECTION
   ===================================================== */
.parent-portal-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.parent-portal-section .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.parent-portal-section .section-title {
    color: #1e293b;
}

.parent-portal-section .section-subtitle {
    color: #64748b;
}

/* Parent Features */
.parent-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.parent-feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.parent-feature-item:hover {
    transform: translateX(10px);
    border-color: #6366f1;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrap i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-content h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Admission Form Preview */
.admission-form-preview {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.admission-form-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
}

.form-logo {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-logo i {
    font-size: 1.5rem;
}

.form-title-group {
    flex: 1;
}

.form-title-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.form-title-group p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.open {
    background: #10b981;
}

.form-body {
    padding: 25px;
}

/* Form Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-num {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.progress-step.completed .step-num {
    background: #10b981;
    color: #fff;
}

.progress-step.active .step-num {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.step-label {
    font-size: 0.75rem;
    color: #64748b;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #1e293b;
    font-weight: 500;
}

.progress-line {
    width: 40px;
    height: 3px;
    background: #e2e8f0;
    margin: 0 5px;
    margin-bottom: 25px;
}

.progress-line.completed {
    background: #10b981;
}

.progress-line.active {
    background: linear-gradient(90deg, #10b981, #6366f1);
}

/* Form Fields */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 8px;
}

.form-control-preview {
    width: 100%;
    padding: 12px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #1e293b;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Uploaded Docs */
.uploaded-docs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #166534;
}

.doc-item i {
    color: #10b981;
}

.doc-status {
    margin-left: auto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #10b981;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
}

.btn-preview {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-preview.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.btn-preview.secondary:hover {
    background: #e2e8f0;
}

.btn-preview.primary {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
}

.btn-preview.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Form Footer */
.form-footer {
    padding: 15px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.trust-indicators i {
    color: #10b981;
}

/* Parent Stats */
.parent-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.parent-stat {
    text-align: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #6366f1;
}

.parent-stat .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
}

.parent-stat .stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .admission-form-preview {
        transform: none;
        margin-top: 40px;
    }

    .parent-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .parent-portal-section {
        padding: 60px 0;
    }

    .parent-portal-section .section-header {
        text-align: center;
    }

    .parent-feature-item {
        flex-direction: column;
        text-align: center;
    }

    .parent-feature-item:hover {
        transform: translateY(-5px);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-progress {
        transform: scale(0.85);
    }

    .parent-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px;
    }

    .trust-indicators {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Admission CTA */
.admission-cta {
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.admission-cta .btn {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.admission-cta-note {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   TOP ADMISSION BANNER
   ===================================================== */
.admission-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: linear-gradient(90deg, #10b981, #059669);
    padding: 10px 0;
    animation: bannerPulse 2s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% { background: linear-gradient(90deg, #10b981, #059669); }
    50% { background: linear-gradient(90deg, #059669, #047857); }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 1.3rem;
    animation: iconBounce 1s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.banner-text {
    color: #fff;
    font-size: 0.95rem;
}

.banner-btn {
    background: #fff;
    color: #059669;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: btnGlow 1.5s ease-in-out infinite;
}

.banner-btn:hover {
    background: #f0fdf4;
    color: #047857;
    transform: scale(1.05);
}

.banner-btn-lg {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.banner-btn-lg:hover {
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.5);
}

/* City Dropdown Styles */
.banner-city-select {
    display: flex;
    align-items: center;
}

.city-dropdown {
    background: rgba(255, 255, 255, 0.95);
    color: #059669;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 8px 35px 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23059669' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
}

.city-dropdown:hover {
    background-color: #fff;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.city-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.city-dropdown option {
    background: #fff;
    color: #059669;
    padding: 10px;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(255, 255, 255, 0.4); }
}

/* Adjust navbar for top banner */
.navbar.has-top-banner {
    top: 48px;
}

/* Hero admission note */
.hero-admission-note {
    color: #10b981;
    font-size: 0.9rem;
    margin-top: 15px;
    animation: noteFlash 2s ease-in-out infinite;
}

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

/* Admission Glow Button */
.btn-admission-glow {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: glowPulseBtn 2s ease-in-out infinite;
}

.btn-admission-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes glowPulseBtn {
    0%, 100% { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 4px 40px rgba(16, 185, 129, 0.8), 0 0 60px rgba(16, 185, 129, 0.4); }
}

.btn-admission-glow:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
}

/* Admission Pulse Button (navbar) */
.btn-admission-pulse {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    animation: pulseBorder 1.5s ease-in-out infinite;
}

@keyframes pulseBorder {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.btn-admission-pulse:hover {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .admission-top-banner {
        padding: 8px 0;
    }

    .banner-content {
        gap: 10px;
    }

    .banner-text {
        font-size: 0.8rem;
        text-align: center;
    }

    .banner-icon {
        display: none;
    }

    .city-dropdown {
        padding: 6px 30px 6px 12px;
        font-size: 0.8rem;
        min-width: 120px;
    }

    .banner-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .navbar.has-top-banner {
        top: 52px;
    }
}

/* Banner Highlight Text */
.highlight-text {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: highlightPulse 1.5s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Enhanced Admission CTA */
.admission-cta-title {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.admission-cta-desc {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.admission-benefits {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 500;
    font-size: 0.95rem;
}

.benefit-item i {
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .admission-cta-title {
        font-size: 1.4rem;
    }

    .admission-benefits {
        flex-direction: column;
        gap: 10px;
    }
}
