/* ==========================================================================
   THEME CONFIGURATION & GLOBAL VARIABLES
   ========================================================================== */
:root {
    --primary: #003399;
    --primary-hover: #002266;
    --primary-light: rgba(0, 51, 153, 0.06);
    --yellow: #ffcc00;
    --yellow-hover: #e6b800;
    --red: #e51a1a;
    --red-hover: #cc1414;
    --dark: #285E3E;
    --light-bg: #f4f7fb;
    --input-border: #cbd5e1;
    --radius-lg: 24px;
    --radius-md: 14px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 35px rgba(0, 30, 100, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 17, 75, 0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light-bg);
    color: #0F172A;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. NAVIGATION HEADER BAR
   ========================================================================== */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.navbar-brand img {
    height: 65px;
    width: auto;
}

.nav-link {
    color: var(--dark) !important;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 4px !important;
    position: relative;
    transition: var(--transition);
}



.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #285E3E;
    border-radius: 2px;
}

.btn-navbar-action {
    background: var(--yellow) !important;
    color: #285E3E !important;
    border: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px !important;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.25);
}

.btn-navbar-action:hover {
    background: var(--yellow-hover) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO PROMOTIONAL CANVAS
   ========================================================================== */


.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.02em;
    
}

.hero-title span {
    color: var(--yellow);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin-top: 20px;
    line-height: 1.6;
}

/* Precise absolute positioning of the fleet asset wrapper */
.hero-bus-container {
    position: absolute;
    right: 2%;
    bottom: 30px;
    width: 50%;
    z-index: 2;
    pointer-events: none;
}

.hero-bus-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

/* BUTTON ARCHITECTURE STYLES */
.btn-yellow {
    background: var(--yellow);
    color: #000000;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    transition: var(--transition);
}

.btn-yellow:hover {
    background: var(--yellow-hover);
    color: #000000;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* ==========================================================================
   3. BOOKING SEARCH INTERFACE BLOCK
   ========================================================================== */
.container-booking {
    position: relative;
    z-index: 25;
    margin-top: -90px;
}

.booking-card {
    background: #ffffff !important;
    border-radius: var(--radius-lg) !important;
    padding: 35px !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Filter Type Selection Tabs */
.booking-tabs-wrapper {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 0px;
    margin-bottom: 24px;
}

.booking-tabs-wrapper .tab-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #64748b !important;
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: var(--transition);
}

.booking-tabs-wrapper .tab-btn:hover {
    color: #285E3E !important;        /* Text turns forest green when your mouse glides over it */
}

.booking-tabs-wrapper .tab-btn.active {
    background: #285E3E !important;   /* Solid forest green block background for the selected tab */
    color: #ffffff !important;        /* Keeps your text and icons pure crisp white */
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

/* Input Icon Enclosures & Layout Spacing Fixes */
.input-icon-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-group .field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    z-index: 10;
    pointer-events: none;
}

/* Select overrides avoiding overlapping native arrows */
.booking-input {
    width: 100% !important;
    height: 60px !important;
    padding-left: 52px !important;
    padding-right: 20px !important;
    background-color: #f8fafc !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--radius-md) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--dark) !important;
    background-image: none !important;
    appearance: none !important;
    transition: var(--transition) !important;
}

.booking-input:focus {
    background-color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(0, 51, 153, 0.12) !important;
    outline: none !important;
}

/* Mid-row Direction Switcher Node Decoration */
.route-direction-swapper {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid var(--input-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -15px;
    position: relative;
    z-index: 12;
    box-shadow: var(--shadow-sm);
}

/* Action Execution Button Styling */
.search-btn {
    width: 100%;
    height: 60px !important;
    background: var(--red) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition) !important;
    box-shadow: 0 4px 15px rgba(229, 26, 26, 0.3) !important;
}

.search-btn:hover {
    background: var(--red-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229, 26, 26, 0.4) !important;
}

/* ==========================================================================
   4. MARKETING SYSTEM FEATURES VALUES STRIP
   ========================================================================== */
.feature-item h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.feature-item small {
    font-size: 0.8rem;
    display: block;
}

.feature-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

/* Micro semantic light badge classes */
.bg-primary-light { background: rgba(0, 51, 153, 0.08); }
.bg-warning-light { background: rgba(255, 204, 0, 0.12); color: #b28f00 !important; }
.bg-danger-light { background: rgba(229, 26, 26, 0.08); }
.bg-info-light { background: rgba(14, 165, 233, 0.08); color: #0284c7 !important; }
.bg-dark-light { background: rgba(15, 23, 42, 0.08); }

/* ==========================================================================
   5. POPULAR ROUTES REGION GRID
   ========================================================================== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.route-card-modern {
    background: #285E3E;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.route-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-banner {
    height: 150px;
    background-size: cover;
    background-position: center;
    padding: 24px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

/* Tinted overlay layer protecting text eligibility */
.card-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
   
    z-index: 1;
}

.route-cities {
    position: relative;
    z-index: 2;
    width: 100%;
}

.route-cities h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.route-divider {
    color: var(--yellow);
    font-size: 0.85rem;
}

/* Flex Container for the Lower Price/Action Segment */
.card-pricing-bar {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.price-meta span {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}

.price-meta h5 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.btn-yellow-sm {
    background: var(--yellow);
    color: #000000;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.15);
}

.btn-yellow-sm:hover {
    background: var(--yellow-hover);
    color: #000000;
}

/* ==========================================================================
   6. SYSTEM FOOTER INFO UTILITY RIBBON
   ========================================================================== */
.system-ribbon-bar {
    background: var(--dark);
    padding: 22px 0;
    margin-top: 60px;
    font-size: 0.95rem;
}

.btn-warning-pill-sm {
    background: var(--yellow);
    color: #000000;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-warning-pill-sm:hover {
    background: var(--yellow-hover);
    color: #000000;
}

/* FLOATING QUICK DIAL TRIGGER */
.whatsapp-floating-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none !important;
}

.whatsapp-floating-trigger:hover {
    transform: scale(1.08);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE CANVAS ARCHITECTURE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: 3.5rem; }
    .hero-bus-container { width: 48%; right: 0; }
    .route-direction-swapper { display: none !important; }
}

@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-bottom: 280px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-bus-container {
        width: 80%;
        max-width: 480px;
        right: 50%;
        bottom: 20px;
        transform: translateX(50%);
    }
    .container-booking { margin-top: -60px; }
    .nav-link.active::after { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .booking-card { padding: 24px !important; }
    .booking-tabs-wrapper { overflow-x: auto; white-space: nowrap; }
}

/* ==========================================================================
   UNIFIED INNER PAGE CANVASES CONTAINERS ARCHITECTURE
   ========================================================================== */
.page-main-container {
    background-color: #f4f7fb; /* Matches home screen background canvas tint exactly */
    min-height: calc(100vh - 350px); /* Pushes system footers down dynamically */
    display: block;
}


.route-meta-details {
    border-left: 3px solid var(--primary);
}
/* ==========================================================================
   DYNAMIC PANEL TRANSITION ENGINE RULES
   ========================================================================== */
.booking-panel {
    display: none !important; /* Hide all panels by default */
}

.booking-panel.active-panel {
    display: block !important; /* Only reveal the currently active container grid */
}
/* Perfect contrast text color for the paragraph description */
.company-hero-card .text-white-muted {
    color: rgba(248, 250, 252, 0.85) !important; /* Elegant off-white that pops against dark green */
}

/* Enable hover functionality for desktop screens */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; 
    }
}

/* Combined & cleaned up properties into one single rule */
.company-hero-card {
    background-color: #285E3E !important; /* Your signature deep forest green */
    border-bottom: 4px solid #ffc107;      /* Your sharp yellow accent bottom line */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
    .service-highlight-list li {
        font-size: 0.88rem;
        margin-bottom: 6px;
        color: #475569;
        display: flex;
        align-items: center;
    }
    .depot-pill-badge {
        background-color: rgba(5, 0, 109, 0.06);
        color: #05006d;
        font-weight: 600;
        font-size: 0.85rem;
        padding: 6px 14px;
        border-radius: 6px;
        display: inline-block;
        transition: all 0.2s ease;
    }
    .depot-pill-badge:hover {
        background-color: #05006d;
        color: #ffffff;
    }
    .feature-subheading {
        font-weight: 700;
        font-size: 0.9rem;
        color: #05006d;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    /* Interactive Enhancement Styles */
        .feature-badge-large {
            width: 60px;
            height: 60px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }
        .bg-map-overlay {
            background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('assets/images/limpopo-map-bg.png') center/cover no-repeat;
        }
        .city-tag {
            background-color: #f8f9fa;
            border-left: 4px solid #285E3E;
            transition: all 0.3s ease;
        }
        .city-tag:hover {
            background-color: #285E3E;
            color: #fff !important;
            transform: translateY(-2px);
        }
        .stat-card h2 {
            font-size: 2.75rem;
            font-weight: 800;
            color: #ffc107;
        }
        .system-ribbon-bar {
    background: #1f3b2c;
    font-size: 14px;
}

.system-ribbon-bar i {
    font-size: 15px;
}

.system-ribbon-bar span:hover {
    color: #ffffff;
    transition: 0.3s;
}





/* =========================
   HERO WRAPPER
========================= */
.hero-section {
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    min-height: 75vh;
}

/* =========================
   HERO SLIDE (BACKGROUND IMAGE)
========================= */
.hero-slide {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

/* =========================
   YOUR GREEN GRADIENT OVERLAY
   (RESTORED FROM OLD DESIGN)
========================= */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        95deg,
        rgba(40, 94, 62, 0.85) 30%,   /* strong green left */
        rgba(40, 94, 62, 0.45) 60%,   /* mid fade */
        rgba(40, 94, 62, 0.15) 100%   /* light right fade */
    );

    z-index: 1;
}

/* =========================
   HERO TEXT CONTENT
========================= */
.hero-content {
    position: relative;
    z-index: 5;
}

/* Headings */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Paragraph */
.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Buttons */
.hero-content .btn {
    border-radius: 8px;
}

/* =========================
   SWIPER NAVIGATION
========================= */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
    background: #ffffff;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 60vh;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}


