/*====================================================
    GLOBAL
====================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fa;
    overflow-x:hidden;
    color:#333;
    padding-top:90px; /* karena navbar fixed */
}

/*====================================================
    LOADING
====================================================*/

#loading{
    position:fixed;
    inset:0;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

/*====================================================
    NAVBAR
====================================================*/
.navbar{
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    padding:4px 0;
    transition:.3s;
}

.navbar.scrolled{
    padding:10px 0;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.logo{
    width:120px;
    height:120px;
    object-fit:contain;
    transition:.3s;
}

.logo:hover{
    transform:scale(1.1);
}

.navbar-brand h5{
    font-size:16px;
    margin-bottom:2px;
}

.navbar-brand small{
    font-size:14px;
}

.nav-link{
    font-size:15px;
    font-weight:500;
    margin-left:10px;
    transition:.3s;
}

/*====================================================
    HERO
====================================================*/

.hero{
    padding:80px 0;
    background:linear-gradient(135deg,#f8fbff,#eef5ff);
}

.hero h1{
    font-size:52px;
    font-weight:800;
    line-height:1.25;
}

.hero p{
    font-size:18px;
    color:#666;
    line-height:32px;
}

.hero-img{
    width:100%;
    max-height:500px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 18px 40px rgba(0,0,0,.15);
    transition:.4s;
}

.hero-img:hover{
    transform:scale(1.02);
}

/*====================================================
    SECTION
====================================================*/

section{
    padding:80px 0;
}

.section-title{
    font-size:34px;
    font-weight:700;
    margin-bottom:15px;
}

.section-subtitle{
    color:#666;
    margin-bottom:50px;
}

/*====================================================
    CARD
====================================================*/

.card{
    border:none;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.15);
}

/*====================================================
    FOOTER
====================================================*/

.footer{
    background:#0d6efd;
    color:#fff;
}

.footer h4,
.footer h5{
    margin-bottom:20px;
    font-weight:700;
}

.footer p{
    line-height:28px;
}

.footer-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-menu li{
    margin-bottom:10px;
}

.footer-menu a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

.footer-menu a:hover{
    padding-left:10px;
    color:#ffd54f;
}

.social a{
    width:45px;
    height:45px;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    margin-right:10px;
    background:rgba(255,255,255,.15);
    color:#fff;
    transition:.3s;
    text-decoration:none;
}

.social a:hover{
    background:#fff;
    color:#0d6efd;
    transform:translateY(-5px);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.2);
    margin-top:30px;
    padding:20px 0;
}

/*====================================================
    RESPONSIVE
====================================================*/

@media(max-width:991px){

.alamat-navbar{
    display:block;
    font-size:11px;
    line-height:1.3;
    color:#6c757d;
}

body{
    padding-top:80px;
}

.navbar{
    background:#fff;
}

.nav-link{
    margin-left:0;
    padding:12px 0;
}

.hero{
    text-align:center;
    padding:60px 0;
}

.hero h1{
    font-size:38px;
}

.hero p{
    font-size:16px;
}

.hero-img{
    margin-top:40px;
}

.section-title{
    font-size:28px;
}

/*====================================================
    SLIDER 3 : 1
====================================================*/

#mainSlider{
    margin-top:10px;
}

.slider-img{
    width:100%;
    aspect-ratio:3/1;
    object-fit:cover;
}

.slider-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.carousel-caption{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    width:80%;
    text-align:center;
    z-index:10;
}

.carousel-caption h1{
    font-size:48px;
    font-weight:700;
    margin-bottom:20px;
    text-shadow:0 2px 8px rgba(0,0,0,.6);
}

.carousel-caption p{
    font-size:20px;
    line-height:1.7;
    margin-bottom:25px;
}

.carousel-caption .btn{
    padding:12px 35px;
    border-radius:50px;
}
}
/*====================================================
    RESPONSIVE TABLET
====================================================*/

@media (max-width:991.98px){

    body{
        padding-top:80px;
    }

    .navbar{
        background:#fff;
        padding:8px 0;
    }

      .logo{
        width:45px;
        height:45px;
    }
    

    .navbar-brand h5{
        font-size:16px;
    }

    .navbar-brand small{
        display:none;
    }

    .nav-link{
        margin-left:0;
        padding:12px 0;
        font-size:15px;
    }

    .navbar-nav{
        margin-top:10px;
    }

    .hero{
        text-align:center;
        padding:60px 0;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-img{
        margin-top:35px;
    }

    .section-title{
        font-size:28px;
    }

    .slider-img{
        aspect-ratio:16/9;
    }

    .carousel-caption{
        width:90%;
    }

    .carousel-caption h1{
        font-size:30px;
    }

    .carousel-caption p{
        font-size:16px;
    }
}

/*====================================================
    RESPONSIVE HP
====================================================*/

@media (max-width:767.98px){

    body{
        padding-top:75px;
    }

    .navbar{
        padding:3px 0;
    }

    .logo{
        width:70px;
        height:70px;
    }

    .navbar-brand h5{
        font-size:14px;
        line-height:1.3;
    }

  .navbar-brand small{
    display:block;
    font-size:10px;
    line-height:1.2;
}

    .navbar-toggler{
        padding:.25rem .5rem;
    }

    .nav-link{
        padding:10px 0;
        font-size:16px;
    }

    .login-admin{
        display:none;
    }

    .slider-img{
        height:230px;
        object-fit:cover;
    }

    .carousel-caption{
        width:95%;
        bottom:12px;
    }

    .carousel-caption h1{
        font-size:22px;
        margin-bottom:8px;
    }

    .carousel-caption p{
        font-size:13px;
        margin-bottom:10px;
    }

    .carousel-caption .btn{
        display:none;
    }

    .hero{
        padding:40px 0;
    }

    .hero h1{
        font-size:25px;
    }

    .hero p{
        font-size:10px;
        line-height:28px;
    }

    .section{
        padding:60px 0;
    }

    .section-title{
        font-size:24px;
    }

}

/*====================================================
    RESPONSIVE HP KECIL
====================================================*/

@media (max-width:575.98px){

    .logo{
        width:50px;
        height:60px;
    }

    .navbar-brand h5{
        font-size:13px;
    }

    .carousel-caption h1{
        font-size:18px;
    }

    .carousel-caption p{
        font-size:12px;
    }

    .hero h1{
        font-size:26px;
    }

    .section-title{
        font-size:22px;
    }

}

@media (max-width:768px){
    
       .alamat-navbar{
        font-size:14px;   /* kecilkan atau besarkan sesuai selera */
        line-height:1.4;
    }


    .navbar>.container{
        display:flex;
        align-items:center;
    }

    .navbar-brand{
        display:flex;
        align-items:center;
        flex:1;
        min-width:0;
    }

    .navbar-brand h5{
        font-size:14px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .navbar-toggler{
        margin-left:auto;
        flex-shrink:0;
        border:none;
        box-shadow:none;
    }
    
    
    .navbar{
    padding:4px 0;
}

.navbar.scrolled{
    padding:10px 0;
}

}

.icon-box{
    width:70px;
    height:70px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
}

.card{
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.isi-profil{
    font-size:15px;
    line-height:1.8;
}

.card h3{
    font-size:24px;
    font-weight:700;
}

@media(max-width:768px){

.icon-box{
    width:60px;
    height:60px;
    font-size:28px;
}

.card h3{
    font-size:20px;
}

.isi-profil{
    font-size:14px;
}

}


/* Google Maps */

.map-container iframe{
    width:100%;
    height:450px;
    border:0;
}

@media(max-width:768px){

.map-container iframe{
    height:300px;
}

}
