:root {
    --primary-color: #4a6fdc;
    --secondary-color: #ff6b6b;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #f8f9fa;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary-color: #5d7eff;
    --secondary-color: #ff8e8e;
    --dark-color: #0f0f1a;
    --light-color: #16213e;
    --text-dark: #f8f9fa;
    --text-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-dark);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.active {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--secondary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Page Content */
.page-content {
    padding: 150px 0 80px;
    min-height: calc(100vh - 200px);
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--text-light);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--dark-color);
}

/* Focus Areas */
.focus-areas {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-dark);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.focus-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

[data-theme="dark"] .focus-card {
    background-color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.focus-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.focus-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.focus-card p {
    color: var(--text-dark);
    line-height: 1.6;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.mission-vision {
    margin-top: 50px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.mv-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mv-card {
    background-color: var(--dark-color);
}

.mv-card h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Our Work Page */
.work-stats {
    background-color: rgba(74, 111, 220, 0.1);
    padding: 60px 0;
    margin: 50px 0;
    border-radius: 10px;
}

[data-theme="dark"] .work-stats {
    background-color: rgba(10, 10, 20, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    font-weight: 500;
}

.impact-stories {
    margin-top: 60px;
}

.story-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .story-card {
    background-color: var(--dark-color);
}

.story-img {
    border-radius: 10px;
    overflow: hidden;
}

.story-img img {
    width: 100%;
    height: auto;
    display: block;
}

.story-content h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.story-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Get Involved Page */
.involve-options {
    margin-top: 50px;
}

.option-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.volunteer-form, .donation-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .volunteer-form,
[data-theme="dark"] .donation-form {
    background-color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: var(--transition);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background-color: #1a1a2e;
    border-color: #333;
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: rgba(74, 111, 220, 0.1);
    padding: 40px;
    border-radius: 10px;
}

[data-theme="dark"] .contact-info {
    background-color: rgba(10, 10, 20, 0.5);
}

.contact-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.social-contact {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-contact a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-map {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: rgba(74, 111, 220, 0.05);
}

[data-theme="dark"] .projects {
    background-color: rgba(10, 10, 20, 0.8);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

[data-theme="dark"] .project-card {
    background-color: var(--dark-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), #ff8e8e);
    color: white;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }

    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }

    .story-card {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }

    .mv-grid, .form-row {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .logo {
        font-size: 24px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .focus-grid, .project-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}