/* ================= GLOBAL ================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(180deg, #0a1f44, #0b3c5d);
    color: #e5e7eb;
}

/* ================= NAVBAR ================= */
.navbar {
    height: 70px;
    background: rgba(11,60,93,.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    color: #fff;
}

.navbar-brand {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ================= HERO ================= */
.hero {
    padding: 110px 20px 90px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero p {
    max-width: 760px;
    margin: auto;
    font-size: 18px;
    opacity: .95;
}
/* FLOW SECTION */
.flow-section {
    background: linear-gradient(135deg, #0f172a, #020617);
    padding: 80px 20px;
}

.flow-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.flow-title {
    font-size: 32px;
    font-weight: 700;
    color: #e5e7eb;
    margin-bottom: 10px;
}

.flow-subtitle {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 50px;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.flow-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 20px;
    transition: 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
}

.flow-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #020617;
    font-size: 26px;
}

.flow-card h4 {
    color: #e5e7eb;
    font-size: 18px;
    margin-bottom: 10px;
}

.flow-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* ================= BUTTON ================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-masuk {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    box-shadow: 0 10px 22px rgba(22,163,74,.4);
}

.btn-masuk:hover {
    transform: translateY(-3px);
}

.btn-daftar {
    border: 2px solid #fff;
    color: #fff;
}

/* ================= SECTION PUTIH ================= */
.section {
    background: #f8fafc;
    color: #1e293b;
    padding: 80px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1c5d99;
}

.section-desc {
    text-align: center;
    max-width: 720px;
    margin: auto;
    color: #64748b;
}

/* ================= PETUGAS SECTION ================= */
.petugas-section {
    background: linear-gradient(180deg, #020617, #020617);
    padding: 0 20px; /* ⛔ padding atas-bawah dihilangkan */
}

.petugas-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* ================= KOLOM KIRI ================= */
.petugas-left {
    flex: 1;
}

.petugas-left h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.petugas-left p {
    max-width: 520px;
    color: #94a3b8;
    line-height: 1.7;
}

/* CARD */
.petugas-stats {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.stat-box {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 22px 28px;
    min-width: 160px;
}

.stat-number {
    font-size: 34px;
    font-weight: 700;
    color: #22d3ee;
}

.stat-label {
    font-size: 14px;
    color: #cbd5f5;
}

/* ================= KOLOM KANAN (GAMBAR) ================= */
.petugas-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.petugas-right img {
    max-height: 520px;
    width: auto;
    object-fit: contain;
    transform: scaleX(-1);
    filter: drop-shadow(0 40px 80px rgba(34,211,238,.35));
}

/* ================= FEATURES ================= */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 50px;
    max-width: 1100px;
    margin-inline: auto;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    transition: .3s;
}

.feature-card:hover {
    transform: translateY(-6px);
}

.feature-icon {
    font-size: 36px;
    color: #1c5d99;
    margin-bottom: 15px;
}

/* TIMELINE SECTION */
/* ================= TIMELINE SLIDER ================= */
.timeline-slider {
    background: linear-gradient(180deg, #020617, #0f172a);
    padding: 90px 20px;
    text-align: center;
}

.timeline-title {
    font-size: 32px;
    font-weight: 700;
    color: #e5e7eb;
}

.timeline-subtitle {
    color: #94a3b8;
    max-width: 600px;
    margin: 10px auto 50px;
}

/* WRAPPER */
.slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
}

/* SLIDER */
.slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
}

.slider::-webkit-scrollbar {
    display: none;
}

/* SLIDE ITEM */
.slide {
    min-width: 260px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    padding: 30px 25px;
    backdrop-filter: blur(8px);
    transition: .4s ease;
}

.slide:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,.1);
}

.slide i {
    font-size: 34px;
    color: #22d3ee;
    margin-bottom: 15px;
}

.slide h4 {
    color: #e5e7eb;
    margin-bottom: 8px;
}

.slide p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
}

/* BUTTON */
.slide-btn {
    background: rgba(255,255,255,.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.slide-btn:hover {
    background: #22d3ee;
    color: #020617;
}

.slide-btn.left {
    margin-right: 10px;
}

.slide-btn.right {
    margin-left: 10px;
}



/* ================= FOOTER ================= */
footer {
    background: #0b3c5d;
    text-align: center;
    padding: 28px 15px;
    font-size: 14px;
    color: #cbd5e1;
}

/* =======================================================
   GLOBAL RESPONSIVE FIX
======================================================= */

/* Pastikan tidak ada overflow horizontal */
html, body {
    max-width: 100%;
    overflow:auto;
}

/* =======================================================
   RESPONSIVE HERO / LANDING SECTION
======================================================= */

@media (max-width: 992px) {

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.3;
    }

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

    .hero-image img {
        max-width: 90%;
        height: auto;
    }
    .petugas-container {
        gap: 40px;
    }

    .petugas-left h2 {
        font-size: 28px;
    }

    .petugas-right img {
        max-height: 380px;
    }
}

/* =======================================================
   PETUGAS STAT BOX (BIANG MASALAH SUDAH DI FIX)
======================================================= */

@media (max-width: 768px) {

    .petugas-container {
        flex-direction: column;
        text-align: center;
    }

    .petugas-left p {
        margin: auto;
        font-size: 14px;
    }

    /* CARD JADI 1 KOLOM */
    .petugas-stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px;
        margin-bottom: 50px;
    }

    .stat-box {
        width: auto;
        min-width: unset;
        padding: 18px;
    }

    .stat-number {
        font-size: 22px;
    }

    /* 🔥 GAMBAR DISEMBUNYIKAN */
    .petugas-right {
        display: none;
    }
}


/* =======================================================
   TIMELINE / SLIDER ALUR PENGGUNAAN
======================================================= */

@media (max-width: 768px) {

    .timeline-wrapper {
        padding: 20px 0;
    }

    .timeline-slide {
        padding: 20px;
        min-height: 220px;
    }

    .timeline-step h4 {
        font-size: 16px;
    }

    .timeline-step p {
        font-size: 14px;
        line-height: 1.5;
    }
}


/* =======================================================
   BUTTON RESPONSIVE
======================================================= */

@media (max-width: 576px) {

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
}

/* =======================================================
   EXTRA SMALL DEVICE (iPhone SE, Android kecil)
======================================================= */

@media (max-width: 390px) {

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .stat-box {
        padding: 14px;
    }

    .timeline-slide {
        padding: 16px;
    }
        .petugas-content h2 {
        font-size: 20px;
    }

    .petugas-content p {
        font-size: 13px;
    }

    .stat-box {
        padding: 14px;
    }

    .stat-number {
        font-size: 20px;
    }
}

/* =======================================================
   LANDSCAPE MODE MOBILE
======================================================= */

@media (max-width: 768px) and (orientation: landscape) {

    .hero-container {
        gap: 24px;
    }

    .timeline-slide {
        min-height: 180px;
    }
}
