/* ==========================================================
   CMB EKSPEDISI
   Tracking Portal V3
========================================================== */

:root{

    --primary:#198754;
    --primary-dark:#146c43;
    --light:#f8fafc;
    --border:#e5e7eb;
    --dark:#1f2937;
    --gray:#6b7280;
    --shadow:0 12px 35px rgba(0,0,0,.08);
    --radius:20px;

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#f7faf9;

    color:var(--dark);

    padding-top:80px;

}

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

.navbar{

    height:80px;

    background:#fff;

    box-shadow:0 2px 15px rgba(0,0,0,.05);

}

.navbar-brand img{

    height:42px;

}

.btn-success{

    background:var(--primary);

    border:none;

    border-radius:50px;

    padding:12px 24px;

    font-weight:600;

}

.btn-success:hover{

    background:var(--primary-dark);

}

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

.hero{

    padding:40px 0 60px;

    background:linear-gradient(
        180deg,
        #ffffff,
        #eef9f2
    );

}

.hero-image{

    width:100%;

    max-width:560px;

    display:block;

    margin:auto;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:#e8f8ef;

    color:var(--primary);

    padding:10px 18px;

    border-radius:50px;

    font-size:14px;

    font-weight:600;

    margin-bottom:20px;

}

.hero-title{

    font-size:54px;

    font-weight:700;

    line-height:1.15;

    margin-bottom:20px;

}

.hero-subtitle{

    color:var(--gray);

    line-height:1.8;

    font-size:18px;

    margin-bottom:30px;

}

/* ==========================================================
TRACKING BOX
========================================================== */

.tracking-box{

    background:#fff;

    border-radius:20px;

    padding:16px;

    box-shadow:var(--shadow);

    margin-bottom:25px;

}

.tracking-form{

    display:flex;

    gap:12px;

}

.tracking-form input{

    flex:1;

    height:56px;

    border:1px solid var(--border);

    border-radius:14px;

    padding:0 20px;

    font-size:16px;

}

.tracking-form input:focus{

    border-color:var(--primary);

    outline:none;

    box-shadow:0 0 0 .2rem rgba(25,135,84,.15);

}

.tracking-form button{

    height:56px;

    min-width:170px;

    border-radius:14px;

}

/* ==========================================================
FEATURE
========================================================== */

.hero-feature{

    display:flex;

    gap:25px;

    flex-wrap:wrap;

    color:var(--gray);

    font-size:15px;

}

.hero-feature i{

    color:var(--primary);

    margin-right:6px;

}

/* ==========================================================
SERVICES
========================================================== */

.services{

    padding:40px 0 60px;

}

.service-card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    text-align:center;

    box-shadow:var(--shadow);

    height:100%;

    transition:.25s;

}

.service-card:hover{

    transform:translateY(-4px);

}

.service-card i{

    font-size:34px;

    color:var(--primary);

    margin-bottom:15px;

}

.service-card h6{

    font-weight:600;

    margin-bottom:10px;

}

.service-card small{

    color:var(--gray);

    line-height:1.6;

}

/* ==========================================================
TRACKING
========================================================== */

.tracking-section{

    padding:20px 0 70px;

}

#trackingResult{

    min-height:120px;

}

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

footer{

    background:#fff;

    border-top:1px solid var(--border);

    padding:40px 0;

    text-align:center;

}

.footer-logo{

    height:40px;

    margin-bottom:15px;

}

footer p{

    color:var(--gray);

    margin:0;

}

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

@media (max-width:991.98px){

    .hero{

        padding:20px 0 40px;

        text-align:center;

    }

    .hero-title{

        font-size:38px;

    }

    .hero-subtitle{

        font-size:16px;

    }

    .tracking-form{

        flex-direction:column;

    }

    .tracking-form button{

        width:100%;

    }

    .hero-feature{

        justify-content:center;

    }

}

@media (max-width:576px){

    body{

        padding-top:72px;

    }

    .navbar{

        height:72px;

    }

    .navbar-brand img{

        height:36px;

    }

    .hero-title{

        font-size:30px;

    }

    .hero-image{

        max-width:100%;

        margin-bottom:25px;

    }

}

/* ==========================================================
TIMELINE V3
========================================================== */

.timeline{

    position:relative;

    padding-left:28px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:17px;

    top:0;

    bottom:0;

    width:2px;

    background:#dfe5eb;

}

.timeline-item{

    position:relative;

    padding-left:42px;

    margin-bottom:30px;

}

.timeline-item:last-child{

    margin-bottom:0;

}

.timeline-dot{

    position:absolute;

    left:-1px;

    top:0;

    width:36px;

    height:36px;

    border-radius:50%;

    background:#198754;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 5px 15px rgba(25,135,84,.25);

    z-index:2;

}

.timeline-content{

    background:#f8fafc;

    border-radius:14px;

    padding:18px;

    border:1px solid #e5e7eb;

}

.branch-card{

    background:#fff;

    border-radius:20px;

    padding:35px 25px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.25s;

    height:100%;
}

.branch-card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.branch-icon{

    width:90px;

    height:90px;

    object-fit:contain;

    margin-bottom:20px;

}

.branch-card h5{

    font-weight:700;

    margin-bottom:12px;

}

.branch-card p{

    color:#6c757d;

    min-height:48px;

    margin-bottom:28px;

    line-height:1.6;

}

.branch-wa{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    height:50px;

    border-radius:14px;

    background:#25D366;

    border:none;

    color:#fff;

    font-weight:600;

    font-size:15px;

    text-decoration:none;

}

.branch-wa i{

    font-size:20px;

}

.branch-wa:hover,
.branch-wa:focus,
.branch-wa:active{

    background:#25D366 !important;

    color:#fff !important;

    border:none;

    box-shadow:none;

}