/* ==========================================
   VARIABLES & GLOBAL STYLES
   ========================================== */

:root {
    --primary-blue: #0052A3;
    --secondary-blue: #0078D4;
    --accent-cyan: #00D4FF;
    --emerald-green: #00B894;
    --dark-bg: #0A1628;
    --card-bg: #1A2332;
    --white: #FFFFFF;
    --text-light: #E0E0E0;
    --text-muted: #A0A0A0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #0052A3 0%, #0078D4 100%);
    --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #00B894 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--dark-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION BAR - PREMIUM STYLE
   ========================================== */

.navbar {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.nav-logo i {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.donate-btn {
    background: var(--gradient-accent);
    color: var(--dark-bg);
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION - PREMIUM
   ========================================== */

.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 120, 212, 0.4) 0%, rgba(10, 22, 40, 0.8) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease 0.2s both;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.cta-button {
    background: var(--gradient-accent);
    color: var(--dark-bg);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.35);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 212, 255, 0.45);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==========================================
   SECTION HEADERS - PREMIUM
   ========================================== */

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

.section-header h2 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ==========================================
   ABOUT SECTION - PREMIUM
   ========================================== */

.about {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.3);
}

.about-card i {
    font-size: 3.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==========================================
   MISSION SECTION - PREMIUM
   ========================================== */

.mission {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    position: relative;
}

.mission::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 120, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-text h2 {
    font-size: 2.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.mission-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.mission-text strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat {
    background: var(--gradient-primary);
    padding: 2rem;
    border-radius: 12px;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat h3 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.mission-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* ==========================================
   PROJECTS SECTION - PREMIUM
   ========================================== */

.projects {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 184, 148, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

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

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.3);
}

.project-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--dark-bg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotateY(10deg);
}

.project-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.project-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==========================================
   IMPACT SECTION - PREMIUM
   ========================================== */

.impact {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--card-bg) 0%, var(--dark-bg) 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.impact-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.impact-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 212, 255, 0.3);
}

.impact-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-card:hover img {
    transform: scale(1.08);
}

.impact-content {
    padding: 2rem;
}

.impact-content h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.impact-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.impact-tag {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--dark-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* ==========================================
   CTA SECTION - PREMIUM
   ========================================== */

.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-primary,
.btn-secondary {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--dark-bg);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-4px);
}

/* ==========================================
   FOOTER - PREMIUM
   ========================================== */

.footer {
    background: linear-gradient(180deg, #0A1628 0%, #050B14 100%);
    color: var(--text-light);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

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

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

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

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

.footer-bottom a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-bottom a:hover {
    color: var(--emerald-green);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

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

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about::before,
    .projects::before,
    .cta-section::before,
    .cta-section::after,
    .mission::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-logo span {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

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

    .about-grid,
    .projects-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1.5rem;
    }

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

    .mission-text h2 {
        font-size: 2rem;
    }

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

/* ==========================================
   ANIMATIONS
   ========================================== */

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

.about-card,
.project-card,
.impact-card {
    animation: slideIn 0.6s ease forwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

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

.project-icon {
    animation: pulse 3s ease-in-out infinite;
}
