* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== HEADER ========== */
header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    color: #2c7a42;
    font-size: 22px;
    margin: 0;
}

.logo-text p {
    color: #666;
    font-size: 11px;
    margin: 2px 0 0;
}

.logo-text small {
    color: #e67e22;
    font-size: 9px;
    font-weight: bold;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    transition: 0.3s;
    font-size: 14px;
}

nav ul li a:hover {
    color: #e67e22;
}

.btn-user {
    background: #2c7a42;
    color: white !important;
    border-radius: 25px;
    padding: 6px 15px !important;
}

.btn-user:hover {
    background: #1e5a31;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c7a42;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/6646918/pexels-photo-6646918.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 28px;
    color: #e67e22;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #e67e22;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: #d35400;
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* ========== STATS SECTION ========== */
.stats {
    background: #2c7a42;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-box {
    text-align: center;
}

.stat-box h3 {
    font-size: 40px;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 14px;
    opacity: 0.9;
}

/* ========== WELCOME SECTION ========== */
.welcome-message {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}

.welcome-message h2 {
    color: #2c7a42;
    font-size: 32px;
    margin-bottom: 20px;
}

.welcome-message p {
    max-width: 800px;
    margin: 10px auto;
    color: #555;
}

/* ========== PROJECTS SECTION ========== */
.local-projects {
    padding: 60px 0;
    text-align: center;
}

.local-projects h2 {
    color: #2c7a42;
    font-size: 32px;
    margin-bottom: 40px;
}

.project-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    width: 320px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3 {
    padding: 20px 20px 10px;
    color: #2c7a42;
}

.project-card p {
    padding: 0 20px 20px;
    color: #666;
}

.btn-small {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 8px 25px;
    background: #e67e22;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
}

/* ========== DONATION SECTION ========== */
.donation-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('https://images.pexels.com/photos/6646952/pexels-photo-6646952.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.donation-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.donation-section p {
    font-size: 16px;
    margin-bottom: 30px;
}

.btn-donate {
    background: #e67e22;
    color: white;
    padding: 14px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}

.btn-donate:hover {
    background: #d35400;
    transform: scale(1.05);
}

/* ========== FOOTER ========== */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #e67e22;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p,
.footer-section ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .stat-box h3 {
        font-size: 32px;
    }
    
    .project-card {
        width: 280px;
    }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 75%;
        height: 100vh;
        background: #fff;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: 0.3s;
        z-index: 999;
        padding: 20px;
        margin: 0;
        border-top: none;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 15px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }
    
    .btn-user {
        display: inline-block;
        text-align: center;
        margin-top: 10px;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    header .container {
        justify-content: space-between;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 9px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero h2 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .stat-box {
        width: 45%;
    }
    
    .stat-box h3 {
        font-size: 28px;
    }
    
    .stat-box p {
        font-size: 12px;
    }
    
    .welcome-message h2 {
        font-size: 24px;
    }
    
    .welcome-message p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .local-projects h2 {
        font-size: 24px;
    }
    
    .project-card {
        width: 100%;
        max-width: 350px;
    }
    
    .donation-section h2 {
        font-size: 28px;
    }
    
    .donation-section p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .btn-donate {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text p {
        font-size: 8px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero h2 {
        font-size: 18px;
    }
    
    .stat-box {
        width: 100%;
    }
    
    .stat-box h3 {
        font-size: 32px;
    }
    
    .welcome-message h2 {
        font-size: 20px;
    }
    
    .local-projects h2 {
        font-size: 20px;
    }
    
    .donation-section h2 {
        font-size: 22px;
    }
    
    .btn-donate {
        padding: 10px 25px;
        font-size: 14px;
    }
}