
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: white;
    line-height: 1.6;
}

/* Nav */
.navbar {
    background: rgba(12, 36, 97, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
}

.brand-text {
    color: #4cd137;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #4cd137 !important;
}
/* Hero Section*/
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}


.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    animation: videoFadeIn 2s ease;
}

@keyframes videoFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(12, 36, 97, 0.9) 0%, 
        rgba(26, 41, 128, 0.85) 50%, 
        rgba(108, 92, 231, 0.8) 100%);
    z-index: -1;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    margin-top: 0.5rem;
    font-size: 5rem;
}

.hero-title .text-primary {
    color: #4cd137 !important;
    text-shadow: 0 0 20px rgba(76, 209, 55, 0.5);
}

.hero-title .text-warning {
    color: #ffeaa7 !important;
    text-shadow: 0 0 20px rgba(255, 234, 167, 0.5);
}

.animate-title .title-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.animate-title .title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.animate-title .title-line:nth-child(2) {
    animation-delay: 0.6s;
}

.animate-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.9s forwards;
}

.animate-stats {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1.2s forwards;
}

.animate-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button {
    background: linear-gradient(135deg, #4cd137, #44bd32);
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(76, 209, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(76, 209, 55, 0.4);
    background: linear-gradient(135deg, #44bd32, #3fa72d);
}

.demo-button {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.demo-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(76, 209, 55, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
#demoModal .modal-content {
    background: #0c2461;
    border: 2px solid #4cd137;
}

#demoModal .modal-header {
    border-bottom: 1px solid rgba(76, 209, 55, 0.3);
}

/* Features Section */
.features-section {
    background: white;
    color: #333;
}

.features-section h2 {
    color: #0c2461;
    font-family: 'Fredoka One', cursive;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #4cd137;
}

.feature-icon {
    font-size: 3rem;
    color: #4cd137;
}

/* Modes Section */
.modes-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0c2461;
    margin-bottom: 1rem;
}
.mode-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.mode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mode-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.mode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mode-card:hover  {
    transform: scale(1.05);
}

.mode-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: #0c2461;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mode-content {
    padding: 30px;
}
.mode-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0c2461;
}

.mode-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mode-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.mode-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
}

.mode-features i {
    font-size: 1.1rem;
}

.mode-card-junior .mode-features i {
    color: #f39c12;
}

.mode-card-adult .mode-features i {
    color: #3498db;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
    color: white;
}

.data-section {
    background: white;
    color: #333;
}

.data-section h2 {
    color: #0c2461;
    font-family: 'Fredoka One', cursive;
}

.data-stat {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.data-stat:hover {
    background: #4cd137;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c2461;
    transition: color 0.3s;
}

.data-stat:hover .stat-number {
    color: white;
}

.crisis-section {
    background: #ff6b6b;
}

.crisis-alert {
    background: rgba(255, 255, 255, 0.95);
    color: #d63031;
    border-radius: 15px;
    border: 3px solid #d63031;
}

.footer {
    background: #0a1930;
    color: #aaa;
}

.social-links a {
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4cd137 !important;
}
   /* Responsive */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.8rem;
            }
            
            .title-line.highlight {
                font-size: 3rem;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }
            
            .title-line.highlight {
                font-size: 2.5rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
                padding: 0 1rem;
            }
            
            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .cta-button, .demo-button {
                width: 100%;
                max-width: 300px;
                justify-content: center;
            }
            
            .mode-card {
                margin-bottom: 2rem;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 1.8rem;
            }
            
            .title-line.highlight {
                font-size: 2rem;
            }
            
            .stat-number {
                font-size: 2rem;
            }
        }
