/* =========================================
   SWIFTTRACK LOGISTICS
   STYLE.CSS
========================================= */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#333;
    line-height:1.6;
}

/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   NAVIGATION
========================== */

nav{
    background:#003366;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    position:sticky;
    top:0;
    z-index:999;
}

.logo a{
    color:#fff;
    text-decoration:none;
    font-size:30px;
    font-weight:bold;
    letter-spacing:1px;
}

nav ul{
    display:flex;
    list-style:none;
}

nav ul li{
    margin-left:30px;
}

nav ul li a{
    color:#fff;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

nav ul li a:hover{
    color:#ff9900;
}

/* ==========================
   HERO
========================== */

.hero{
    position:relative;
    min-height:100vh;
    background:url("../images/shipping.jpg") center center/cover no-repeat;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        rgba(0,45,90,.75),
        rgba(0,45,90,.75)
    );

    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-content{
    width:90%;
    max-width:900px;
    text-align:center;
    color:#fff;
}

.hero-content h1{
    font-size:65px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:25px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:40px;
    color:#f2f2f2;
}

/* BUTTONS */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary{
    background:#ff9900;
    color:#fff;
    padding:16px 36px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-primary:hover{
    background:#e67e00;
}

.btn-secondary{
    background:#fff;
    color:#003366;
    padding:16px 36px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-secondary:hover{
    background:#ececec;
}
/* =========================================
   SERVICES SECTION
========================================= */

.services{
    padding:90px 0;
    background:#ffffff;
    text-align:center;
}

.services h2{
    font-size:42px;
    color:#003366;
    margin-bottom:15px;
}

.section-title{
    color:#666;
    font-size:18px;
    margin-bottom:60px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    padding:40px 30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 35px rgba(0,0,0,.12);
}

.service-card i{
    font-size:55px;
    color:#ff9900;
    margin-bottom:25px;
}

.service-card h3{
    color:#003366;
    margin-bottom:15px;
    font-size:24px;
}

.service-card p{
    color:#666;
    font-size:16px;
    line-height:1.7;
}

/* =========================================
   WHY CHOOSE US
========================================= */

.why-us{
    padding:90px 0;
    background:#f5f7fb;
    text-align:center;
}

.why-us h2{
    font-size:42px;
    color:#003366;
    margin-bottom:50px;
}

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.feature{
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.feature:hover{
    transform:translateY(-8px);
}

.feature i{
    font-size:48px;
    color:#ff9900;
    margin-bottom:20px;
}

.feature h3{
    color:#003366;
    margin-bottom:12px;
}

.feature p{
    color:#666;
}

/* =========================================
   COMPANY STATS
========================================= */

.stats{
    background:#003366;
    color:#fff;
    padding:80px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    text-align:center;
}

.stats-grid h2{
    font-size:48px;
    color:#ff9900;
    margin-bottom:10px;
}

.stats-grid p{
    font-size:18px;
}

/* =========================================
   CALL TO ACTION
========================================= */

.cta{
    background:#ff9900;
    color:#fff;
    text-align:center;
    padding:90px 20px;
}

.cta h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta p{
    font-size:20px;
    margin-bottom:35px;
}

.cta .btn-primary{
    background:#003366;
}

.cta .btn-primary:hover{
    background:#002244;
}
/* =========================================
   FOOTER
========================================= */

footer{
    background:#001f3f;
    color:#fff;
    text-align:center;
    padding:35px 20px;
}

footer p{
    font-size:16px;
    letter-spacing:.5px;
}

/* =========================================
   GENERAL SPACING
========================================= */

section{
    width:100%;
}

h2{
    font-weight:700;
}

p{
    line-height:1.7;
}

/* =========================================
   SMOOTH HOVER EFFECTS
========================================= */

.service-card,
.feature,
.btn-primary,
.btn-secondary{
    transition:all .3s ease;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width:991px){

.hero-content h1{
    font-size:48px;
}

.hero-content p{
    font-size:18px;
}

nav{
    padding:15px 5%;
}

nav ul li{
    margin-left:20px;
}

.services,
.why-us,
.stats,
.cta{
    padding:70px 20px;
}

}

@media (max-width:768px){

nav{
    flex-direction:column;
    align-items:center;
}

.logo{
    margin-bottom:15px;
}

nav ul{
    flex-direction:column;
    width:100%;
    text-align:center;
}

nav ul li{
    margin:12px 0;
}

.hero{
    min-height:85vh;
}

.hero-content h1{
    font-size:36px;
}

.hero-content p{
    font-size:17px;
}

.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.btn-primary,
.btn-secondary{
    width:220px;
    text-align:center;
}

.service-grid,
.features,
.stats-grid{
    grid-template-columns:1fr;
}

}

@media (max-width:480px){

.hero-content h1{
    font-size:30px;
}

.hero-content p{
    font-size:16px;
}

.services h2,
.why-us h2,
.cta h2{
    font-size:30px;
}

.stats-grid h2{
    font-size:38px;
}

}
/* ===================================
   TRACK PAGE
=================================== */

.track-hero{
    background:url("../images/shipping.jpg") center center/cover no-repeat;
    min-height:420px;
    position:relative;
}

.track-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,45,90,.78);
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.track-hero h1{
    color:#fff;
    font-size:52px;
    margin-bottom:20px;
}

.track-hero p{
    color:#fff;
    font-size:20px;
    max-width:700px;
    margin:0 auto 35px;
}

.track-form{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.track-form input{
    width:420px;
    max-width:100%;
    padding:18px;
    border:none;
    border-radius:8px;
    font-size:17px;
}

.track-form button{
    background:#ff9900;
    color:#fff;
    border:none;
    padding:18px 35px;
    border-radius:8px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.track-form button:hover{
    background:#e67e00;
}
/* ==========================================
   NEW TRACKING PAGE
========================================== */

.track-search{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:35px;
}

.track-search input{
    width:450px;
    max-width:100%;
    padding:18px;
    border:none;
    border-radius:10px;
    font-size:17px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.track-search button{
    background:#ff9900;
    color:#fff;
    border:none;
    padding:18px 35px;
    border-radius:10px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.track-search button:hover{
    background:#e67e00;
}

.tracking-wrapper{
    width:90%;
    max-width:1200px;
    margin:60px auto;
}

.tracking-status{
    background:#003366;
    color:#fff;
    border-radius:15px;
    padding:30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.status-left h2{
    margin-bottom:10px;
    font-size:30px;
}

.status-left h3{
    font-size:24px;
    margin-top:8px;
}

.status-pill{
    background:#28a745;
    color:#fff;
    padding:12px 24px;
    border-radius:30px;
    font-weight:bold;
    font-size:16px;
}

.tracking-details{
    background:#fff;
    padding:35px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    margin-bottom:40px;
}

.tracking-details h2{
    color:#003366;
    margin-bottom:30px;
}

.details-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.detail-box{
    background:#f8f9fc;
    border-left:5px solid #ff9900;
    padding:20px;
    border-radius:10px;
}

.detail-box h4{
    color:#003366;
    margin-bottom:8px;
}

.detail-box p{
    color:#555;
    font-size:16px;
}

.tracking-progress{
    background:#fff;
    border-radius:15px;
    padding:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.tracking-progress h2{
    color:#003366;
    margin-bottom:35px;
}

.progress-item{
    display:flex;
    align-items:flex-start;
    margin-bottom:30px;
}

.progress-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#ddd;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:20px;
    margin-right:20px;
}

.progress-item.completed .progress-icon{
    background:#28a745;
}

.progress-item.active .progress-icon{
    background:#007bff;
}

.progress-content{
    background:#f8f9fc;
    padding:18px 22px;
    border-radius:10px;
    width:100%;
}

.progress-content h3{
    color:#003366;
    margin-bottom:8px;
}

.tracking-error{
    background:#fff3f3;
    border:2px solid #ff4d4d;
    border-radius:15px;
    padding:40px;
    text-align:center;
}

.tracking-error i{
    font-size:55px;
    color:#ff4d4d;
    margin-bottom:20px;
}

@media(max-width:768px){

.tracking-status{
    flex-direction:column;
    gap:20px;
    text-align:center;
}

.details-grid{
    grid-template-columns:1fr;
}

.track-search{
    flex-direction:column;
}

.track-search button{
    width:100%;
    max-width:450px;
}

}
/* ==========================================
   CONTACT PAGE
==========================================*/

.contact-section{
    padding:80px 0;
    background:#f5f7fb;
}

.contact-container{
    width:90%;
    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:flex-start;
}

.contact-info{
    background:#003366;
    color:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.contact-info h2{
    font-size:34px;
    margin-bottom:25px;
}

.contact-info p{
    margin:20px 0;
    font-size:18px;
    line-height:1.8;
}

.contact-info i{
    width:35px;
    color:#ff9900;
    font-size:20px;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.10);
}

.contact-form h2{
    color:#003366;
    margin-bottom:30px;
    font-size:34px;
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:16px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;
    outline:none;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#ff9900;
}

.contact-form textarea{
    resize:vertical;
    min-height:180px;
}

.contact-form button{
    background:#ff9900;
    color:#fff;
    border:none;
    padding:16px;
    font-size:18px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
}

.contact-form button:hover{
    background:#e67e00;
}

@media(max-width:900px){

.contact-container{
    grid-template-columns:1fr;
}

.contact-info,
.contact-form{
    padding:30px;
}

}
/*==================================
SHIPMENT HISTORY
===================================*/

.tracking-history{

margin-top:50px;

background:#fff;

padding:35px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.tracking-history h2{

color:#003366;

margin-bottom:25px;

font-size:30px;

}

.history-card{

display:flex;

align-items:flex-start;

margin-bottom:25px;

padding:20px;

background:#f8f9fb;

border-left:5px solid #ff9900;

border-radius:10px;

}

.history-icon{

width:50px;

height:50px;

background:#003366;

color:#fff;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:20px;

margin-right:20px;

}

.history-info h3{

margin-bottom:8px;

color:#003366;

}

.history-info p{

margin-bottom:6px;

color:#555;

}

.history-info small{

color:#888;

font-size:13px;

}