/* Canvas 7 Base Variables */
:root {
    --cnvs-themecolor: #c45e00;
    --cnvs-themecolor-rgb: 196, 94, 0;
    --cnvs-primary-font: 'Inter', sans-serif;
    --cnvs-body-font: 'Inter', sans-serif;
    --cnvs-secondary-font: 'PT Serif', serif;
}

/* ============================================
   HERO SECTION — Full-viewport slider with
   compact floating booking form bottom-left
   ============================================ */

.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    margin-top: -76px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 76px 0 0 0;
}

.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active { opacity: 1; }

.slide-1 {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5)),
                url('/static/images/vehicles/482023518_1221050956691801_450952480247510902_n.jpg');
    background-position: center; background-size: cover;
}
.slide-2 {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5)),
                url('/static/images/vehicles/caption.jpg');
    background-position: center; background-size: cover;
}
.slide-3 {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5)),
                url('/static/images/vehicles/unnamed.jpg');
    background-position: center; background-size: cover;
}
.slide-4 {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.5)),
                url('https://images.pexels.com/photos/5717576/pexels-photo-5717576.jpeg?auto=compress&cs=tinysrgb&w=2070&q=80');
    background-position: center; background-size: cover;
}

/* Navbar - handled by main.css (fixed-top with scroll behavior) */

/* ============================================
   CONTAINER — Left-aligned on desktop
   ============================================ */

.hero-slider-section > .container-fluid {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-slider-section > .container-fluid > .row {
    justify-content: flex-end !important;
    /* Center the form on the golden ratio line (~61.8% from left) */
    padding-right: calc(38.2% - 360px);
}

/* ============================================
   BOOKING FORM — Compact, glassmorphism, sleek
   ============================================ */

.hero-booking-form {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 720px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.hero-booking-form.expanded {
    max-height: none !important;
    height: auto !important;
}

/* ============================================
   SERVICE TYPE TABS — Compact
   ============================================ */

.service-type-tabs {
    margin-bottom: 16px;
}

.service-type-tabs .nav-tabs {
    border: none;
    display: flex;
    gap: 0;
}

.service-type-tabs .nav-link {
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(196, 94, 0, 0.15);
    border-radius: 0;
    padding: 10px 8px;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1 1 0;
    text-align: center;
}

.service-type-tabs .nav-link:first-child {
    border-radius: 8px 0 0 8px;
}

.service-type-tabs .nav-link:last-child {
    border-radius: 0 8px 8px 0;
}

.service-type-tabs .nav-link + .nav-link {
    border-left: none;
}

.service-type-tabs .nav-link i {
    font-size: 1rem;
}

.service-type-tabs .nav-link:hover {
    background: rgba(196, 94, 0, 0.08);
    border-color: var(--cnvs-themecolor);
    color: var(--cnvs-themecolor);
}

.service-type-tabs .nav-link.active {
    background: var(--cnvs-themecolor);
    border-color: var(--cnvs-themecolor);
    color: white;
    box-shadow: 0 3px 10px rgba(196, 94, 0, 0.25);
}

.service-type-tabs .nav-link.active:hover {
    background: var(--cnvs-themecolor);
    color: white;
}

/* ============================================
   TAB CONTENT
   ============================================ */

.tab-content {
    margin-top: 12px;
}

.excursion-info { font-size: 0.82rem; line-height: 1.5; }
.excursion-info p { margin-bottom: 6px; }
.excursion-info strong { color: var(--cnvs-themecolor); }

/* ============================================
   FORM ELEMENTS — Compact & sleek
   ============================================ */

.hero-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.hero-form-group {
    position: relative;
}

.hero-form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    color: #4b5563;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

.hero-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    background: white;
}

.hero-form-control:focus {
    outline: none;
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 0 0 2px rgba(196, 94, 0, 0.08);
}

.hero-form-control.with-icon {
    padding-left: 32px;
}

.location-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cnvs-themecolor);
    font-size: 0.85rem;
}

/* ============================================
   LUGGAGE SELECTOR — Compact
   ============================================ */

.luggage-selector {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 6px;
}

.luggage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.luggage-icon {
    font-size: 1.1rem;
    color: var(--cnvs-themecolor);
}

.luggage-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3px;
}

.luggage-btn {
    width: 22px; height: 22px;
    border: none;
    border-radius: 50%;
    background: var(--cnvs-themecolor);
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.luggage-btn:hover { background: #a34f00; }
.luggage-btn.minus { background: #dc3545; }
.luggage-btn.minus:hover { background: #c82333; }

.luggage-count {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.luggage-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
}

#children-ages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 6px;
}

/* ============================================
   VEHICLE SELECTION — Compact cards
   ============================================ */

.vehicle-selection {
    margin-top: 16px;
}


.vehicle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.vehicle-option {
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.vehicle-option:hover {
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.vehicle-option.selected {
    border-color: var(--cnvs-themecolor);
    background: rgba(196, 94, 0, 0.04);
    box-shadow: 0 0 0 2px rgba(196, 94, 0, 0.15);
}

.vehicle-option.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f9f9f9;
}

.vehicle-img-wrap {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image {
    width: 120px;
    height: 70px;
    object-fit: contain;
}

.vehicle-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.vehicle-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1f2937;
    margin-bottom: 4px;
}

.vehicle-features {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: #6b7280;
}

.vehicle-features i {
    color: var(--cnvs-themecolor);
    margin-right: 2px;
}

.vehicle-warning {
    color: #dc3545;
    font-size: 0.75rem;
    margin-top: 3px;
}

.vehicle-price-wrap {
    flex-shrink: 0;
    text-align: right;
}

.vehicle-price {
    background: linear-gradient(45deg, var(--cnvs-themecolor), #8b4000);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.vehicle-option.selected .vehicle-price {
    background: #1f2937;
}

/* ============================================
   ACTION BUTTONS — Sleek
   ============================================ */

.hero-search-btn {
    background: linear-gradient(45deg, var(--cnvs-themecolor), #8b4000);
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 12px rgba(196, 94, 0, 0.25);
}

.hero-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(196, 94, 0, 0.35);
}

.hero-search-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Booking action buttons (Back + Submit) */
.booking-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.booking-action-buttons .btn-back {
    background: #6b7280;
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 0.8rem;
}

.booking-action-buttons .btn-submit {
    flex: 1;
    padding: 8px 16px;
    font-size: 0.8rem;
    min-width: 0;
}

/* Luggage grid */
.luggage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

/* Return transfer grid */
.return-transfer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

/* ============================================
   FLOATING LABELS — Compact
   ============================================ */

.form-floating > .form-control,
.form-floating > .form-select {
    padding-left: 32px !important;
    height: calc(2.8rem + 2px);
    line-height: 1.25;
    font-size: 0.82rem;
}

.form-floating > label {
    position: absolute !important;
    top: 50% !important;
    left: 32px !important;
    transform: translateY(-50%) !important;
    color: #999 !important;
    font-weight: 400 !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
    pointer-events: none !important;
    opacity: 1 !important;
    z-index: 2 !important;
    background: transparent !important;
    transition: none !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label,
.form-floating > .form-control:valid ~ label,
.form-floating > .form-control:invalid ~ label {
    position: absolute !important;
    top: 50% !important;
    left: 32px !important;
    transform: translateY(-50%) !important;
    font-size: 0.78rem !important;
    opacity: 1 !important;
    color: #999 !important;
    transition: none !important;
    animation: none !important;
}

.location-icon {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 5 !important;
    color: var(--cnvs-themecolor) !important;
    font-size: 0.9rem !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 16px !important;
    width: 16px !important;
}

/* Hide browser default date/time pickers */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-outer-spin-button {
    display: none !important;
    -webkit-appearance: none !important;
}

/* ============================================
   CONTACT FORM — Compact
   ============================================ */

.contact-form {
    display: none;
    background: white;
    padding: 18px;
    border-radius: 10px;
    margin-top: 16px;
}

.contact-form.active { display: block; }

/* ============================================
   MAP & HIDDEN SECTIONS
   ============================================ */

#map-section {
    overflow: hidden;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-pill {
    display: inline-block;
    background: rgba(var(--cnvs-themecolor-rgb,196,94,0),0.1);
    color: var(--cnvs-themecolor);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-title {
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}

/* ============================================
   FLEET CARDS
   ============================================ */
.fleet-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.25s ease;
    text-align: center;
}
.fleet-card:hover {
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.fleet-card-img {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 10px 8px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fleet-card-img img {
    max-height: 130px;
    max-width: 100%;
    object-fit: contain;
}
.fleet-card-body {
    padding: 14px 12px 16px;
}
.fleet-card-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
    margin: 0 0 8px;
}
.fleet-card-specs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #6b7280;
}
.fleet-card-specs i {
    color: var(--cnvs-themecolor);
    margin-right: 3px;
}
.fleet-card-price {
    font-size: 0.85rem;
    color: #374151;
}
.fleet-card-price strong {
    color: var(--cnvs-themecolor);
    font-size: 1.05rem;
}

/* ============================================
   POPULAR ROUTES
   ============================================ */
.route-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.route-card:hover {
    border-color: var(--cnvs-themecolor);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.route-card.selected {
    border-color: var(--cnvs-themecolor);
    background: rgba(196, 94, 0, 0.04);
}
.route-card-top { flex: 1; }
.route-locations {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.route-from, .route-to {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.route-from i { color: var(--cnvs-themecolor); }
.route-to i { color: #059669; }
.route-arrow {
    color: #d1d5db;
    font-size: 0.75rem;
    padding-left: 7px;
}
.route-card-bottom {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.route-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #9ca3af;
}
.route-meta i { margin-right: 3px; }
.route-price-tag {
    background: linear-gradient(135deg, var(--cnvs-themecolor), #a85400);
    color: #fff;
    padding: 6px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ============================================
   EXCURSION CARDS — Modern design
   ============================================ */

.excursion-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.exc-card {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.exc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

.exc-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.exc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exc-card:hover .exc-card-img img {
    transform: scale(1.08);
}

.exc-card-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d1d5db;
}

.exc-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    pointer-events: none;
}

.exc-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.exc-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.exc-badge-fav {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.exc-badge-pop {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.exc-card-duration {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.exc-card-price {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.exc-price-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.exc-price-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.exc-card-body {
    padding: 16px 18px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.exc-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px;
    line-height: 1.3;
}

.exc-card-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px;
    flex: 1;
}

.exc-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.exc-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.exc-meta-item i { font-size: 0.8rem; }

.exc-stars {
    display: flex;
    gap: 1px;
    font-size: 0.65rem;
    color: #fbbf24;
}

.exc-stars i { font-size: 0.65rem !important; }

.exc-meta-arrow {
    margin-left: auto;
    color: var(--cnvs-themecolor);
    font-weight: 600;
    transition: gap 0.2s ease;
}

.exc-card:hover .exc-meta-arrow {
    gap: 8px;
}

/* ============================================
   MISC — Pexels, tooltips, hidden elements
   ============================================ */

.pexels-image { transition: transform 0.3s ease, filter 0.3s ease; cursor: help; }
.pexels-image:hover { transform: scale(1.02); filter: brightness(1.1); }
.excursion-image-container:hover .pexels-image { box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

.tooltip .tooltip-inner {
    background-color: rgba(0, 0, 0, 0.9);
    color: white; border-radius: 6px;
    padding: 6px 10px; font-size: 11px; max-width: 220px;
}
.tooltip .tooltip-arrow { border-bottom-color: rgba(0, 0, 0, 0.9); }


/* Allow scrolling when search results expand the form */
.hero-slider-section.search-active {
    min-height: 100vh;
    height: 100vh;
    overflow: visible;
    align-items: flex-start;
    padding-top: 100px;
}
.hero-slider-section.search-active > .background-slider {
    height: 100vh;
}
body.search-active { overflow-y: auto !important; }
.booking-form-expanded { max-height: none !important; overflow: visible !important; }


/* ============================================
   MOBILE — Stacked layout, full-width form
   ============================================ */

@media (max-width: 768px) {
    body { overflow-x: hidden; }

    .hero-slider-section {
        display: block !important;
        min-height: auto;
        height: auto;
        padding: 0 !important;
        padding-top: 80px !important;
        margin-top: -80px !important;
        padding-bottom: 10px !important;
        width: 100%;
        overflow-x: hidden;
        align-items: unset;
    }

    .hero-slider-section > .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .background-slider {
        position: relative !important;
        height: 220px !important;
        width: 100%;
        margin-bottom: 0;
    }
    .background-slider .slide {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 0;
    }

    .hero-booking-form {
        padding: 14px;
        margin: 0;
        border-radius: 0;
        background: white;
        backdrop-filter: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }

    .hero-slider-section > .container-fluid > .row {
        justify-content: center !important;
    }

    .hero-form-row {
        grid-template-columns: 1fr !important;
        gap: 10px;
        margin-bottom: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-form-control {
        padding: 12px 14px;
        font-size: 16px; /* Prevent iOS zoom */
        border-radius: 8px;
        min-height: 44px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-form-control.with-icon {
        padding-left: 36px;
    }

    /* Reduce icon sizes on mobile */
    .bi, i[class*="bi-"] { font-size: 14px !important; }
    .location-icon { font-size: 12px !important; }
    .service-type-tabs .nav-link i { font-size: 14px !important; }
    .vehicle-features i { font-size: 12px !important; }
    .hero-search-btn i { font-size: 12px !important; }

    .service-type-tabs .nav-link {
        padding: 7px 8px;
        font-size: 0.75rem;
        flex: 1;
        text-align: center;
        min-height: 40px;
        justify-content: center;
        gap: 5px;
    }
    .service-type-tabs .nav-link span {
        font-size: 0.7rem;
        line-height: 1.1;
    }

    .luggage-selector {
        gap: 12px;
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .luggage-controls { padding: 6px; }
    .luggage-btn { width: 28px; height: 28px; font-size: 0.9rem; touch-action: manipulation; }
    .luggage-count { font-size: 0.9rem; min-width: 24px; }

    .luggage-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }

    .return-transfer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .return-transfer-grid .hero-search-btn {
        grid-column: 1 / -1;
    }

    .booking-action-buttons {
        flex-direction: column !important;
        gap: 8px !important;
    }

    .booking-action-buttons .btn-back,
    .booking-action-buttons .btn-submit {
        width: 100% !important;
        flex: none !important;
        margin-top: 0 !important;
    }

    .hero-search-btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 0.9rem;
        margin-top: 12px;
        border-radius: 8px;
        min-height: 46px;
        touch-action: manipulation;
    }

    .vehicle-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .vehicle-option {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .vehicle-img-wrap {
        width: 80px !important;
    }
    .vehicle-image {
        width: 80px !important;
        height: 50px !important;
    }
    .vehicle-name { font-size: 0.85rem !important; }
    .vehicle-features { font-size: 0.72rem !important; gap: 8px !important; }
    .vehicle-price { font-size: 0.88rem !important; padding: 5px 12px !important; }

    div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 8px !important; }
    .route-card { width: 100% !important; max-width: 100% !important; margin-bottom: 8px !important; }
    .container[style*="max-width: 80%"] { max-width: 100% !important; padding-left: 15px !important; padding-right: 15px !important; }
    .excursion-card, .excursion-item { width: 100% !important; max-width: 100% !important; margin-bottom: 8px !important; }
    .exc-card-img { height: 180px; }
    .exc-card-title { font-size: 0.92rem; }
    .exc-card-desc { font-size: 0.78rem; }
    .exc-price-amount { font-size: 1.2rem; }

    .contact-form { margin-top: 12px !important; padding: 14px !important; }
    .contact-form[style*="display: none"],
    .contact-form:not(.active) {
        display: none !important;
        margin: 0 !important; padding: 0 !important; height: 0 !important; overflow: hidden !important;
    }

    #route-map { height: 220px !important; border-radius: 6px; }

    .form-floating > .form-control,
    .form-floating > .form-select {
        height: calc(2.8rem + 2px);
        font-size: 16px;
        padding-left: 32px !important;
        padding-top: 1.1rem !important;
    }
    .form-floating > label { top: 50% !important; left: 32px !important; transform: translateY(-50%) !important; font-size: 0.72rem !important; }
    .form-floating > .form-control:focus ~ label,
    .form-floating > .form-control:not(:placeholder-shown) ~ label,
    .form-floating > .form-select ~ label {
        top: 50% !important; left: 32px !important; transform: translateY(-50%) !important;
        font-size: 0.72rem !important; color: #999 !important; opacity: 1 !important;
    }
    .location-icon { left: 10px !important; font-size: 0.85rem !important; height: 16px !important; width: 16px !important; }
}

/* ============================================
   EXTRA SMALL (<480px)
   ============================================ */

@media (max-width: 480px) {
    body { overflow-x: hidden !important; width: 100vw; max-width: 100vw; }

    .hero-slider-section > .container-fluid {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .hero-slider-section {
        display: block !important;
        padding: 0;
        padding-top: 80px !important;
        margin-top: -80px !important;
        min-height: auto; height: auto;
    }

    .background-slider { height: 200px !important; }

    .hero-booking-form {
        padding: 10px !important;
        margin: 0 !important;
        width: 100%; max-width: 100%;
        overflow-x: hidden;
    }

    .hero-form-row { width: 100% !important; max-width: 100% !important; }
    .hero-form-group { width: 100% !important; max-width: 100% !important; }

    .hero-form-control {
        padding: 10px 12px !important;
        font-size: 16px !important;
        width: 100% !important; max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .hero-form-control.with-icon { padding-left: 32px !important; }

    .hero-form-group label { font-size: 0.72rem; margin-bottom: 3px; }

    textarea.hero-form-control, select.hero-form-control {
        width: 100% !important; max-width: 100% !important;
        box-sizing: border-box !important; resize: vertical;
    }

    .hero-booking-form > *,
    .hero-booking-form .hero-form-row *,
    .hero-booking-form .hero-form-group * { max-width: 100% !important; box-sizing: border-box !important; }
    #route-map * { max-width: none !important; }

    .hero-search-btn {
        width: 100% !important; max-width: 100% !important;
        margin: 4px 0 !important; padding: 10px 14px; font-size: 0.82rem;
    }

    .service-type-tabs .nav-link { padding: 5px 5px; font-size: 0.7rem; min-height: 36px; gap: 3px; }
    .service-type-tabs .nav-link span { font-size: 0.65rem; }

    .luggage-selector { gap: 8px; margin-top: 6px; }
    .luggage-label { font-size: 0.65rem; }

    .luggage-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .return-transfer-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .return-transfer-grid .hero-search-btn {
        grid-column: 1 / -1;
    }

    .vehicle-grid { gap: 6px; }

    .contact-form { margin-top: 10px !important; padding: 10px !important; }

    .tab-content { margin-top: 6px !important; }
    .tab-pane { padding: 0 !important; margin: 0 !important; }

    div[style*="padding: 15px; border: 2px solid"] { padding: 8px !important; }
}
