/* ========================= */
/* BODY */
/* ========================= */

body{
    margin:0;
    padding-top:70px;
    font-family:Arial, sans-serif;
    background:#f5f5f5;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar{
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
    position:relative;
    height:500px;
    background:url('masjid.jpg');
    background-size:cover;
    background-position:center;
}

/* OVERLAY */

.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

/* TEXT HERO */

.hero-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:white;
    text-align:center;
    width:90%;
}

.hero-text h1{
    font-size:60px;
    font-weight:bold;
}

.hero-text p{
    font-size:22px;
}

/* ========================= */
/* JUDUL HALAMAN */
/* ========================= */

.judul-kegiatan{
    text-align:center;
    margin-top:40px;
    margin-bottom:40px;
    color:#0b5d3b;
    font-size:42px;
    font-weight:bold;
}

/* ========================= */
/* CONTAINER */
/* ========================= */

.kegiatan-box{
    max-width:1200px;
    margin:50px auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    padding:20px;
}

.card-kegiatan{
    flex:1 1 300px;
    max-width:350px;

    background:#fff;
    border-radius:20px;
    padding:30px;
    text-align:center;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);

    transition:.3s;
}

.card-kegiatan:hover{
    transform:translateY(-8px);
}

.icon{
    font-size:60px;
    margin-bottom:15px;
}

.card-kegiatan h2{
    color:#0d6efd;
    margin-bottom:15px;
}

.card-kegiatan p{
    color:#555;
    line-height:1.8;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{
    margin-top:50px;
}

/* ICON */
.icon{
    font-size:60px;
    margin-bottom:20px;
}

/* ANIMASI */
.card-kegiatan:hover{
    transform:translateY(-10px) scale(1.03);
}

/* RESPONSIVE */
@media(max-width:768px){

    .card-kegiatan{
        width:90%;
    }

    .hero-text h1{
        font-size:35px;
    }

}

/* ICON */
.icon{
    font-size:60px;
    margin-bottom:20px;
}

/* HOVER CARD */
.card-kegiatan:hover{
    transform:translateY(-10px) scale(1.03);
    transition:0.3s;
}

/* RESPONSIVE */
@media(max-width:768px){

    .card-kegiatan{
        width:90%;
    }

    .hero-text h1{
        font-size:35px;
    }

}

/* ================================= */
/* CARD CANTIK */
/* ================================= */

.card-kegiatan{

    width:300px;

    min-height:300px;

    display:inline-block;

    vertical-align:top;

    margin:20px;

    padding:30px;

    background:white;

    border-radius:25px;

    border:3px solid #0b5d3b;

    box-shadow:0 8px 20px rgba(0,0,0,0.15);

    transition:all 0.4s ease;

    position:relative;

    overflow:hidden;

}

/* EFEK HOVER */

.card-kegiatan:hover{

    transform:translateY(-12px) scale(1.03);

    box-shadow:0 15px 30px rgba(0,0,0,0.25);

}

/* ICON */

.icon{

    font-size:70px;

    margin-bottom:20px;

    animation:float 3s ease-in-out infinite;

}

/* ANIMASI ICON */

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* JUDUL */

.card-kegiatan h2{

    color:#0b5d3b;

    margin-bottom:20px;

    font-size:28px;

}

/* PARAGRAF */

.card-kegiatan p{

    font-size:16px;

    line-height:1.8;

    color:#444;

}

/* CONTAINER */

.kegiatan-box{

    width:90%;

    margin:auto;

    text-align:center;

}

/* JUDUL HALAMAN */

.judul-kegiatan{

    text-align:center;

    margin-top:110px;

    margin-bottom:50px;

    color:#0b5d3b;

    font-size:45px;

    font-weight:bold;

}

/* RESPONSIVE */

@media(max-width:768px){

    .card-kegiatan{

        width:90%;

    }

}
/* ========================= */
/* TABLET */
/* ========================= */

@media (max-width: 992px){

    .hero{
        height:400px;
    }

    .hero-text h1{
        font-size:45px;
    }

    .hero-text p{
        font-size:18px;
    }

}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px){

    body{
        padding-top:60px;
    }

    .hero{
        height:300px;
    }

    .hero-text{
        width:95%;
    }

    .hero-text h1{
        font-size:30px;
        line-height:1.3;
    }

    .hero-text p{
        font-size:16px;
    }

}

/* ========================= */
/* HP KECIL */
/* ========================= */

@media (max-width: 480px){

    .hero{
        height:250px;
    }

    .hero-text h1{
        font-size:24px;
    }

    .hero-text p{
        font-size:14px;
    }

}
@media (max-width: 991px){

    .navbar-nav{
        text-align:center;
        padding-top:10px;
    }

    .navbar .dropdown-menu{
        text-align:center;
        border:none;
    }

    .navbar-brand{
        font-size:16px;
    }

}