/* ===============================================
   Global Styles & Reset
   =============================================== */

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

:root {
    /* Color Palette */
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --primary-light: #93c5fd;
    --secondary-color: #fbbf24;
    --secondary-dark: #f59e0b;
    --accent-color: #34d399;

    /* Neutral Colors - Dark Mode */
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --background-dark: #0f172a;
    --background-darker: #020617;
    --background-light: #1e293b;
    --background-white: #1e293b;
    --border-color: #334155;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-weight: 700;
    --body-weight: 400;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* ===============================================
   Navigation
   =============================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(96, 165, 250, 0.3);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: var(--heading-weight);
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    display: none;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

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

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--background-light);
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    display: block;
}

.nav-link:hover {
    background: rgba(96, 165, 250, 0.15);
    color: var(--primary-light);
}

.nav-link.cta-button {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
    text-align: center;
    font-weight: 700;
}

.nav-link.cta-button:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    color: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(251, 191, 36, 0.4);
}

/* ===============================================
   Hero Section
   =============================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* ===============================================
   Buttons
   =============================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* ===============================================
   Section Styles
   =============================================== */

.section {
    padding: var(--section-padding);
}

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

.section-title {
    font-size: 2rem;
    font-weight: var(--heading-weight);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===============================================
   About Section
   =============================================== */

.about-section {
    background: var(--background-dark);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.4);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(96, 165, 250, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

/* ===============================================
   Mission Section
   =============================================== */

.mission-section {
    background: var(--background-light);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mission-card {
    background: var(--background-dark);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(96, 165, 250, 0.3);
    border-color: var(--primary-light);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===============================================
   Benefits Section
   =============================================== */

.benefits-section {
    background: var(--background-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===============================================
   Events Section
   =============================================== */

.events-section {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
}

.events-section .section-title {
    color: white;
}

.events-section .title-underline {
    background: white;
}

.events-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.events-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.events-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.events-cta .btn {
    max-width: 300px;
    margin: 0 auto;
}

/* ===============================================
   Contact Section
   =============================================== */

.contact-section {
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-form-container {
    background: var(--background-dark);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background-light);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.contact-form .btn {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1f2937;
    border: none;
    font-weight: 700;
}

.contact-form .btn:hover {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.6);
}

/* ===============================================
   Footer
   =============================================== */

.footer {
    background: var(--background-darker);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

/* ===============================================
   Responsive Design - Tablet
   =============================================== */

@media (min-width: 640px) {
    .logo-text {
        display: inline;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

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

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

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

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

/* ===============================================
   Responsive Design - Desktop
   =============================================== */

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        background: transparent;
        box-shadow: none;
        transform: none;
        padding: 0;
        align-items: center;
    }

    .nav-link {
        padding: 0.5rem 1rem;
    }

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

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

    .about-content {
        flex-direction: row;
        align-items: center;
    }

    .about-stats {
        flex: 0 0 auto;
    }

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

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===============================================
   About Page Styles
   =============================================== */

.hero-small {
    min-height: 50vh;
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.8;
}

.team-section {
    background: var(--background-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--background-light);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(96, 165, 250, 0.2);
    border-color: var(--primary-color);
}

.team-member-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.team-member-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.team-member-title {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.team-member-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.team-member-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.highlight-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-content .btn {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member-highlights {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .highlight-item {
        flex: 1 1 45%;
    }
}
