/* ============================================
   HancoTrans - Main Stylesheet
   Color Scheme: Blue (#0d47a1) & Orange (#ff6d00)
   ============================================ */

:root {
    --primary: #0d47a1;
    --primary-light: #1565c0;
    --primary-dark: #0a3680;
    --accent: #ff6d00;
    --accent-light: #ff8f00;
    --accent-dark: #e65100;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text: #333333;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-bs-theme="dark"] {
    --primary: #42a5f5;
    --primary-light: #64b5f6;
    --primary-dark: #1e88e5;
    --dark: #0f0f1a;
    --dark-light: #1a1a2e;
    --text: #e0e0e0;
    --text-light: #adb5bd;
    --bg-light: #121225;
    --bg-white: #1a1a2e;
    --border: #2d2d44;
    --shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* ============================================
   Base Styles
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}
html {
    overflow-y: scroll;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--dark); line-height: 1.3; }
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 { color: #fff; }

img { max-width: 100%; height: auto; }

.section-padding { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(13,71,161,0.3);
}

.bg-accent {
    background: var(--accent) !important;
    color: #fff !important;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,109,0,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-info span { color: rgba(255,255,255,0.78); }
.top-bar-info i { color: var(--accent); margin-right: 5px; font-size: 0.78rem; }
.top-bar-links a {
    color: rgba(255,255,255,0.78);
    font-size: 0.84rem;
    font-weight: 500;
    transition: var(--transition);
}
.top-bar-links a:hover { color: var(--accent); }
.theme-toggle {
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 3px 10px;
    font-size: 0.78rem;
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: rgba(255,109,0,0.08); }

/* ============================================
   Navbar - Modern Glass Design
   ============================================ */
#mainNav {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 8px 0;
    z-index: 1030;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
[data-bs-theme="dark"] #mainNav {
    background: rgba(26,26,46,0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
#mainNav.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.99);
}
[data-bs-theme="dark"] #mainNav.scrolled {
    background: rgba(26,26,46,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

/* Logo */
.logo-text {
    display: flex;
    align-items: center;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 11px;
    margin-right: 10px;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(13,71,161,0.25);
    transition: var(--transition);
}
.navbar-brand:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(13,71,161,0.35);
}
.logo-hanco { color: var(--primary); }
.logo-trans { color: var(--accent); }

/* Nav Links - Desktop */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    padding: 10px 16px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.01em;
}
.navbar-nav .nav-link i {
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.65;
}
.navbar-nav .nav-link:hover {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(13,71,161,0.06), rgba(13,71,161,0.03));
}
.navbar-nav .nav-link:hover i {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-1px);
}

/* Active state — pill indicator */
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(13,71,161,0.08), rgba(13,71,161,0.04));
    font-weight: 700;
}
.navbar-nav .nav-link.active i {
    opacity: 1;
    color: var(--accent);
}
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 10px;
    animation: navIndicatorIn 0.3s ease forwards;
}
@keyframes navIndicatorIn {
    from { width: 0; opacity: 0; }
    to   { width: 22px; opacity: 1; }
}

/* CTA Quote Button - Desktop */
.nav-quote-btn {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(255,109,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    position: relative;
    overflow: hidden;
}
.nav-quote-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.nav-quote-btn:hover::before { left: 100%; }
.nav-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,109,0,0.4);
}

/* Mobile Quote Button */
.nav-quote-btn-mobile {
    width: 38px;
    height: 38px;
    border-radius: 10px !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 3px 12px rgba(255,109,0,0.3);
}

/* Custom Hamburger Menu */
.hamburger-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--border) !important;
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    transition: all 0.3s ease;
}
.hamburger-btn:focus { box-shadow: none; }
.hamburger-btn:hover { border-color: var(--primary) !important; }
.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
/* Hamburger → Close animation */
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Divider */
.nav-mobile-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
    opacity: 0.5;
}

/* ============================================
   Navbar - Mobile Responsive Overrides
   ============================================ */
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse {
        background: var(--bg-white);
        border-radius: 16px;
        margin-top: 12px;
        padding: 12px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.10);
        border: 1px solid var(--border);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    [data-bs-theme="dark"] #mainNav .navbar-collapse {
        background: var(--dark-light);
        border-color: rgba(255,255,255,0.08);
        box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    }
    .navbar-nav .nav-item { width: 100%; }
    .navbar-nav .nav-link {
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
        gap: 12px;
    }
    .navbar-nav .nav-link i {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(13,71,161,0.08), rgba(13,71,161,0.04));
        border-radius: 10px;
        font-size: 1rem;
        opacity: 0.85;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }
    .navbar-nav .nav-link:hover i,
    .navbar-nav .nav-link.active i {
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: #fff !important;
        opacity: 1;
        transform: none;
    }
    .navbar-nav .nav-link.active::after { display: none; }
    .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(13,71,161,0.08), rgba(255,109,0,0.04));
        border-left: 3px solid var(--accent);
    }

    /* Staggered entrance animation */
    .navbar-collapse.show .nav-item,
    .navbar-collapse.collapsing .nav-item {
        animation: navSlideIn 0.35s ease forwards;
        opacity: 0;
    }
    .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.04s; }
    .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.08s; }
    .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.12s; }
    .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.16s; }
    .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.20s; }
    .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.24s; }
    .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.28s; }
    .navbar-collapse.show .nav-item:nth-child(8) { animation-delay: 0.32s; }
    .navbar-collapse.show .nav-item:nth-child(9) { animation-delay: 0.36s; }
    @keyframes navSlideIn {
        from { opacity: 0; transform: translateX(-12px); }
        to   { opacity: 1; transform: translateX(0); }
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.85)),
                url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,109,0,0.15), transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.hero-section .container {
    position: relative;
    z-index: 1;
}
.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-section h1 span { color: var(--accent); }
.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 550px;
}
.hero-buttons .btn { margin-right: 15px; margin-bottom: 10px; padding: 14px 35px; font-size: 1.05rem; }

/* Hero Truck Image */
.hero-truck-wrapper {
    position: relative;
    text-align: center;
}
.hero-truck-img {
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.15);
    transition: transform 0.6s ease;
}
.hero-truck-img:hover {
    transform: scale(1.03);
}
.hero-truck-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 25px rgba(255,109,0,0.4);
    white-space: nowrap;
}
.hero-truck-badge i { margin-right: 6px; }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}
.hero-stat { text-align: center; }
.hero-stat h3 { font-size: 2.2rem; color: var(--accent); margin-bottom: 5px; }
.hero-stat p { font-size: 0.9rem; opacity: 0.8; margin: 0; }

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.feature-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(13,71,161,0.1), rgba(255,109,0,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}
.feature-card:hover .icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    transform: scale(1.1);
}
.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-choose {
    background: linear-gradient(135deg, rgba(13,71,161,0.92), rgba(26,26,46,0.88)),
                url('https://images.unsplash.com/photo-1591768793355-74d04bb6608f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: #fff;
}
.why-choose .section-title h2 { color: #fff; }
.why-choose .section-title p { color: rgba(255,255,255,0.7); }

.why-card {
    text-align: center;
    padding: 30px 20px;
}
.why-card .icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent);
    border: 2px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.why-card:hover .icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(10deg) scale(1.1);
}
.why-card h5 { color: #fff; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    right: 20px;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.8;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.testimonial-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
}
.testimonial-author .info h6 { margin-bottom: 2px; font-size: 1rem; }
.testimonial-author .info span { color: var(--text-light); font-size: 0.85rem; }
.testimonial-stars { color: #ffc107; margin-bottom: 15px; }

/* ============================================
   Page Header / Banner
   ============================================ */
.page-header {
    background: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.82)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 100px 0 70px;
    color: #fff;
    text-align: center;
    position: relative;
}
.page-header-services {
    background-image: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.82)),
                      url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1920&q=80');
}
.page-header-about {
    background-image: linear-gradient(135deg, rgba(13,71,161,0.85), rgba(26,26,46,0.80)),
                      url('https://images.unsplash.com/photo-1591768793355-74d04bb6608f?auto=format&fit=crop&w=1920&q=80');
}
.page-header-contact {
    background-image: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.82)),
                      url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=1920&q=80');
}
.page-header-quote {
    background-image: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.82)),
                      url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1920&q=80');
}
.page-header-tracking {
    background-image: linear-gradient(135deg, rgba(13,71,161,0.88), rgba(26,26,46,0.82)),
                      url('https://images.unsplash.com/photo-1580674285054-bed31e145f59?auto=format&fit=crop&w=1920&q=80');
}
.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.page-header .breadcrumb {
    justify-content: center;
    margin: 0;
}
.page-header .breadcrumb-item a { color: var(--accent); }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ============================================
   Services
   ============================================ */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card .service-icon {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.service-card .service-icon.has-bg {
    background-size: cover;
    background-position: center;
}
.service-card .service-icon.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.7), rgba(26,26,46,0.6));
    z-index: 0;
}
.service-card .service-icon.has-bg i {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.service-card .service-icon::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255,109,0,0.2);
    border-radius: 50%;
    pointer-events: none;
}
.service-card .service-body {
    padding: 25px;
}
.service-card h4 { margin-bottom: 12px; font-size: 1.2rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; }
.service-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}
.service-card ul li {
    padding: 5px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}
.service-card ul li i {
    color: var(--accent);
    margin-right: 8px;
}

/* ============================================
   Quote Form
   ============================================ */
.quote-section {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* ============================================
   Tracking
   ============================================ */
.tracking-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-width: 700px;
    margin: 0 auto;
}
.tracking-result {
    margin-top: 30px;
}
.tracking-timeline {
    position: relative;
    padding-left: 40px;
}
.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed var(--border);
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; }
.timeline-item .dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    border: 3px solid var(--bg-white);
    z-index: 1;
}
.timeline-item.active .dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,109,0,0.2); }
.timeline-item.completed .dot { background: var(--success); }
.timeline-item h6 { margin-bottom: 5px; }
.timeline-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* ============================================
   Contact
   ============================================ */
.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}
.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.contact-info-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin: 0 auto 15px;
}
.contact-info-card h5 { margin-bottom: 8px; font-size: 1.1rem; }
.contact-info-card p { color: var(--text-light); margin: 0; font-size: 0.95rem; }

/* ============================================
   Forms
   ============================================ */
.form-control, .form-select {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-white);
    color: var(--text);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,71,161,0.1);
}
.form-label { font-weight: 600; color: var(--text); margin-bottom: 6px; }

/* ============================================
   Auth Pages
   ============================================ */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid var(--border);
}
.auth-card h2 { text-align: center; margin-bottom: 30px; font-size: 1.8rem; }
.auth-card .logo-text { justify-content: center; margin-bottom: 20px; }

/* ============================================
   Client Dashboard
   ============================================ */
.dashboard-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
}

/* ============================================
   Footer
   ============================================ */
.site-footer { margin-top: auto; }
.footer-top {
    background: var(--dark);
    padding: 60px 0;
    color: #fff;
}
.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.footer-contact li i {
    color: var(--accent);
    margin-right: 10px;
    margin-top: 4px;
    min-width: 16px;
}
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}
.footer-bottom {
    background: var(--dark-light);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
}
.back-to-top.show { display: flex; }

/* ============================================
   Loading Overlay
   ============================================ */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
[data-bs-theme="dark"] .loading-overlay {
    background: rgba(0,0,0,0.8);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in { animation: fadeIn 0.5s ease; }
.animate-fade-up { animation: fadeInUp 0.6s ease; }
.animate-slide-left { animation: slideInLeft 0.5s ease; }

.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Fallback: show elements if JS fails or animations are reduced */
@media (prefers-reduced-motion: reduce) {
    .fade-in-element { opacity: 1; transform: none; }
}
noscript ~ main .fade-in-element,
.no-js .fade-in-element { opacity: 1; transform: none; }

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(255,109,0,0.92), rgba(204,71,0,0.90)),
                url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 15px; }
.cta-section p { opacity: 0.9; font-size: 1.1rem; margin-bottom: 25px; }

/* ============================================
   About Page
   ============================================ */
.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    border-radius: var(--radius);
}
.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13,71,161,0.9));
    padding: 30px;
    color: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
}
.about-image-overlay h3 { color: #fff; margin-bottom: 5px; font-size: 1.4rem; }
.about-image-overlay p { margin: 0; opacity: 0.85; }

/* Fleet Showcase */
.fleet-section {
    background: linear-gradient(135deg, rgba(13,71,161,0.95), rgba(26,26,46,0.92));
    padding: 80px 0;
    color: #fff;
}
.fleet-section .section-title h2 { color: #fff; }
.fleet-section .section-title p { color: rgba(255,255,255,0.7); }
.fleet-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}
.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.fleet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.fleet-card:hover img {
    transform: scale(1.08);
}
.fleet-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 20px;
    color: #fff;
}
.fleet-card-overlay h5 { margin-bottom: 3px; font-size: 1.1rem; color: #fff; }
.fleet-card-overlay p { margin: 0; font-size: 0.85rem; opacity: 0.8; }
.mission-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
    height: 100%;
}
.mission-card h4 { color: var(--primary); margin-bottom: 10px; }

.counter-box {
    text-align: center;
    padding: 20px;
}
.counter-box h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}
.counter-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ============================================
   Tables
   ============================================ */
.table { border-color: var(--border); }
.table thead th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 12px 15px;
    font-size: 0.9rem;
}
.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    font-size: 0.95rem;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(13,71,161,0.02);
}

/* ============================================
   Search & Filter Bar
   ============================================ */
.filter-bar {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

/* ============================================
   Responsive
   ============================================ */

/* --- Tablet landscape / small desktop ------ */
@media (max-width: 991.98px) {
    .hero-section h1 { font-size: 2.4rem; }
    .hero-stats { gap: 25px; }
    .hero-stat h3 { font-size: 1.6rem; }
    .section-padding { padding: 60px 0; }
    .section-title h2 { font-size: 1.8rem; }
    .hero-truck-wrapper { margin-top: 40px; }
    .hero-truck-img { max-width: 400px; }
    .fleet-card img { height: 200px; }
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 1.7rem; }
}

/* --- Tablet portrait / phablet ------------- */
@media (max-width: 767.98px) {
    .top-bar { display: none; }
    .hero-section { min-height: 500px; padding: 40px 0; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section p { font-size: 1rem; }
    .hero-stats { flex-wrap: wrap; gap: 15px; }
    .hero-stat { flex: 0 0 45%; text-align: center; }
    .hero-stat h3 { font-size: 1.5rem; }
    .hero-stat p { font-size: 0.8rem; }
    .hero-buttons .btn { width: 100%; margin-right: 0; }
    .section-padding { padding: 50px 0; }
    .page-header { padding: 70px 0 50px; }
    .page-header h1 { font-size: 1.8rem; }
    .quote-section, .tracking-box { padding: 25px; }
    .hero-truck-img { max-width: 320px; }
    .hero-truck-badge { font-size: 0.8rem; padding: 8px 18px; }
    .about-image img { min-height: 280px; }
    .fleet-card img { height: 180px; }

    /* CTA buttons stack on mobile */
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.5rem; }
    .cta-section .btn { display: block; width: 100%; margin: 0 0 12px !important; padding-left: 20px; padding-right: 20px; }
    .cta-section .btn:last-child { margin-bottom: 0 !important; }

    /* Testimonial slider */
    .testimonial-slide { min-width: 100% !important; padding: 0 8px !important; }
    .testimonial-card { padding: 22px; }
    .testimonial-card .quote-icon { font-size: 2rem; top: 10px; right: 14px; }

    /* Feature / why-choose / service cards */
    .feature-card { padding: 25px 20px; }
    .feature-card .icon { width: 55px; height: 55px; font-size: 1.3rem; }
    .why-card { padding: 25px 18px; }
    .why-card .icon { width: 50px; height: 50px; font-size: 1.2rem; }

    /* Contact info cards */
    .contact-card { padding: 25px 18px; }

    /* Tracking progress steps */
    .tracking-progress-steps { flex-wrap: wrap; gap: 0; }
    .tracking-step { min-width: 70px !important; }
    .tracking-step-circle { width: 34px !important; height: 34px !important; font-size: 0.85rem !important; }
    .tracking-step-line { display: none; }

    /* Counter boxes */
    .counter-box h3 { font-size: 1.8rem; }

    /* Process steps circle */
    .process-step-circle { width: 60px !important; height: 60px !important; font-size: 1.5rem !important; }

    /* Footer */
    .footer .footer-bottom .row > div { text-align: center !important; }
}

/* --- Phone --------------------------------- */
@media (max-width: 575.98px) {
    .hero-section { min-height: 420px; padding: 30px 0; }
    .hero-section h1 { font-size: 1.7rem; line-height: 1.25; }
    .hero-section p { font-size: 0.92rem; margin-bottom: 25px; }
    .hero-stats { gap: 10px; margin-top: 30px; }
    .hero-stat h3 { font-size: 1.3rem; }
    .hero-stat p { font-size: 0.72rem; }
    .hero-buttons .btn { padding: 12px 20px; font-size: 0.95rem; }
    .section-title h2 { font-size: 1.5rem; }
    .section-title p { font-size: 0.92rem; }
    .section-padding { padding: 40px 0; }
    .auth-card { padding: 25px; }
    .hero-truck-wrapper { display: none; }

    /* Page headers */
    .page-header { padding: 60px 0 40px; }
    .page-header h1 { font-size: 1.5rem; }
    .page-header .breadcrumb { font-size: 0.8rem; }

    /* CTA */
    .cta-section { padding: 40px 0; }
    .cta-section h2 { font-size: 1.3rem; }
    .cta-section p { font-size: 0.92rem; }

    /* Testimonials */
    .testimonial-card { padding: 18px; }
    .testimonial-card p { font-size: 0.9rem; line-height: 1.6; }
    .testimonial-author .avatar { width: 40px; height: 40px; font-size: 1rem; margin-right: 10px; }
    .testimonial-author .info h6 { font-size: 0.9rem; }
    .testimonial-author .info span { font-size: 0.78rem; }

    /* Feature / service cards */
    .feature-card { padding: 22px 16px; }
    .feature-card h4 { font-size: 1.05rem; }
    .feature-card .icon { width: 50px; height: 50px; font-size: 1.2rem; }
    .service-card .service-body { padding: 20px 16px; }
    .service-card .service-body h4 { font-size: 1.05rem; }
    .service-card .service-body ul li { font-size: 0.85rem; }

    /* Fleet cards */
    .fleet-card img { height: 160px; }
    .fleet-card-overlay h5 { font-size: 0.9rem; }
    .fleet-card-overlay p { font-size: 0.78rem; }

    /* About page */
    .about-image img { min-height: 220px; }
    .about-image-overlay { padding: 20px; }
    .about-image-overlay h4 { font-size: 1rem; }

    /* Tracking */
    .tracking-box { padding: 20px 15px; }
    .tracking-box h3 { font-size: 1.15rem; }
    .input-group-lg .form-control { font-size: 0.9rem; }
    .input-group-lg .btn { font-size: 0.9rem; padding-left: 16px; padding-right: 16px; }

    /* Quote form */
    .quote-section { padding: 20px 15px; }

    /* Contact */
    .contact-card { padding: 20px 14px; }
    .contact-card h5 { font-size: 1rem; }

    /* Counter */
    .counter-box h3 { font-size: 1.5rem; }
    .counter-box p { font-size: 0.82rem; }

    /* Footer */
    .footer { padding-top: 40px; }
    .footer h5 { font-size: 1rem; }
    .footer p, .footer a, .footer li { font-size: 0.85rem; }
}
