html {
    scroll-behavior: smooth;
}
html, body{
    width: 100%;
    overflow-x: hidden;
}
.hero{
    background-size:cover;
    background-position:center;
    color:white;
    padding:120px 0;
}

.hero h1{
    font-weight:800;
    text-shadow:0 3px 10px rgba(0,0,0,.6);
}

.hero p{
    text-shadow:0 2px 6px rgba(0,0,0,.5);
}

/* mavbar */
.navbar-brand img {
    max-height: 36px;
    width: auto;
}

.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.info-badge{
    background:#ffc107;
    color:#000;
    padding:10px 18px;
    border-radius:30px;
    font-weight:700;
}

.step-card{
    border-left:5px solid #ffc107;
    color: #000;
    background:rgba(255,255,255,.9);
}

.select-card:hover{
    transform:scale(1.04);
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.select-card{transition:.3s;}

/* jadwal */
.timeline {
    position: relative;
    margin-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #0d6efd;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: #f8f9fa;
    padding: 16px 20px;
    border-radius: 8px;
    width: 100%;
}

/* =====================
   TIMELINE RESPONSIVE
   ===================== */

.timeline-responsive {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* garis horizontal (desktop) */
.timeline-responsive::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0d6efd;
    z-index: 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    flex: 1;
    z-index: 1;
}

.circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* =====================
   MODE MOBILE (VERTIKAL)
   ===================== */
@media (max-width: 991px) {

    .timeline-responsive {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
        padding-left: 0;
    }

    /* GARIS VERTIKAL */
    .timeline-responsive::before {
        top: 0;
        bottom: 0;
        left: 22px; /* TEPAT TENGAH LINGKARAN (44 / 2) */
        width: 3px;
        height: auto;
    }

    .timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding-left: 44px; /* offset setelah lingkaran */
        min-height: 44px;   /* pastikan garis punya tinggi */
        text-align: left;
        padding-bottom: 4px;
    }

    .circle {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }

    .timeline-step h6 {
        font-size: 1.05rem;      /* NAIKKAN */
        font-weight: 700;        /* TEGAS */
        margin-top: 2px;
        margin-bottom: 6px;
        color: #212529;          /* hitam tegas */
    }

    .timeline-step p {
        font-size: 0.95rem;      /* jangan terlalu kecil */
        font-weight: 500;        /* medium, bukan tipis */
        line-height: 1.6;        /* nyaman dibaca */
        color: #495057;
    }
}

@media (max-width: 576px) {
    .timeline {
        margin-left: 10px;
    }

    .timeline-content {
        font-size: 0.95rem;
    }
}


/* ===== BRAND COLORS ===== */
:root{
    --brand-blue:#002b5b;
    --brand-blue-dark:#001a3a;
    --brand-gold:#ffc107;
}

/* ===== FOOTER MAIN ===== */
.footer-container{
    background: linear-gradient(180deg, var(--brand-blue-dark), var(--brand-blue));
    color:#fff;
    padding-top:80px !important;
    padding-bottom:80px !important;
}

.footer-container h5,
.footer-container .fw-bold{
    color:var(--brand-gold);
}

.footer-container a{
    color:#e0e0e0;
    text-decoration:none;
}

.footer-container a:hover{
    color:var(--brand-gold);
    text-decoration:underline;
}

.footer-container .border-top{
    border-color:var(--brand-gold)!important;
    opacity:.6;
}

.footer-container address{
    font-style:normal;
    color:#ddd;
}

/* social icons hover */
.footer-container img{
    filter:brightness(-1) invert(1);
    transition:.3s;
}
.footer-container a:hover img{
    filter:none;
    transform:scale(1.1);
}
.footer-container .row > div{
    margin-bottom:20px;
}

/* spacing antar elemen */
.footer-container h5,
.footer-container .fw-bold{
    margin-bottom:15px;
}

.footer-container address{
    line-height:1.8;
}

/* footer bottom lebih tebal */
/* ===== FOOTER BOTTOM ===== */
footer.bg-dark{
    background:var(--brand-blue-dark)!important;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:25px !important;
    padding-bottom:25px !important;
}

.deadline-strip{
    display:inline-block;
    background:var(--brand-gold);
    color:#000;
    font-weight:700;
    padding:12px 28px;
    border-radius:50px;
    font-size:1.1rem;
    max-width:90%;
    white-space:normal;
    box-shadow:0 6px 20px rgba(0,0,0,.3);
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 768px){
.deadline-strip{
        font-size:1rem;
        padding:10px 20px;
        line-height:1.3;
    }
/* HERO */
.hero{
    padding:90px 20px;
    background-position:center top;
}

.hero h1{
    font-size:2.4rem;
    line-height:1.2;
}

.hero p{
    font-size:1.2rem;
}

/* CTA buttons */
.hero .btn{
    width:100%;
    margin-bottom:12px;
}

/* Trust bar */
.hero .row > div{
    margin-bottom:20px;
}

/* SECTION HEADERS */
.display-4{
    font-size:2.2rem;
}

.fs-4{
    font-size:1.3rem !important;
}

/* JALUR SELEKSI CARDS */
.select-card{
    margin-bottom:20px;
}

.select-card .display-4{
    font-size:3rem;
}

/* INFORMASI PENTING */
.card .fs-2{
    font-size:2rem !important;
}
.card .display-3{
    font-size:3.2rem;
}

/* FOOTER */
.footer-container{
    text-align:center;
}

.footer-container address{
    text-align:center;
}

.footer-container .d-flex{
    justify-content:center;
    flex-wrap:wrap;
}

.footer-container ul{
    padding-left:0;
}
}
