/* =====================================
   FOOTER
===================================== */

.footer{
    background:linear-gradient(
        to bottom,
        #1b7446 0%,
        #196e42 30%,
        #10492d 60%,
        #082c1b 100%
    );

    color:#fff;
    padding:55px 0 25px;
}

.footer .container{
    max-width:1400px;
    width:100%;
}

/* =====================================
   FOOTER -KONTAK LINK
===================================== */
.footer-contact-title{
    color:#fff;
    text-decoration:none;
}

.footer-contact-title:hover{
    color:#FFD45A;
}

/* ==========================================================
   SUSUNAN 4 KOLOM FOOTER
========================================================== */

.footer .row{
    display:grid;

    grid-template-columns:
        29%
        22%
        22%
        27%;

    align-items:start;
}


/* Hilangkan efek padding bawaan Bootstrap */

.footer .row > div{
    width:100%;
    padding-left:0;
    padding-right:0;
}

/* ==========================================================
   LOGO + IQAAMAH
========================================================== */

.footer .row > div:first-child{
    transform:translateX(-55px);
}


/* ==========================================================
   LOGO
========================================================== */

.footer-logo{
    width:190px;
    display:block;

    margin-top:-10px;
    margin-left:auto;
    margin-right:auto;
    margin-bottom:15px;
}


/* ==========================================================
   JUDUL KOLOM
========================================================== */

.footer h5{
    font-size:1.35rem;
    font-weight:700;
    line-height:1.4;

    color:#fff;

    display:inline-block;

    padding-bottom:6px;

    border-bottom:2px solid rgba(255,255,255,.65);

    margin:0 0 14px;
}


/* ==========================================================
   MENU
========================================================== */

.footer-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-menu li{
    margin-bottom:14px;

    font-size:1.05rem;
    line-height:1.6;
}

.footer-menu li:last-child{
    margin-bottom:0;
}

.footer-menu li a{
    color:#fff;
    text-decoration:none;

    font-size:1.05rem;

    transition:.25s ease;

    cursor:pointer;
}

.footer-menu li a:hover{
    color:#FFD45A;
    padding-left:5px;
}


/* ==========================================================
   KONTAK
========================================================== */

.footer p{
    font-size:1.05rem;
    line-height:1.8;

    color:rgba(255,255,255,.92);

    margin:0 0 14px;
}

.footer p:last-child{
    margin-bottom:0;
}

.footer i{
    width:22px;
    margin-right:8px;

    color:#FFD45A;
}


/* ==========================================================
   IQAAMAH
========================================================== */

.footer-iqaamah{
    margin-top:18px;

    width:100%;

    text-align:center;
}


/* ==========================================================
   JUDUL IQAAMAH
========================================================== */

.iqaamah-title-footer{
    font-size:1.55rem;
    font-weight:800;

    letter-spacing:5px;
    line-height:1;

    color:rgba(255,255,255,.92);

    margin:0 0 8px;

    text-align:center;
}


/* ==========================================================
   NILAI IQAAMAH
========================================================== */

.iqaamah-values-footer{
    font-size:.58rem;
    font-weight:700;

    line-height:1.5;
    letter-spacing:.2px;

    color:rgba(255,255,255,.92);

    white-space:nowrap;

    text-align:center;
}

.iqaamah-values-footer span{
    margin:0 4px;
}


/* ==========================================================
   TAGLINE
========================================================== */

.footer p.footer-tagline{
    color:#FFD45A;
    font-size:1.05rem;
    font-weight:600;
    line-height:1.4;
    text-align:center;

    margin:20px 0 0;
}


/* Baris kedua dibuat sangat rapat */

.footer p.footer-tagline + .footer-tagline{
    margin-top:-4px;
}


/* ==========================================================
   GARIS COPYRIGHT
========================================================== */

.footer hr{
    border:0;

    border-top:1px solid rgba(255,255,255,.15);

    margin:45px 0 22px;
}


/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copy{
    margin:0;

    text-align:center;

    font-size:.95rem;
    line-height:1.6;

    color:rgba(255,255,255,.8);
}

/* ==========================================================
   NAVBAR - FIX LOGO & POSISI MENU
========================================================== */

.navbar{
    min-height:78px;
    padding:8px 0;
    background:#fff;
}


/* ==========================================================
   BRAND
========================================================== */

.navbar-brand{
    display:flex;
    align-items:center;
    gap:12px;

    margin:0;
    padding:0;
}


/* LOGO NAVBAR */

.navbar-brand .logo{
    width:75px;
    height:auto;

    max-height:65px;

    object-fit:contain;
    display:block;
}


/* ==========================================================
   NAMA RTQ
========================================================== */

.navbar-brand .brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;

    line-height:1.25;
}

.navbar-brand .brand-title{
    font-size:1.1rem;
    font-weight:600;
    color:#17663b;
    white-space:nowrap;
}

.navbar-brand .brand-subtitle{
    font-size:1rem;
    color:#555;
    white-space:nowrap;
}


/* ==========================================================
   MENU NAVBAR
========================================================== */

.navbar-nav{
    align-items:center;
}

.navbar .nav-link{
    font-size:1.15rem;
    color:#333;

    padding:10px 10px;

    white-space:nowrap;
}


/* ==========================================================
   BUTTON
========================================================== */

.navbar .btn{
    font-size:1.05rem;
    padding:10px 16px;
    white-space:nowrap;
}

.navbar .btn-donasi{
    color:#17663b;
    border:1px solid #17663b;
    background:#fff;
}

.navbar .btn-donasi:hover{
    color:#fff;
    background:#17663b;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:991.98px){

    .navbar{
        padding:10px 15px;
    }

    .navbar-brand .logo{
        width:65px;
        max-height:58px;
    }

    .navbar-brand .brand-title{
        font-size:.9rem;
    }

    .navbar-brand .brand-subtitle{
        font-size:.8rem;
    }

    .navbar-collapse{
        padding-top:15px;
    }

    .navbar-nav{
        align-items:flex-start;
    }

    .navbar .nav-link{
        padding:8px 0;
    }

    .navbar .d-flex{
        margin-top:10px;
        margin-left:0 !important;
    }

}


/* ==========================================================
   FOOTER - RESPONSIVE HP & TABLET
========================================================== */

@media (max-width: 991.98px){

    .footer .row{
        display:grid;

        grid-template-columns:1fr 1fr;

        gap:40px 30px;
    }


    /* Kolom logo */

    .footer .row > div:first-child{
        transform:none;
    }


    .footer-logo{
        width:170px;

        margin-left:auto;
        margin-right:auto;
    }


    .footer-iqaamah{
        margin-top:15px;
    }


    .footer p.footer-tagline{
        font-size:1rem;
    }


    /* Kolom lainnya */

    .footer h5{
        font-size:1.2rem;
    }

}


/* ==========================================================
   FOOTER - HP
========================================================== */

@media (max-width:575.98px){

    .footer{
        padding:45px 20px 25px;
    }


    .footer .container{
        width:100%;
    }


    .footer .row{
        grid-template-columns:1fr;

        gap:35px;
    }


    /* Semua kolom full width */

    .footer .row > div{
        width:100%;
        text-align:center;
    }


    /* Logo */

    .footer-logo{
        width:165px;

        margin-left:auto;
        margin-right:auto;
    }


    /* Iqaamah */

    .footer-iqaamah{
        width:100%;
    }


    .iqaamah-title-footer{
        font-size:1.4rem;
    }


    .iqaamah-values-footer{
        font-size:.56rem;
    }


    /* Tagline */

    .footer p.footer-tagline{
        font-size:.95rem;
        line-height:1.4;
    }


    /* Judul kolom */

    .footer h5{
        font-size:1.2rem;
    }


    /* Menu */

    .footer-menu{
        text-align:center;
    }


    .footer-menu li{
        font-size:1rem;
        margin-bottom:10px;
    }


    /* Kontak */

    .footer p{
        font-size:.95rem;
        line-height:1.7;
    }


    /* Copyright */

    .footer hr{
        margin:35px 0 20px;
    }


    .footer-copy{
        font-size:.8rem;
        line-height:1.6;
    }

}