/* =====================================================
   ONECALLCAB — RESPONSIVE OVERRIDES
   Most spacing/typography is already fluid via clamp() in
   style.css. This file only handles things clamp() cannot:
   - the desktop-nav <-> hamburger-sidebar switch
   - Bootstrap grid column behaviour references
   - a few structural tweaks at exact requested breakpoints:
     250 / 280 / 320 / 360 / 375 / 425 / 480 / 576 / 768 /
     992 / 1200 / 1400 / 1600 / 1920+
===================================================== */

/* -----------------------------------------------------
   NAV: hamburger sidebar mode
   (kept below 1200px so the full desktop nav-menu — 7
   links + 2 icons + Book Now — always has room and never
   overflows the header on small laptops/tablets)
----------------------------------------------------- */
@media (max-width: 1199.98px) {
  .navbar-toggler {
    display: flex;
  }

  .nav-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 999;
    gap: 30px;
    overflow-y: auto;
  }

  .nav-collapse.open {
    right: 0;
  }

  .nav-close-btn {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .nav-link {
    color: var(--color-dark) !important;
    font-size: 16px;
    white-space: normal;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }

  .nav-icon-btn {
    background: var(--color-bg) !important;
    color: var(--color-dark) !important;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .process-line {
    display: none;
  }
}

/* -----------------------------------------------------
   250px — absolute floor. Guarantee zero overflow even
   at the narrowest possible viewport.
----------------------------------------------------- */
@media (max-width: 250px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 12px;
    gap: 5px;
  }

  .float-btn,
  .back-to-top {
    display: none;
  }
}

/* -----------------------------------------------------
   280px
----------------------------------------------------- */
@media (max-width: 280px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-badge {
    text-align: center;
  }

  .booking-card,
  .testimonial-card {
    padding: 16px;
  }

  .feature-card,
  .service-card,
  .route-card {
    padding: 18px 14px;
  }
}

/* -----------------------------------------------------
   320px
----------------------------------------------------- */
@media (max-width: 320px) {
  .booking-tabs {
    flex-wrap: wrap;
  }

  .booking-tab {
    flex: 1 1 45%;
  }

  .nav-collapse {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* -----------------------------------------------------
   360px
----------------------------------------------------- */
@media (max-width: 360px) {
  .fleet-footer,
  .route-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .fleet-footer .btn,
  .route-footer .btn {
    width: 100%;
  }
}

/* -----------------------------------------------------
   375px (iPhone SE/8/X baseline — sanity checkpoint,
   no special overrides needed thanks to fluid tokens)
----------------------------------------------------- */
@media (max-width: 375px) {
  .testimonial-user {
    flex-direction: column;
    text-align: center;
  }
}

/* -----------------------------------------------------
   425px
----------------------------------------------------- */
@media (max-width: 425px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* -----------------------------------------------------
   480px
----------------------------------------------------- */
@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* -----------------------------------------------------
   576px — Bootstrap sm boundary
----------------------------------------------------- */
@media (max-width: 576px) {
  .stat-box {
    margin-bottom: 6px;
  }
}

/* -----------------------------------------------------
   768px — Bootstrap md boundary
----------------------------------------------------- */
@media (max-width: 768px) {
  .hero {
    text-align: left;
  }
}

/* -----------------------------------------------------
   992px — Bootstrap lg boundary (grid stacking reference
   point; actual nav switch happens at 1199.98px above)
----------------------------------------------------- */
@media (max-width: 992px) {
  .testi-btn {
    width: 40px;
    height: 40px;
  }
}

/* -----------------------------------------------------
   1200px — Bootstrap xl boundary
----------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1400px) {
  .nav-menu {
    gap: 22px;
  }
}

/* -----------------------------------------------------
   1400px — Bootstrap xxl boundary
----------------------------------------------------- */
@media (min-width: 1400px) {
  .hero-subtitle {
    max-width: 540px;
  }
}

/* -----------------------------------------------------
   1600px — large desktop / small 4K scaling
----------------------------------------------------- */
@media (min-width: 1600px) {
  .section-title {
    max-width: 700px;
  }

  .testimonial-slider {
    max-width: 820px;
  }
}

/* -----------------------------------------------------
   1920px+ — full HD and up / 4K
----------------------------------------------------- */
@media (min-width: 1920px) {
  :root {
    --header-h: 92px;
  }

  .hero-subtitle {
    max-width: 580px;
  }

  .section-title {
    max-width: 760px;
  }
}

@media (max-width: 1199.98px) {
  .nav-collapse {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 30px;
  }

  .nav-menu-wrap {
    width: 100%;
  }

}

/* -----------------------------------------------------
   15. TESTIMONIALS
----------------------------------------------------- */
.testimonial-slider {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 4px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: clamp(18px, 3vw, 44px);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.testimonial-stars {
    color: var(--color-secondary);
    font-size: 14px;
    margin-bottom: clamp(12px, 1.6vw, 18px);
    letter-spacing: 3px;
}

.testimonial-card p {
    font-size: clamp(14px, 0.6vw + 12px, 17px);
    color: var(--color-dark);
    font-style: italic;
    margin-bottom: clamp(18px, 2.4vw, 26px);
    line-height: 1.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonial-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-secondary);
    flex-shrink: 0;
}

.testimonial-user h6 {
    font-size: 15px;
    margin-bottom: 2px;
}

.testimonial-user span {
    font-size: 12.5px;
    color: var(--color-text);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 20px);
    margin-top: clamp(22px, 3vw, 34px);
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: #fff;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.testi-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.08);
}

.testi-dots {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testi-dot.active {
    background: var(--color-secondary);
    width: 26px;
    border-radius: 5px;
}

/* =====================================================
   FLEET CAROUSEL — RESPONSIVE OVERRIDES
   slidesPerView itself is controlled by Swiper's JS
   breakpoints (1 / 2 / 3 / 4 cards — see script.js).
   This block only handles what clamp() cannot: side
   padding, control sizing and stacking at the extremes.
   Covers the full requested range (250px -> 3840px);
   viewports between the listed checkpoints inherit the
   nearest smaller rule, same pattern as the rest of this
   file.
===================================================== */

/* 250 / 280 / 320 -- absolute floor, zero overflow */
@media (max-width: 320px) {
  .fleet-swiper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .fleet-pro-specs {
    grid-template-columns: 1fr;
  }

  .fleet-pro-actions {
    flex-direction: column;
  }

  .fleet-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* 360 / 375 / 390 / 425 -- small phones, single card */
@media (max-width: 425px) {
  .fleet-swiper {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 40px;
  }

  .fleet-carousel-nav {
    gap: 12px;
  }
}

/* 480 / 576 -- large phones, still 1 card */
@media (max-width: 576px) {
  .fleet-pro-actions .btn {
    font-size: 12.5px;
    padding: 10px 8px;
  }
}

/* 768 / 820 -- tablet, Swiper switches to 2 cards */
@media (min-width: 768px) and (max-width: 991.98px) {
  .fleet-swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 992 / 1024 / 1200 -- small laptop, Swiper switches to 3 cards */
@media (min-width: 992px) and (max-width: 1599.98px) {
  .fleet-swiper {
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
  }
}

/* 1600 / 1920 / 2560 / 3840 -- large desktop / 4K, Swiper switches to 4 cards */
@media (min-width: 1600px) {
  .fleet-swiper {
    padding-left: clamp(40px, 4vw, 90px);
    padding-right: clamp(40px, 4vw, 90px);
  }

  .fleet-nav-btn {
    width: 50px;
    height: 50px;
    font-size: 17px;
  }
}

/* =====================================================
   ROUTES CAROUSEL — RESPONSIVE OVERRIDES
   slidesPerView is controlled by Swiper's JS breakpoints
   (1 / 2 / 3 cards -- see script.js). This block only
   handles what clamp() cannot, same approach as the Fleet
   carousel above. Covers 250px -> 3840px.
===================================================== */

/* 250 / 280 / 320 -- absolute floor, zero overflow */
@media (max-width: 320px) {
  .routes-swiper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .route-pro-fares {
    flex-direction: column;
  }

  .route-pro-actions {
    flex-direction: column;
  }
}

/* 360 / 375 / 390 / 425 -- small phones, single card */
@media (max-width: 425px) {
  .routes-swiper {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 40px;
  }

  .routes-carousel-nav {
    gap: 12px;
  }

  .routes-header {
    align-items: flex-start;
  }

  .routes-header .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 480 / 576 -- large phones, still 1 card */
@media (max-width: 576px) {
  .route-pro-actions .btn {
    font-size: 12.5px;
    padding: 10px 8px;
  }
}

/* 768 / 820 -- tablet, Swiper switches to 2 cards */
@media (min-width: 768px) and (max-width: 991.98px) {
  .routes-swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 992 / 1024 / 1200 and up -- laptop/desktop, Swiper switches to 3 cards */
@media (min-width: 992px) {
  .routes-swiper {
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
  }
}
/* =====================================================
   PACKAGES CAROUSEL — RESPONSIVE OVERRIDES
   slidesPerView is controlled by Swiper's JS breakpoints
   (1 / 2 / 3 / 4 cards -- see script.js). This block only
   handles what clamp() cannot, same approach as the Fleet
   and Routes carousels above. Covers 250px -> 3840px.
===================================================== */

/* 250 / 280 / 320 -- absolute floor, zero overflow */
@media (max-width: 320px) {
  .packages-swiper {
    padding-left: 8px;
    padding-right: 8px;
  }

  .package-actions {
    flex-direction: column;
  }
}

/* 360 / 375 / 390 / 425 -- small phones, single card */
@media (max-width: 425px) {
  .packages-swiper {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 40px;
  }

  .packages-carousel-nav {
    gap: 12px;
  }

  .packages-header {
    align-items: flex-start;
  }

  .packages-header .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 480 / 576 -- large phones, still 1 card */
@media (max-width: 576px) {
  .package-actions .btn {
    font-size: 12.5px;
    padding: 10px 8px;
  }
}

/* 768 / 820 -- tablet, Swiper switches to 2 cards */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .packages-swiper {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* 992 / 1024 / 1200 -- laptop, Swiper switches to 3 cards */
@media (min-width: 1200px) and (max-width: 1599.98px) {
  .packages-swiper {
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
  }
}

/* 1600 / 1920 / 2560 / 3840 -- large desktop / 4K, Swiper switches to 4 cards */
@media (min-width: 1600px) {
  .packages-swiper {
    padding-left: clamp(40px, 4vw, 90px);
    padding-right: clamp(40px, 4vw, 90px);
  }
}

/* =====================================================
   ROUTES PAGE — LEFT LIST + STICKY FORM
   Layout is Bootstrap 8/4 columns already; these rules
   only cover what clamp() and the grid cannot: the list
   column count and destination-card grid at the exact
   requested checkpoints.
===================================================== */

/* 250 / 280 / 320 -- absolute floor */
@media (max-width: 320px) {
  .routes-list-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dest-grid {
    grid-template-columns: 1fr;
  }

  .booking-card .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* 360 / 375 / 390 / 425 / 480 -- single column routes list */
@media (max-width: 575.98px) {
  .routes-list-grid {
    grid-template-columns: 1fr;
  }
}

/* 576 -- routes list becomes 2-up, destinations 2-up */
@media (min-width: 576px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768 / 820 -- tablet: routes list 2-up, destinations 2-up,
   booking form still stacks below the list (sticky needs
   the 8/4 desktop split which starts at 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .routes-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 992 / 1024 / 1200 -- desktop: sticky form kicks in,
   destinations move to 3-up */
@media (min-width: 992px) {
  .dest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1400 / 1600 / 1920+ -- large desktop: destinations 4-up */
@media (min-width: 1400px) {
  .dest-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}