/* ========================================
   Jasutex - Premium Design System
   PT. Jasa Utama Expres Mandiri
   ======================================== */

/* Color Variables */
:root {
    --navy: #182551;
    --navy-light: #243a6e;
    --navy-dark: #0f1a3a;
    --gold: #BA9A42;
    --gold-light: #d4b562;
    --gold-dark: #9a7e30;
    --primary-color: #182551;
    --primary-light: #243a6e;
    --primary-dark: #0f1a3a;
    --accent-color: #BA9A42;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #BA9A42;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #182551 0%, #243a6e 100%);
    --gradient-accent: linear-gradient(135deg, #BA9A42 0%, #d4b562 100%);
    --gradient-fun: linear-gradient(135deg, #182551 0%, #1e3060 50%, #243a6e 100%);
    --gradient-hero: linear-gradient(155deg, #3b6ed4 0%, #2c58b8 20%, #1e3f8e 45%, #162d72 70%, #0f1f55 100%);
    --shadow-navy: 0 4px 20px rgba(24, 37, 81, 0.15);
    --shadow-gold: 0 4px 20px rgba(186, 154, 66, 0.2);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 8px 30px rgba(24, 37, 81, 0.12), 0 2px 8px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

/* ========================================
   WAVE / SVG SECTION DIVIDERS
   ======================================== */
.section-wave {
    position: relative;
    line-height: 0;
    overflow: hidden;
}
.section-wave svg {
    display: block;
    width: 100%;
    height: auto;
}
.section-wave-top {
    margin-bottom: -2px;
}
.section-wave-bottom {
    margin-top: -2px;
}

/* ========================================
   ENHANCED SECTION BACKGROUNDS
   ======================================== */
.section-pattern-dots {
    position: relative;
}
.section-pattern-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(24,37,81,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}
.section-pattern-dots > .container {
    position: relative;
    z-index: 1;
}

.section-gradient-soft {
    background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 40%, #faf8f2 100%);
}

.section-gradient-blue {
    background: linear-gradient(180deg, #eaf0ff 0%, #f5f8ff 50%, #ffffff 100%);
}

/* ========================================
   GLASSMORPHISM UTILITY
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(24, 37, 81, 0.08);
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #2d3748;
    background: #fafbfc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 20px rgba(24, 37, 81, 0.12);
    padding: 0.75rem 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(24, 37, 81, 0.97) !important;
    border-bottom: 1px solid rgba(186, 154, 66, 0.15);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-brand i {
    color: var(--gold);
}

.navbar-brand:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0 0.15rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(186, 154, 66, 0.12);
    color: var(--gold-light) !important;
}

.navbar-nav .nav-link.active {
    color: var(--gold-light) !important;
    font-weight: 600;
    background: transparent;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Subtle light glow (top-left) */
.hero-section::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -5%;
    width: 65%;
    height: 75%;
    background: radial-gradient(ellipse at center, rgba(186, 154, 66, 0.10) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 60%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

/* Subtle light glow (bottom-right) */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -8%;
    width: 55%;
    height: 65%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.07) 0%, transparent 60%);
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Floating mesh grid overlay */
.hero-section .hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}

/* Animated floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    top: 4%;
    right: 7%;
    background: radial-gradient(circle, rgba(186, 154, 66, 0.16) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 70%);
    animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 250px;
    height: 250px;
    bottom: 15%;
    left: 5%;
    background: radial-gradient(circle, rgba(186, 154, 66, 0.08) 0%, transparent 70%);
    animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
    width: 180px;
    height: 180px;
    top: 50%;
    right: 35%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 15px) scale(1.05); }
    66% { transform: translate(15px, -10px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -20px) scale(1.08); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(-15px, -25px); }
    80% { transform: translate(10px, 15px); }
}

/* Diagonal gold accent line */
.hero-accent-line {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-accent-line::before {
    content: '';
    position: absolute;
    top: -50%;
    right: 20%;
    width: 1px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(186, 154, 66, 0.32), transparent);
    transform: rotate(25deg);
}

.hero-accent-line::after {
    content: '';
    position: absolute;
    top: -50%;
    right: 35%;
    width: 1px;
    height: 200%;
    background: linear-gradient(to bottom, transparent, rgba(186, 154, 66, 0.18), transparent);
    transform: rotate(25deg);
}

/* Hero Tracking Card */
.hero-tracking-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(186, 154, 66, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(186, 154, 66, 0.08);
    transition: all 0.35s ease;
}

.hero-tracking-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(186, 154, 66, 0.12);
    transform: translateY(-2px);
}

/* Hero Action Buttons */
.hero-action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-action-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Hero Floating Feature Cards */
.hero-feature-cards {
    position: relative;
    height: 380px;
    margin-top: 2rem;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: heroCardFloat 6s ease-in-out infinite;
}

.hero-float-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(186, 154, 66, 0.25);
}

.hero-float-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-float-card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-float-card-2 {
    top: 42%;
    left: 2%;
    animation-delay: -2s;
}

.hero-float-card-3 {
    bottom: 8%;
    right: 8%;
    animation-delay: -4s;
}

@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Page Header */
.page-header {
    padding: 7rem 0 3rem;
    margin-bottom: 0;
    background: var(--gradient-hero);
    box-shadow: 0 4px 20px rgba(24, 37, 81, 0.15);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(186, 154, 66, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(186, 154, 66, 0.05) 0%, transparent 40%);
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.page-header h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.page-header p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* Feature Cards */
.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 3px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated) !important;
    border-top-color: var(--gold);
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(24, 37, 81, 0.06);
    height: 100%;
    min-height: 200px;
}

.service-card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-8px);
    border-color: rgba(186, 154, 66, 0.3);
}

/* Featured Service Cards */
.services-showcase {
    background: linear-gradient(180deg, #eaf0ff 0%, #f0f4ff 50%, #f8faff 100%);
    position: relative;
}

.service-card-featured {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(24, 37, 81, 0.06), 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(24, 37, 81, 0.06);
    position: relative;
    overflow: visible;
    border-top: 3px solid transparent;
}

.service-card-featured:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(24, 37, 81, 0.14), 0 4px 12px rgba(186, 154, 66, 0.08);
    border-color: rgba(186, 154, 66, 0.15);
    border-top-color: var(--gold);
}

.service-card-highlight {
    border: 2px solid var(--gold);
    border-top: 4px solid var(--gold);
    background: linear-gradient(170deg, rgba(186, 154, 66, 0.04) 0%, #ffffff 30%);
    box-shadow: 0 6px 24px rgba(186, 154, 66, 0.1), 0 2px 8px rgba(0,0,0,0.04);
}

.service-card-highlight:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(186, 154, 66, 0.18), 0 4px 12px rgba(24,37,81,0.06);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.5px;
}

.service-icon-bg {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-featured:hover .service-icon-bg {
    transform: rotate(8deg) scale(1.08);
}

.service-icon-large {
    font-size: 2.5rem;
}

.service-details {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f5;
}

.service-details small {
    color: #6c757d;
    font-size: 0.85rem;
}

.service-icon {
    font-size: 3rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(186, 154, 66, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(59, 110, 212, 0.08) 0%, transparent 50%);
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(186, 154, 66, 0.03) 45%,
        rgba(186, 154, 66, 0.03) 55%,
        transparent 60%
    );
    animation: ctaShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaShimmer {
    0%, 100% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(30%) translateY(30%); }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--navy), var(--gold));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #edf0f5;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item.active .timeline-marker {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(24, 37, 81, 0.3);
}

.timeline-content h6 {
    margin-bottom: 0.5rem;
    color: var(--navy);
}

/* Service Options */
.service-option {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: var(--radius-lg);
    border: 1px solid #edf0f5;
}

.service-option:hover {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-color: var(--gold);
    transform: translateX(4px);
    box-shadow: var(--shadow-navy);
}

/* Button Styles */
.btn {
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 2px 8px rgba(24, 37, 81, 0.15);
}

.btn-primary:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 37, 81, 0.3);
}

.btn-warning {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: #fff;
}

.btn-outline-primary {
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline-primary:hover {
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

/* Outline light buttons for dark sections */
.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    border: 1.5px solid #e2e6ef;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(186, 154, 66, 0.12);
}

.form-control-lg {
    padding: 1rem;
    font-size: 1.05rem;
}

/* Footer Styles */
footer {
    margin-top: auto;
    background: var(--navy-dark) !important;
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--gold-light) !important;
}

.social-links a {
    font-size: 1.4rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(186, 154, 66, 0.1);
    border: 1px solid rgba(186, 154, 66, 0.15);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(186, 154, 66, 0.25);
    color: var(--gold-light) !important;
    box-shadow: 0 4px 12px rgba(186, 154, 66, 0.2);
}

/* Badge Styles */
.badge {
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
}

.badge.bg-success {
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.2);
}

.badge.bg-warning {
    background: var(--gradient-accent) !important;
    box-shadow: var(--shadow-gold);
    color: #fff !important;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-section .card {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-feature-cards {
        display: none;
    }

    /* Global mobile padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .page-header {
        padding: 6rem 1rem 2rem;
    }
    
    .navbar-brand {
        font-size: 1.15rem;
        margin-left: 0.75rem;
    }
    
    .badge {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .form-control, .form-select {
        font-size: 0.9rem;
        padding: 0.65rem;
    }

    select.form-select {
        font-size: 0.875rem;
    }
    
    .form-control-lg {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    /* Button spacing for mobile */
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-section .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section .input-group-lg .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section .input-group-lg .btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-section .card-body {
        padding: 1.5rem !important;
    }
    
    .hero-section .badge {
        font-size: 0.8rem;
        margin-top: 0.25rem;
        margin-bottom: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    /* Smaller inputs for smaller mobile screens */
    .form-control, .form-select {
        font-size: 0.85rem;
        padding: 0.6rem;
    }
    
    .form-control::placeholder {
        font-size: 0.8rem;
    }
    
    select.form-select {
        font-size: 0.8rem;
    }
    
    .form-control-lg {
        font-size: 0.875rem;
        padding: 0.65rem;
    }
    
    .navbar-brand {
        margin-left: 1rem;
    }
    
    /* Global mobile padding for smaller screens */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .page-header {
        padding: 5rem 1rem 2rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .hero-section .input-group-lg .form-control {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .hero-section .input-group-lg .btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
}

/* Loading Animation */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert Styles */
.alert {
    border-radius: 5px;
    border: none;
}

/* Accordion Styles */
.accordion-button:not(.collapsed) {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.15);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border: none;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Utility Classes */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

/* Fun Elements */
.icon-bounce:hover {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Truck Animation */
.truck-animation-wrapper {
    position: relative;
    display: inline-block;
}

/* Glow behind truck */
.truck-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(186, 154, 66, 0.20) 0%, rgba(255, 255, 255, 0.07) 40%, transparent 70%);
    border-radius: 50%;
    animation: truckGlow 3s ease-in-out infinite;
}

@keyframes truckGlow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.truck-container {
    display: inline-block;
    will-change: transform;
    backface-visibility: hidden;
}

.truck-shake {
    display: inline-block;
    animation: truckFloat 2s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

/* Floating particles around truck */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(186, 154, 66, 0.55);
}

.particle-1 {
    width: 7px; height: 7px;
    top: 20%; left: 25%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-2 {
    width: 5px; height: 5px;
    top: 35%; right: 20%;
    background: rgba(255, 255, 255, 0.38);
    animation: particleFloat 8s ease-in-out infinite 1s;
}

.particle-3 {
    width: 9px; height: 9px;
    bottom: 30%; left: 15%;
    animation: particleFloat 7s ease-in-out infinite 2s;
}

.particle-4 {
    width: 5px; height: 5px;
    top: 60%; right: 30%;
    background: rgba(255, 255, 255, 0.28);
    animation: particleFloat 9s ease-in-out infinite 0.5s;
}

.particle-5 {
    width: 7px; height: 7px;
    top: 15%; right: 40%;
    animation: particleFloat 5s ease-in-out infinite 3s;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    25% { transform: translate(10px, -15px); opacity: 0.8; }
    50% { transform: translate(-5px, -25px); opacity: 0.5; }
    75% { transform: translate(15px, -10px); opacity: 0.9; }
}

/* Moving Road Animation */
.moving-road {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 8px;
    background: transparent;
    border-radius: 3px;
    overflow: hidden;
}

.moving-road::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        to right,
        rgba(186, 154, 66, 0.55) 0px,
        rgba(186, 154, 66, 0.55) 20px,
        transparent 20px,
        transparent 45px
    );
    will-change: transform;
    animation: roadMove 1.4s linear infinite;
}

@keyframes roadMove {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-45px); }
}

/* Quick Action Cards - Soft & Elegant */
.quick-actions-wrapper {
    position: relative;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 70px;
}

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(24, 37, 81, 0.1);
    border-color: rgba(186, 154, 66, 0.3);
    color: inherit;
}

.quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.quick-action-icon i {
    font-size: 1.2rem;
    color: white;
}

.quick-action-card:hover .quick-action-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 12px rgba(24, 37, 81, 0.2);
}

.quick-action-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-action-card:hover .quick-action-text {
    color: var(--navy);
}

@keyframes truckShake {
    0%, 100% { 
        transform: translateX(0) rotate(0deg); 
    }
    25% { 
        transform: translateX(3px) rotate(0.5deg); 
    }
    50% { 
        transform: translateX(0) rotate(0deg); 
    }
    75% { 
        transform: translateX(-3px) rotate(-0.5deg); 
    }
}

@keyframes truckFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-5px);
    }
}

/* Hover Lift Effect */
.hover-lift {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(24, 37, 81, 0.15) !important;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f1f5;
}

::-webkit-scrollbar-thumb {
    background: #182551;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0f1a3a;
}

/* ========================================
   Simple Feature Cards (Why Choose Us)
   ======================================== */

.feature-card-simple {
    background: white;
    padding: 25px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #edf0f5;
    height: 100%;
}

.feature-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-navy);
    border-color: var(--gold);
}

.feature-icon-simple {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-icon-simple i {
    font-size: 1.8rem;
}

.feature-card-simple:hover .feature-icon-simple {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-simple h6 {
    font-size: 0.95rem;
}

.feature-card-simple p {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ========================================
   Partners & Clients 
   ======================================== */

/* Partners Carousel - Squared Design */
.partners-carousel {
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, #fff 0%, transparent 10%, transparent 90%, #fff 100%);
    padding: 20px 0;
}

.partner-track {
    display: flex;
    animation: scrollPartners 45s linear infinite;
    gap: 60px;
}

.partner-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
    min-width: 180px;
}

.partner-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 160px;
    border: 2px solid #f0f0f0;
}

.partner-logo-wrapper i {
    font-size: 4rem;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.partner-logo-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-navy);
    border-color: var(--gold);
}

.partner-logo-wrapper:hover i {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--navy) !important;
    transform: scale(1.15);
}

.partner-logo-wrapper small {
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.partner-logo-wrapper:hover small {
    color: var(--navy) !important;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Partners Static Grid */
.partner-card-static {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: transparent;
    transition: all 0.3s ease;
    height: 100px;
}

.partner-card-static i {
    font-size: 3.5rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-card-static:hover i {
    opacity: 1;
    transform: scale(1.2);
}

/* Clients Carousel */
.clients-carousel {
    overflow: hidden;
    position: relative;
    background: linear-gradient(to right, #fff 0%, transparent 10%, transparent 90%, #fff 100%);
    padding: 20px 0;
}

.client-track {
    display: flex;
    animation: scrollClients 50s linear infinite;
    gap: 60px;
}

.client-track:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 auto;
    min-width: 180px;
}

.client-logo-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
    height: 160px;
}

.client-logo-carousel i {
    font-size: 4rem;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.client-logo-carousel:hover {
    transform: translateY(-8px);
}

.client-logo-carousel:hover i {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--success-color) !important;
    transform: scale(1.15);
}

.client-logo-carousel small {
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.client-logo-carousel:hover small {
    color: var(--success-color) !important;
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-track {
        gap: 40px;
    }
    
    .client-item {
        min-width: 140px;
    }
    
    .client-logo-carousel {
        height: 130px;
        padding: 20px;
    }
    
    .client-logo-carousel i {
        font-size: 3rem;
    }
    
    .partner-card-static {
        height: 70px;
        padding: 10px;
    }
    
    .partner-card-static i {
        font-size: 2.5rem;
    }
    
    /* Mobile Road Animation */
    .moving-road {
        width: 300px;
        bottom: 30px;
    }
    
    /* Quick actions on mobile */
    .quick-action-card {
        min-height: 80px;
        padding: 15px 10px;
    }
    
    .quick-action-icon {
        width: 40px;
        height: 40px;
    }
    
    .quick-action-icon i {
        font-size: 1.2rem;
    }
    
    .quick-action-text {
        font-size: 0.8rem;
    }
}

/* ==========================================
   SERVICE PAGE ENHANCEMENTS
   ========================================== */

/* Service Detail Cards */
.service-detail-card {
    padding: 40px 0;
    transition: all 0.3s ease;
}

.service-detail-card:hover .service-image-placeholder {
    transform: scale(1.02);
}

.service-image-box {
    position: relative;
}

.service-image-placeholder {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.service-detail-card:hover .service-image-placeholder::before {
    left: 100%;
}

.service-detail-highlight::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: var(--gradient-warning);
    border-radius: 10px;
    /* box-shadow: 0 0 20px rgba(255, 193, 7, 0.4); */
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #198754 0%, #0d6832 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%) !important;
}

/* Feature Item Small */
.feature-item-small {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item-small i {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feature-item-small strong {
    color: #212529;
    font-size: 0.95rem;
}

.feature-item-small small {
    font-size: 0.75rem;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Feature Card Simple (for Why Choose section) */
.feature-card-simple {
    padding: 30px 22px;
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 8px rgba(24, 37, 81, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(24, 37, 81, 0.06);
    border-bottom: 3px solid transparent;
    position: relative;
}

.feature-card-simple::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: width 0.4s ease;
}

.feature-card-simple:hover::after {
    width: 100%;
}

.feature-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(186, 154, 66, 0.15);
}

.feature-icon-simple {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, rgba(186,154,66,0.08) 0%, rgba(24,37,81,0.06) 100%) !important;
}

.feature-card-simple:hover .feature-icon-simple {
    transform: rotate(8deg) scale(1.12);
    background: linear-gradient(135deg, rgba(186,154,66,0.16) 0%, rgba(24,37,81,0.10) 100%) !important;
    box-shadow: 0 4px 16px rgba(186, 154, 66, 0.15);
}

.feature-icon-simple i {
    font-size: 2rem;
}

/* Table Hover Effect */
.table-hover tbody tr {
    transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(24, 37, 81, 0.03);
    box-shadow: 0 2px 8px rgba(24, 37, 81, 0.06);
}

/* Comparison Table Enhancements */
.table thead th {
    border-bottom: 3px solid #dee2e6;
    padding: 1rem;
    font-size: 0.95rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Responsive Table */
@media (max-width: 768px) {
    .service-detail-card {
        padding: 20px 0;
    }
    
    .service-image-placeholder {
        height: 250px !important;
        margin-bottom: 20px;
    }
    
    .service-detail-highlight::before {
        display: none;
    }
    
    .feature-item-small {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-item-small i {
        font-size: 1.5rem;
    }
    
    .table-responsive {
        font-size: 0.85rem;
    }
}

/* Badge Enhancements */
.badge {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Button Enhancements */
.btn-lg {
    border-radius: var(--radius-md);
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 37, 81, 0.18);
}

.btn-warning:hover {
    box-shadow: var(--shadow-gold);
}

.btn-success:hover {
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.3);
}

.btn-info:hover {
    box-shadow: 0 8px 20px rgba(13, 202, 240, 0.3);
}

/* Scroll Smooth Behavior */
html {
    scroll-behavior: smooth;
}

/* Quick Nav Links */
a[href^="#"] {
    transition: all 0.3s ease;
}

a[href^="#"]:hover {
    transform: translateY(-2px);
}

/* ==========================================
   TRACKING PAGE ENHANCEMENTS
   ========================================== */

/* Tracking Icon Wrapper Animation */
.tracking-icon-wrapper {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Progress Bar Animation */
.progress-bar {
    animation: progressAnimation 1.5s ease-out;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }
}

/* Timeline Active State Enhancement */
.timeline-item.active .timeline-content h6 i {
    animation: pulse 2s infinite;
}

/* Card Entrance Animation */
#trackingResult {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Status Badge Pulse */
#resultStatus {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(25, 135, 84, 0);
    }
}

/* Help Card Hover Effects */
.card .btn-sm:hover {
    transform: translateX(5px);
}

/* Tracking Form Enhancement */
#trackingForm input:focus {
    box-shadow: 0 0 0 0.2rem rgba(186, 154, 66, 0.12) !important;
    border-color: var(--gold) !important;
}

/* Sample Resi Buttons */
.card .btn-sm.btn-primary:hover,
.card .btn-sm.btn-outline-primary:hover {
    transform: scale(1.05);
}

/* ========================================
   Contact Page - Equal Height Cards
   ======================================== */
.row.align-items-stretch > [class*='col-'] {
    display: flex !important;
}

.row.align-items-stretch > [class*='col-'] > .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.row.align-items-stretch > [class*='col-'] > .card > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ========================================
   TRACKING MODAL ENHANCEMENTS
   ======================================== */

/* Modal Header Styling */
#trackingModal .modal-header {
    background: var(--gradient-primary);
    color: white;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 1.5rem;
}

#trackingModal .modal-header .btn-close {
    filter: brightness(0) invert(1);
}

#trackingModal .modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    font-size: 2.8rem;
    color: var(--gold);
    animation: preloaderPulse 1.5s ease-in-out infinite;
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 10px;
    animation: preloaderBar 1.5s ease-in-out infinite;
}

.preloader-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes preloaderBar {
    0% { width: 0%; margin-left: 0; }
    50% { width: 60%; }
    100% { width: 0%; margin-left: 100%; }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #182551;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 20px rgba(24, 37, 81, 0.4);
    z-index: 9998;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: waFloat 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(24, 37, 81, 0.55);
}

.wa-tooltip {
    position: absolute;
    right: 72px;
    background: #fff;
    color: #333;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: #fff;
    border: 2px solid rgba(186, 154, 66, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 9997;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-navy);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ========================================
   ANIMATED COUNTER STATS
   ======================================== */
.counter-card {
    padding: 2rem 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.35s ease;
}

.counter-card:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(186, 154, 66, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.counter-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(186, 154, 66, 0.28) 0%, rgba(186, 154, 66, 0.12) 100%);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gold);
    border: 1px solid rgba(186, 154, 66, 0.38);
    box-shadow: 0 4px 18px rgba(186, 154, 66, 0.22);
    transition: all 0.4s ease;
}

.counter-card:hover .counter-icon-wrapper {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 24px rgba(186, 154, 66, 0.30);
}

.counter-number {
    font-size: 2.5rem;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}

.counter-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid #eef0f5;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.testimonial-card::before {
    content: '\F6B0';
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    color: rgba(186, 154, 66, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(24, 37, 81, 0.1);
    border-color: rgba(186, 154, 66, 0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.7;
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 37, 81, 0.08), rgba(186, 154, 66, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================================
   Section Gold Accent Divider
   ======================================== */
.section-divider-gold {
    width: 55px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

/* ========================================
   Business Category Cards (Partner Section)
   ======================================== */
.business-category-card {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.business-category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 0 0 16px 16px;
    transition: width 0.4s ease;
}

.business-category-card:hover::after {
    width: 100%;
}

.business-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(186, 154, 66, 0.3);
}

.business-category-icon {
    background: rgba(186, 154, 66, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 18px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.business-category-card:hover .business-category-icon {
    transform: rotate(8deg) scale(1.08);
    background: rgba(186, 154, 66, 0.18);
    box-shadow: 0 4px 16px rgba(186, 154, 66, 0.15);
}

/* ========================================
   Hero Truck Ring Decoration
   ======================================== */
.truck-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -62%);
    width: 230px;
    height: 230px;
    border: 2px solid rgba(186, 154, 66, 0.24);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.truck-ring::before {
    content: '';
    position: absolute;
    inset: -24px;
    border: 1px solid rgba(186, 154, 66, 0.11);
    border-radius: 50%;
    animation: ringPulse 4s ease-in-out infinite 1.5s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 0.15; }
}

/* ========================================
   NAVBAR SCROLL EFFECT
   ======================================== */
.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 2px 20px rgba(24, 37, 81, 0.25);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS FOR NEW FEATURES
   ======================================== */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .wa-tooltip {
        display: none;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 24px;
        width: 40px;
        height: 40px;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .counter-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}

#trackingModal .modal-title small {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Modal Content */
#trackingModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Modal Body */
#trackingModal .modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Scrollbar for Modal Body */
#trackingModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#trackingModal .modal-body::-webkit-scrollbar-track {
    background: #f0f1f5;
    border-radius: 4px;
}

#trackingModal .modal-body::-webkit-scrollbar-thumb {
    background: #182551;
    border-radius: 4px;
}

#trackingModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #0f1a3a;
}

/* Progress Bar in Modal */
#trackingModal .progress {
    height: 25px;
    border-radius: 12px;
    background: #e9ecef;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

#trackingModal .progress-bar {
    background: linear-gradient(90deg, #182551, #BA9A42, #182551);
    background-size: 200% 100%;
    animation: progressGradient 2s ease infinite, progressSlide 1s ease-out;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
}

@keyframes progressGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes progressSlide {
    from { width: 0%; }
}

/* Package Details Grid */
.package-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 1.5rem 0;
}

.detail-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(24, 37, 81, 0.08);
    border-color: var(--gold);
}

.detail-card i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.detail-card h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-card p {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
    color: #212529;
}

/* Timeline in Modal */
#trackingModal .timeline {
    margin-top: 1.5rem;
    padding: 15px 0;
}

#trackingModal .timeline-item {
    animation: timelineSlideIn 0.5s ease-out backwards;
}

#trackingModal .timeline-item:nth-child(1) { animation-delay: 0.1s; }
#trackingModal .timeline-item:nth-child(2) { animation-delay: 0.2s; }
#trackingModal .timeline-item:nth-child(3) { animation-delay: 0.3s; }
#trackingModal .timeline-item:nth-child(4) { animation-delay: 0.4s; }
#trackingModal .timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes timelineSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Timeline Badge in Modal */
#trackingModal .timeline-content .badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modal Footer */
#trackingModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#trackingModal .modal-footer .btn {
    min-width: 100px;
    border-radius: 10px;
    font-weight: 600;
}

/* Service Type Colors */
.service-express { color: #ffc107; }
.service-regular { color: #182551; }
.service-cargo { color: #0dcaf0; }

/* Status Badge Colors */
.status-delivered { 
    background: linear-gradient(135deg, #198754 0%, #0d6832 100%);
    box-shadow: 0 2px 8px rgba(25, 135, 84, 0.3);
}

.status-in-transit { 
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
    box-shadow: 0 2px 8px rgba(13, 202, 240, 0.3);
}

.status-pending { 
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Responsive Modal */
@media (max-width: 768px) {
    #trackingModal .modal-dialog {
        margin: 0.5rem;
    }
    
    .package-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    #trackingModal .modal-body {
        padding: 1rem;
        max-height: 65vh;
    }
    
    #trackingModal .modal-header {
        padding: 1rem;
    }
    
    #trackingModal .modal-title {
        font-size: 1rem;
    }
    
    #trackingModal .modal-footer {
        padding: 0.75rem 1rem;
    }
    
    #trackingModal .modal-footer .btn {
        font-size: 0.875rem;
        min-width: 80px;
    }
    
    .detail-card {
        padding: 12px;
    }
    
    .detail-card i {
        font-size: 1.3rem;
    }
    
    .detail-card h6 {
        font-size: 0.7rem;
    }
    
    .detail-card p {
        font-size: 0.85rem;
    }
}
