/* =========================================================
   Gati Cargo And Relocation — Responsive Adjustments
   ========================================================= */

/* Large desktops */
@media (min-width: 992px) {
  .route-line {
    display: block;
  }
  .navbar-collapse {
    position: static !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: auto !important;
    overflow: visible !important;
    display: flex !important;
  }
  .navbar-nav {
    display: flex;
    margin-top: 0 !important;
  }
  .mobile-menu-close {
    display: none !important;
  }
  .mobile-menu-overlay {
    display: none !important;
  }
  .navbar-toggler {
    display: none !important;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .site-header {
    position: sticky;
    top: 0;
  }
  .hero-section {
    padding: 130px 0 100px;
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
  }
  .hero-right {
    margin-top: 40px;
  }
  .quote-form-card {
    padding: 30px 26px 26px;
  }
  .hero-truck-art {
    font-size: 160px;
    opacity: 0.6;
  }
  .hero-stats-bar {
    justify-content: center;
    text-align: left;
  }
  .about-section {
    padding-top: 110px;
  }
  .about-badge {
    position: static;
    margin-top: -40px;
    margin-left: 16px;
    margin-right: 16px;
  }
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(11, 42, 74, 0.08);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 16px 40px rgba(11, 42, 74, 0.12);
    transform: translateY(-8px);
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 2147483647;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .navbar-collapse.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar-nav {
    width: 100%;
    margin-top: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar-nav .nav-item {
    width: 100%;
    padding: 6px 0;
  }
  .navbar-nav .nav-link {
    padding: 10px 0;
    font-size: 1rem;
    width: 100%;
  }
  .navbar-nav .dropdown {
    width: 100%;
  }
  .navbar-nav .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
  }
  .navbar-nav .nav-submenu {
    position: static;
    display: none;
    min-width: auto;
    padding: 6px 0 0 12px;
    margin: 4px 0 8px;
    border: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .navbar-nav .dropdown.open > .nav-submenu {
    display: block;
  }
  .navbar-nav .dropdown.open > .dropdown-toggle {
    color: var(--orange-dark);
  }
  .navbar-nav .nav-submenu a {
    padding: 8px 0;
    color: var(--ink-soft);
  }
  .navbar-nav .nav-submenu a:hover {
    background: transparent;
    color: var(--orange-dark);
  }
  .mobile-menu-overlay {
    display: none;
  }
  .mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(17, 51, 85, 0.08);
    color: var(--navy-900);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .mobile-menu-close:hover {
    background: rgba(17, 51, 85, 0.16);
  }
  body.menu-open {
    overflow: hidden;
  }
  .navbar-toggler {
    z-index: 1090;
    position: relative;
    display: block !important;
  }
  .nav-phone a {
    display: block;
    margin: 10px 0;
  }
  .navbar-nav .nav-item {
    border-bottom: 1px solid var(--border-soft);
  }
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
  .btn-nav-quote {
    display: inline-block;
    margin-top: 10px;
  }
}

/* Mobile phones */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 120px 0 90px;
    text-align: left;
    clip-path: none;
  }
  .hero-heading {
    font-size: 1.9rem;
  }
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-truck-art {
    display: none;
  }
  .hero-blob-1,
  .hero-blob-2 {
    width: 220px;
    height: 220px;
  }

  .hero-stats-float {
    margin-top: -50px;
  }
  .hero-stats-bar {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
  }
  .about-section {
    padding-top: 90px;
  }

  .section-heading {
    font-size: 1.5rem;
  }
  .section-header {
    margin-bottom: 30px;
  }

  .services-section,
  .why-section,
  .process-section,
  .gallery-section,
  .reviews-section,
  .faq-section,
  .contact-section {
    padding: 60px 0;
  }

  .cta-banner {
    padding-bottom: 60px;
  }
  .cta-box {
    padding: 34px 24px;
  }

  .review-card {
    padding: 26px 20px;
  }
  .review-text {
    font-size: 0.95rem;
  }

  .stats-section {
    padding: 46px 0;
  }
  .stat-box h3 {
    font-size: 1.9rem;
  }

  .map-wrap {
    min-height: 260px;
  }

  .floating-buttons {
    bottom: 16px;
    right: 14px;
    gap: 10px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .process-route .row > div {
    margin-bottom: 20px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }
  .quote-form-card {
    padding: 20px;
  }
  .form-title {
    font-size: 1.1rem;
  }
  .service-card,
  .why-card {
    padding: 24px 18px;
  }
  .contact-info-card {
    padding: 24px;
  }
}
