/* ==========================================================================
   AL KAYAN LOGISTICS - RESPONSIVE & BREAKPOINT STYLESHEET
   ========================================================================== */

/* Explicitly prevent horizontal scroll globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 991.98px) {
  .top-bar {
    display: none; /* Hide topbar on mobile/tablet for space */
  }

  .main-navbar {
    top: 0;
    background: rgba(27, 27, 27, 0.98); /* Brand Dark Red/Black theme color */
    padding: 14px 0;
  }

  .navbar-collapse {
    background: var(--dark-surface);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-experience-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 20px;
  }

  .about-img-box img {
    height: 380px; /* Reduced height on tablet */
  }

  .workflow-card {
    margin-bottom: 30px;
  }

  .quote-form-card {
    padding: 24px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .map-container-box {
    padding: 24px 14px;
    overflow-x: hidden;
  }

  .network-flow-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .network-origin-box,
  .network-dest-list {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .network-connectors-svg {
    display: none;
  }

  .mobile-flow-indicator {
    display: flex !important;
  }

  .floating-widget-wrapper {
    bottom: 20px;
    left: 20px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .btn-kayan-primary,
  .btn-kayan-outline,
  .btn-kayan-navy {
    width: 100%;
    justify-content: center;
  }

  .stat-card {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}
