/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #27ae60;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-toggle {
    display: none;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
    margin: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn.secondary {
    background: var(--accent-color);
    color: var(--white);
}

/* Intro Section */
.intro {
    padding: 5rem 0;
    background: var(--light-bg);
}

.intro h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* About Page Styles */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1577896851231-70ef18881754?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0 4rem;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-intro {
    padding: 5rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 15px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-color);
}

.team-member .position {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-member p {
    padding: 0 1rem 1.5rem;
}

/* Programs Page Styles */
.programs-section {
    padding: 5rem 0;
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.program-card {
    display: flex;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card:nth-child(even) {
    flex-direction: row-reverse;
}

.program-image {
    flex: 1;
    min-height: 300px;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.program-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn.small {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* Donation Page Styles */
.donate-intro {
    padding: 5rem 0;
    background: var(--white);
}

.donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.donate-text h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.donate-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.donate-list {
    list-style: none;
}

.donate-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.donate-list li i {
    color: var(--accent-color);
    margin-right: 1rem;
}

.donate-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.donation-options {
    padding: 5rem 0;
    background: var(--light-bg);
    text-align: center;
}

.donation-options h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.donation-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.donation-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    height: 70px;
    width: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donation-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.donation-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.donation-buttons .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
}

.payment-options {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.payment-btn {
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
}

.payment-btn.paypal {
    background-color: #0070ba;
    color: white;
}

.payment-btn.stripe {
    background-color: #6772e5;
    color: white;
}

.payment-btn:hover {
    opacity: 0.9;
}

.impact-section {
    padding: 5rem 0;
    background: var(--white);
    text-align: center;
}

.impact-section h2 {
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.impact-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    position: relative;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial blockquote::before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -2rem;
    top: -1rem;
    color: var(--secondary-color);
    opacity: 0.3;
}

.testimonial cite {
    font-weight: bold;
    color: var(--primary-color);
}

/* Activities Page Styles */
.activities-section {
    padding: 5rem 0;
    background: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.activity-item {
    display: flex;
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.activity-item:nth-child(even) {
    flex-direction: row-reverse;
}

.activity-image, .activity-video {
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.activity-video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.activity-video iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.activity-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.activity-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.activity-date {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.activity-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.contact-form .btn {
    margin-top: 1rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-item p {
    line-height: 1.6;
}

.social-media {
    margin-top: 2rem;
}

.social-media h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.map-section {
    padding: 5rem 0;
    background: var(--light-bg);
    text-align: center;
}

.map-section h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

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

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

    .hero-content .tagline {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 30px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 30px;
    }
    
    .program-card,
    .program-card:nth-child(even) {
        flex-direction: column;
    }
    
    .program-image {
        min-height: 200px;
    }
    
    .activity-item,
    .activity-item:nth-child(even) {
        flex-direction: column;
    }
    
    .activity-image,
    .activity-video {
        min-height: 200px;
    }
    
    .activity-content h3 {
        font-size: 1.5rem;
    }
    
    .donate-content {
        grid-template-columns: 1fr;
    }
    
    .donate-image {
        order: -1;
    }
    
    .donation-grid {
        grid-template-columns: 1fr;
    }
    
    .donation-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial blockquote::before {
        left: 0;
        top: -1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .map-container {
        margin-top: 1rem;
    }
}