/* ================= GLOBAL ================= */
body {
    font-family: "Inter", sans-serif;
    background: #f4f6f9;
}

/* HEADING */
h1,
h2,
h3,
h4,
h5 {
    font-family: "Poppins", sans-serif;
}

/* ================= NAVBAR ================= */
.navbar-elegant {
    background: linear-gradient(90deg, #0f172a, #1e293b);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-logo {
    height: 35px;
}

.brand-text {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    color: #38bdf8;
}

.navbar-elegant .nav-link {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: #e2e8f0;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar-elegant .nav-link:hover,
.navbar-elegant .nav-link.active {
    color: #38bdf8;
}

.navbar-elegant .nav-link.active {
    border-bottom: 2px solid #38bdf8;
}

.navbar-toggler {
    border: none;
}

/* ================= BANNER ================= */
.banner {
    position: relative;
    background: url("/assets/images/journey.png") no-repeat center;
    background-size: cover;
    background-position: 50% 85%;
    aspect-ratio: 3.5 / 1;
    display: flex;
    align-items: center;
}

/* overlay */
.banner .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* content */
.banner .container {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* text */
.banner-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 32px;
    letter-spacing: 1px;
}

.banner-tag {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.banner-sub {
    font-size: 14px;
    line-height: 1.6;
}

.banner-divider {
    width: 60px;
    height: 3px;
    background: #fff;
}

.logo-img {
    max-height: 100px;
}

/* ================= HEADER ================= */
.header {
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    padding: 30px 20px;
    border-bottom: 2px solid #ddd;
}

.logo-title {
    color: #0d6efd;
    font-weight: bold;
}

.logo-header {
    max-height: 120px;
}

/* ================= CAROUSEL ================= */
.carousel-img {
    height: 500px;
    object-fit: cover;
}

.carousel-indicators button {
    background-color: #0d6efd;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* ================= THUMB CAROUSEL ================= */
/* ================= THUMB CAROUSEL ================= */
.thumb-carousel {
    background: #f8f9fa;
}
/* ================= THUMB CAROUSEL ================= */
.thumb-track {
    display: flex;
    width: max-content;
    animation: scroll-left 20s linear infinite;
}
/* pause animation saat hover */
.thumb-track:hover {
    animation-play-state: paused;
}
/* cursor pointer */
.thumb-item img {
    cursor: pointer;
}

/* modal background gelap */
.modal-content {
    background: rgba(0, 0, 0, 0.8);
}
/* ITEM rapat */
.thumb-item {
    flex: 0 0 auto; /* ⭐ jangan pakai 20% */
    height: 80px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* IMAGE tetap kecil & tajam */
.thumb-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    transition: 0.3s;

    margin-right: 4px; /* ⭐ jarak tipis */
}

/* HOVER */
.thumb-item img:hover {
    transform: scale(1.1);
}
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= FOOTER ================= */
.footer {
    background: #1e1e2f;
    color: #ccc;
    padding: 40px 0;
}

.footer h5 {
    color: #fff;
    margin-bottom: 15px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #0d6efd;
    padding-left: 5px;
}

.footer p {
    font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .banner {
        background-position: 50% 90%;
        aspect-ratio: 2 / 1;
        text-align: center;
    }

    .banner-title {
        font-size: 22px;
    }

    .logo-img {
        max-height: 70px;
        margin-bottom: 10px;
    }

    .logo-header {
        max-height: 90px;
    }

    .carousel-img {
        height: 200px;
    }

    .thumb-item {
        flex: 0 0 33.33%;
    }

    .thumb-item img {
        height: 90px;
    }

    .footer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .thumb-item {
        flex: 0 0 50%;
    }
}
/* ================= SKEMA ================= */
.skema-card {
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

.skema-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skema-card .card-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.skema-card .btn {
    font-weight: 500;
}
/* ================= DETAIL SKEMA ================= */
.detail-card {
    border: none;
    border-radius: 12px;
    transition: 0.3s;
}

.detail-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.detail-card h5 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}
/* ================= ALUR SERTIFIKASI ================= */
.alur-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* HOVER */
.alur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* LABEL (OFFLINE / ONLINE) */
.alur-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 2;
}

/* IMAGE */
/* ================= ALUR SERTIFIKASI ================= */
.alur-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* HOVER */
.alur-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* LABEL (OFFLINE / ONLINE) */
.alur-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 2;
}

/* IMAGE */
.alur-image img {
    width: 100%;
    height: 400px;
    object-fit: contain; /* ⭐ tidak kepotong */
    background: #fff; /* isi space kosong */
}
/* ZOOM EFFECT */
.alur-card:hover img {
    transform: scale(1.05);
}

/* TITLE */
.section-title {
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .alur-image img {
        height: 200px;
    }
}

/* ZOOM EFFECT */
.alur-card:hover img {
    transform: scale(1.05);
}

/* TITLE */
.section-title {
    letter-spacing: 1px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .alur-image img {
        height: 200px;
    }
}
.dropdown-elegant {
    background: #1e293b;
    border-radius: 10px;
    border: none;
}

.dropdown-elegant .dropdown-item {
    color: #e2e8f0;
}

.dropdown-elegant .dropdown-item:hover {
    background: #334155;
    color: #38bdf8;
}
.login-card {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.login-card h4 {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-float i {
    margin-top: 16px;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    color: white;
}
.card:hover {
    transform: scale(1.05);
    transition: 0.3s;
}
.info-card {
    background-color: #e60000 !important; /* paksa merah */
    color: #ffffff !important; /* paksa putih */
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

.info-card h5,
.info-card h1 {
    color: #ffffff !important; /* semua teks putih */
}

.info-card:hover {
    transform: scale(1.07);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
