/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    color: #000000;
    line-height: 1.7;
    background: radial-gradient(circle at center, #e6f0e9 0%, #f5f7f5 100%);
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, transform 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    width: 80px;
    height: auto;
    object-fit: contain;
    margin-right: 16px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
    transform: rotate(10deg) scale(1.15);
    filter: brightness(1.2) drop-shadow(0 6px 12px rgba(76, 175, 80, 0.3));
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #4CAF50, #26A69A);
    transition: width 0.4s ease;
}

nav a:hover::after, nav a.active::after {
    width: 80%;
}

nav a:hover, nav a.active {
    color: #4CAF50;
    transform: translateY(-3px);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px;
    background: #ffffff;
    min-width: 260px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1;
    transform: translateY(10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content a {
    display: block;
    padding: 14px 20px;
    color: #000000;
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-content a.active {
    color: #4CAF50;
    background: #e6f0e9;
}

.dropdown-content a:hover {
    background: #e6f0e9;
    color: #4CAF50;
    padding-left: 25px;
}

.donate-btn {
    background: linear-gradient(45deg, #4CAF50, #26A69A);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.donate-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #000000;
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 5%;
}

.hero-banner {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.6), rgba(38, 166, 154, 0.6));
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 48px;
    z-index: 2;
    animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 32px;
}

.cta-btn {
    background: linear-gradient(45deg, #4CAF50, #26A69A);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* About Section */
.about-section {
    padding: 100px 5%;
    background: url('https://www.transparenttextures.com/patterns/paper.png'), linear-gradient(135deg, #e6f0e9 0%, #e6ece6 100%);
    background-blend-mode: overlay;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h1 {
    font-size: 48px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.section-title p {
    color: #4b4b4b;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-content:hover {
    transform: translateY(-10px);
}

.about-content p {
    font-size: 16px;
    color: #4b4b4b;
    margin-bottom: 24px;
}

/* Activities Section */
.activities-section {
    padding: 100px 5%;
    background: url('https://www.transparenttextures.com/patterns/dots.png'), linear-gradient(135deg, #e6f0e9 0%, #e6ece6 100%);
    background-blend-mode: overlay;
}

.activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.activity-card {
    background: #ffffff;
    border-radius: 20px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 20px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    background: var(--card-color, #4CAF50);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.activity-card:hover::before {
    opacity: 0.6;
}

.activity-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.activity-icon {
    font-size: 56px;
    color: var(--card-color, #4CAF50);
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.activity-card:hover .activity-icon {
    transform: rotate(360deg);
}

.activity-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.activity-card p {
    font-size: 16px;
    color: #4b4b4b;
}

/* Impact Section */
.impact-section {
    padding: 100px 5%;
    background: url('https://www.transparenttextures.com/patterns/dots.png'), linear-gradient(135deg, #e6f0e9 0%, #e6ece6 100%);
    background-blend-mode: overlay;
}

.impact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.impact-card {
    background: #ffffff;
    border-radius: 20px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 20px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%);
    background: var(--card-color, #4CAF50);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.impact-card:hover::before {
    opacity: 0.6;
}

.impact-card:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.impact-icon {
    font-size: 56px;
    color: var(--card-color, #4CAF50);
    margin-bottom: 24px;
    transition: transform 0.4s ease;
}

.impact-card:hover .impact-icon {
    transform: rotate(360deg);
}

.impact-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 16px;
}

.impact-card p {
    font-size: 16px;
    color: #4b4b4b;
}

/* Get Involved Section */
.get-involved-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, #e6f0e9 0%, #e6ece6 100%);
}

.get-involved-content {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.get-involved-content p {
    font-size: 16px;
    color: #4b4b4b;
    margin-bottom: 24px;
}

.get-involved-content a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.get-involved-content a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 32px;
}

/* Footer */
footer {
    background: #000000;
    color: #ffffff;
    padding: 80px 5% 40px;
    border-top: 4px solid #4CAF50;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto 48px;
}

.footer-column h3 {
    font-size: 24px;
    font-weight: 600;
    color: #4CAF50;
    margin-bottom: 24px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: #FFD700;
    bottom: -8px;
    left: 0;
}

.footer-column p {
    color: #d1d1d1;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d1d1;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #4CAF50;
    padding-left: 8px;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.contact-info i {
    color: #4CAF50;
    font-size: 20px;
    margin-top: 2px;
}

.contact-info span {
    color: #d1d1d1;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background: #4CAF50;
    transform: rotate(360deg);
}

.copyright {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #333333;
    color: #999999;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    header {
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background: #f7f7f7;
        margin-left: 16px;
    }

    .hamburger {
        display: block;
    }

    .donate-btn {
        margin-left: auto;
    }

    .hero-content {
        max-width: 700px;
    }

    .activities-container,
    .impact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 5%;
    }

    .logo {
        width: 60px;
    }

    .hero-banner {
        height: 500px;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-title h1 {
        font-size: 36px;
    }

    .section-title p {
        font-size: 16px;
    }

    .activity-card,
    .impact-card {
        clip-path: none;
        border-radius: 12px;
    }

    .activity-card::before,
    .impact-card::before {
        clip-path: none;
        border-radius: 12px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .about-content,
    .get-involved-content {
        padding: 24px;
    }

    .activity-card,
    .impact-card {
        padding: 24px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.card-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}