/* ===== 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;
}

/* ===== LOGIN SECTION ===== */
.login-section {
    padding: 60px 5%;
    min-height: calc(100vh - 400px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: url(images/img1.jpg);
    background-position: center;
    background-size:cover ;
    height: fit-content;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 100px;
}

.login-box h2 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.login-links {
    text-align: center;
    margin-top: 20px;
}

.login-links a {
    color: var(--accent-color);
    text-decoration: none;
    margin: 0 10px;
}

.login-links a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: #242222;
    color: white;
    padding: 50px 5% 20px;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3,
.footer-section h4 {
    color: rgba(9, 24, 226, 0.993);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(9, 24, 226, 0.993);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: rgb(0, 10, 153);
}

.footer-section p {
    color: rgba(223, 3, 186, 0.993);
    margin-bottom: 10px;
}

.footer-section i {
    margin-right: 10px;
    color: rgb(0, 10, 153);
}

.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);
    margin-top: 30px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    .navbar ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--primary-color);
        padding: 20px;
        transition: left 0.3s ease;
        gap: 20px;
    }
    
    .navbar ul.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .slide img {
        height: 40vh;
    }
    
    .donation-container {
        padding: 20px;
    }
    
    .amount-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .help-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .login-box {
        padding: 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slide-caption {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: -50px;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}