/* ======================================
   INDEX PAGE RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 991px) {

    .top-bar {
        flex-direction: row;
        gap: 12px;
        padding: 15px 20px;
        margin: 0 10px;
        text-align: right;
    }

    .top-left {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-left span {
        display: flex;
        align-items: center;
        font-size: 14px;
        white-space: normal;
    }

    .top-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .volunteer {
        font-size: 14px;
    }

    .loginbtn a {
        padding: 8px 18px;
        font-size: 14px;
    }

    .top-left span:first-child {
        display: none;
    }

}



/* =====================
   TABLET & BELOW
   ===================== */
@media (max-width: 991px) {

    /* HERO SLIDER */
    .carousel-hero-banner {
        height: 380px;
    }

    .slide-content {
        padding: 20px;
        width: 90%;
        margin: auto;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .nav-button {
        padding: 10px 14px;
        font-size: 22px;
    }

    /* SERVICES */
    .service-card {
        padding: 60px 20px 30px;
    }

    /* ABOUT SECTION */
    .about-section {
        text-align: center;
    }

    .about-image-wrapper {
        height: auto;
        margin-top: 40px;
    }

    .about-img {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }

    .about-logo {
        display: none;
    }

    /* CAUSES */
    .cause-card {
        height: auto;
        padding: 30px 20px;
    }

    /* PROJECTS */
    .donation-card {
        margin-bottom: 20px;
    }

    /* EMERGENCY */
    .emergency-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        text-align: center;
    }

    /* .emergency-image left {
        display: none;
    } */

    .emergency-image.right {
    display: none;
    }

    .emergency-content h1 {
        font-size: 32px;
    }
}


/* =====================
   MOBILE DEVICES
   ===================== */
@media (max-width: 576px) {

    /* HERO SLIDER */
    .carousel-hero-banner {
        height: 280px;
    }

    .slide-content {
        padding: 16px;
        border-radius: 8px;
    }

    .slide-content h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cta-button {
        padding: 8px 18px;
        font-size: 14px;
    }

    .nav-button {
        display: none;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    /* SERVICES */
    .service-card {
        padding: 55px 20px 25px;
    }

    .service-card h5 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    /* ABOUT */
    .about-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 15px;
        text-align: justify;
    }

    /* CAUSES */
    .cause-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .cause-card h5 {
        font-size: 15px;
    }

    /* PROJECTS */
    .donation-image img {
        height: 180px;
    }

    .donation-content {
        padding: 18px;
    }

    .donation-content h4 {
        font-size: 16px;
    }

    .donation-content p {
        font-size: 14px;
    }

    /* EMERGENCY */
    .emergency-content h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
    }

    .call-btn {
        padding: 12px 28px;
        font-size: 16px;
    }
}