/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url(images/img3.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    line-height: 1.6;
}

a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR (UNCHANGED) ===== */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    background: rgb(167, 4, 167);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar .logo {
    font-size: 35px;
    font-weight: 700;
    box-shadow: 0 0 40px rgb(65, 110, 255);
    border-radius: 20px;
    padding: 10px 20px;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    transition: color 0.5s ease-in-out;
    position: relative;
}

.navbar ul li:hover a,
.navbar ul li.active a {
    color: rgb(19, 115, 240);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}


/* ===== WHO WE HELP HERO ===== */
.who-hero {
    padding-top: 120px;
    text-align: center;
    background: linear-gradient(rgba(31, 30, 30, 0.9), rgba(31, 30, 30, 0.9));
    padding-bottom: 60px;
}

.who-hero h1 {
    font-size: 3.5rem;
    color: rgb(19, 115, 240);
    margin-bottom: 20px;
    text-decoration: underline;
}

.who-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: rgb(213, 205, 214);
}

/* ===== HELP CARDS SECTION ===== */
.help-cards-section {
    padding: 60px 9%;
    flex: 1;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.help-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.help-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.card-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.help-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    color: #150b75;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content h3 i {
    color: rgb(167, 4, 167);
    font-size: 1.5rem;
}

.card-content p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

.card-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgb(19, 115, 240);
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Card-specific colors */
.card-orphans {
    border-bottom: 5px solid #FF6B6B;
}

.card-vulnerable {
    border-bottom: 5px solid #4ECDC4;
}

.card-youth {
    border-bottom: 5px solid #45B7D1;
}

.card-widows {
    border-bottom: 5px solid #96CEB4;
}

.card-elderly {
    border-bottom: 5px solid #FFEAA7;
}

.card-community {
    border-bottom: 5px solid #DDA0DD;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 5px solid rgba(223, 3, 186, 0.993);
    color: rgba(223, 3, 186, 0.993);
    font-size: 1rem;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 992px) {
    .welcome-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .slide-caption {
        left: 20px;
        bottom: 20px;
        padding: 15px;
        max-width: 80%;
    }
    
    .slide-caption h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .navbar ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgb(167, 4, 167);
        padding: 20px;
        transition: left 0.3s ease;
        text-align: center;
        gap: 20px;
    }
    
    .navbar ul.active {
        left: 0;
    }
    
    .navbar ul li {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .navbar .logo {
        font-size: 28px;
        padding: 8px 15px;
    }
    
    .slide img {
        height: 50vh;
    }
    
    .welcome-text h1 {
        font-size: 2.5rem;
    }
    
    .welcome-text h2 {
        font-size: 1.5rem;
    }
    
    .who-we-help h2 {
        font-size: 2.5rem;
    }
    
    .donation-container {
        padding: 30px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .slide-caption {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -50px;
        background: rgba(0, 0, 0, 0.8);
        padding: 15px;
        border-radius: 0 0 15px 15px;
    }
    
    .slide-caption h2 {
        font-size: 1.5rem;
    }
    
    .slide-caption p {
        font-size: 1rem;
    }
    
    .welcome-text h1 {
        font-size: 2rem;
    }
    
    .help-card {
        padding: 20px;
    }
    
    .amount-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}