 /* ============================================================
   KRIDHAN INFRATECH — Premium Corporate Design System
   Color System:
     Backgrounds : #ffffff · #f5f3ef · #ece9e2
     Accent Blue : #0d2060 (5–10% max)
     Accent Red  : #c8102e (2–3% max)
   ============================================================ */

/* ── 1. RESET & CSS VARIABLES ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg-white   : #ffffff;
  --bg-soft    : #f5f3ef;
  --bg-muted   : #ece9e2;

  /* Accent (use sparingly) */
  --blue       : #0d2060;
  --blue-mid   : #1a3490;
  --blue-light : #2650c8;
  --blue-reg : #2d3b93;
  --blue-reg-hover : #3849b3;
  --red        : #c8102e;

  /* Text */
  --text-900   : #0e0e1a;
  --text-700   : #2e2e40;
  --text-500   : #5a5a72;
  --text-300   : #9898a8;

  /* Borders & Shadows */
  --border     : #dedad2;
  --border-light: #ede9e2;
  --shadow-sm  : 0 1px 8px rgba(0,0,0,.05);
  --shadow-md  : 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg  : 0 8px 48px rgba(0,0,0,.10);

  /* Spacing */
  --section-py : 96px;

  /* Radius */
  --radius-sm  : 6px;
  --radius-md  : 12px;
  --radius-lg  : 20px;

  /* Transition */
  --transition : 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 2. TYPOGRAPHY ──────────────────────────────────────── */
.label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red)
}

h1, h2, h3, h4 { color: var(--text-900); font-weight: 700; line-height: 1.18; }

.h-display    { font-size: clamp(2.6rem, 5vw, 4rem);    font-weight: 800; letter-spacing: -.02em; }
.h-section    { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -.018em; text-transform: uppercase; }
.h-subsection { font-size: 1.25rem;                     font-weight: 700; letter-spacing: -.01em;  color: var(--text-900); }
.h-card       { font-size: 1.15rem; font-weight: 600; }

.lead { font-size: 1rem; color: var(--text-500); line-height: 1.75; }

/* ── 3. LAYOUT HELPERS ──────────────────────────────────── */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1600px) { .container { max-width: 1320px; } }
@media (min-width: 1800px) { .container { max-width: 1480px; } }
.section-py { padding: var(--section-py) 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-12 { gap: 12px; }

.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }

/* ── Hero overlay (shared across all product & inner pages) ── */
.rs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #212020c4 45%, #10111299 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── 4. BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-reg);
  color: #fff;
  border-color: var(--blue-reg);
}
.btn-primary:hover {
  background: var(--blue-reg-hover);
  border-color: var(--blue-reg-hover);
  color: #fff;
}

.btn-red {
  background: #d43b2a;
  color: #fff;
  border-color: #d43b2a;
}
.btn-red:hover {
  background: #bb3224;
  border-color: #bb3224;
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-700);
  border-color: var(--border);
}
.btn-outline-dark:hover {
  background: var(--text-900);
  color: #fff;
  border-color: var(--text-900);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-700);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-muted); }

.btn-sm { padding: 9px 20px; font-size: .84rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn svg, .btn i { width:18px; height:18px; flex-shrink:0; line-height:20px; }

/* ── 5. BADGES & CHIPS ──────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.badge-blue   { background: rgba(13,32,96,.08); color: var(--blue); }
.badge-muted  { background: var(--bg-muted); color: var(--text-700); border: 1px solid var(--border); }
.badge-red    { background: rgba(200,16,46,.08); color: var(--red); }

/* ── 6. CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-body { padding: 28px; }
.card-img   { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ── 7. SECTION HEADER ──────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-header .label { margin-bottom: 12px; display: block; }
.section-header p { margin-top: 14px; color: var(--text-500); font-size: 1.04rem; }

/* ── 8. DIVIDER ─────────────────────────────────────────── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 14px 0 0;
}
.divider.center { margin: 14px auto 0; }

/* ── 9. NAVBAR ──────────────────────────────────────────── */
#topbar {
  background: #233183;
  border-bottom: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-500);
  padding: 6px 0;
  display: none;
}
#topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#topbar .topbar-badges { display: flex; align-items: center; gap: 10px; }
#topbar .topbar-badges .badge {
  background: transparent;
  color: #fff;
  font-weight: 300;
  border: none;
  padding: 0;
  letter-spacing: .03em;
}
#topbar .topbar-contact { display: flex; align-items: center; gap: 20px; }
#topbar .topbar-contact a { color: rgba(255,255,255,1); display: flex; align-items: center; gap: 6px; font-weight: 300;}
#topbar .topbar-contact a:hover { color: #fff; }
#topbar .topbar-contact i { font-size: .85rem; }

#mainNav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
#mainNav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 32px;
}

.nav-logo img { height:50px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover { color: var(--text-900); background: transparent; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); background: transparent; font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }
.nav-link i { font-size: .7rem; transition: transform var(--transition); }
.nav-item:hover > .nav-link i { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;           /* flush to nav-item bottom — no gap to cross */
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 8px 8px; /* inner padding only */
  padding-top: 16px;    /* visual breathing room replaces the old gap */
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  pointer-events: none;
}
/* Invisible bridge so hover is never broken between link and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: .86rem;
  color: var(--text-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-dropdown a:hover { background: var(--bg-soft); color: var(--text-900); }
.nav-dropdown a.active { color: var(--red); background: rgba(200,16,46,.05); font-weight: 600; }

/* Flyout (two-level) dropdown */
.nd-item {
  display: block;
  padding: 9px 14px;
  font-size: .86rem;
  color: var(--text-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.nd-item:hover { background: var(--bg-soft); color: var(--blue); }

.nd-item--flyout {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  user-select: none;
}
.nd-arrow { font-size: .6rem; color: var(--text-300); }

.nd-flyout {
  position: absolute;
  left: 100%;
  top: -8px;
  min-width: 200px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.nd-item--flyout:hover .nd-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.nd-flyout a {
  display: block;
  padding: 9px 14px;
  font-size: .86rem;
  color: var(--text-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nd-flyout a:hover { background: var(--bg-soft); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-900);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── 10. HERO BANNER SLIDER ─────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 117px);
  min-height: 580px;
  max-height: 860px;
  overflow: hidden;
  background: #0a1020;
}

/* ── Individual slide ── */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* ── Background image with Ken Burns scale ── */
.hs-bg {
  position: absolute;
  inset: -5%;          /* slight overflow so scale doesn't reveal edges */
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: none;
  will-change: transform;
}
/* Scale animation starts when slide becomes active */
.hero-slide.active .hs-bg {
  animation: kbScale 6.5s ease-in-out forwards;
}

@keyframes kbScale {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.10); }
}

/* ── Overlay – gradient from bottom-left for readability ── */
.hs-overlay {
  position: absolute;
  inset: 0;
  background:
   linear-gradient(45deg, #000000bf, #00000036)
}

/* ── Content ── */
.hs-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3;
}
.hs-content .container { padding-top: 20px; }

/* Staggered text animation when slide is active */
.hs-label,
.hs-title {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.hero-slide.active .hs-label { opacity: 1; transform: none; transition-delay: .22s; }
.hero-slide.active .hs-title { opacity: 1; transform: none; transition-delay: .40s; }

.hs-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.hs-label-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 2px;
}

.hs-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-transform: uppercase;
  max-width: 780px;
  margin-bottom: 0;
}

/* ── Progress bar ── */
.hs-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
  z-index: 10;
}
.hs-progress-bar {
  height: 100%;
  background: #fff;
  width: 0%;
  transition: width linear;
}

/* ── Dot navigation ── */
.hs-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
  display: none;
}
.hs-dot-btn {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
  padding: 0;
}
.hs-dot-btn.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}
.hs-dot-btn:hover { border-color: #fff; }

/* ── Arrow buttons ── */
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
  display: none;
}
.hs-arrow:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.hs-arrow-prev { left: 28px; }
.hs-arrow-next { right: 28px; }

/* ── Slide counter ── */
.hs-counter {
  position: absolute;
  bottom: 22px;
  right: 32px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: .06em;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hs-counter #hsCurrent { color: rgba(255,255,255,.9); }

/* ── h-content: fixed hero overlay (matches index_v2.php h-content) ── */
#hero .h-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1380px;
  margin: 0 auto; padding: 0 60px;
  display: flex; align-items: center;
}
#hero .h-content {
  flex: 0 0 50%; width: 50%;
  display: flex; flex-direction: column;
}
#hero .h-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .67rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255,255,255,.48);
  margin-bottom: 28px;
}
#hero .h-label-line {
  display: block; width: 28px; height: 2px;
  background: #E53935; border-radius: 2px; flex-shrink: 0;
}
#hero .h-title {
  display: flex; flex-direction: column;
  margin: 0 0 28px 0;
}
#hero .h-title-line1 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 800; color: #ffffff;
  line-height: 1.06; letter-spacing: -.025em;
}
#hero .h-title-line2 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 800; color: rgba(255,255,255,.88);
  line-height: 1.06; letter-spacing: -.025em;
}
#hero .h-title-line3 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  font-weight: 800; color: rgba(255,255,255,.88);
  line-height: 1.06; letter-spacing: -.025em;
}
#hero .h-product-block {
  margin: 0 0 40px 0;
  display: flex; flex-direction: column; gap: 10px;
}
#hero .h-product-label {
  font-size: .63rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.40);
}
#hero .h-product-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
#hero .h-product-list li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  cursor: default;
}
#hero .h-product-list li::before {
  content: ''; display: block;
  width: 6px; height: 6px;
  border-radius: 50%; background: #E53935; flex-shrink: 0;
}
#hero .h-product-list li:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}
#hero .h-ctas {
  display: flex; align-items: center;
  gap: 16px; /*margin-bottom: 48px;*/
}
#hero .h-btn-primary,
#hero .h-btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; height: 52px; box-sizing: border-box;
  font-size: .80rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; border-radius: 6px;
  border: 2px solid transparent; text-decoration: none; white-space: nowrap;
  line-height: 1;
}
#hero .h-btn-primary {
  background: #E53935; color: #fff; border-color: #E53935;
  transition: background 260ms ease, border-color 260ms ease,
              transform 260ms ease, box-shadow 260ms ease;
}
#hero .h-btn-primary:hover {
  background: #c62828; border-color: #c62828;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(229,57,53,.40); color: #fff;
}
#hero .h-btn-primary i { font-size: .90rem; line-height: 1; transition: transform 260ms ease; }
#hero .h-btn-primary:hover i { transform: translateX(5px); }
#hero .h-btn-secondary {
  background: transparent; color: rgba(255,255,255,.88);
  border-color: rgba(255,255,255,.26); font-weight: 600;
  transition: border-color 260ms ease, background 260ms ease,
              transform 260ms ease, color 260ms ease;
}
#hero .h-btn-secondary:hover {
  border-color: rgba(255,255,255,.70);
  background: rgba(255,255,255,.07);
  transform: translateY(-3px); color: #fff;
}
#hero .h-stats { display: flex; align-items: center; }
#hero .h-stat  { display: flex; flex-direction: column; padding-right: 24px; }
#hero .h-stat-num {
  font-size: 1.55rem; font-weight: 800; color: #ffffff;
  line-height: 1; letter-spacing: -.02em;
}
#hero .h-stat-num sup {
  font-size: .68rem; color: #E53935; font-weight: 700;
  vertical-align: super; margin-left: 1px;
}
#hero .h-stat-label {
  font-size: .63rem; font-weight: 600; letter-spacing: .10em;
  text-transform: uppercase; color: rgba(255,255,255,.40); margin-top: 5px;
}
#hero .h-stat-sep {
  width: 1px; height: 30px;
  background: rgba(255,255,255,.13);
  margin-right: 24px; flex-shrink: 0;
}

@keyframes hFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
#hero .h-label  { opacity: 0; animation: hFadeUp .65s cubic-bezier(.22,.61,.36,1) .10s forwards; }
#hero .h-title  { opacity: 0; animation: hFadeUp .70s cubic-bezier(.22,.61,.36,1) .25s forwards; }
#hero .h-ctas   { opacity: 0; animation: hFadeUp .65s cubic-bezier(.22,.61,.36,1) .52s forwards; }
#hero .h-stats  { opacity: 0; animation: hFadeUp .65s cubic-bezier(.22,.61,.36,1) .65s forwards; }

@media (max-width: 1200px) {
  #hero .h-inner { padding: 0 40px; }
  #hero .h-title-line1,
  #hero .h-title-line2 { font-size: clamp(2.2rem, 3.4vw, 3.8rem); }
  #hero .h-title-line3 { font-size: clamp(2.2rem, 3.4vw, 3.8rem); }
}
@media (max-width: 960px) {
  #hero .h-inner { padding: 0 32px; }
  #hero .h-content { flex: none; width: 100%; max-width: 600px; }
}
@media (max-width: 640px) {
  #hero .h-inner { padding: 0 20px; }
  #hero .h-title-line1,
  #hero .h-title-line2 { font-size: 2.1rem; }
  #hero .h-title-line3 { font-size: 2.1rem; }
  #hero .h-ctas { flex-direction: column; align-items: stretch; }
  #hero .h-btn-primary,
  #hero .h-btn-secondary { justify-content: center; }
  #hero .h-stat    { padding-right: 16px; }
  #hero .h-stat-sep { margin-right: 16px; }
  #hero .h-stat-num { font-size: 1.3rem; }
}
@media (max-width: 480px) {
  .pr-cta-actions a, .st-cta-actions a, .rs-cta-actions a, .ap-cta-actions a, .gc-cta-actions a{
    justify-content: center;
  }
}

/* ── 11. STATS BAR ──────────────────────────────────────── */
#stats-bar {
  /*background: var(--bg-muted);*/
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 6px;
}

/* ── 12. ABOUT ──────────────────────────────────────────── */
#about { background: var(--bg-white); }

.about-text-content .label { margin-bottom: 14px; display: block; }

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 28px;
}
.about-chips .badge {
  padding: 3px 9px;
  font-size: .68rem;
  gap: 4px;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
.about-img-overlay .est-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-300); }
.about-img-overlay .est-year  { font-size: 1.8rem; font-weight: 800; color: var(--blue); line-height: 1; margin-top: 2px; }

.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.about-mini-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}
.about-mini-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(13,32,96,.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}
.about-mini-card h4 { font-size: .88rem; font-weight: 700; color: var(--text-900); margin-bottom: 4px; }
.about-mini-card p  { font-size: .8rem; color: var(--text-500); line-height: 1.55; }

/* ── 13. PRODUCTS ───────────────────────────────────────── */
#products { background: var(--bg-white); }

/* Header: two-col split with CTA */
.prod-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.prod-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 6px;
}
.prod-header-right p {
  font-size: .98rem;
  color: var(--text-500);
  line-height: 1.75;
}

/* Product grid */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prod-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.prod-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.prod-card:hover .prod-card-img img { transform: scale(1.02); }

.prod-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #fffdf7;
  padding: 10px;
}
.prod-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  border-radius: 5px;
  background: var(--bg-muted);
}
.prod-card-img--contain img {
  object-fit: contain;
  padding: 8px;
}
.prod-card-cat {
  position: absolute;
  top: 18px; left: 18px;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--red);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 100px;
}

.prod-card-body {
  padding: 22px 22px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  /*background: var(--bg-soft);*/
  background: #fffdf7;
}
.prod-card-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 8px;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.prod-card-body h3 a { color: inherit; }
.prod-card-body h3 a:hover { color: var(--red); }
.prod-card-body p {
  font-size: .84rem;
  color: var(--text-500);
  line-height: 1.65;
  flex: 1;
}
.prod-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}
.prod-card-specs span {
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--bg-muted);
  color: var(--text-700);
  border: 1px solid var(--border);
}

.prod-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--border-light);
  background: #ebe8e0;
}
.prod-card-foot a {
  font-size: .78rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  text-transform: uppercase;
}

.prod-card-foot a i.bi.bi-chevron-right {
    font-size: 12px;
}
.prod-card-foot a:hover { gap: 10px; }

/* ── 14. PROJECTS ───────────────────────────────────────── */
#projects { background: var(--bg-white); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-500);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: #d43b2a;
  color: #fff;
  border-color: #d43b2a;
}

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.projects-more-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn-projects-more {
  background: #d43b2a;
  color: #fff;
  border-color: #d43b2a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 100px;
  min-width: 160px;
  justify-content: center;
}

.btn-projects-more:hover {
  background: #ece9e2;
  border-color: #ece9e2;
  color: #d43b2a;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-card:hover .project-img img { transform: scale(1.06); }

.project-img {
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  background: var(--bg-muted);
}
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  filter:brightness(0.9)
}
.project-img .cat-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  color: var(--blue);
}
.project-img .featured-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  display:none
}

.project-body { padding: 20px 22px; }
.project-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-900); margin-bottom: 4px; line-height: 1.35; }
.project-body .location { font-size: .8rem; color: var(--text-300); display: flex; align-items: center; gap: 5px; }

/* ── 15. WHY KRIDHAN ────────────────────────────────────── */
.wk-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 560px;
}

.wk-dark {
  background: var(--bg-muted);
  display: flex;
  align-items: center;
}
.wk-dark-inner { padding: 72px 56px; }

.wk-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 16px 0 20px;
}
.wk-sub {
  font-size: .92rem;
  /*color: rgba(255,255,255,.55);*/
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 48px;
}

.wk-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-soft);
}
.wk-metric {
    padding: 20px 22px;
    border-right: 1px solid rgb(241 182 182 / 30%);
    border-bottom: 1px solid rgb(241 182 182 / 30%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wk-metric:nth-child(2n) { border-right: none; }
.wk-metric:nth-last-child(-n+2) { border-bottom: none; }

.wk-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.03em;
}
.wk-lbl {
  font-size: .72rem;
  /*color: rgba(255,255,255,.45);*/
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.4;
}

.wk-light {
  background: var(--bg-soft);
  display: flex;
  align-items: center;
}
.wk-light-inner {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.wk-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
}
.wk-item:first-child { border-top: 1px solid var(--border-light); }

.wk-item-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.wk-item-body h3 {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 4px;
}
.wk-item-body p {
  font-size: .82rem;
  color: var(--text-500);
  line-height: 1.6;
}

/* ── 16. INDUSTRIES ─────────────────────────────────────── */
#industries { background: var(--bg-white); }

.inds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.inds-tile {
  position: relative;
  padding: 36px 28px 30px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: background .25s, border-color .25s;
  cursor: default;
  overflow: hidden;
}
.inds-tile:nth-child(4n) { border-right: none; }
.inds-tile:nth-last-child(-n+4) { border-bottom: none; }

.inds-tile:hover { background: var(--bg-muted) }
.inds-tile:hover .inds-icon { background: #fff;/* color: #fff;*/ }
/*.inds-tile:hover .inds-tile-inner h3 { color: #fff; }*/
/*.inds-tile:hover .inds-tile-inner p { color: rgba(255,255,255,.6); }*/
.inds-tile:hover .inds-num { color: rgba(255,255,255,1); }

.inds-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: background .25s, color .25s;
}

.inds-tile-inner h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color .25s;
}
.inds-tile-inner p {
  font-size: .78rem;
  color: var(--text-300);
  line-height: 1.55;
  transition: color .25s;
}

.inds-num {
  position: absolute;
  bottom: 2px; right: 16px;
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--border-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.06em;
  pointer-events: none;
  transition: color .25s;
  user-select: none;
}

/* ── 17. CLIENTS MARQUEE ────────────────────────────────── */
#clients { background: var(--bg-white); overflow: hidden; }

/* Fade edges left & right */
.marquee-track {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.marquee-track::before,
.marquee-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-track::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft) 0%, transparent 100%);
}
.marquee-track::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft) 0%, transparent 100%);
}

/* The scrolling row */
.marquee-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* CSS-only infinite scroll animations */
.marquee-left  { animation: scrollLeft  70s linear infinite; }
.marquee-right { animation: scrollRight 70s linear infinite; }

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

/* Pause on hover */
.marquee-track:hover .marquee-inner { animation-play-state: paused; }

/* Individual logo card */
.marquee-logo {
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.marquee-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(13,32,96,.15);
}
.marquee-logo img {
  max-width: 100%;
  /*max-height: 44px;*/
  object-fit: contain;
  /*filter: grayscale(100%) opacity(.55);*/
  transition: filter var(--transition);
}
.marquee-logo:hover img { filter: grayscale(0%) opacity(1); }

/* ── 18. EXPERTISE ──────────────────────────────────────── */
.exp-section { background:#fbfaf8; }

.exp-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.exp-header-sub {
  font-size: .97rem;
  color: var(--text-500);
  line-height: 1.8;
  padding-bottom: 4px;
}

.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left: hover list */
.exp-list { display: flex; flex-direction: column; }

.exp-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: transform .3s ease;
  transform: translateX(0);
}
.exp-item:first-child { border-top: 1px solid var(--border-light); }

.exp-item:hover,
.exp-item.active { transform: translateX(10px); }

.exp-item-num {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--border);
  min-width: 32px;
  font-variant-numeric: tabular-nums;
  transition: color .3s ease;
}
.exp-item:hover .exp-item-num,
.exp-item.active .exp-item-num { color: var(--red); }

.exp-item-content { flex: 1; }

.exp-item-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-700);
  letter-spacing: -.01em;
  margin-bottom: 5px;
  transition: color .3s ease;
}
.exp-item:hover .exp-item-title,
.exp-item.active .exp-item-title { color: var(--blue); }

.exp-item-desc {
  font-size: .87rem;
  color: var(--text-500);
  line-height: 1.65;
}

.exp-item-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-300);
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.exp-item:hover .exp-item-arrow,
.exp-item.active .exp-item-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Right: sticky image */
.exp-img-panel {
  position: sticky;
  top: 96px;
}

.exp-img-stack {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-muted);
  box-shadow: var(--shadow-lg);
}

.exp-img-item {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity .4s ease, transform .4s ease;
}
.exp-img-item.active {
  opacity: 1;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
  .exp-layout { grid-template-columns: 1fr; gap: 32px; }
  /*.exp-img-panel { position: static; order: -1; }*/
  .exp-header { grid-template-columns: 1fr; gap: 16px; }
  .exp-item:hover,
  .exp-item.active { transform: translateX(6px); }
}

@media (max-width: 600px) {
  .exp-item { gap: 14px; padding: 18px 0; }
  .exp-item:hover,
  .exp-item.active { transform: none; }
  .exp-item-title { font-size: 1rem; }
  .exp-item-arrow { width: 32px; height: 32px; font-size: .85rem; }
}

/* ── 19. INDUSTRIES TYPOGRAPHIC DIRECTORY ───────────────── */
.inds-dir-section {
  background: #ffffff;
  padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
}

.inds-dir-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.inds-dir-sub {
  font-size: .97rem;
  color: var(--text-500);
  line-height: 1.85;
}

.inds-dir-list { display: grid; grid-template-columns: 1fr 1fr; }

.inds-dir-row {
  display: grid;
  grid-template-columns: 36px 28px 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px 16px;
  border-top: 1px solid var(--border-light);
  transition: background .3s ease;
  cursor: default;
}
.inds-dir-row:nth-child(odd) { border-right: 1px solid var(--border-light); }
.inds-dir-list .inds-dir-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }

/* Hover: warm accent left bar + soft background lift */
.inds-dir-row { border-left: 3px solid transparent; }
.inds-dir-row:hover { background: var(--bg-soft); border-left-color: var(--red); }
.inds-dir-row:hover .inds-dir-num  { color: var(--red); }
.inds-dir-row:hover .inds-dir-icon { color: var(--text-900); }
.inds-dir-row:hover .inds-dir-name { color: var(--text-900); letter-spacing: -.02em; }
.inds-dir-row:hover .inds-dir-desc { color: var(--text-700); }

.inds-dir-num {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  transition: color .25s ease, opacity .25s ease;
  padding-top: 3px;
}

.inds-dir-icon {
  font-size: 1.1rem;
  color: var(--blue);
  transition: color .25s ease, opacity .25s ease;
  padding-top: 2px;
}

.inds-dir-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inds-dir-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: -.015em;
  line-height: 1.25;
  transition: color .25s ease;
}

.inds-dir-desc {
  font-size: .82rem;
  color: var(--text-500);
  line-height: 1.55;
  transition: color .25s ease;
}

@media (max-width: 768px) {
  .inds-dir-header { grid-template-columns: 1fr; gap: 16px; }
  .inds-dir-list { grid-template-columns: 1fr; }
  .inds-dir-row:nth-child(odd) { border-right: none; }
}

/* ── 20. CERTIFICATIONS ─────────────────────────────────── */
#certifications { background: var(--bg-white); }

.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.cert-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-sm); }
.cert-card .cert-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(13,32,96,.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}
.cert-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.cert-card p  { font-size: .8rem; color: var(--text-500); }
.cert-card .cert-std { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--blue); margin-top: 8px; display: block; }

/* ── 20. CONTACT ────────────────────────────────────────── */
#contact { background: var(--bg-soft); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text-900);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,32,96,.08); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info { padding-top: 8px; }

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-card:first-child { padding-top: 0; }
.contact-info-card:last-child  { border-bottom: none; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(13,32,96,.07);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ci-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-300); margin-bottom: 4px; }
.ci-value { font-size: .95rem; font-weight: 600; color: var(--text-900); }
.ci-value a { color: var(--text-900); }
.ci-value a:hover { color: var(--blue); }

.contact-plants {
  margin-top: 32px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.contact-plants h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-500); margin-bottom: 14px; }
.plant-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.plant-item:last-child { margin-bottom: 0; }
.plant-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 7px; flex-shrink: 0; }
.plant-item p { font-size: .86rem; color: var(--text-700); line-height: 1.5; }
.plant-item strong { color: var(--text-900); }

/* ── 21. CTA BANNER ─────────────────────────────────────── */
#cta-banner {
  background: var(--blue);
  padding: 72px 0;
}
#cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
#cta-banner p  { color: rgba(255,255,255,.7); font-size: 1rem; margin-top: 8px; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--bg-soft); border-color: var(--bg-soft); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── 22. FOOTER ─────────────────────────────────────────── */
#footer {
  /*background: #f3ecdd;*/
  background: var(--bg-muted);
  color: #3b2e20;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}

/* Brand column */
.footer-brand img {
  height: 55px;
  width: auto;
  margin-bottom: 16px;
  /*filter: brightness(0);*/
}
.footer-brand p {
  font-size: .86rem;
  line-height: 1.75;
  max-width: 280px;
  color: #5c4a35;
}

/* Social icons */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(59,46,32,.25);
  color: #5c4a35;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: rgba(59,46,32,.12);
  border-color: rgba(59,46,32,.5);
  color: #1e1208;
}

/* Nav columns */
.footer-col h4 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    color: #513517;
    position: relative;
}

.footer-col h4:after {
    position: absolute;
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 5px;
    background: var(--red);
    /*background: #9d3428;*/
    left: 0;
    bottom: 0;
}

.footer-col ul li { margin-bottom: 2px; }
.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .92rem;
    color: #5c4a35;
    padding: 5px 0;
    transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a i {
  font-size: .70rem;
  flex-shrink: 0;
  /*color: #9d3428;*/
  color: var(--red);
  transition: color var(--transition), transform var(--transition);
}
.footer-col ul li a:hover {
  color: #1e1208;
  padding-left: 6px;
}
.footer-col ul li a:hover i {
  color:var(--red);
  transform: scale(1.2);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 56px;
  padding: 18px 0;
  border-top: 1px solid rgba(59,46,32,.15);
  font-size: .78rem;
  color: #7a6248;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* flex-wrap: wrap; */
  /* gap: 12px; */
}
.footer-bottom a { color: #7a6248; transition: var(--transition); }
.footer-bottom a:hover { color: #1e1208; }

/* ── 23. SCROLL-TO-TOP ──────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
#scrollTop.visible { opacity: 1; visibility: visible; }
#scrollTop:hover { background: var(--blue-mid); }

/* ── 24. FORM SUCCESS ───────────────────────────────────── */
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success i { font-size: 2.5rem; color: #22c55e; margin-bottom: 12px; display: block; }
.form-success h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.form-success p  { color: var(--text-500); font-size: .9rem; }

/* ── 25. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4, .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-header { grid-template-columns: 1fr; gap: 20px; }
  .exp-layout { grid-template-columns: 1fr; gap: 40px; }
  .exp-img-stack { position: static; aspect-ratio: 16/9; }
  .inds-grid { grid-template-columns: repeat(4, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid  { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
  /* Tighten nav spacing so all items fit before hamburger at 900px */
  .nav-link { padding: 8px 10px; font-size: .84rem; }
  .nav-inner { gap: 16px; height: 75px;}
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --section-py: 64px; }
  #hero { height: 92vh; max-height: 680px; }
  .hs-arrow { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-header { grid-template-columns: 1fr; gap: 24px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .wk-section { grid-template-columns: 1fr; }
  .wk-dark-inner, .wk-light-inner { padding: 48px 36px; width:100%;}
  .inds-grid { grid-template-columns: repeat(2, 1fr); }
  .inds-tile:nth-child(2n) { border-right: none; }
  .inds-tile:nth-last-child(-n+2) { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2n) { border-right: none; }
  .nav-menu, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  #topbar .topbar-badges { display: none; }
  .wk-dark{justify-content:center;}
  .wk-sub{max-width:50%;}
}

@media (max-width: 768px) {
  .inds-dir-header { grid-template-columns: 1fr; gap: 16px; }
  .inds-dir-list { grid-template-columns: 1fr; }
  .inds-dir-row:nth-child(odd) { border-right: none; }
  /* In 1-col, only the last row needs a bottom border */
  .inds-dir-list .inds-dir-row:nth-last-child(2) { border-bottom: none; }
  /* About section mini cards: 2-col on tablet portrait */
  .about-grid-3 { grid-template-columns: 1fr 1fr; }
  /* Pipeline: stack on tablet portrait */
  .pipeline-grid { grid-template-columns: 1fr; }
  /* Clients logos: 3-col on tablet portrait */
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  /* Section header margin reduction */
  .section-header { margin-bottom: 40px; }
  /* Footer: brand full-width, links 2-col */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  #hero { height: 88vh; min-height: 500px; }
  .hs-title { font-size: 2rem; }
  .hs-desc { font-size: .92rem; }
  .hs-actions .btn { padding: 11px 20px; font-size: .84rem; }
  .hs-counter { display: none; }
  .prod-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .exp-caps { grid-template-columns: 1fr; }
  .exp-cap:nth-child(2n) { border-right: none; }
  .exp-cap:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .exp-cap:last-child { border-bottom: none; }
  .inds-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid, .grid-4 { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .about-grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  /* Reduce side padding for dark/light panels on narrow screens */
  .wk-dark-inner, .wk-light-inner { padding: 36px 20px; }
  /* Stack footer bottom on mobile */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  /* Topbar too narrow for two contact links at 375px — hide entirely */
  #topbar { display: none; }
  .wk-sub{max-width:100%;}
}

/* ── 26. MOBILE NAV DRAWER (left slide-in) ──────────────── */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;              /* always flex — transition handles show/hide */
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg-white);
  z-index: 1200;
  padding: 72px 24px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.12);
}
.mobile-nav.open {
  transform: translateX(0);
}

/* All top-level rows get the same border — applied on the element or its wrapper */
.mobile-nav a.mn-link,
.mobile-nav .mn-group {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav .mn-link {
  display: block;
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-900);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-nav a.mn-link:hover { color: var(--text-900); padding-left: 8px; }
.mobile-nav a.mn-link.active { color: var(--red); font-weight: 600; }

/* Accordion toggle button — same visual weight as mn-link, no extra border */
.mobile-nav .mn-toggle {
  width: 100%;
  padding: 14px 4px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.mobile-nav .mn-toggle:hover { color: var(--blue); }
.mobile-nav .mn-toggle.active { color: var(--blue); }
.mobile-nav .mn-toggle.active .mn-chevron { transform: rotate(180deg); }

.mn-chevron {
  font-size: .75rem;
  color: var(--text-300);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Slide-down dropdown */
.mn-dropdown {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-soft);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.mn-dropdown.open { max-height: 400px; }

.mn-sub-link {
  display: block;
  padding: 10px 16px 10px 20px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-500);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), padding-left var(--transition);
}
.mn-sub-link:last-child { border-bottom: none; }
.mn-sub-link:hover { color: var(--text-900); padding-left: 26px; }
.mn-sub-link.active { color: var(--red); font-weight: 600; }

/* Nested group (Our Expertise inside About) */
.mn-nested-group { border-bottom: 1px solid var(--border-light); }
.mn-nested-group:last-child { border-bottom: none; }

.mn-nested-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none !important;
}
.mn-nested-toggle.active { color: var(--blue); }
.mn-nested-toggle.active .mn-chevron-sm { transform: rotate(180deg); }

.mn-chevron-sm { font-size: .65rem; }

.mn-nested-dropdown {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-muted);
}
.mn-nested-dropdown.open { max-height: 300px; }

.mn-deep-link {
  display: block;
  padding: 9px 16px 9px 32px;
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-500);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--transition), padding-left var(--transition);
}
.mn-deep-link:last-child { border-bottom: none; }
.mn-deep-link:hover { color: var(--blue); padding-left: 38px; }

.mobile-nav-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  color: var(--text-700);
  transition: var(--transition);
}
.mobile-nav-close:hover { background: var(--bg-soft); color: var(--text-900); }

.mobile-nav .mn-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding-bottom: 20px;
}
.mobile-nav .mn-logo img { height: auto; width: 100px; }

.mobile-nav .mn-cta { margin-top: 24px; }
.mobile-nav .mn-cta .btn { width: 100%; justify-content: center; }

/* ── 27. PIPELINE SECTION ───────────────────────────────── */
#pipeline { background: var(--bg-soft); }

.pipeline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pipeline-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition);
}
.pipeline-card:hover { box-shadow: var(--shadow-sm); }
.pipeline-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bg-muted);
  letter-spacing: -.02em;
  min-width: 36px;
  line-height: 1;
}
.pipeline-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-muted);
}
.pipeline-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pipeline-info { flex: 1; }
.pipeline-info .cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.pipeline-info h4 { font-size: .92rem; font-weight: 700; color: var(--text-900); margin: 2px 0 4px; line-height: 1.3; }
.pipeline-info .loc { font-size: .78rem; color: var(--text-300); }
.status-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.status-active   { background: rgba(34,197,94,.1);  color: #16a34a; }
.status-upcoming { background: rgba(234,179,8,.1);   color: #b45309; }
