/* ==========================================================================
   MAX EXPORT (INDIA) - RESPONSIVE STYLESHEET
   Mobile, Tablet, and Adaptive Layout Media Queries
   Pure External CSS - Strictly No Inline CSS Allowed
   ========================================================================== */

/* --- Tablet Breakpoint (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .split-layout {
    gap: 2.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .team-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .fabrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-col-map {
    grid-column: span 2;
  }
}

/* --- Mobile Breakpoint (max-width: 768px) --- */
@media screen and (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* Top Bar */
  .topbar-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .topbar-contacts {
    justify-content: center;
    gap: 1rem;
    font-size: 0.8rem;
  }

  /* Navigation Drawer */
  .header-logo {
    max-width: 180px;
    max-height: 26px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border-light);
  }

  /* Mobile Dropdowns */
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: var(--bg-subtle);
    border-radius: var(--radius-sm);
    display: none;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0 0.5rem 0;
  }

  .nav-dropdown.mobile-open {
    display: block;
  }

  .nav-sub-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #e2e8f0;
    border-radius: var(--radius-sm);
    display: none;
    padding: 0.5rem;
    margin-top: 0.25rem;
  }

  .nav-sub-dropdown.mobile-open {
    display: block;
  }

  .dropdown-link {
    padding: 0.65rem 0.75rem;
  }

  /* Hero Slider */
  .hero-slider-section {
    min-height: 480px;
  }

  .hero-slider-container {
    height: 480px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .slider-arrow {
    display: none;
  }

  /* Layouts */
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-layout.reversed {
    direction: ltr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .team-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .specialty-list-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .inquiry-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-showcase-frame {
    min-height: 400px;
    height: 400px;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services-flow-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-col-map {
    grid-column: span 1;
  }
}

/* --- Small Mobile (max-width: 480px) --- */
@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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

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

  .header-logo {
    max-width: 150px;
    max-height: 22px;
  }

  .team-badges-grid {
    grid-template-columns: 1fr;
  }
}
