/* ==========================================================================
   NEW MAN Manufacturing Co. / NEW MAN Design Limited
   Corporate Blue & White Theme
   Established March 4, 2000 — Karachi, Pakistan
   Master Layout, Lining, Spacing & Responsive Design System
   ========================================================================== */

:root {
  /* Color Palette - Blue & White Theme */
  --navy-primary: #0a2540;
  --navy-dark: #06182b;
  --navy-light: #163e66;
  --blue-accent: #195bb0;
  --blue-bright: #2563eb;
  --blue-sky: #0ea5e9;
  --blue-soft: #edf4fb;
  --blue-tint: #f4f8fc;
  
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Typography */
  --font-serif: "Marcellus", Georgia, serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions & Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 38px rgba(10, 37, 64, 0.12);
  --shadow-hover: 0 20px 42px rgba(10, 37, 64, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. Base Reset, Typography & Vertical Rhythm
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-serif);
  color: var(--navy-primary);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 0;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 0.85rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.65rem; }
h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
h6 { font-size: 0.95rem; margin-bottom: 0.4rem; }

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
  line-height: 1.7;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--navy-primary);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   2. Container Alignment & Spacing Helpers (Lining Utilities)
   ========================================================================== */
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 720px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 820px; margin-left: auto; margin-right: auto; }
.max-w-900 { max-width: 920px; margin-left: auto; margin-right: auto; }

.w-30 { width: 30% !important; }
.w-35 { width: 35% !important; }
.w-40 { width: 40% !important; }

.section-padding {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-accent);
  margin-bottom: 0.65rem;
  position: relative;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  color: var(--navy-primary);
  line-height: 1.22;
  margin-bottom: 0.85rem;
}

.section-divider {
  width: 54px;
  height: 3px;
  background: var(--blue-accent);
  margin: 1.1rem 0 1.6rem 0;
  border-radius: 3px;
}

.section-divider.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.letter-spacing-1 {
  letter-spacing: 0.12em;
}

/* Border Helpers */
@media (min-width: 768px) {
  .border-start-md {
    border-left: 1px solid var(--slate-200) !important;
  }
}

@media (min-width: 992px) {
  .border-start-lg {
    border-left: 1px solid var(--slate-200) !important;
  }
}

/* Background Color Helpers */
.bg-navy-dark { background-color: var(--navy-dark) !important; color: #fff; }
.bg-navy { background-color: var(--navy-primary) !important; color: #fff; }
.bg-blue-soft { background-color: var(--blue-soft) !important; }
.bg-blue-tint { background-color: var(--blue-tint) !important; }
.bg-slate-50 { background-color: var(--slate-50) !important; }
.text-navy { color: var(--navy-primary) !important; }
.text-blue-accent { color: var(--blue-accent) !important; }
.text-slate-muted { color: var(--slate-600) !important; }

/* ==========================================================================
   3. Header & Navigation (Matching Reference Screenshot 1)
   ========================================================================== */

/* Top Info Bar */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.88rem;
  padding: 0.5rem 0;
  color: var(--slate-800);
  position: relative;
  z-index: 1030;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  white-space: nowrap;
}

/* WhatsApp in bold prominent GREEN */
.topbar-whatsapp {
  color: #15803d !important; /* Rich readable forest green */
}
.topbar-whatsapp i {
  color: #25d366 !important;
  font-size: 1.15rem;
}
.topbar-whatsapp:hover {
  color: #166534 !important;
  text-decoration: underline;
}

/* Contact Number in crisp bold BLACK */
.topbar-phone {
  color: #0f172a !important; /* Solid black */
}
.topbar-phone i {
  color: #000000 !important;
  font-size: 0.95rem;
}
.topbar-phone:hover {
  color: var(--blue-accent) !important;
  text-decoration: underline;
}

/* Email link */
.topbar-email {
  color: var(--slate-700) !important;
}
.topbar-email i {
  color: var(--blue-accent) !important;
  font-size: 1rem;
}
.topbar-email:hover {
  color: var(--navy-primary) !important;
}

.top-bar-sep {
  color: var(--slate-300);
  margin: 0 0.5rem;
}

/* Social Links with Logos & Prominent Visibility */
.top-bar-follow-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-right: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.95rem;
  border: 1px solid var(--slate-200);
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.social-icon-btn.social-fb { color: #1877f2; border-color: rgba(24, 119, 242, 0.3); background: rgba(24, 119, 242, 0.08); }
.social-icon-btn.social-li { color: #0a66c2; border-color: rgba(10, 102, 194, 0.3); background: rgba(10, 102, 194, 0.08); }
.social-icon-btn.social-ig { color: #e4405f; border-color: rgba(228, 64, 95, 0.3); background: rgba(228, 64, 95, 0.08); }
.social-icon-btn.social-wa { color: #25d366; border-color: rgba(37, 211, 102, 0.3); background: rgba(37, 211, 102, 0.08); }

.social-icon-btn.social-fb:hover { background-color: #1877f2; color: #ffffff; border-color: #1877f2; transform: translateY(-2px); }
.social-icon-btn.social-li:hover { background-color: #0a66c2; color: #ffffff; border-color: #0a66c2; transform: translateY(-2px); }
.social-icon-btn.social-ig:hover { background-color: #e4405f; color: #ffffff; border-color: #e4405f; transform: translateY(-2px); }
.social-icon-btn.social-wa:hover { background-color: #25d366; color: #ffffff; border-color: #25d366; transform: translateY(-2px); }

/* Main Navbar */
.site-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  transition: var(--transition);
  padding: 0.75rem 0;
}

.site-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  padding: 0.5rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  margin-right: 1.25rem;
  white-space: nowrap;
}

.navbar-brand img.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy-primary);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-subtitle {
  display: none !important;
}

/* Nav Links Lining: Strictly In-Line With Proper Spacing (No text wrapping!) */
.navbar-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.15rem;
}

.navbar-nav .nav-item {
  white-space: nowrap;
}

.navbar-nav .nav-link {
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-800);
  padding: 0.5rem 0.65rem !important;
  position: relative;
  transition: var(--transition);
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--blue-accent);
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background-color: var(--blue-accent);
  border-radius: 2px;
}

/* Header "GET A QUOTE" Button (Pill Button Matching Reference Screenshot 1) */
.btn-quote-header {
  background-color: var(--navy-primary);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.62rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--navy-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
  white-space: nowrap;
}

.btn-quote-header:hover {
  background-color: var(--blue-accent);
  border-color: var(--blue-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(25, 91, 176, 0.25);
  color: #ffffff;
}

/* Mobile Navbar Dropdown Drawer Styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #ffffff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 0.85rem;
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid var(--slate-100);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .navbar-nav .nav-link.active {
    background-color: var(--blue-soft);
    border-radius: var(--radius-sm);
    padding-left: 0.85rem !important;
  }

  .btn-quote-header {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    margin-top: 0.85rem;
  }
}

/* ==========================================================================
   4. Hero Section Spacing & Lining
   ========================================================================== */
.hero-wrapper {
  position: relative;
  background: linear-gradient(90deg, rgba(6, 24, 43, 0.92) 0%, rgba(10, 37, 64, 0.78) 45%, rgba(10, 37, 64, 0.45) 75%, rgba(25, 91, 176, 0.3) 100%),
              url('../images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: clamp(5rem, 9vw, 8rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, #ffffff, transparent);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.35rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.btn-hero-primary {
  background-color: #ffffff;
  color: var(--navy-primary) !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background-color: var(--blue-soft);
  border-color: var(--blue-soft);
  color: var(--navy-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-outline {
  background-color: transparent;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section Logo Inline Badge (Matching User Request) */
.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(10, 37, 64, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 0.5rem 1.4rem 0.5rem 0.75rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.6rem;
  white-space: nowrap;
}

.hero-brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-brand-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-brand-subtitle {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #38bdf8; /* Bright sky blue */
  text-transform: uppercase;
}

/* Specializations in Hero: High Contrast, Big Font Size, Visible & Striking */
.hero-specializations-wrap {
  background: rgba(10, 37, 64, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  max-width: 860px;
}

.hero-spec-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.hero-spec-title {
  font-family: var(--font-serif);
  font-size: 1.25rem; /* Bigger font size as requested! */
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-spec-pill {
  font-size: 0.95rem; /* Large, bold, clearly readable */
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.hero-spec-pill:hover {
  background: rgba(37, 99, 235, 0.7);
  border-color: #93c5fd;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

/* Floating Stats Bar */
.hero-stats-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.5rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--slate-200);
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-600);
}

/* ==========================================================================
   5. Clean Cycle Style Workflow (Crucial Spacing & Responsiveness)
   ========================================================================== */
#sourcingCycleSection,
#servicesCycleSection {
  scroll-margin-top: 80px;
}

.cycle-diagram-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cycle-svg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.cycle-pulse-circle {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px dashed rgba(25, 91, 176, 0.35);
  animation: cycleRotate 45s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes cycleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cycle-hub-center {
  position: relative;
  z-index: 5;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--blue-soft);
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.12), 0 0 0 10px rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  transition: var(--transition);
}

.cycle-hub-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.cycle-hub-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.cycle-hub-subtitle {
  font-size: 0.68rem;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cycle-node-item {
  position: absolute;
  z-index: 6;
  width: 80px;
  height: 80px;
  margin-top: -40px;
  margin-left: -40px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--slate-200);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-align: center;
  user-select: none;
}

.cycle-node-item:hover,
.cycle-node-item.active {
  border-color: var(--blue-accent);
  background: var(--navy-primary);
  color: #ffffff !important;
  transform: scale(1.18);
  box-shadow: 0 10px 25px rgba(25, 91, 176, 0.35);
}

.cycle-node-num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--blue-accent);
}

.cycle-node-item:hover .cycle-node-num,
.cycle-node-item.active .cycle-node-num {
  color: #ffffff;
}

.cycle-node-icon {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--navy-primary);
}

.cycle-node-item:hover .cycle-node-icon,
.cycle-node-item.active .cycle-node-icon {
  color: #ffffff;
}

.cycle-node-label {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-700);
  margin-top: 2px;
}

.cycle-node-item:hover .cycle-node-label,
.cycle-node-item.active .cycle-node-label {
  color: rgba(255, 255, 255, 0.95);
}

/* Positioning 8 Circular Nodes Around Cycle (Radius ~41%) */
.node-pos-1 { top: 9%; left: 50%; }
.node-pos-2 { top: 21%; left: 79%; }
.node-pos-3 { top: 50%; left: 91%; }
.node-pos-4 { top: 79%; left: 79%; }
.node-pos-5 { top: 91%; left: 50%; }
.node-pos-6 { top: 79%; left: 21%; }
.node-pos-7 { top: 50%; left: 9%; }
.node-pos-8 { top: 21%; left: 21%; }

/* Active Step Details Panel */
.cycle-details-panel {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 2.2rem 2.5rem;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cycle-pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cycle-pill-btn {
  background: var(--blue-soft);
  color: var(--navy-primary);
  border: 1px solid var(--slate-200);
  padding: 0.4rem 0.95rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.cycle-pill-btn:hover,
.cycle-pill-btn.active {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

.cycle-badge-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--blue-soft);
  color: var(--blue-accent);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.cycle-step-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--navy-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.cycle-step-description {
  color: var(--slate-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cycle-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cycle-metric-box {
  background: var(--blue-tint);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  border-left: 3px solid var(--blue-accent);
}

.cycle-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-600);
  display: block;
  margin-bottom: 0.2rem;
}

.cycle-metric-val {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-primary);
}

.cycle-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-cycle-nav {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--navy-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-cycle-nav:hover {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

.btn-cycle-autoplay {
  background: var(--blue-soft);
  border: 1px solid var(--slate-200);
  color: var(--blue-accent);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-cycle-autoplay:hover {
  background: var(--blue-accent);
  color: #ffffff;
}

/* Cycle Responsive Rules */
@media (max-width: 991px) {
  .cycle-diagram-stage {
    max-width: 460px;
    margin-bottom: 2rem;
  }
  .cycle-hub-center {
    width: 150px;
    height: 150px;
    padding: 0.75rem;
  }
  .cycle-node-item {
    width: 66px;
    height: 66px;
    margin-top: -33px;
    margin-left: -33px;
  }
  .cycle-node-icon {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .cycle-pill-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    justify-content: flex-start !important;
  }
  .cycle-diagram-stage {
    max-width: 320px;
  }
  .cycle-hub-center {
    width: 110px;
    height: 110px;
  }
  .cycle-hub-logo {
    height: 30px;
  }
  .cycle-hub-title {
    font-size: 0.72rem;
  }
  .cycle-hub-subtitle {
    display: none;
  }
  .cycle-node-item {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
  }
  .cycle-node-item .cycle-node-num {
    font-size: 0.68rem;
  }
  .cycle-node-item .cycle-node-icon {
    font-size: 0.88rem;
  }
  .cycle-node-label {
    display: none;
  }
  .cycle-details-panel {
    padding: 1.5rem;
  }
  .cycle-metric-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. Product Cards & Catalog Grid
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-pill {
  background-color: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  border-color: var(--navy-primary);
  color: var(--navy-primary);
}

.filter-pill.active {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
  box-shadow: 0 3px 10px rgba(10, 37, 64, 0.15);
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-accent);
  transform: translateY(-3px);
}

.product-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  background-color: var(--slate-100);
}

.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.product-category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.product-overlay-action {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay-action {
  opacity: 1;
}

.btn-quickview {
  background-color: #ffffff;
  color: var(--navy-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-quickview:hover {
  background-color: var(--blue-accent);
  color: #ffffff;
}

.product-body {
  padding: 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.product-specs {
  font-size: 0.8rem;
  color: var(--slate-600);
  margin-bottom: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 0.75rem;
}

.product-footer .badge {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.32rem 0.6rem;
}

.product-footer .btn-link {
  font-size: 0.82rem;
}

/* ==========================================================================
   7. Feature Cards & Pillars
   ========================================================================== */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.85rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background-color: var(--blue-soft);
  color: var(--blue-accent);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.35rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--navy-primary);
  color: #ffffff;
}

.feature-card-title {
  font-size: 1.25rem;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   8. Certifications Strip & Grid
   ========================================================================== */
.cert-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.cert-card:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.cert-code {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.cert-name {
  font-size: 0.75rem;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Partner Logos Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 1.6rem 0;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 4.5rem;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: var(--slate-400);
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   9. Contact Page Components (Exact Match to User Reference Screenshot 2)
   ========================================================================== */
.contact-section-wrap {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0.45rem;
}

.form-label-custom span.req {
  color: #ef4444;
}

.form-control-custom, .form-select-custom {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  color: var(--slate-800);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-control-custom:focus, .form-select-custom:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(25, 91, 176, 0.15);
  outline: none;
}

.btn-send-message {
  background-color: var(--navy-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-send-message:hover {
  background-color: var(--blue-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.2);
}

.contact-form-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-primary);
  margin-top: 0;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Contact Details Info Sidebar */
.contact-info-block {
  padding: 0 0 1rem;
}

.contact-info-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--navy-primary);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.contact-info-sub {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-details-heading {
  font-size: 1.3rem;
  color: var(--navy-primary);
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--blue-accent);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background-color: var(--blue-soft);
  transition: var(--transition);
  margin-top: 2px;
}

.contact-detail-row:hover .contact-icon-circle {
  background-color: var(--blue-accent);
  color: #ffffff;
}

.contact-detail-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail-label {
  font-weight: 700;
  color: var(--slate-800);
  margin-right: 0.35rem;
}

.contact-detail-val {
  color: var(--slate-700);
}

.contact-detail-val a {
  color: var(--slate-700);
}

.contact-detail-val a:hover {
  color: var(--blue-accent);
}

.business-hours-box {
  background-color: var(--blue-soft);
  border-left: 4px solid var(--blue-accent);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.6rem;
  margin-top: 2.25rem;
}

/* ==========================================================================
   10. Gallery Grid & Lightbox
   ========================================================================== */
.gallery-grid-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background-color: var(--slate-200);
  cursor: pointer;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.08);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition);
  padding: 1rem;
  text-align: center;
}

.gallery-grid-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   11. Timeline (Next Apparels Style)
   ========================================================================== */
.timeline-track {
  position: relative;
  padding: 2rem 0;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--slate-200);
  transform: translateX(-50%);
}

.timeline-milestone {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-milestone:last-child {
  margin-bottom: 0;
}

.timeline-milestone .milestone-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-milestone .milestone-card:hover {
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-md);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--blue-accent);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 3px var(--blue-accent);
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.milestone-year {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-accent);
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .timeline-track::before {
    left: 20px;
    transform: none;
  }
  .timeline-dot {
    left: 20px;
    transform: none;
  }
  .timeline-milestone {
    padding-left: 48px !important;
  }
  .timeline-milestone .milestone-card {
    text-align: left !important;
  }
}

/* ==========================================================================
   12. CTA Banner & Page Banners
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 50%, var(--blue-accent) 100%);
  color: #ffffff;
  padding: 2.25rem 0 1.85rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner-title {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-item a:hover {
  color: #ffffff;
}

.breadcrumb-item.active {
  color: #ffffff;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

.cta-banner-strip {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--blue-accent) 100%);
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 4.8rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ==========================================================================
   13. Site Footer
   ========================================================================== */
/* ==========================================================================
   13. Site Footer (Crystal Clear, High Contrast & High Visibility)
   ========================================================================== */
.site-footer {
  background-color: #06182b; /* Deep rich navy */
  color: #e2e8f0; /* Crisp bright slate for high contrast */
  padding: 5rem 0 2.5rem;
  border-top: 2px solid rgba(37, 99, 235, 0.3);
  font-size: 0.95rem;
  line-height: 1.7;
}

.site-footer p {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.footer-bio-text {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.75;
}

.footer-brand {
  margin-bottom: 1.25rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38px;
  height: 3px;
  background-color: var(--blue-bright);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
  color: #e2e8f0;
}

.footer-links a {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  color: #38bdf8;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff !important;
  padding-left: 6px;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  margin-bottom: 1rem;
  color: #f1f5f9;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-list a {
  color: #f1f5f9;
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact-list a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-contact-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 3.5rem;
  padding-top: 2rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.footer-bottom p {
  color: #cbd5e1 !important;
}

.footer-bottom strong {
  color: #ffffff;
}

/* ==========================================================================
   14. Floating Action Controls
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1050;
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-dark);
  color: #ffffff;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: 0.6;
  z-index: -1;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.back-to-top-btn {
  position: fixed;
  bottom: 90px;
  right: 26px;
  width: 44px;
  height: 44px;
  background-color: var(--navy-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.25);
  z-index: 1040;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background-color: var(--blue-accent);
  transform: translateY(-3px);
}

/* Modals */
.modal-header-custom {
  background-color: var(--navy-primary);
  color: #ffffff;
  border-bottom: none;
  padding: 1.25rem 1.75rem;
}

.modal-header-custom .modal-title {
  color: #ffffff;
  font-family: var(--font-serif);
}

.modal-header-custom .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* ==========================================================================
   15. Apparel Categories Showcase Grid & Cards
   ========================================================================== */
.category-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-accent);
}

.category-thumb-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--slate-100);
}

.category-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-card:hover .category-thumb-box img {
  transform: scale(1.08);
}

.category-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.category-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.category-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 1.15rem;
  line-height: 1.6;
}

.category-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  font-size: 0.86rem;
}

.category-spec-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--slate-200);
  color: var(--slate-700);
}

.category-spec-list li:last-child {
  border-bottom: none;
}

.category-spec-list li strong {
  color: var(--navy-primary);
  min-width: 75px;
}

.category-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* ==========================================================================
   16. Headings with Review & Verified Reputation Section
   ========================================================================== */
.review-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-soft);
  color: var(--navy-primary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  border: 1px solid rgba(25, 91, 176, 0.2);
  margin-bottom: 1rem;
}

.review-stars-gold {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-accent);
  box-shadow: var(--shadow-md);
}

.review-rating-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.review-quote {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--slate-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.review-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid rgba(25, 91, 176, 0.3);
  flex-shrink: 0;
}

.review-author-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-primary);
  line-height: 1.2;
}

.review-author-title {
  font-size: 0.8rem;
  color: var(--slate-500);
  line-height: 1.3;
}

.verified-buyer-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}



/* ==========================================================================
   MOBILE RESPONSIVE FIXES (appended — existing rules above are untouched)
   Applies only below 768px, so the desktop layout is unchanged.
   ========================================================================== */
@media (max-width: 767.98px) {

  /* 1. (Sideways scrolling is fixed at its causes below — items 2 to 4 —
        rather than by clipping the page, which would break the sticky header.) */

  /* 2. Bootstrap's .g-5 gutter (3rem) pushes every row 12px past the screen
        edge because the container padding is only 12px. Use a 1.5rem
        horizontal gutter on phones (vertical spacing stays as designed). */
  .row.g-5,
  .row.gx-5 {
    --bs-gutter-x: 1.5rem;
  }

  /* 3. Hero brand badge: was `nowrap` and 413px wide on a 375px screen. */
  .hero-brand-badge {
    white-space: normal;
    max-width: 100%;
    gap: 0.65rem;
    padding: 0.5rem 1rem 0.5rem 0.65rem;
    border-radius: 24px;
  }
  .hero-brand-logo-img {
    flex-shrink: 0;
    height: 42px;
  }
  .hero-brand-text {
    min-width: 0;
  }
  .hero-brand-subtitle {
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  /* 4. Long pill buttons ("Explore Full Product Catalog & Custom Sourcing",
        "Explore Sourcing Pillars & Lead Time Estimator") were nowrap and got
        cut off. Let them wrap and centre. */
  .btn-quote-header {
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.35;
  }
  .btn-quote-header.px-5,
  .btn-quote-header.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .btn-hero-primary,
  .btn-hero-outline {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  /* 5. Hero specialization pills: nowrap pills could exceed narrow screens. */
  .hero-spec-pill {
    white-space: normal;
  }
  .hero-specializations-wrap {
    padding: 1.1rem 1.1rem;
  }
  .hero-spec-title {
    font-size: 1.05rem;
  }

  /* 6. Category cards (home page): the "Varieties" badge row overflowed. */
  .category-body {
    padding: 1.25rem;
  }
  .category-body .d-flex.align-items-center.gap-2 {
    flex-wrap: wrap;
  }
  .category-card-footer {
    flex-wrap: wrap;
  }
  .category-spec-list li strong {
    min-width: 68px;
  }
}

@media (max-width: 575.98px) {

  /* 7. Product cards sit two-per-row on phones (col-6) so each is only
        ~135–165px wide. The badge + "Get Quote" footer was clipped. */
  .product-thumb-wrap {
    height: 160px;
  }
  .product-body {
    padding: 0.75rem 0.8rem;
  }
  .product-name {
    font-size: 0.94rem;
  }
  .product-specs {
    font-size: 0.76rem;
  }
  .product-footer {
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
  }
  .product-footer .badge {
    white-space: normal;
    text-align: left;
    max-width: 100%;
    font-size: 0.68rem;
  }
  .product-footer .btn-link {
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .product-category-tag {
    font-size: 0.6rem;
    max-width: calc(100% - 20px);
  }

  /* 8. Small text fits: stat labels and footer headings overflowed at 320px. */
  .stat-item {
    padding: 0.5rem 0.25rem;
  }
  .stat-label {
    letter-spacing: 0.04em;
    overflow-wrap: anywhere;
  }
  .footer-heading {
    overflow-wrap: anywhere;
    letter-spacing: 0.03em;
  }
  .hero-stats-card {
    padding: 1.5rem 1rem;
  }
}


/* ==========================================================================
   MOBILE NAVIGATION FIXES (appended — applies only below 992px, where the
   hamburger menu is used; desktop navigation is unchanged)
   ========================================================================== */
@media (max-width: 991.98px) {

  /* The desktop rules force the links into one nowrap row. In the opened
     hamburger menu they must stack vertically, one per line. */
  .navbar-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch !important;
    width: 100%;
    gap: 0;
    margin-right: 0 !important;
  }
  .navbar-nav .nav-item {
    width: 100%;
  }
  .navbar-nav .nav-link {
    display: flex;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.85rem 0.5rem !important;
  }
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  /* "Get a Quote" button sits full width below the links. */
  .navbar-collapse .btn-quote-header {
    width: 100%;
  }
  .navbar-collapse > .mt-3 {
    width: 100%;
  }

  /* On short screens (small phones, landscape) the opened menu can be taller
     than the screen and, because the header is sticky, could not be scrolled.
     Let the menu scroll inside itself. */
  .navbar-collapse {
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Make the hamburger button an easy tap target. */
  .navbar-toggler {
    padding: 0.5rem 0.7rem;
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  /* Brand + hamburger fit on the smallest phones. */
  .navbar-brand {
    margin-right: 0.5rem;
    gap: 0.5rem;
    min-width: 0;
  }
  .navbar-brand img.brand-logo {
    height: 44px;
  }
  .brand-title {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }

  /* Top bar: keep phone numbers and social icons tidy on one block. */
  .top-bar .container {
    row-gap: 0.4rem;
  }
  .top-bar .topbar-link {
    font-size: 0.82rem;
  }
}
