*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

.logo img{
    width:60px;
    height:60px;
    object-fit:contain;
}
html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#333;
}

/* NAVBAR */

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:10px 8%;
    background:#fff;
}

.logo{
    color:#0E1DAB;
    font-size:18px;
    font-weight:bold;
}

.hero{
    margin-top:80px;
}
.slides{

    width:100%;
    height:100%;
    position:absolute;

}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img{

    width:100%;
    height:100%;
    object-fit:cover;

}

/* ALUR LAYANAN */

.alur{
    background:#ffffff;
}

.alur-image{
    display:flex;
    justify-content:center;
}

.alur-image img{
    width:100%;
    max-width:400px;
    border-radius:12px;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
}

.konselor-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap; /* biar tetap bagus di HP */
}

.konselor-image img{
    width:100%;
    max-width:400px;
    border-radius:12px;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
}

.konselor-text{
    max-width:400px;
}

.konselor-text h3{
    margin-bottom:10px;
    color:#0d47a1;
}

.konselor-text p{
    line-height:28px;
    color:#333;
}


.donasi-btn{
    background:#28a745;
    color:#fff !important;
    padding:10px 20px;
    border-radius:30px;
    transition:.3s;
}

.donasi-btn:hover{
    background:#218838;
    transform:translateY(-2px);
}

/* GALLERY */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.box{
    height:220px;
    overflow:hidden;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
}

.box img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:0.4s ease;
}

.box:hover img{
    transform:scale(1.08);
}

.menu{

    display:flex;
    list-style:none;
    gap:40px;

}

.menu a{

    color:#0E1DAB;
    text-decoration:none;
    transition:.3s;

}

.menu a:hover{

    color:#90caf9;

}

/* HERO */

.hero{

    height:100vh;

    background:url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600")
    center/cover;

    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;

}
.donasi{
    text-align:center;
}

.donasi .rekening{
    display:inline-block;
    text-align:center;
    margin-top:20px;
    padding:20px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
}
.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.55);

}

.hero-content{

    position:relative;

    color:white;

    text-align:center;

    width:700px;

    z-index:2;

}

.hero h1{

    font-size:50px;

    margin-bottom:20px;

}

.hero p{

    font-size:18px;

    line-height:30px;

    margin-bottom:35px;

}

.btn{

    display:inline-block;

    padding:15px 35px;

    background:#2196f3;

    color:white;

    text-decoration:none;

    border-radius:40px;

    transition:.3s;

}



.btn:hover{

    background:#1565c0;

}

.hero-buttons{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}

/* tombol kedua beda warna */
.btn-secondary{
    background:#ff9800;
}

.btn-secondary:hover{
    background:#e68900;
}

.hero-buttons{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    display:flex;
    align-items:center;
    gap:8px;
}

/* ikon biar tidak terlalu besar */
.icon{
    font-size:18px;
}
/* SECTION */

section{

    padding:90px 8%;

}

.container{

    max-width:1200px;

    margin:auto;

}

h2{

    text-align:center;

    margin-bottom:40px;

    color:#0d47a1;

    font-size:36px;

}

/* ABOUT */

.about p{

    text-align:center;

    max-width:800px;

    margin:auto;

    line-height:30px;

}

/* CARD */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.judol-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.judol-image img{
    width:100%;
    max-width:400px;
    border-radius:12px;
    box-shadow:0 10px 20px rgba(0,0,0,.1);
}

.judol-text{
    max-width:400px;
}

.judol-text h3{
    margin-bottom:10px;
    color:#0d47a1;
}

.judol-text p{
    line-height:28px;
    color:#333;
}

.judol{
    padding:60px 8%;
    background:#f9fbff;
}

.card{

    background:white;

    padding:30px;

    border-radius:12px;

    text-align:center;

    box-shadow:0 10px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);

}

.card h3{

    color:#1565c0;

    margin-bottom:15px;

}

/* GALLERY */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.box{

    height:220px;

    background:#dbe9ff;

    border-radius:12px;

}

/* CONTACT */

.contact{

    background:#0d47a1;

    color:white;

    text-align:center;

}

.contact h2{

    color:white;

}

.contact p{

    margin:15px 0;

}

/* FOOTER */

footer{

    background:#082b66;

    color:white;

    text-align:center;

    padding:20px;

}

/* RESPONSIVE */

@media(max-width:768px){

.menu{

display:none;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

h2{

font-size:30px;

}

}

.hidden{
    opacity:0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.show{
    opacity:1;
    transform: translateY(0);
}

#progress-bar{
    position:fixed;
    top:0;
    left:0;
    height:4px;
    width:0%;
    background:#2196f3;
    z-index:9999;
}

#topBtn{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#2196f3;
    color:white;
    border:none;
    padding:12px 15px;
    border-radius:50%;
    cursor:pointer;
    display:none;
    z-index:9999;
}

.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;

    /* animasi halus */
    opacity:0;
    visibility:hidden;
    transition:0.4s ease;
}

.modal.show{
    opacity:1;
    visibility:visible;
}

.modal-content{
    background:white;
    padding:35px 30px;
    border-radius:16px;
    text-align:center;
    width:300px;

    transform:translateY(30px);
    transition:0.4s ease;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.modal.show .modal-content{
    transform:translateY(0);
}

.modal-logo{
    width:70px;
    height:70px;
    object-fit:contain;
    margin-bottom:10px;
}

.modal h3{
    margin:10px 0 5px;
    color:#0d47a1;
}

.modal p{
    font-size:14px;
    color:#555;
    margin-bottom:20px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.show {
    display: flex;
}
.modal-btn{
    background:#2196f3;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.modal-btn:hover{
    background:#1565c0;
}

.typing-text::after {
    content: "❤️";
    animation: blink 0.7s infinite;
}

.typing-text.done::after {
    content: "";
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.modal.show {
    display: flex;
}