/* ============================================================
   iTruck India — Responsive Stylesheet
   responsive.css
   ============================================================ */

/* ============================================================
   BREAKPOINTS:
   xl: 1280px
   lg: 1024px
   md: 768px
   sm: 480px
   ============================================================ */

/* --- 1280px and below --- */
@media (max-width: 1280px) {
  .container { padding: 0 32px; }

  .hero-headline { font-size: clamp(2.6rem, 5vw, 4.8rem); }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .feature-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .feature-bar-item:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.05); }

  .footer-grid { gap: 40px; }
}

/* --- 1024px and below --- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
    --section-pad-sm: 50px;
  }

  /* Nav */
  .nav-menu { display: none; }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile menu open state */
  .nav-menu.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6,13,26,0.98);
    backdrop-filter: blur(20px);
    padding: 40px 32px;
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-open .nav-link {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    color: rgba(255,255,255,0.8);
  }

  .nav-open .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,0.04);
    border: none;
    box-shadow: none;
    padding: 8px 0 8px 20px;
    border-radius: 0;
  }

  .nav-open .nav-dropdown::before { display: none; }

  .nav-open .nav-cta {
    margin-top: 20px;
    text-align: center;
    display: block;
    padding: 16px;
    font-size: 1rem;
  }

  /* Hamburger animation */
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 100vh;
    padding-bottom: 60px;
  }

  .hero-right { display: none; }

  .hero-left { padding: 40px 0; }

  .hero-headline { font-size: clamp(2.8rem, 6vw, 4.5rem); }

  .hero-subline { max-width: 100%; }

  /* Feature bar */
  .feature-bar-inner { grid-template-columns: repeat(3, 1fr); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Coverage */
  .coverage-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .india-map-wrap { max-width: 400px; }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Values */
  .values-grid { grid-template-columns: repeat(3, 1fr); }

  /* Industries */
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  /* Compliance */
  .compliance-grid { grid-template-columns: 1fr; }

  /* Careers */
  .career-roles-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .contact-form-wrap { padding: 40px; }
}

/* --- 768px and below --- */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --section-pad-sm: 40px;
    --nav-height: 68px;
  }

  h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
  h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 3.5vw, 1.6rem); }

  .container { padding: 0 20px; }

  /* Nav */
  .nav-inner { padding: 0 20px; }

  /* Hero */
  .hero-headline { font-size: clamp(2.4rem, 8vw, 3.5rem); }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-row .btn { width: 100%; justify-content: center; }

  .hero-trust-strip {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-trust-separator { display: none; }

  /* Feature bar */
  .feature-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-bar-item { padding: 18px 16px; }

  /* Trust logos */
  .trust-logos { gap: 32px; }

  /* Stats */
  .stat-card { padding: 40px 24px; }
  .stat-number-display { font-size: 3rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Industry */
  .industry-grid { grid-template-columns: 1fr; }

  /* Fleet table */
  .fleet-table th,
  .fleet-table td { padding: 12px 16px; }

  /* Contact form */
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Sustainability list */
  .sustainability-list { grid-template-columns: 1fr; }

  /* Office grid */
  .office-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

  /* CTA section buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Page hero */
  .page-hero { padding: 120px 0 72px; }

  /* Timeline */
  .timeline { padding-left: 28px; }

  /* Badges */
  .badges-row { flex-direction: column; }

  /* Whatsapp float */
  .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }
}

/* --- 480px and below --- */
@media (max-width: 480px) {
  :root { --section-pad: 52px; }

  .container { padding: 0 16px; }

  .hero-headline { font-size: clamp(2rem, 9vw, 2.8rem); }

  .hero-eyebrow { font-size: 0.7rem; }

  .feature-bar-inner { grid-template-columns: 1fr; }

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

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

  .trust-logos { gap: 20px; }

  .trust-logo { font-size: 0.9rem; }

  .btn-lg { padding: 16px 32px; }

  .contact-form-wrap { padding: 24px 16px; }

  .form-check-group { flex-direction: column; gap: 12px; }

  .stat-number-display { font-size: 2.5rem; }

  .footer-brand-logo { font-size: 1.6rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #navbar,
  .whatsapp-float,
  .hero-scroll-indicator,
  .hero-particles,
  .hero-streaks { display: none !important; }

  body { font-size: 12pt; }
  a { color: inherit; }
  .btn { border: 1px solid; }
}
