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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4fd1c7, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #06b6d4;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(64, 224, 208, 0.6) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0;
    transform: translateY(30px);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

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

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}

.animate-fade-up:nth-child(1) {
    animation-delay: 0.2s;
}
.animate-fade-up:nth-child(2) {
    animation-delay: 0.4s;
}
.animate-fade-up:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.about,
.chapters,
.donate {
    padding: 6rem 0;
}

.about {
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.chapters {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.donate {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #2d3748;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #4a5568;
}

/* Chapters Carousel */
.chapters-carousel-wrapper {
    overflow: hidden;
    padding: 2rem 0;
}

.chapters-carousel {
    display: flex;
    gap: 2rem;
    animation: scroll-left 20s linear infinite;
    width: fit-content;
}

.chapters-carousel:hover {
    animation-play-state: paused;
}

.chapter-card {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.chapter-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.chapter-info p {
    color: #718096;
    margin-bottom: 1rem;
}

.chapter-link {
    display: inline-block;
    color: #06b6d4;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid #06b6d4;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.chapter-link:hover {
    background: #06b6d4;
    color: white;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Donate Section */
.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donate-graph,
.donate-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.donate-graph h3,
.donate-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
    text-align: center;
}

.donor-graph {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.donation-iframe {
    border: none;
    border-radius: 10px;
    background: white;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-stats {
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

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

    .chapters-carousel {
        animation: scroll-left 30s linear infinite;
    }

    .chapter-card {
        min-width: 250px;
    }
}

/* Scroll Animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
