/* ===============================
   PMB MADRASAH - CUSTOM FRONT CSS
   Pengganti CSS ANBK
   =============================== */

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* ================= NAVBAR ================= */

.navbar {
    background: #138D75 !important;
    padding: 10px 20px;
}

.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #ffd54f !important;
}

/* ================= HOME BANNER ================= */

.home-banner {
    position: relative;
    padding: 80px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #138D75, #0E6655);
}

.home-banner h5 {
    font-size: 28px;
    font-weight: 600;
}

.home-banner p {
    font-size: 16px;
}

/* ================= CARD LOGIN ================= */

.card-login {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-login .card-body {
    padding: 25px;
}

.card-login .form-control {
    border-radius: 8px;
    font-size: 14px;
}

/* ================= BUTTON ================= */

.btn-primary {
    background: #117864;
    border: none;
    border-radius: 8px;
}

.btn-primary:hover {
    background: #0E6655;
}

.btn-warning {
    border-radius: 8px;
}

/* ================= FORM ================= */

.form-control {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: #138D75;
    box-shadow: 0 0 0 0.2rem rgba(19,141,117,0.25);
}

/* ================= SECTION ================= */

section {
    padding: 60px 0;
}

/* ================= STATISTIK CARD ================= */

.statistik .card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.statistik .card-header {
    font-weight: 600;
    text-align: center;
}

.statistik h2 {
    font-weight: bold;
}

/* ================= TABLE ================= */

.table {
    background: #ffffff;
}

.table th {
    background: #138D75;
    color: white;
}

/* ================= ACTIVITY LIST ================= */

.activities .activity {
    display: flex;
    margin-bottom: 20px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #138D75;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.activity-detail {
    flex: 1;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .home-banner {
        text-align: center;
        padding: 50px 20px;
    }

    .home-banner h5 {
        font-size: 20px;
    }
}


/* ============================= */
/*        MODERN HEADER          */
/* ============================= */

.home-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    z-index: 9999;
}

.home-header.scrolled {
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* Logo */
.logo-img {
    transition: 0.3s;
}

.home-header.scrolled .logo-img {
    height: 48px;
}

/* Title */
.header-title .title-main {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    color: #138D75;
}

.header-title .title-sub {
    font-size: 13px;
    color: #555;
}

/* Menu */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    margin-left: 18px;
    transition: 0.3s;
    position: relative;
}

/* Hover underline effect */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #138D75;
    transition: 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #138D75 !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Button */
.btn-daftar {
    background: #138D75;
    color: white;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-daftar:hover {
    background: #0e6f5c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(19, 141, 117, 0.4);
}

/* Agar konten tidak tertutup header */
body {
    padding-top: 90px;
}