/* ===== 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;
}

/* ===== HERO SLIDER ===== */
.hero {
    padding-top: 120px;
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.slide-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 110px;
}

.slide {
    display: none;
    width: 100%;
    position: relative;
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    border-radius: 15px;
}

.slide-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 30px;
    border-radius: 10px;
    max-width: 600px;
}

.slide-caption h2 {
    font-size: 2.5rem;
    color: rgb(97, 162, 247);
    margin-bottom: 10px;
}

.slide-caption p {
    font-size: 1.2rem;
    color: white;
}

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: rgb(19, 115, 240);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 80px 0;
    background: rgba(31, 30, 30, 0.9);
    margin-top: 50px;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-color: rgb(19, 115, 240);
}

.welcome-text h2 {
    font-size: 2rem;
    color: rgb(97, 162, 247);
    margin-bottom: 30px;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===== WHO WE HELP SECTION ===== */
.who-we-help {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.8);
}

.who-we-help h2 {
    text-align: center;
    font-size: 3rem;
    color: rgb(19, 115, 240);
    margin-bottom: 50px;
    text-decoration: underline;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.help-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgb(19, 115, 240);
}

.help-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, rgb(167, 4, 167), rgb(19, 115, 240));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.help-card h3 {
    color: #150b75;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.help-card p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== DONATION SECTION ===== */
.donation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(167, 4, 167, 0.9), rgba(19, 115, 240, 0.9));
}

.donation-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.donation-container h2 {
    color: #150b75;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.donation-container p {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    padding: 12px 25px;
    background: rgb(19, 115, 240);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    background: #0a5dc1;
    transform: scale(1.05);
}

.custom-amount {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.donate-btn {
    background: linear-gradient(45deg, #150b75, rgb(167, 4, 167));
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: rgb(19, 115, 240);
    color: white;
    border: 2px solid rgb(19, 115, 240);
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(19, 115, 240, 0.5);
}

.btn:hover {
    background: transparent;
    color: rgb(19, 115, 240);
    box-shadow: 0 0 25px rgba(19, 115, 240, 0.8);
}

.btn-primary {
    background: rgb(167, 4, 167);
    border-color: rgb(167, 4, 167);
    box-shadow: 0 0 15px rgba(167, 4, 167, 0.5);
}

.btn-primary:hover {
    background: transparent;
    color: rgb(167, 4, 167);
    box-shadow: 0 0 25px rgba(167, 4, 167, 0.8);
}

/* ===== FOOTER (UPDATED WITH ICONS) ===== */
footer {
    background: #242222;
    color: white;
    padding: 50px 0 20px;
    border-top: 5px solid rgb(4, 8, 212);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: rgba(9, 24, 226, 0.993);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(8, 24, 255, 0.993);
}

.footer-section h4 {
    margin-bottom: 20px;
    color: rgba(9, 24, 226, 0.993);
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(8, 24, 255, 0.993);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: rgba(9, 24, 226, 0.993);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section ul li a:hover {
    color: rgb(19, 115, 240);
    text-shadow: 0 0 10px rgba(19, 115, 240, 0.5);
}

.footer-section p {
    margin-bottom: 15px;
    color: rgba(223, 3, 186, 0.993);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: rgb(19, 115, 240);
    font-size: 1.2rem;
    min-width: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(9, 24, 226, 0.993);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgb(19, 115, 240);
    transform: translateY(-3px);
}

.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); }
}