/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff6b6b;
    --accent-success: #4ecdc4;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    --border-color: #333333;
    --shadow-primary: 0 10px 30px rgba(0, 212, 255, 0.1);
    --shadow-secondary: 0 10px 30px rgba(255, 107, 107, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Load Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textSlide {
    from {
        opacity: 0;
        transform: translateX(-100px);
        letter-spacing: 0.2em;
    }
    to {
        opacity: 1;
        transform: translateX(0);
        letter-spacing: 0;
    }
}

@keyframes textPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textWave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes textShimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes wordFadeIn {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
    100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.3); }
}

/* Animation Classes */
.animate-fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.8s ease forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

.card-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Text Animation Classes */
.text-animate-slide {
    animation: textSlide 0.8s ease forwards;
}

.text-animate-pop {
    animation: textPop 0.6s ease forwards;
}

.text-animate-wave {
    animation: textWave 1s ease-in-out infinite;
}

.text-animate-fade {
    animation: wordFadeIn 0.8s ease forwards;
}

.text-animate-shimmer {
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-primary) 50%, var(--text-primary) 100%);
    background-size: 200% auto;
    animation: textShimmer 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Letter Color Animation for Welcome Title */
.letter-color {
    display: inline-block;
    animation: letterColorChange 0.8s ease forwards;
    opacity: 1;
    color: var(--text-primary);
    font-weight: 700;
}

.letter-color:nth-child(1) { animation-delay: 0s; }
.letter-color:nth-child(2) { animation-delay: 0.08s; }
.letter-color:nth-child(3) { animation-delay: 0.16s; }
.letter-color:nth-child(4) { animation-delay: 0.24s; }
.letter-color:nth-child(5) { animation-delay: 0.32s; }
.letter-color:nth-child(6) { animation-delay: 0.4s; }
.letter-color:nth-child(7) { animation-delay: 0.48s; }
.letter-color:nth-child(8) { animation-delay: 0.56s; }
.letter-color:nth-child(9) { animation-delay: 0.64s; }
.letter-color:nth-child(10) { animation-delay: 0.72s; }
.letter-color:nth-child(11) { animation-delay: 0.8s; }
.letter-color:nth-child(12) { animation-delay: 0.88s; }
.letter-color:nth-child(13) { animation-delay: 0.96s; }
.letter-color:nth-child(14) { animation-delay: 1.04s; }
.letter-color:nth-child(15) { animation-delay: 1.12s; }
.letter-color:nth-child(16) { animation-delay: 1.2s; }
.letter-color:nth-child(17) { animation-delay: 1.28s; }
.letter-color:nth-child(18) { animation-delay: 1.36s; }
.letter-color:nth-child(19) { animation-delay: 1.44s; }
.letter-color:nth-child(20) { animation-delay: 1.52s; }
.letter-color:nth-child(21) { animation-delay: 1.6s; }

@keyframes letterColorChange {
    0% {
        color: var(--text-primary);
        opacity: 1;
        transform: translateY(10px) scale(0.95);
        text-shadow: 0 0 5px rgba(0, 212, 255, 0.2);
    }
    40% {
        color: var(--accent-primary);
        opacity: 1;
        transform: translateY(0) scale(1.08);
        text-shadow: 0 0 25px rgba(0, 212, 255, 1);
    }
    70% {
        color: var(--accent-primary);
        text-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
        transform: translateY(-2px) scale(1.05);
    }
    100% {
        color: var(--text-primary);
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    }
    }


/* Scroll-triggered animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate.visible {
    animation: fadeInUp 0.6s ease forwards;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo h2 {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

/* Page Header Search Bar */
.page-search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 37, 37, 0.6);
    border-radius: 50px;
    padding: 0.7rem 2rem;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.page-search-container:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3);
    background: rgba(37, 37, 37, 0.8);
}

.page-search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 100%;
    padding: 0.5rem;
    font-size: 0.95rem;
    outline: none;
}

.page-search-input::placeholder {
    color: var(--text-secondary);
}

.page-search-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.page-search-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.2);
}

/* Hero Section Search Bar */
.hero-search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.9rem 2rem;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s ease;
    margin: 1.5rem auto 1rem;
    max-width: 700px;
    width: 100%;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-search-container:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.hero-search-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    outline: none;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-search-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    color: var(--accent-primary);
    transform: scale(1.2);
}

.search-results {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 999;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: var(--bg-secondary);
    padding-left: 1.5rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.95rem;
    margin: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.7) 100%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.05;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Background Video */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin: 4rem 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.75) 100%);
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: rgba(37, 37, 37, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(37, 37, 37, 0.8);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.cta-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content:center;
    text-align: center;
    overflow: hidden;
    

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.65) 100%);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.video-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.video-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Summary Cards */
.summary-cards {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.summary-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.summary-card:hover::before {
    left: 100%;
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.summary-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.summary-card p {
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--accent-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 1rem;
}

/* Featured Articles */
.featured-articles {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.article-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent-primary);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image {
    transform: scale(1.08);
}

.article-content {
    padding: 1.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.read-more {
    color: var(--accent-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Social Section */
.social-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Contents Page Styles */
.contents-header,
.learn-header,
.about-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.contents-header h1,
.learn-header h1,
.about-header h1 {
    margin-bottom: 1rem;
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-title i {
    margin-right: 1rem;
    color: var(--accent-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.video-preview {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.video-preview iframe {
    width: 100%;
    height: 200px;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-content.active {
    max-height: 500px;
}

.content-details {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.content-details h4 {
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
}

.content-details ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.read-more-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Learn Page Styles */
.learning-topics {
    padding: 4rem 0;
}

.topic-section {
    margin-bottom: 4rem;
}

.topic-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.topic-header i {
    font-size: 2rem;
    color: var(--accent-primary);
}

.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.learning-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.learning-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.accordion {
    margin-top: 1.5rem;
}

.accordion-btn {
    width: 100%;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-secondary);
    border-radius: 0 0 10px 10px;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-top: none;
}

.example-box {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.example-box h5 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.about-intro h2 {
    margin-bottom: 1.5rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.mission-section,
.vision-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.section-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

.mission-section h2,
.vision-section h2 {
    margin-bottom: 1rem;
}

.mission-points,
.vision-points {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.mission-points li,
.vision-points li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.mission-points li::before,
.vision-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-success);
    font-weight: bold;
}

.values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

/* Media thumbnails and modal */
.media-figure {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

.media-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.media-thumb:hover {
    transform: scale(1.03);
}

.media-figure figcaption {
    padding: 0.6rem 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.35));
}

.play-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.media-modal,
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.media-modal .modal-inner {
    width: 90%;
    max-width: 1000px;
    background: transparent;
}

.media-modal img {
    width: 100%;
    border-radius: 10px;
}

.media-modal iframe {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 700px) {
    .media-thumb { height: 160px; }
    .media-modal iframe { height: 320px; }
}

.focus-areas {
    margin-bottom: 4rem;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.focus-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.focus-item i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-top: 0.5rem;
}

.commitment-section {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.commitment-list {
    margin-top: 2rem;
}

.commitment-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.commitment-item i {
    color: var(--accent-success);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--accent-primary);
}

.cta-buttons .btn-secondary:hover {
    background: var(--bg-primary);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .page-search-container {
        max-width: 100%;
        margin-top: 1.5rem;
        padding: 0.6rem 1.5rem;
    }

    .page-search-input {
        font-size: 0.9rem;
    }

    .hero-search-container {
        max-width: 100%;
        padding: 0.6rem 1.5rem;
    }

    .hero-search-input {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .cards-grid,
    .articles-grid,
    .content-grid,
    .topic-cards,
    .values-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .content-card,
    .learning-card,
    .summary-card,
    .value-card {
        padding: 1.5rem;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-logo h2 {
        font-size: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent-primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099cc;
}

/* Dark Theme Variables */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff6b6b;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    --border-color: #333333;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

/* Add the rest of your dark theme styles here... */
/* ===== ARTICLE STYLES ===== */
.articles-section,
.educational-articles {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.articles-grid,
.stories-grid,
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card,
.story-card,
.edu-article {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.article-card:hover,
.story-card:hover,
.edu-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.article-image,
.story-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.article-image i,
.story-header i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.article-meta,
.story-highlights,
.article-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.highlight .number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-primary);
}

.highlight .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.story-quote {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border-left: 4px solid var(--accent-primary);
}

.story-quote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-style: normal;
    color: var(--accent-secondary);
}

.story-timeline {
    margin: 1rem 0;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
    border-bottom: none;
}

.month {
    font-weight: 600;
    color: var(--accent-primary);
}

.article-tags {
    margin: 1rem 0;
}

.tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Button Styles */
.read-more-btn,
.read-story-btn,
.start-reading-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.read-more-btn:hover,
.read-story-btn:hover,
.start-reading-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.featured {
    border: 2px solid var(--accent-primary);
    position: relative;
}

.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}
/* ===== ARTICLE MODAL STYLES ===== */
.article-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-secondary);
    color: white;
}

.modal-body {
    padding: 2rem;
}

.modal-body h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modal-content h2 {
    color: var(--accent-primary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.modal-content h3 {
    color: var(--accent-secondary);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.modal-content .example-box {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.modal-content .story-highlights {
    margin: 2rem 0;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h1 {
        font-size: 2rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile Responsive Animations */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-video-section {
        height: 400px;
    }

    .video-content h2 {
        font-size: 2rem;
    }

    .video-content p {
        font-size: 1.1rem;
    }

    .background-video {
        display: none;
    }

    .hero-video-section {
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }

    .animate-fade-in-down,
    .animate-fade-in-up,
    .animate-scale-in,
    .animate-slide-in-left,
    .animate-slide-in-right,
    .text-animate-slide,
    .text-animate-pop,
    .text-animate-fade {
        animation-duration: 0.6s;
    }

    .card-animate {
        animation-delay: 0s !important;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .contents-header,
    .learn-header,
    .about-header {
        background-attachment: scroll;
    }
}

/* ===== ARTICLE MODAL STYLES ===== */
.article-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--accent-secondary);
    color: white;
}

.modal-body {
    padding: 2rem;
}

.modal-body h1 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.modal-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modal-content h2 {
    color: var(--accent-primary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.modal-content h3 {
    color: var(--accent-secondary);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.modal-content .example-box {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.modal-content .story-highlights {
    margin: 2rem 0;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        border-radius: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body h1 {
        font-size: 2rem;
    }
    
    .modal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
