/**
 * HaulMiles - Custom CSS
 * Version: 4.0 - Fully Responsive & Professional
 */

/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    background-color: #080A0B;
    color: #eef2f0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6,
.viga-heading {
    font-family: 'Viga', sans-serif;
    letter-spacing: 0.02em;
}

a {
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* ==========================================
   SCROLLBAR STYLING
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #080A0B;
}

::-webkit-scrollbar-thumb {
    background: #FFD400;
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6be00;
}

/* ==========================================
   SELECTION COLOR
   ========================================== */
::selection {
    background: #FFD400;
    color: #080A0B;
}

::-moz-selection {
    background: #FFD400;
    color: #080A0B;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.bg-dark-haul {
    background-color: #080A0B;
}

.bg-soft-dark {
    background-color: #0d1114;
}

.text-cta-gold {
    color: #FFD400;
}

.text-light-muted {
    color: #bcc3bf;
}

.text-success {
    color: #4caf50 !important;
}

.section-padding {
    padding: 4rem 0;
}

.gold-underline {
    width: 80px;
    height: 4px;
    background: #FFD400;
    margin: 0.5rem 0 1.5rem 0;
    border-radius: 10px;
}

.gold-underline-center {
    margin-left: auto;
    margin-right: auto;
}

.icon-gold {
    color: #FFD400;
    font-size: 2.8rem;
}

.icon-gold-sm {
    color: #FFD400;
    font-size: 2.2rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-cta {
    background-color: #FFD400;
    color: #080A0B;
    border: 2px solid #FFD400;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    transition: all 0.2s ease;
    font-family: 'Bricolage Grotesque', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
}

.btn-cta:hover {
    background-color: #e6be00;
    border-color: #e6be00;
    color: #080A0B;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
}

.btn-cta:active {
    transform: scale(0.98);
}

.btn-cta-outline {
    background-color: transparent;
    color: #FFD400;
    border: 2px solid #FFD400;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    transition: all 0.2s ease;
    font-family: 'Bricolage Grotesque', sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
}

.btn-cta-outline:hover {
    background-color: #FFD400;
    color: #080A0B;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.15);
}

.btn-cta-outline:active {
    transform: scale(0.98);
}

.btn-lg {
    padding: 0.8rem 2.5rem !important;
    font-size: 1.05rem !important;
}

/* ==========================================
   CARDS
   ========================================== */
.card-haul {
    background-color: #14181B;
    border: none;
    border-radius: 24px;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.card-haul .card-body {
    padding: 2rem 1.8rem;
}

.card-haul:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 212, 0, 0.08);
}

/* ==========================================
   BADGES
   ========================================== */
.badge-haul {
    background-color: #FFD400;
    color: #080A0B;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    display: inline-block;
    letter-spacing: 0.3px;
}

/* ==========================================
   CHIPS / TAGS
   ========================================== */
.chip-list .chip {
    background: #1e2529;
    color: #d0d7de;
    padding: 0.25rem 0.9rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    margin: 0.2rem 0.3rem 0.2rem 0;
    border: 1px solid #2f383e;
    transition: all 0.3s ease;
    cursor: default;
}

.chip-list .chip:hover {
    background: #FFD400;
    color: #080A0B;
    border-color: #FFD400;
}

/* ==========================================
   BULLET LISTS
   ========================================== */
.list-bullet-gold {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-bullet-gold li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.list-bullet-gold i {
    color: #FFD400;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* ==========================================
   ICON WRAPPER
   ========================================== */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 212, 0, 0.08);
    border-radius: 50%;
    border: 2px solid rgba(255, 212, 0, 0.15);
    transition: all 0.3s ease;
}

.icon-wrapper:hover {
    background: rgba(255, 212, 0, 0.15);
    border-color: #FFD400;
    transform: scale(1.05);
}

.icon-wrapper i {
    font-size: 2.2rem;
    color: #FFD400;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar-haul {
    background-color: rgba(8, 10, 11, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(42, 46, 50, 0.5);
    transition: all 0.3s ease;
    padding: 0.6rem 0;
}

.navbar-haul .navbar-brand {
    font-family: 'Viga', sans-serif;
    color: #FFD400;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-haul .navbar-brand:hover {
    color: #e6be00;
    transform: scale(1.02);
}

.navbar-haul .nav-link {
    color: #d0d7de;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.4rem 0.8rem;
    position: relative;
    font-size: 0.9rem;
}

.navbar-haul .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FFD400;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-haul .nav-link:hover::after,
.navbar-haul .nav-link.active::after {
    width: 60%;
}

.navbar-haul .nav-link:hover {
    color: #FFD400;
}

.navbar-haul .nav-link.active {
    color: #FFD400;
}

.navbar-haul .navbar-toggler {
    border-color: #FFD400;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.navbar-haul .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 212, 0, 0.25);
}

.navbar-haul .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFD400' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.4rem;
    height: 1.4rem;
}

.navbar-haul.scrolled {
    background-color: rgba(8, 10, 11, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   HERO BOARD - LIVE SHIPMENT BOARD
   ========================================== */
.hero-board {
    background: linear-gradient(145deg, #14181B, #1a1f23);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 1px solid #2a2e32;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-board::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 212, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 1px solid #2a2e32;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.board-header h5 {
    color: #FFD400;
    font-family: 'Viga', sans-serif;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.board-header .badge-board {
    background: #1e2529;
    color: #d0d7de;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #2f383e;
    white-space: nowrap;
}

.status-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 1.2s ease-in-out infinite;
    margin-right: 4px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.7);
    }
}

/* ==========================================
   STAT MINI CARDS
   ========================================== */
.stat-mini-card {
    background: #1a1f23;
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    text-align: center;
    border: 1px solid #2a2e32;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-mini-card:hover {
    border-color: #FFD400;
    transform: translateY(-3px);
}

.stat-mini-label {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6a7278;
    margin-bottom: 0.1rem;
}

.stat-mini-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-mini-value.text-success {
    color: #4caf50 !important;
}

.stat-mini-value.text-cta-gold {
    color: #FFD400 !important;
}

/* Load Card */
.load-card {
    background: #1a1f23;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 4px solid #FFD400;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.load-card:hover {
    background: #1f262b;
}

.load-card .load-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.load-card .load-meta {
    color: #b0b8c0;
    font-size: 0.8rem;
}

.load-card .load-meta i {
    color: #FFD400;
    margin-right: 0.3rem;
}

/* Route Map */
.route-map {
    background: #0d1114;
    border-radius: 10px;
    padding: 0.4rem;
    margin-top: 0.5rem;
    border: 1px solid #2a2e32;
}

.route-map svg {
    width: 100%;
    height: 40px;
    display: block;
}

/* Live Progress Bar */
.live-progress {
    background: #0d1114;
    border-radius: 30px;
    height: 6px;
    margin-top: 0.5rem;
    overflow: hidden;
    border: 1px solid #2a2e32;
}

.live-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD400, #FFA000);
    border-radius: 30px;
    width: 0%;
    transition: width 1s ease;
    position: relative;
}

.live-progress .progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #FFD400;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.5);
}

/* Status Tags */
.status-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.status-tag {
    background: #1e2529;
    color: #d0d7de;
    padding: 0.1rem 0.6rem;
    border-radius: 40px;
    font-size: 0.6rem;
    font-weight: 500;
    border: 1px solid #2f383e;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.status-tag:hover {
    background: #2a3238;
    border-color: #FFD400;
    transform: translateY(-1px);
}

.status-tag.gold {
    background: #FFD400;
    color: #080A0B;
    border-color: #FFD400;
}

.status-tag.green {
    background: #1a5c3a;
    color: #b0f0c0;
    border-color: #2a7a4a;
}

.status-tag.blue {
    background: #1a3a5c;
    color: #b0d0f0;
    border-color: #2a5a7a;
}

.status-tag.purple {
    background: #3a1a5c;
    color: #d0b0f0;
    border-color: #5a2a7a;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.5rem;
    margin-top: 0.3rem;
    padding-top: 0.5rem;
    border-top: 1px solid #2a2e32;
    position: relative;
    z-index: 1;
}

.stats-row .stat-item {
    color: #b0b8c0;
    font-size: 0.75rem;
}

.stats-row .stat-item strong {
    color: #ffffff;
    font-weight: 600;
}

.stats-row .stat-item .highlight {
    color: #FFD400;
    font-weight: 700;
}

/* Bottom Row */
.bottom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.8rem;
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1px solid #2a2e32;
    font-size: 0.7rem;
    color: #b0b8c0;
    position: relative;
    z-index: 1;
}

.bottom-row .label {
    color: #6a7278;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.6rem;
}

.bottom-row .value {
    color: #d0d7de;
    font-weight: 500;
}

.bottom-row .value.gold {
    color: #FFD400;
}

/* Driver Status */
.driver-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.7rem;
    background: #0d1114;
    border-radius: 40px;
    border: 1px solid #2a2e32;
    font-size: 0.75rem;
}

.driver-status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.driver-status .dot.green {
    background: #4caf50;
    animation: pulse 1.5s ease-in-out infinite;
}

.driver-status .dot.yellow {
    background: #FFD400;
}

.driver-status .dot.red {
    background: #f44336;
}

/* ==========================================
   CHARTS
   ========================================== */
.chart-wrapper {
    position: relative;
    height: 120px;
    margin-top: 0.5rem;
}

.chart-wrapper canvas {
    max-height: 120px;
    width: 100% !important;
}

/* ==========================================
   FORMS
   ========================================== */
.form-control::placeholder {
    color: #8a9298;
    opacity: 1;
}

.form-control {
    color: #ffffff;
    background-color: #1a1f23 !important;
    border: 1px solid #2a2e32;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-control:focus {
    background-color: #1a1f23;
    border-color: #FFD400;
    box-shadow: 0 0 0 0.25rem rgba(255, 212, 0, 0.15);
    color: #ffffff;
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-select {
    color: #ffffff;
    background-color: #1a1f23 !important;
    border: 1px solid #2a2e32;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.form-select:focus {
    border-color: #FFD400;
    box-shadow: 0 0 0 0.25rem rgba(255, 212, 0, 0.15);
}

.form-select option {
    background-color: #1a1f23;
    color: #ffffff;
}

.form-check-input {
    background-color: #1a1f23;
    border-color: #2a2e32;
}

.form-check-input:checked {
    background-color: #FFD400;
    border-color: #FFD400;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 212, 0, 0.25);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer-haul {
    background-color: #080A0B;
    border-top: 1px solid #2a2e32;
    color: #b0b8c0;
    padding: 3rem 0 !important;
    position: relative;
    z-index: 1;
    clear: both;
}

.footer-haul a {
    color: #d0d7de;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-haul a:hover {
    color: #FFD400;
    text-decoration: underline;
}

.footer-haul .brand-logo {
    font-family: 'Viga', sans-serif;
    color: #FFD400;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.footer-haul .brand-sub {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #6a7278;
    text-transform: uppercase;
}

.footer-haul .footer-heading {
    color: #ffffff;
    font-family: 'Viga', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

.footer-haul .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-haul .footer-links li {
    margin-bottom: 0.4rem;
}

.footer-haul .footer-links a {
    color: #b0b8c0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-haul .footer-links a:hover {
    color: #FFD400;
    text-decoration: underline;
}

.footer-haul .get-started-text {
    font-size: 0.85rem;
    color: #b0b8c0;
    max-width: 220px;
}

.footer-haul .bottom-bar {
    border-top: 1px solid #2a2e32;
    padding-top: 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6a7278;
}

.footer-haul .bottom-bar .tagline {
    color: #6a7278;
    letter-spacing: 0.3px;
    font-size: 0.7rem;
}

.footer-haul .bottom-bar .tagline i {
    color: #FFD400;
    margin: 0 0.2rem;
}

.footer-cta-btn {
    background-color: #FFD400;
    color: #080A0B !important;
    border: 2px solid #FFD400;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 60px;
    transition: all 0.2s ease;
    font-family: 'Bricolage Grotesque', sans-serif;
    text-decoration: none !important;
    display: inline-block;
    text-align: center;
    font-size: 0.85rem;
}

.footer-cta-btn:hover {
    background-color: #e6be00;
    border-color: #e6be00;
    color: #080A0B;
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 212, 0, 0.3);
    text-decoration: none !important;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD400;
    color: #080A0B;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 212, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 212, 0, 0.5);
}

/* ==========================================
   CONTACT SECTION FIX
   ========================================== */
#contact {
    position: relative;
    z-index: 2;
    background-color: #080A0B;
}

#footer {
    position: relative;
    z-index: 1;
    background-color: #080A0B !important;
    margin-top: 0;
    clear: both;
}

/* ==========================================
   404 ERROR PAGE
   ========================================== */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 5rem 0 3rem;
    min-height: 70vh;
}

.error-number {
    font-family: 'Viga', sans-serif;
    font-size: 7rem;
    line-height: 1;
    background: linear-gradient(135deg, #FFD400, #FF8F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 212, 0, 0.15);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 60px rgba(255, 212, 0, 0.15);
    }
    50% {
        text-shadow: 0 0 80px rgba(255, 212, 0, 0.3);
    }
}

.error-icon {
    font-size: 4rem;
    color: #FFD400;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.error-divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FFD400, transparent);
    margin: 1.2rem 0;
    border-radius: 10px;
}

.error-subtitle {
    font-size: 1.1rem;
    color: #8a9298;
    letter-spacing: 0.5px;
}

.suggestion-card {
    background: #14181B;
    border-radius: 20px;
    padding: 1.5rem 1.8rem;
    border: 1px solid #2a2e32;
    transition: all 0.3s ease;
    height: 100%;
}

.suggestion-card:hover {
    border-color: #FFD400;
    box-shadow: 0 8px 30px rgba(255, 212, 0, 0.05);
    transform: translateY(-3px);
}

.suggestion-card .icon-wrap {
    width: 45px;
    height: 45px;
    background: rgba(255, 212, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFD400;
}

.suggestion-card h6 {
    color: #ffffff;
    font-family: 'Viga', sans-serif;
    margin-top: 0.6rem;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.suggestion-card p {
    color: #8a9298;
    font-size: 0.85rem;
    margin: 0;
}

.suggestion-card a {
    color: #FFD400;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.suggestion-card a:hover {
    text-decoration: underline;
    color: #e6be00;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ==========================================
   JS DETECTION
   ========================================== */
.js-enabled .no-js-only {
    display: none !important;
}

.no-js .js-only {
    display: none !important;
}

/* ==========================================
   MISC
   ========================================== */
:focus-visible {
    outline: 2px solid #FFD400;
    outline-offset: 2px;
}

.disabled {
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
}

.spinner-gold {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 212, 0, 0.1);
    border-top-color: #FFD400;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.15);
    color: #81c784;
    border-left: 4px solid #4caf50;
}

.alert-danger {
    background-color: rgba(244, 67, 54, 0.15);
    color: #ef9a9a;
    border-left: 4px solid #f44336;
}

.alert-info {
    background-color: rgba(33, 150, 243, 0.15);
    color: #64b5f6;
    border-left: 4px solid #2196f3;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border-left: 4px solid #ffc107;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

/* === Mobile Phones (max-width: 576px) === */
@media (max-width: 576px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .display-1, .display-2 {
        font-size: 2.2rem !important;
    }
    
    .display-3 {
        font-size: 1.8rem !important;
    }
    
    .display-4, .display-5 {
        font-size: 1.6rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
    }
    
    .badge-haul {
        font-size: 0.7rem;
        padding: 0.25rem 0.8rem;
    }
    
    .gold-underline {
        width: 50px;
        height: 3px;
        margin: 0.3rem 0 1rem 0;
    }
    
    .hero-board {
        padding: 0.8rem;
        border-radius: 16px;
    }
    
    .board-header h5 {
        font-size: 0.8rem;
    }
    
    .board-header .badge-board {
        font-size: 0.55rem;
        padding: 0.15rem 0.5rem;
    }
    
    .stat-mini-card {
        padding: 0.3rem 0.4rem;
        border-radius: 8px;
    }
    
    .stat-mini-value {
        font-size: 0.8rem;
    }
    
    .stat-mini-label {
        font-size: 0.45rem;
    }
    
    .load-card {
        padding: 0.6rem;
        border-left-width: 3px;
    }
    
    .load-card .load-title {
        font-size: 0.75rem;
    }
    
    .load-card .load-meta {
        font-size: 0.65rem;
    }
    
    .route-map svg {
        height: 30px;
    }
    
    .live-progress {
        height: 5px;
    }
    
    .live-progress .progress-fill::after {
        width: 8px;
        height: 8px;
    }
    
    .stats-row .stat-item {
        font-size: 0.6rem;
        gap: 0.3rem 0.8rem;
    }
    
    .bottom-row {
        font-size: 0.55rem;
        gap: 0.2rem 0.5rem;
    }
    
    .bottom-row .label {
        font-size: 0.5rem;
    }
    
    .status-tag {
        font-size: 0.5rem;
        padding: 0.05rem 0.4rem;
    }
    
    .driver-status {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }
    
    .driver-status .dot {
        width: 5px;
        height: 5px;
    }
    
    .card-haul {
        border-radius: 16px;
    }
    
    .card-haul .card-body {
        padding: 1.2rem 1rem;
    }
    
    .card-haul h4 {
        font-size: 1rem;
    }
    
    .list-bullet-gold li {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .list-bullet-gold i {
        font-size: 0.9rem;
    }
    
    .chart-wrapper {
        height: 80px;
    }
    
    .form-control, .form-select {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    .btn-cta, .btn-cta-outline {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .chip-list .chip {
        font-size: 0.6rem;
        padding: 0.15rem 0.6rem;
        margin: 0.1rem 0.15rem 0.1rem 0;
    }
    
    .footer-haul {
        padding: 2rem 0 !important;
    }
    
    .footer-haul .brand-logo {
        font-size: 1.4rem;
    }
    
    .footer-haul .brand-sub {
        font-size: 0.55rem;
    }
    
    .footer-haul .footer-heading {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-haul .footer-links a {
        font-size: 0.75rem;
    }
    
    .footer-cta-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.75rem;
    }
    
    .footer-haul .bottom-bar {
        flex-direction: column;
        text-align: center;
        font-size: 0.6rem;
        gap: 0.3rem;
    }
    
    .footer-haul .bottom-bar .tagline {
        font-size: 0.6rem;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }
    
    .navbar-haul .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-haul .nav-link {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }
    
    .navbar-haul .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .icon-wrapper {
        width: 55px;
        height: 55px;
    }
    
    .icon-wrapper i {
        font-size: 1.6rem;
    }
    
    /* 404 Page Mobile */
    .error-section {
        padding: 3rem 0 1.5rem;
        min-height: auto;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-icon {
        font-size: 2.8rem;
    }
    
    .error-divider {
        width: 50px;
        height: 3px;
        margin: 1rem 0;
    }
    
    .error-subtitle {
        font-size: 0.9rem;
    }
    
    .suggestion-card {
        padding: 1rem 1.2rem;
        border-radius: 16px;
    }
    
    .suggestion-card .icon-wrap {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .suggestion-card h6 {
        font-size: 0.85rem;
        margin-top: 0.4rem;
    }
    
    .suggestion-card p {
        font-size: 0.75rem;
    }
    
    .suggestion-card a {
        font-size: 0.75rem;
    }
}

/* === Extra Small Phones (max-width: 375px) - iPhone SE === */
@media (max-width: 375px) {
    .display-1, .display-2 {
        font-size: 1.8rem !important;
    }
    
    .display-3 {
        font-size: 1.5rem !important;
    }
    
    .display-4, .display-5 {
        font-size: 1.3rem !important;
    }
    
    .lead {
        font-size: 0.85rem !important;
    }
    
    .hero-board {
        padding: 0.6rem;
        border-radius: 12px;
    }
    
    .stat-mini-value {
        font-size: 0.7rem;
    }
    
    .stat-mini-label {
        font-size: 0.4rem;
    }
    
    .load-card {
        padding: 0.4rem;
    }
    
    .load-card .load-title {
        font-size: 0.65rem;
    }
    
    .load-card .load-meta {
        font-size: 0.55rem;
    }
    
    .stats-row .stat-item {
        font-size: 0.55rem;
        gap: 0.2rem 0.5rem;
    }
    
    .bottom-row {
        font-size: 0.5rem;
    }
    
    .bottom-row .label {
        font-size: 0.45rem;
    }
    
    .status-tag {
        font-size: 0.45rem;
        padding: 0.05rem 0.3rem;
    }
    
    .card-haul .card-body {
        padding: 0.8rem 0.6rem;
    }
    
    .card-haul h4 {
        font-size: 0.85rem;
    }
    
    .list-bullet-gold li {
        font-size: 0.7rem;
    }
    
    .btn-cta, .btn-cta-outline {
        padding: 0.35rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .btn-lg {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.75rem !important;
    }
    
    .chip-list .chip {
        font-size: 0.55rem;
        padding: 0.1rem 0.4rem;
    }
    
    .footer-haul .brand-logo {
        font-size: 1.2rem;
    }
    
    .footer-haul .footer-heading {
        font-size: 0.7rem;
    }
    
    .footer-haul .footer-links a {
        font-size: 0.7rem;
    }
    
    .footer-cta-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.65rem;
    }
    
    .navbar-haul .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-haul .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
    
    .back-to-top-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        bottom: 12px;
        right: 12px;
    }
    
    .error-number {
        font-size: 3rem;
    }
    
    .error-icon {
        font-size: 2.2rem;
    }
    
    .icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .icon-wrapper i {
        font-size: 1.3rem;
    }
}

/* === Tablets (576px to 768px) === */
@media (min-width: 577px) and (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .display-1, .display-2 {
        font-size: 2.8rem !important;
    }
    
    .display-3 {
        font-size: 2.2rem !important;
    }
    
    .display-4, .display-5 {
        font-size: 1.8rem !important;
    }
    
    .hero-board {
        padding: 1.2rem;
    }
    
    .stat-mini-value {
        font-size: 0.95rem;
    }
    
    .card-haul .card-body {
        padding: 1.5rem 1.2rem;
    }
    
    .btn-lg {
        padding: 0.7rem 2rem !important;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .icon-wrapper i {
        font-size: 1.8rem;
    }
}

/* === Large Tablets & Small Laptops (768px to 992px) === */
@media (min-width: 769px) and (max-width: 992px) {
    .section-padding {
        padding: 3.5rem 0;
    }
    
    .display-1, .display-2 {
        font-size: 3.2rem !important;
    }
    
    .navbar-haul .nav-link::after {
        display: none;
    }
    
    .navbar-haul .nav-link.active {
        color: #FFD400;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .navbar-haul,
    .footer-haul,
    .back-to-top-btn {
        display: none !important;
    }
    
    body {
        background-color: #ffffff;
        color: #000000;
    }
    
    .card-haul {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}