/* ============================================
   ChaitanyAI Foundation - Modern NGO Website
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Primary Colors */
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary: #00D4FF;
    --secondary-dark: #00B8DB;
    --accent: #FF6B6B;
    --accent-light: #FF8E8E;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #00D4FF 100%);
    --gradient-primary-reverse: linear-gradient(135deg, #00D4FF 0%, #6C63FF 100%);
    --gradient-dark: linear-gradient(135deg, #0F0C29 0%, #1A1A3E 50%, #24243E 100%);
    --gradient-card: linear-gradient(135deg, rgba(108, 99, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    --gradient-glow: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --dark: #0A0A1A;
    --dark-lighter: #12122A;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(108, 99, 255, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(0, 212, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --glass-dark-bg: rgba(10, 10, 26, 0.7);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}

/* ---- Utility Classes ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #8B85FF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

.btn-outline {
    border: 2px solid rgba(108, 99, 255, 0.4);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ---- Section Headers ---- */
.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-label.center {
    justify-content: center;
}

.section-label.light {
    color: var(--secondary);
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.label-line.light {
    background: var(--secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.section-title.light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 16px auto 0;
    line-height: 1.8;
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(108, 99, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ---- Custom Cursor ---- */
.cursor-follower {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    mix-blend-mode: difference;
}

.cursor-follower.visible {
    opacity: 1;
}

.cursor-follower.hover {
    transform: scale(2);
    border-color: var(--secondary);
}

.cursor-follower.cursor-secondary {
    border-color: var(--accent);
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--glass-border);
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 2100;
    transition: width 0.1s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-text .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 120px 24px 80px;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(108, 99, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 20%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -30px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00FF88;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-400);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.hero-actions .btn-outline:hover {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--white);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--gray-400);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* ---- About Section ---- */
.about {
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--gray-800);
}

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* About Visual */
.about-visual {
    position: relative;
    height: 480px;
}

.about-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border: 1px solid rgba(108, 99, 255, 0.08);
}

.about-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-xl);
}

.card-1 {
    top: 0;
    left: 0;
    width: 260px;
    z-index: 3;
    transform: rotate(-3deg);
}

.card-2 {
    top: 120px;
    right: 0;
    width: 240px;
    z-index: 2;
    transform: rotate(2deg);
}

.card-3 {
    bottom: 0;
    left: 40px;
    width: 250px;
    z-index: 1;
    transform: rotate(-1deg);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.about-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.about-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.about-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--gradient-glow);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

/* ---- Vision & Mission Section ---- */
.vision {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.vision-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(108, 99, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.vision-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 48px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
    width: fit-content;
}

.vision-tab {
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-500);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.vision-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

.vision-tab:hover:not(.active) {
    color: var(--primary);
}

.vision-content {
    position: relative;
}

.vision-panel {
    display: none;
}

.vision-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vision-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.vision-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 99, 255, 0.2);
}

.vision-card:hover::before {
    transform: scaleX(1);
}

/* Shine Hover Effect */
.vision-card::after, .program-card::after, .team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    pointer-events: none;
}

.vision-card:hover::after, .program-card:hover::after, .team-card:hover::after {
    left: 125%;
}

.vision-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.vision-card-icon.mission-icon {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(108, 99, 255, 0.1) 100%);
}

.vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.vision-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---- Programs Section ---- */
.programs {
    background: var(--gray-50);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.program-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: var(--gradient-glow);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(108, 99, 255, 0.2);
}

.program-card:hover .program-card-glow {
    opacity: 1;
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.program-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(0, 212, 255, 0.08) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 20px;
    right: 24px;
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.program-card>p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.program-list li i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* ---- Impact Section ---- */
.impact {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.impact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.impact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(108, 99, 255, 0.3);
}

.impact-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.impact-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.impact-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.impact-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 40px;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    text-align: center;
    flex: 1;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
}

.timeline-content {
    padding: 0 8px;
}

.timeline-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 6px 0;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ---- PES Section ---- */
.pes-section {
    background: var(--white);
}

.pes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pes-text {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 28px;
}

.pes-support-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pes-support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.pes-support-item i {
    color: var(--primary);
    font-size: 1rem;
}

.pes-visual {
    display: flex;
    justify-content: center;
}

.pes-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(108, 99, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.pes-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.pes-card-header {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.pes-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.pes-udise {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 28px;
}

.pes-card-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pes-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.pes-stat i {
    color: var(--primary-light);
    width: 20px;
    text-align: center;
}

/* ---- Team Section ---- */
.team {
    background: var(--gray-50);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-card-featured {
    border-color: rgba(108, 99, 255, 0.3);
}

.team-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.team-card-empty {
    border-style: dashed;
    border-color: var(--gray-300);
}

.team-avatar {
    margin-bottom: 24px;
}

.avatar-placeholder {
    width: 96px;
    height: 96px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto;
}

.avatar-placeholder.empty {
    background: var(--gray-200);
    color: var(--gray-400);
    font-size: 1.5rem;
}

.team-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.team-detail i {
    color: var(--primary);
    width: 16px;
}

.team-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(108, 99, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 99, 255, 0.1);
}

.team-note p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.team-note i {
    color: var(--primary);
    margin-right: 6px;
}

/* ---- Donate Section ---- */
.donate {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.donate-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(108, 99, 255, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.donate-text {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 32px;
}

.donate-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.donate-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--gray-300);
}

.donate-feature i {
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

/* Donate Form */
.donate-form-wrapper {
    position: relative;
    z-index: 1;
}

.donate-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.donate-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.amount-btn {
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--gray-300);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: pointer;
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.form-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 16px;
}

.form-note i {
    color: var(--secondary);
    margin-right: 4px;
}

/* ---- Contact Section ---- */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: var(--gradient-card);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 28px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: var(--gray-400);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ---- Footer ---- */
.footer {
    background: var(--dark);
}

.footer-top {
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer .logo-text {
    color: var(--white);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.5);
}

/* ---- Toast ---- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-800);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    opacity: 0;
    transition: all var(--transition-base);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: #00FF88;
    font-size: 1.1rem;
}

/* ---- Animations ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Responsive Design ---- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vision-grid, 
    .programs-grid, 
    .impact-grid, 
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 15px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .nav-actions {
        gap: 10px;
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 5px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
        width: 100%;
    }

    .hero-stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .hero-scroll {
        display: none; /* Hide scroll indicator on smaller mobile heights to avoid overlap */
    }

    .vision-grid, 
    .programs-grid, 
    .impact-grid, 
    .team-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline-track {
        flex-direction: column;
        gap: 30px;
    }

    .timeline-track::before {
        top: 0;
        bottom: 0;
        left: 10px;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .timeline-item {
        text-align: left !important;
        padding-left: 40px;
    }

    .timeline-dot {
        left: 0 !important;
        top: 5px;
        margin: 0 !important;
    }

    .about-visual {
        height: auto;
        min-height: 350px;
    }

    .card-1, .card-2, .card-3 {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 15px;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none !important;
    }

    .about-card-stack {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .pes-grid, .donate-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .vision-tabs {
        margin: 0 auto 32px;
        max-width: 100%;
        gap: 4px;
    }

    .vision-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .btn-sm {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .vision-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .about-visual {
        min-height: auto;
    }
}

/* ---- Reveal Animations ---- */
[data-animate] {
    opacity: 0;
}

[data-animate="fade-up"] { transform: translateY(30px); }
[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate="zoom-in"] { transform: scale(0.95); }

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger Children */
[data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="stagger"].animated > * {
    opacity: 1;
    transform: translateY(0);
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ---- Selection ---- */
::selection {
    background: rgba(108, 99, 255, 0.2);
    color: var(--gray-900);
}

/* ---- Smooth Scroll for Safari ---- */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}