/* ================================================
   SUPPLY SOLUTIONS — OUR CLIENTS RESPONSIVE CSS
   Add AFTER our-clients.css:
   <link rel="stylesheet" href="clients-responsive.css">
   ================================================ */

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; width: 100%; }
img { max-width: 100%; height: auto; display: block; }

/* ─── FLUID TYPOGRAPHY ─── */
.hero-title        { font-size: clamp(2rem, 5vw, 3.5rem); }
.decorative-heading{ font-size: clamp(2rem, 5vw, 3.5rem); }
.journey-heading   { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.testimonial-heading{ font-size: clamp(1.4rem, 3vw, 2.2rem); }
.grid-title        { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.contact-title     { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ─── NAVBAR ─── */
.navbar { height: 70px; }
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--navy-dark, #1a2f3d);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ─── DESKTOP NAV ─── */
@media (min-width: 769px) {
  .nav-menu { display: flex; align-items: center; }

  /* Desktop dropdown */
  .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    min-width: 220px;
    list-style: none;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    z-index: 2000;
  }
  .dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
  }
  .dropdown-menu li a:hover {
    background: #f9f5ef;
    color: var(--gold, #c9a55c);
  }

  /* Desktop dropdown arrow */
  .dropdown > a::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 2px;
    vertical-align: middle;
    transition: transform 0.3s ease;
  }
}

/* ======================================================
   TABLET — max-width: 1024px
   ====================================================== */
@media (max-width: 1024px) {

  /* Intro grid: stack */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Journey grid: stack */
  .journey-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Testimonial grid: stack */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Logos: 4 cols */
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* Footer: 2 cols */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .client-intro,
  .join-journey,
  .testimonial-section,
  .clients-grid,
  .contact-section { padding: 60px 0; }
}

/* ======================================================
   MOBILE — max-width: 768px
   ====================================================== */
@media (max-width: 768px) {

  /* ── Hamburger ── */
  .hamburger { display: flex !important; }

  .nav-menu {
    position: fixed !important;
    top: 70px;
    left: -100% !important;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex;
  }

  .nav-menu.active { left: 0 !important; }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f0ebe0;
  }

  /* Regular links */
  .nav-menu > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    width: 100%;
  }

  /* Hide desktop arrow */
  .dropdown > a::after { display: none !important; }

  /* Mobile dropdown */
  .dropdown .dropdown-menu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    background: #f9f5ef;
    width: 100%;
    min-width: unset;
    padding: 0;
    border-left: 3px solid var(--gold, #c9a55c);
  }

  .dropdown.open .dropdown-menu { display: block !important; }

  .dropdown-menu li a {
    padding: 12px 24px 12px 32px;
    font-size: 0.9rem;
  }

  /* Mobile dropdown arrow */
  .dropdown > a {
    position: relative;
  }

  .dropdown > a::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    order: 2;
  }

  .dropdown.open > a::before {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  /* ── Hero ── */
  .hero-section { height: 320px; }

  /* ── Client Intro ── */
  .client-intro { padding: 50px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .slider-container { height: 280px; }

  /* ── Journey ── */
  .join-journey { padding: 50px 0; }
  .journey-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-btn { width: 100%; text-align: center; }

  /* ── Testimonial ── */
  .testimonial-section { padding: 50px 0; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-card { padding: 30px 20px; }

  /* ── Logos: 3 cols ── */
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .logo-card {
    padding: 16px 10px;
    min-height: 80px;
  }
  .logo-card img { max-height: 40px; }

  /* ── Contact ── */
  .contact-section { padding: 60px 0; }
  .contact-form input,
  .contact-form textarea { width: 100%; }
  .submit-btn { width: 100%; }

  /* ── Footer ── */
  .footer { padding: 50px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-about { padding-right: 0; }

  /* ── General ── */
  .container { padding: 0 16px; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

/* ======================================================
   SMALL MOBILE — max-width: 480px
   ====================================================== */
@media (max-width: 480px) {
  .hero-section { height: 260px; }

  /* Logos: 2 cols */
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .logo-card { min-height: 70px; padding: 12px 8px; }
  .logo-card img { max-height: 32px; }

  .slider-container { height: 220px; }
  .testimonial-card { padding: 20px 15px; }
  .quote-card { padding: 20px 15px; }
}