body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar-toggler {
    z-index: 1050;
    /* above everything */
    border: none;
    outline: none;
}

.hero-section {
    position: relative;
    height: 100vh;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-caption {
    bottom: 25%;
    z-index: 10;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

html {
    scroll-behavior: smooth;
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s ease;
}

#newsletter input:focus {
    border-color: #198754;
    box-shadow: 0 0 5px rgba(25, 135, 84, 0.5);
}

/* Reveal Animation Base */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.animate__animated {
    opacity: 1;
    transform: translateY(0);
}

/* Founder image hover effect */
#about img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#about img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Mission & Vision styling */
#about h4 {
    border-left: 4px solid #f57c00;
    padding-left: 10px;
    margin-bottom: 10px;
}

.program-card {
    border-radius: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.program-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-img {
    transform: scale(1.1);
}

.overlay {
    pointer-events: none;
}

.modal {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

#donateModal .modal-content {
    background-color: #fff;
    border-radius: 1rem;
}

#donateModal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

#donateModal .btn-success:hover {
    background-color: #23963d;
}

#donateModal .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

#donateModal img {
    border: 2px solid #28a745;
    padding: 5px;
    background: #fff;
}



@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption {
        bottom: 20%;
        text-align: center;
    }

    .m-addict {
        margin-top: -350px;
    }

    .h-text {
        font-size: medium;
    }

    .navbar-toggler {
        margin: 0.75rem;
    }
}