/* Updated style.css with enhanced theme and animations */

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

.header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.section-heading {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    color: #b22222; /* or your brand color */
    margin-top: 30px;
    margin-bottom: -40px; /* Pulls it closer to the orange section */
    font-family: 'Lato', sans-serif;
    z-index: 2;
    position: relative;
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    gap: 40px;                   
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.logo {
    width: 140px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ff6600;
}

/* Hero Section */
.title {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffe0b2, #ffffff);
    animation: fadeInUp 1s ease-out;
}

.title h1, .projects-section h2, .donate-section h2, .team-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #222;
}

.title p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
}

.button {
    background: #ff6600;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    border: 2px solid #ff6600;
}

.button:hover {
    background: white;
    color: #ff6600;
    border: 2px solid #ff6600;
}

/* Projects & Donate Section */
.projects-section, .donate-section {
    background: white;
    padding: 80px 20px;
    animation: fadeInUp 1.2s ease-out;
    margin-top: 40px;
}

.projects-section p, .donate-section p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.donate-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Team Section */
.team-section {
    background: #f0f4f8;
    padding: 80px 20px;
    animation: fadeInUp 1.3s ease-out;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin-bottom: 15px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.25rem;
    margin: 10px 0 5px;
    color: #ff6600;
}

.team-member h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.team-member p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px;
    margin-top: 60px;
}

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