/* CSS Reset & Base Styles */
:root {
    --primary-purple: #6a0dad;
    --light-purple: #9b59b6;
    --dark-purple: #4b0082;
    --accent-purple: #8a2be2;
    --light-bg: #f8f4ff;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title h2 {
    font-size: 1.8rem;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--dark-purple);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(106, 13, 173, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
    z-index: 999;
}

.nav-links.active {
    transform: translateY(0);
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.donate-btn {
    background: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
}

.mobile-menu {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-purple);
}


/* Hero Section */
.hero {
    background: linear-gradient(
            rgba(106, 13, 173, 0.85),
            rgba(75, 0, 130, 0.85)
        ),
        var(--hero-bg) no-repeat center center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 6rem 0 4rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-btns .btn {
    background: var(--white);
    color: var(--primary-purple);
}

.hero-btns .btn:hover {
    background: var(--light-purple);
    color: var(--white);
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--dark-purple);
    margin-bottom: 1.2rem;
}

.about-text p {
    margin-bottom: 1.2rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-icon {
    background: var(--primary-purple);
    color: var(--white);
    font-size: 1.8rem;
    padding: 1.5rem;
    text-align: center;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    color: var(--dark-purple);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}


/* Impact Stats */
.impact-stats {
    background: linear-gradient(
            rgba(106, 13, 173, 0.9),
            rgba(75, 0, 130, 0.9)
        ),
        var(--impact-bg) no-repeat center center / cover;
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}


.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
    background-color: var(--light-bg);
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: var(--dark-purple);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Footer */
footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-purple);
}

.footer-column p {
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--accent-purple);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-purple);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: row;
        justify-content: center;
    }

    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .about-text,
    .about-image {
        flex: 1;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-btns {
        flex-direction: row;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-menu {
        display: none;
    }

    .nav-links {
        position: static;
        flex-direction: row;
        transform: none;
        box-shadow: none;
        padding: 0;
        width: auto;
        display: flex;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .container {
        padding: 0 2rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-links {
        gap: 2rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .programs-grid {
        /* grid-template-columns: repeat(5, 1fr); */

        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}
