*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f4f6fa;
    color:#222;
    overflow-x:hidden;
    line-height:1.7;
}

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

.navbar{
    background:#09142e;
    padding:12px 0;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.brand-logo{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    margin-right:10px;
}

.navbar-brand{
    font-weight:700;
    font-size:20px;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:100vh;
    background:url('assets/bg.jpg') center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding:120px 20px 80px;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:950px;
}

.logo-group{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.logo-main,
.logo-side{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    background:white;
    padding:6px;
}

.hero h1{
    font-size:3.2rem;
    font-weight:800;
    margin-bottom:10px;
}

.hero h2{
    font-size:2rem;
    font-weight:700;
    color:#ffc857;
    margin-bottom:15px;
}

.hero-line{
    width:180px;
    border:2px solid #ffc857;
    margin:25px auto;
}

.hero p{
    font-size:18px;
    margin-bottom:10px;
}

/* =========================
   CONTENT
========================= */

.section-wrap{
    margin-top:-60px;
    position:relative;
    z-index:10;
}

.card-box{
    background:white;
    border-radius:24px;
    padding:35px;
    margin-bottom:30px;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.dark-box{
    background:linear-gradient(135deg,#0b1f47,#12387e);
    color:white;
}

.title{
    font-size:2rem;
    font-weight:800;
    margin-bottom:15px;
    color:#0d2d66;
}

.dark-box .title{
    color:white;
}

.sub-title{
    font-size:1.3rem;
    font-weight:700;
    margin-top:20px;
    margin-bottom:10px;
}

.mission-list li{
    margin-bottom:10px;
}

.item-jadwal{
    background:rgba(255,255,255,.08);
    padding:20px;
    border-radius:16px;
    text-align:center;
}

.item-jadwal h5{
    font-weight:700;
    margin-bottom:10px;
}

/* =========================
   RENUNGAN
========================= */

.renungan-box{
    margin-top:20px;
    background:#f8f9fa;
    border-left:5px solid #ffc857;
    padding:25px;
    border-radius:18px;
    line-height:1.9;
}

.loading-renungan{
    color:#666;
}

.renungan-box h4{
    color:#0d2d66;
    font-weight:800;
    margin-bottom:10px;
}

.tanggal{
    color:#777;
    font-size:14px;
    margin-bottom:15px;
}

.ayat{
    color:#0d2d66;
    font-weight:700;
    margin-top:15px;
    margin-bottom:15px;
    font-size:18px;
}

.isi-renungan{
    white-space:pre-line;
    color:#333;
}

.sumber{
    margin-top:20px;
    padding-top:10px;
    border-top:1px solid #ddd;
    color:#777;
    font-size:13px;
}

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

footer{
    background:#09142e;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* =========================
   CHATBOT
========================= */

.chatbot-box{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;
}

.chatbot-toggle{
    width:68px;
    height:68px;
    border:none;
    border-radius:50%;
    background:#0d2d66;
    color:white;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(0,0,0,.2);
}

.chat-window{
    width:360px;
    max-width:95vw;
    background:white;
    border-radius:24px;
    overflow:hidden;
    display:none;
    margin-bottom:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.chat-header{
    background:#0d2d66;
    color:white;
    padding:18px;
    font-weight:700;
    font-size:18px;
}

.chat-body{
    height:360px;
    overflow-y:auto;
    padding:18px;
    background:#f5f5f5;
}

.bot-msg,
.user-msg{
    padding:14px 16px;
    border-radius:18px;
    margin-bottom:14px;
    max-width:85%;
    font-size:15px;
    line-height:1.8;
}

.bot-msg{
    background:#e9ecef;
    color:#222;
}

.user-msg{
    background:#0d2d66;
    color:white;
    margin-left:auto;
}

.chat-footer{
    display:flex;
    border-top:1px solid #ddd;
}

.chat-footer input{
    flex:1;
    border:none;
    padding:15px;
    outline:none;
    font-size:15px;
}

.chat-footer button{
    width:65px;
    border:none;
    background:#ffc857;
    cursor:pointer;
    font-size:20px;
}

/* =========================
   SCROLLBAR
========================= */

.chat-body::-webkit-scrollbar{
    width:6px;
}

.chat-body::-webkit-scrollbar-thumb{
    background:#bbb;
    border-radius:10px;
}

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

@media(max-width:768px){

    .hero{
        padding:110px 20px 60px;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero h2{
        font-size:1.3rem;
    }

    .hero p{
        font-size:15px;
    }

    .logo-main,
    .logo-side{
        width:90px;
        height:90px;
    }

    .title{
        font-size:1.5rem;
    }

    .card-box{
        padding:25px;
    }

    .chat-window{
        width:95vw;
    }

    .chat-body{
        height:320px;
    }

}