/* ==========================================
   Cargo Solution Indonesia
   Main Stylesheet
========================================== */

:root{

    --primary:#0d6efd;
    --secondary:#ffb400;
    --dark:#1b1b1b;
    --light:#f8f9fa;
    --white:#ffffff;
    --gray:#777;
    --border:#e5e5e5;

}

/* ==========================================
   Global
========================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:Arial, Helvetica, sans-serif;
    background:#f5f7fa;
    color:#333;
    line-height:1.7;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;
    display:block;

}

/* ==========================================
   Navbar
========================================== */

.navbar{

    background:#fff;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    transition:.3s;

}

.navbar-brand{

    font-weight:bold;
    color:var(--primary)!important;

}

.nav-link{

    font-weight:500;
    margin-left:15px;

}

.nav-link:hover{

    color:var(--primary)!important;

}

/* ==========================================
   Hero
========================================== */

.hero{

    min-height:90vh;

    display:flex;
    align-items:center;

    color:white;

    background-position:center;
    background-size:cover;

}

.hero h1{

    font-size:55px;
    font-weight:bold;

}

.hero p{

    font-size:20px;

}

/* ==========================================
   Page Header
========================================== */

.page-header{

    padding:100px 0;
    color:white;
    text-align:center;

    background-position:center;
    background-size:cover;

}

.page-header h1{

    font-size:48px;
    font-weight:bold;

}

/* ==========================================
   Section
========================================== */

section{

    padding:70px 0;

}

.section-title{

    color:var(--primary);
    font-weight:bold;
    margin-bottom:20px;

}

/* ==========================================
   Card
========================================== */

.card{

    border:none;
    border-radius:18px;
    overflow:hidden;
    transition:.3s;
    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.card:hover{

    transform:translateY(-8px);

}

.card img{

    transition:.4s;

}

.card:hover img{

    transform:scale(1.05);

}

/* ==========================================
   Service Card
========================================== */

.service-card{

    padding:35px;
    text-align:center;
    height:100%;

}

.service-card i{

    font-size:55px;
    color:var(--primary);
    margin-bottom:20px;

}

/* ==========================================
   Gallery
========================================== */

.gallery-card img{

    height:240px;
    object-fit:cover;

}

/* ==========================================
   Buttons
========================================== */

.btn-primary{

    background:var(--primary);
    border:none;

}

.btn-primary:hover{

    background:#0056d2;

}

.btn-warning{

    background:var(--secondary);
    border:none;

}

.btn-warning:hover{

    background:#f2a000;

}

/* ==========================================
   Forms
========================================== */

.form-control,
.form-select{

    border-radius:10px;
    padding:12px;

}

.form-control:focus,
.form-select:focus{

    box-shadow:none;
    border-color:var(--primary);

}

/* ==========================================
   Tables
========================================== */

.table{

    vertical-align:middle;

}

/* ==========================================
   Timeline
========================================== */

.timeline{

    border-left:3px solid var(--primary);
    padding-left:25px;

}

.timeline-item{

    position:relative;
    margin-bottom:30px;

}

.timeline-item::before{

    content:'';

    width:16px;
    height:16px;

    border-radius:50%;

    background:var(--primary);

    position:absolute;

    left:-34px;
    top:5px;

}

/* ==========================================
   Counter
========================================== */

.counter{

    background:var(--primary);
    color:white;

}

.counter h2{

    font-size:45px;

}

/* ==========================================
   Contact
========================================== */

.contact-icon{

    width:60px;
    height:60px;

    background:var(--primary);

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;
    align-items:center;

    font-size:25px;

}

/* ==========================================
   WhatsApp Floating
========================================== */

.whatsapp{

    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    background:#25D366;

    border-radius:50%;

    display:flex;

    justify-content:center;
    align-items:center;

    color:white;

    font-size:28px;

    text-decoration:none;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

    transition:.3s;

}

.whatsapp:hover{

    transform:scale(1.1);

    color:white;

}

/* ==========================================
   Footer
========================================== */

.footer{

    background:#111;
    color:white;

    padding:60px 0;

}

.footer h4{

    margin-bottom:20px;

}

.footer hr{

    border-color:#444;

}

/* ==========================================
   Animation
========================================== */

.fade-up{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(30px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/* ==========================================
   Responsive
========================================== */

@media(max-width:992px){

.hero h1{

    font-size:42px;

}

.page-header h1{

    font-size:36px;

}

}

@media(max-width:768px){

.hero{

    min-height:70vh;
    text-align:center;

}

.hero h1{

    font-size:34px;

}

section{

    padding:50px 0;

}

.nav-link{

    margin-left:0;

}

}

@media(max-width:576px){

.hero h1{

    font-size:28px;

}

.hero p{

    font-size:16px;

}

.section-title{

    font-size:26px;

}

.counter h2{

    font-size:32px;

}

}