/* Global Styles */
:root {
    --primary-color: #2c6e49;
    --secondary-color: #4c956c;
    --accent-color: #fefee3;
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content {
    width: 100%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: var(--light-color);
}

.programs h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary-color);
}

.program-card p {
    padding: 0 20px 20px;
    color: var(--text-color);
}

.program-card a {
    display: block;
    padding: 0 20px 20px;
    font-weight: bold;
}

/* Stats Section */
.stats {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.stat-item {
    display: inline-block;
    margin: 0 30px;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section.about p {
    margin-bottom: 20px;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section.links a:hover {
    color: white;
}

.footer-section.contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-section.contact i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

/* About Page Styles */
.about-section {
    padding: 60px 0;
}

.about-section article {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.mission-image, .vision-image {
    margin: 30px 0;
}

.mission-image img, .vision-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.milestone {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.milestone h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-info .info-item {
    margin-bottom: 30px;
}

.contact-info i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: inline-block;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

.contact-map {
    margin: 60px 0;
}

/* Donate Page Styles */
.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.donate-info ul {
    list-style: none;
    margin: 20px 0;
}

.donate-info ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.donate-info ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.impact-stories {
    margin-top: 40px;
}

.story {
    margin-top: 20px;
}

.story img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.donate-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payment-methods {
    margin-top: 30px;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 2rem;
    color: var(--primary-color);
}

.other-ways {
    margin: 60px 0;
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.way-item {
    background: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.way-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.success-message, .error-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
}

.error-message {
    background: #ffebee;
    color: #c62828;
}

.success-message i, .error-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid, .donate-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form, .donate-form {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .milestones {
        grid-template-columns: 1fr;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat-item {
        margin: 0 15px;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        display: block;
        margin: 20px 0;
    }
}