/* ==========================================================================
   WHITE CAB / LEHCONNECT - RESPONSIVE STYLESHEET
   ========================================================================== */

/* ==========================================================================
   Breakpoint: 1400px (Large Desktops)
   ========================================================================== */
@media (max-width: 1400px) {
  /* Layout container scale check */
  .container {
    max-width: 1140px;
  }
}

/* ==========================================================================
   Breakpoint: 1200px (Laptops / Small Desktops)
   ========================================================================== */
@media (max-width: 1200px) {
  /* Typography scale */
  .hero-title {
    font-size: 2.75rem;
  }
}

/* ==========================================================================
   Breakpoint: 992px (Tablets - Landscape)
   ========================================================================== */
@media (max-width: 992px) {
  /* Spacing and sections padding */
  .hero-section {
    padding: 3.5rem 0;
  }
  
  .fleet-section,
  .why-choose-section,
  .faq-section,
  .footer-section {
    padding: 3.5rem 0 !important;
  }
  
  /* Hero title & subtitle adjustments */
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem !important;
  }
  
  /* Hero image scaling */
  .slide-right {
    text-align: center;
    margin-top: 1.5rem;
  }
  
  .slide-right img {
    max-width: 75%;
    height: auto;
  }
  
  /* Custom Navbar brand */
  .logo-img {
    max-height: 42px;
  }
}

/* ==========================================================================
   Breakpoint: 768px (Tablets - Portrait)
   ========================================================================== */
@media (max-width: 768px) {
  /* Typography */
  .hero-title {
    font-size: 2rem;
  }
  
  /* Spacing */
  .hero-section {
    padding: 3rem 0;
  }
  
  /* Metrics card alignment & stacking */
  .metric-card {
    padding: 1rem !important;
    gap: 0.75rem !important;
  }
  
  .metric-card h3 {
    font-size: 1.25rem;
  }
  
  .metric-card p {
    font-size: 0.8rem;
  }
  
  .metric-icon {
    font-size: 1.5rem !important;
  }
  
  /* Slide-right image scaling */
  .slide-right img {
    max-width: 90%;
  }
  
  /* Accordion Header typography */
  .custom-accordion .accordion-button {
    font-size: 0.95rem;
    padding: 1rem;
  }
  
}

/* ==========================================================================
   Breakpoint: 576px (Mobiles - Landscape)
   ========================================================================== */
@media (max-width: 576px) {
  /* Typography */
  .hero-title {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.85rem !important;
  }
  
  /* Hero button stacking */
  .hero-section .d-flex.flex-wrap {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: stretch;
  }
  
  .hero-section .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem !important;
  }
  
  /* Fleet card route lines */
  .route-line span {
    border-top-width: 1px;
  }
  
  .route-line i {
    font-size: 18px;
  }
  
  /* Feature icon adjustment */
  .feature-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  
  /* Floating actions size scaling */
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
  
  /* Offcanvas widths */
  .custom-offcanvas {
    width: 280px !important;
  }
}

/* ==========================================================================
   Breakpoint: 480px (Mobiles - Medium)
   ========================================================================== */
@media (max-width: 480px) {
  /* Route Box adjustments to fit smaller screens */
  .route-box {
    padding: 12px;
    border-radius: 12px;
  }
  
  .route-top {
    gap: 8px;
  }
  
  .route-city h4 {
    font-size: 16px;
  }
  
  .route-city p {
    font-size: 10px;
  }
  
  .route-city i {
    font-size: 16px;
  }
  
  .route-line i {
    font-size: 14px;
  }
  
  .route-bottom {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  
  .route-bottom div {
    font-size: 11px;
  }
  
  /* Cab Features list spacing */
  .cab-features {
    gap: 8px;
  }
  
  .feature-box {
    padding: 4px 8px;
  }
  
  .feature-box span,
  .feature-box i {
    font-size: 11px;
  }
  
  /* Typography */
  .cab-content h2 {
    font-size: 21px;
  }
  
  /* Spacings in general */
  .why-choose-section,
  .fleet-section,
  .faq-section,
  .footer-section {
    padding: 2.5rem 0 !important;
  }
  
  /* Footer Brand & alignment */
  .footer-section .row {
    text-align: center;
  }
  
  .footer-section .d-flex {
    justify-content: center !important;
  }
  
  .footer-section .list-unstyled {
    align-items: center;
  }
}

/* ==========================================================================
   Breakpoint: 360px (Mobiles - Small)
   ========================================================================== */
@media (max-width: 360px) {
  /* Extreme Mobile Scaling */
  .hero-title {
    font-size: 1.5rem;
  }
  
  .trusted-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }
  
  .cab-content {
    padding: 15px;
  }
  
  .cab-content h2 {
    font-size: 19px;
  }
  
  .route-city h4 {
    font-size: 14px;
  }
  
  .route-city p {
    font-size: 9px;
  }
  
  .route-city i {
    font-size: 14px;
  }
  
  .route-line i {
    font-size: 12px;
  }
  
  .book-btn {
    font-size: 16px;
    height: 38px;
  }
  
  .logo-img {
    max-height: 34px;
  }
}
