/* ============================================================
   SGG CEMENT PRODUCT PVT. LTD.
   Complete Stylesheet — style.css
   Brand: Industrial Infrastructure | Since 1979
   ============================================================
   TABLE OF CONTENTS
   1.  CSS Custom Properties (Design Tokens + 3 Themes)
   2.  Reset + Base
   3.  Typography
   4.  Layout Utilities
   5.  Reveal Animation
   6.  Top Bar
   7.  Header + Navigation
   8.  Mega Menu + Dropdown
   9.  Mobile Navigation
  10.  Hero Section
  11.  Button System
  12.  Stats Band
  13.  Section Headers
  14.  Products Grid
  15.  Applications Grid
  16.  Technology Section
  17.  Timeline Section
  18.  Badges Row
  19.  Clientele Grid
  20.  CTA Section + Contact Form
  21.  Footer
  22.  Sticky Action Buttons
  23.  Responsive Breakpoints
   ============================================================ */


/* ============================================================
   1. CSS CUSTOM PROPERTIES — DESIGN TOKENS
   ============================================================ */

/* Default Theme: Official SGG Branding (Red) */
[data-palette="official-sgg"],
body {
  --accent: #e00024;
  --accent-dark: #b8001d;
  --accent-light: #ff1a40;
  --accent-bg: #fce5e8;
  --accent-rgb: 224, 0, 36;
}

/* Theme 2: Steel + Yellow */
[data-palette="steel-yellow"] {
  --accent: #e67e00;
  --accent-dark: #bf6400;
  --accent-light: #f39c12;
  --accent-bg: #fefbf3;
  --accent-rgb: 230, 126, 0;
}

/* Theme 3: Charcoal + Teal */
[data-palette="charcoal-teal"] {
  --accent: #1a7d8e;
  --accent-dark: #125e6c;
  --accent-light: #22a3b8;
  --accent-bg: #f2fafc;
  --accent-rgb: 26, 125, 142;
}

/* Shared Foundation Tokens */
:root {
  /* Neutrals */
  --dark-900: #111212;
  --dark-800: #1c1f1f;
  --dark-700: #252a2a;
  --dark-600: #2e3333;
  --dark-500: #3d4343;
  --dark-400: #536060;
  --grey-700: #4a4e4e;
  --grey-600: #6b7070;
  --grey-500: #8a9090;
  --grey-400: #b0b5b5;
  --grey-300: #cdd1d1;
  --grey-200: #e2e6e6;
  --grey-150: #edf0f0;
  --grey-100: #f4f6f6;
  --grey-50: #f9fafa;
  --white: #ffffff;
  --offwhite: #f8f7f5;
  --concrete: #e8e4e0;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Impact', 'Arial Narrow', sans-serif;
  --font-heading: 'Barlow Semi Condensed', 'Franklin Gothic Medium', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Fluid Type Scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-md: clamp(1rem, 0.95rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.6rem, 1.8rem + 4vw, 5rem);
  --text-hero: clamp(3.5rem, 2.5rem + 6vw, 8.5rem);

  /* 4px Spacing System */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Section Rhythm */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --section-pad-sm: clamp(2.5rem, 5vw, 4rem);

  /* Layout */
  --max-width: 1280px;
  --max-width-text: 720px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.22);

  /* Transitions */
  --ease-default: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-heavy: cubic-bezier(0.1, 1, 0.1, 1); /* Extreme ease-out (fast start, slow end) */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.15);
  --dur-fast: 150ms;
  --dur-med: 280ms;
  --dur-slow: 500ms;
  --dur-x-slow: 800ms;
  --dur-ultra: 1200ms;

  /* Header Heights */
  --header-h: 70px;
  --topbar-h: 38px;
  --total-header: calc(var(--topbar-h) + var(--header-h));
}


/* ============================================================
   2. RESET + BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-padding-top: var(--total-header);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--dark-700);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  text-wrap: balance;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p,
li {
  text-wrap: pretty;
}

::selection {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--dark-900);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Barlow+Semi+Condensed:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  font-family: var(--font-display);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-display);
}

p {
  font-size: var(--text-base);
  line-height: 1.7;
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

.section {
  padding-block: var(--section-pad);
}

.section-grey {
  background-color: var(--grey-50);
}

.section-dark {
  background-color: var(--dark-900);
  color: var(--white);
}

.section-dark p,
.section-dark li,
.section-dark .section-description {
  color: var(--grey-400);
}


/* ============================================================
   5. REVEAL ANIMATION (Intersection Observer)
   ============================================================ */

/* Base Reveal Setup */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  /* The default transition has a heavy feel */
  transition:
    opacity var(--dur-x-slow) var(--ease-heavy),
    transform var(--dur-x-slow) var(--ease-heavy),
    clip-path var(--dur-ultra) var(--ease-heavy);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Modifiers */
.reveal-clip {
  opacity: 1; /* Clip-path controls visibility */
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transform: translateY(0); /* Don't slide, just wipe */
}
.reveal-clip.active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Delays */
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }


/* ============================================================
   6. TOP BAR
   ============================================================ */

.top-bar {
  background: var(--dark-900);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  font-size: var(--text-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 200;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar-left a {
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--dur-fast) var(--ease-out);
}

.top-bar-left a:hover {
  color: var(--accent-light);
}

.top-bar-left a i {
  font-size: 0.7rem;
  color: var(--accent);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.top-bar-right a {
  color: var(--grey-500);
  font-size: 0.78rem;
  transition: color var(--dur-fast) var(--ease-out);
}

.top-bar-right a:hover {
  color: var(--accent-light);
}

/* Theme Switcher Pills */
.theme-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.theme-switcher-label {
  font-size: var(--text-xs);
  color: var(--grey-600);
}

.theme-pill {
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--dark-500);
  color: var(--grey-500);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.theme-pill:hover {
  border-color: var(--grey-400);
  color: var(--white);
}

.theme-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}


/* ============================================================
   7. HEADER + NAVIGATION
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition:
    box-shadow var(--dur-med) var(--ease-out),
    background var(--dur-med) var(--ease-out);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.company-name {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 1.05rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark-900);
}

.company-tagline {
  font-size: 0.62rem;
  color: var(--grey-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
}

.main-nav>li {
  position: relative;
}

.main-nav>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 var(--space-md);
  height: var(--header-h);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--dark-600);
  letter-spacing: 0.02em;
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.main-nav>li>a:hover {
  color: var(--accent);
}

.nav-arrow {
  font-size: 0.55rem;
  transition: transform var(--dur-med) var(--ease-out);
  color: var(--grey-500);
}

.main-nav>li:hover .nav-arrow {
  transform: rotate(180deg);
}

/* Header CTA Button */
.header-cta {
  margin-left: auto;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-lg) !important;
  height: auto !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  transition:
    background var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out) !important;
}

.header-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark-700);
  border-radius: var(--radius-full);
  transition: all var(--dur-med) var(--ease-out);
  display: block;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   8. MEGA MENU + DROPDOWN
   ============================================================ */

.dropdown,
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out),
    visibility var(--dur-med);
  z-index: 50;
}

.main-nav>li:hover .dropdown,
.main-nav>li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown */
.dropdown {
  min-width: 220px;
  padding: var(--space-sm) 0;
}

.dropdown a {
  display: block;
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--dark-600);
  border-left: 3px solid transparent;
  transition:
    color var(--dur-fast),
    background var(--dur-fast),
    border-color var(--dur-fast);
}

.dropdown a:hover {
  color: var(--accent);
  background: var(--accent-bg);
  border-left-color: var(--accent);
}

/* Mega Menu */
.mega-menu {
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(700px, 95vw);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-xs);
}

.main-nav>li:hover .mega-menu {
  transform: translateX(-50%) translateY(0);
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition:
    background var(--dur-fast),
    transform var(--dur-fast);
}

.mega-menu-item:hover {
  background: var(--accent-bg);
  transform: translateX(3px);
}

.mega-menu-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 0.9rem;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.mega-menu-item:hover .mega-menu-icon {
  background: var(--accent);
  color: var(--white);
}

.mega-menu-content h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dark-800);
  margin-bottom: 2px;
  font-family: var(--font-body); /* Keep it lighter in mega menus */
}

.mega-menu-content p {
  font-size: 0.72rem;
  color: var(--grey-600);
  line-height: 1.4;
}

.mega-menu-item:hover .mega-menu-content h4 {
  color: var(--accent);
}


/* ============================================================
   9. MOBILE NAVIGATION
   ============================================================ */

/* Mobile nav overrides live in section 23 (breakpoints) */


/* ============================================================
   10. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
  animation: heroZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(17, 18, 18, 0.92) 40%,
      rgba(17, 18, 18, 0.50) 75%,
      rgba(17, 18, 18, 0.20) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-block: var(--section-pad);
}

@keyframes heroTextReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-content {
  max-width: 780px;
}

.hero-badge,
.hero h1,
.hero-description,
.hero-actions {
  opacity: 0; /* Hidden before JS or CSS animation kicks in */
  animation: heroTextReveal var(--dur-ultra) var(--ease-heavy) forwards;
}

.hero-badge { animation-delay: 50ms; }
.hero h1 { animation-delay: 150ms; }
.hero-description { animation-delay: 250ms; }
.hero-actions { animation-delay: 350ms; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--accent-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-badge i {
  font-size: 0.8em;
}

.hero h1 {
  font-size: var(--text-hero);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--accent);
  display: block;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}


/* ============================================================
   11. BUTTON SYSTEM
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-med) var(--ease-heavy);
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark-700);
  border-color: var(--grey-300);
}

.btn-outline-dark:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--dark-800);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}


/* ============================================================
   12. STATS BAND
   ============================================================ */

.stats-band {
  background: var(--accent);
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.70);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-xs);
}


/* ============================================================
   13. SECTION HEADERS
   ============================================================ */

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-description {
  font-size: var(--text-md);
  color: var(--grey-600);
  line-height: 1.7;
  max-width: 600px;
  margin-top: var(--space-md);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-label {
  color: var(--accent-light);
}

.section-dark .section-label::before {
  background: var(--accent-light);
}


/* ============================================================
   14. PRODUCTS GRID
   ============================================================ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--grey-200);
  box-shadow: none;
  transition: all var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grey-150);
  transition: background var(--dur-med) var(--ease-out);
  z-index: 10;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--dark-700);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.product-card:hover::after {
  background: var(--accent);
}

.product-card-image {
  position: relative;
  height: 240px;
  background: var(--grey-150);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-200);
  transition: border-color var(--dur-med) var(--ease-out);
}

.product-card:hover .product-card-image {
  border-bottom-color: var(--dark-700);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.8);
  transition: filter var(--dur-slow), transform var(--dur-ultra) var(--ease-heavy);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
  filter: contrast(1.1) saturate(1.1);
}

.product-icon {
  font-size: 3.5rem;
  color: var(--accent);
  transition: all var(--dur-med) var(--ease-out);
}

.product-card:hover .product-icon {
  color: var(--accent);
  transform: scale(1.15) translateY(-4px);
}

.product-card-body {
  padding: 1.8rem 1.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: var(--white);
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-900);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.product-card-body p {
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
  text-align: left;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark-800);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
  width: fit-content;
  padding-bottom: 4px;
}

.product-link i {
  color: var(--accent);
  font-size: 1rem;
  transition: transform var(--dur-med) var(--ease-spring);
}

.product-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-link::before {
  width: 100%;
}

.product-card:hover .product-link {
  color: var(--accent);
}

.product-card:hover .product-link i {
  transform: translateX(6px);
}


/* ============================================================
   15. APPLICATIONS GRID
   ============================================================ */

.applications-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.application-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.application-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.application-tile:hover img {
  transform: scale(1.08);
}

.application-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.70) 35%, transparent 70%);
  z-index: 1;
  transition: background var(--dur-med) var(--ease-out);
}

.application-tile:hover::after {
  background: linear-gradient(to top, rgba(var(--accent-rgb), 0.90) 0%, rgba(var(--accent-rgb), 0.20) 70%);
}

.application-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.application-tile-content h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.application-tile-content p {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--dur-med) var(--ease-out);
}

.application-tile:hover .application-tile-content p {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   16. TECHNOLOGY SECTION
   ============================================================ */

.tech-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

#quality .tech-grid {
  grid-template-columns: 1fr 400px;
}

.tech-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  padding: var(--space-xl);
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.cert-card {
  position: relative;
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.section-dark .cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.15);
}

.tech-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-150);
  transition:
    border-color var(--dur-med),
    box-shadow var(--dur-med),
    transform var(--dur-med);
}

.tech-feature:hover {
  border-color: rgba(var(--accent-rgb), 0.30);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.tech-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(var(--accent-rgb), 0.10);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 1.1rem;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.tech-feature:hover .tech-feature-icon {
  background: var(--accent);
  color: var(--white);
}

.tech-feature h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--dark-800);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body);
}

.tech-feature p {
  font-size: var(--text-sm);
  color: var(--grey-600);
  line-height: 1.6;
}

.section-dark .tech-feature {
  border-color: rgba(255, 255, 255, 0.15);
}

.section-dark .tech-feature h4 {
  color: var(--white);
}

.section-dark .tech-feature p {
  color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   17. TIMELINE SECTION
   ============================================================ */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-2xl);
  margin-block: var(--space-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-bottom: var(--space-2xl);
}

.timeline-item:nth-child(odd) {
  grid-column: 1;
  justify-content: flex-end;
  text-align: right;
  padding-right: calc(var(--space-2xl) + 20px);
}

.timeline-item:nth-child(even) {
  grid-column: 2;
  justify-content: flex-start;
  text-align: left;
  padding-left: calc(var(--space-2xl) + 20px);
}

.timeline-content {
  max-width: 280px;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.timeline-content h4 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-xs);
  font-family: var(--font-body); /* Keep timeline labels lighter */
}

.timeline-content p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

/* ============================================================
   17b. SPIRAL TIMELINE
   ============================================================ */

/* ============================================================
   17b. INDUSTRIAL SNAKE CONDUIT (Horizontal Zigzag)
   ============================================================ */

.snake-timeline-wrapper {
  padding-block: var(--space-xl);
  margin-top: var(--space-xl);
  overflow: hidden;
}

.snake-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}

.snake-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-block: var(--space-xl);
}

/* PRO SVG FLUID CONDUIT */
.snake-conduit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.conduit-track {
  fill: none;
  stroke: var(--dark-700);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.3;
}

.conduit-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250, 3000; /* Long pulse, huge gap */
  opacity: 0.8; /* Slightly faded */
  filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.5));
  animation: svgSnakeFlow 12s linear infinite; /* Slowed down */
}

@keyframes svgSnakeFlow {
  from { stroke-dashoffset: 4000; }
  to { stroke-dashoffset: 0; }
}

/* Row Direction logic - Using nth-of-type to ignore the SVG child */
.snake-row:nth-of-type(even) {
  flex-direction: row-reverse;
}


.snake-node {
  position: relative;
  z-index: 5;
  width: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s var(--ease-heavy);
}

.snake-node.snake-active {
  opacity: 1;
  transform: scale(1);
}

.snake-marker {
  width: 64px;
  height: 64px;
  background: var(--dark-800);
  border: 4px solid var(--dark-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  z-index: 15; /* Mask the line */
}

/* Glow on hover */
.snake-node:hover .snake-marker {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(var(--accent-rgb), 0.5);
}

.snake-card {
  background: rgba(255,255,255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s var(--ease-out);
  width: 100%;
}

.snake-node:hover .snake-card {
  background: rgba(255,255,255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), 0.2);
}

.snake-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.snake-card p {
  font-size: 0.75rem;
  color: rgba(255,255,255, 0.4);
  line-height: 1.4;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .snake-node {
    width: 24%;
  }
}

@media (max-width: 768px) {
  .snake-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    flex-direction: row !important; /* Stack normally on mobile */
    padding-inline: var(--space-md);
  }
  
  .snake-row::before,
  .snake-row::after {
    display: none; /* Hide pipes on mobile grid */
  }
  
  .snake-node {
    width: 45%;
  }

  .snake-node.placeholder {
    display: none;
  }
}

@media (max-width: 480px) {
  .snake-node {
    width: 100%;
    max-width: 300px;
  }
}


/* ============================================================
   17c. PREMIUM CERTIFICATIONS SHOWCASE
   ============================================================ */

.certifications-showcase {
  margin-top: 0;
}

.cert-header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.cert-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.3), transparent);
}

.cert-header-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.cert-card {
  position: relative;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: default;
  transition: all 0.4s var(--ease-out);
}

.cert-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Background glow */
.cert-glow {
  position: absolute;
  top: -30px;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.20) 0%, transparent 70%);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.4s;
}

.cert-card:hover .cert-glow {
  opacity: 1;
}

.cert-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--accent-rgb), 0.05));
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--accent-light);
  transition: all 0.4s var(--ease-out);
}

.cert-card:hover .cert-icon-wrap {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
}

.cert-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--dark-900);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.section-dark .cert-label {
  color: var(--white);
}

.cert-desc {
  font-size: 0.75rem;
  color: var(--grey-600);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.section-dark .cert-desc {
  color: rgba(255, 255, 255, 0.50);
}

/* Stagger animation */
.cert-card[data-cert="1"] { transition-delay: 0s; }
.cert-card[data-cert="2"] { transition-delay: 0.05s; }
.cert-card[data-cert="3"] { transition-delay: 0.10s; }
.cert-card[data-cert="4"] { transition-delay: 0.15s; }
.cert-card[data-cert="5"] { transition-delay: 0.20s; }
.cert-card[data-cert="6"] { transition-delay: 0.25s; }


/* ============================================================
   18. BADGES ROW
   ============================================================ */

.badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}

/* Light-section variant */
.section .badge-item {
  background: var(--grey-100);
  border-color: var(--grey-300);
  color: var(--dark-600);
}

.badge-item:hover {
  background: rgba(var(--accent-rgb), 0.12);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.badge-icon {
  color: var(--accent);
  font-size: 0.75rem;
}


/* ============================================================
   19. CLIENTELE GRID
   ============================================================ */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: var(--space-md);
}

.client-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: grid;
  place-items: center;
  height: 100px;
  transition:
    border-color var(--dur-fast),
    background var(--dur-fast),
    box-shadow var(--dur-fast),
    transform var(--dur-fast);
}

.client-card:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.client-card img {
  width: auto;
  height: 38px;
  max-width: 85%;
  object-fit: contain;
  /* Show logos in full color by default */
  filter: none;
  opacity: 0.85;
  transition: all var(--dur-med) var(--ease-out);
}

.client-card:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}


/* ============================================================
   20. CTA SECTION + CONTACT FORM
   ============================================================ */

.cta-section {
  position: relative;
  background: var(--dark-900);
  padding-block: var(--section-pad);
  overflow: hidden;
}

/* Horizontal line texture */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.012) 3px,
      rgba(255, 255, 255, 0.012) 4px);
  pointer-events: none;
}

/* Accent radial glow */
.cta-section::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: var(--text-2xl);
  color: var(--white);
  margin-block: var(--space-md);
}

.cta-content p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.80);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Contact Form Inputs */
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--text-sm);
  transition:
    border-color var(--dur-fast),
    background var(--dur-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.80);
  opacity: 1;
}

.contact-form select option {
  background: var(--dark-800);
  color: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Contact Info Items */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-contact-item a:hover {
  color: var(--accent-light);
}

.cta-section .footer-contact-item div {
  color: rgba(255, 255, 255, 0.75);
}


/* ============================================================
   21. FOOTER
   ============================================================ */

.footer {
  position: relative;
  background: var(--dark-900);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

/* Subtle accent glow at the top center of footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(var(--accent-rgb), 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 10;
}

/* Brand Area */
.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: transform var(--dur-fast) var(--ease-out);
}
.footer-brand .logo:hover {
  transform: translateY(-2px);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.7;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  max-width: 320px;
}

.footer .company-name {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer .company-tagline {
  color: rgba(255, 255, 255, 0.50);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Social Buttons */
.footer-socials {
  display: flex;
  gap: var(--space-sm);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: var(--text-sm);
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(var(--accent-rgb), 0.3);
}

/* Widget Headings */
.footer-widget h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  font-family: var(--font-body);
  position: relative;
  display: inline-block;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--dur-fast) var(--ease-out);
}

.footer-widget:hover h4::after {
  width: 100%;
}

/* Quick & Product Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.60);
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-links li a i {
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-links li a:hover {
  color: var(--accent-light);
  transform: translateX(6px);
}

.footer-links li a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Cards (Glassmorphism) */
.contact-widget {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateX(-4px);
  box-shadow: -4px 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-contact-card .icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-card .card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact-card .card-content a,
.footer-contact-card .card-content span {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  transition: color var(--dur-fast);
}

.footer-contact-card .card-content a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  position: relative;
  z-index: 10;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.50);
  flex-wrap: wrap;
  gap: var(--space-md);
}


/* ============================================================
   22. STICKY ACTION BUTTONS
   ============================================================ */

.sticky-actions {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 999;
}

.sticky-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast);
  cursor: pointer;
}

.sticky-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.sticky-btn.whatsapp {
  background: #25d366;
}

.sticky-btn.call {
  background: var(--accent);
}

.sticky-btn.scroll-top {
  background: var(--dark-700);
  transition:
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out),
    box-shadow var(--dur-fast);
}


/* ============================================================
   23. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ---- 1200px ---- */
@media (max-width: 1200px) {
  .mega-menu {
    width: min(580px, 95vw);
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Cert grid: 3 cols */
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  :root {
    --header-h: 64px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

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

  .tech-image {
    aspect-ratio: 16 / 9;
    order: -1;
  }

  /* Timeline goes single-column */
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    grid-column: 1;
    justify-content: flex-start;
    text-align: left;
    padding-left: 50px;
    padding-right: 0;
  }

  /* Spiral timeline single-column */
  .spiral-node--left,
  .spiral-node--right {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .spiral-node--left {
    transform: translateX(-40px);
  }

  .spiral-node--right {
    transform: translateX(-40px);
  }

  .spiral-spine {
    left: 20px;
    transform: none;
  }

  .spiral-orbit {
    left: 20px;
  }

  .spiral-node--left .spiral-connector {
    left: 31px;
    right: auto;
    transform-origin: left center;
  }

  .spiral-node--right .spiral-connector {
    left: 31px;
  }

  /* Cert grid: 3 cols */
  .cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- 768px (Mobile) ---- */
@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
    --header-h: 60px;
    --total-header: 60px;
  }

  .top-bar {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile nav drawer */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md) 0 var(--space-xl);
    border-top: 2px solid var(--accent);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--dur-med) var(--ease-out),
      transform var(--dur-med) var(--ease-out),
      visibility var(--dur-med);
    overflow-y: auto;
    max-height: calc(100vh - var(--header-h));
    gap: 0;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav>li>a {
    height: auto;
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid var(--grey-150);
    justify-content: space-between;
  }

  /* Collapse menus on mobile, show only when .open */
  .dropdown,
  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--grey-50);
    display: none;
    width: 100%;
    padding: 0;
    border-top: none;
  }

  .main-nav>li.open .dropdown,
  .main-nav>li.open .mega-menu {
    display: block;
  }

  .dropdown a {
    padding-left: var(--space-2xl);
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .mega-menu-item {
    padding: var(--space-sm) var(--space-2xl);
    border-radius: 0;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
  }

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

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

  .stat-item::after {
    display: none;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  }

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

  .application-tile:last-child {
    grid-column: 1 / -1;
  }

  /* CTA grid */
  .cta-section>.container>div[style] {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

/* ---- 480px (Small mobile) ---- */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

  .application-tile {
    aspect-ratio: 16 / 9;
  }

  .application-tile:last-child {
    grid-column: auto;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .sticky-actions {
    bottom: var(--space-md);
    right: var(--space-md);
  }

  /* Stack contact form on small screens */
  .contact-form>div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }

  .logo-text {
    display: none;
  }

  /* Cert grid: 2 cols on small mobile */
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   24. INNER PAGES STYLING
   ============================================================ */

/* Inner Hero */
.inner-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.inner-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.inner-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: var(--space-xs);
  color: var(--white);
}
.inner-hero .hero-subtitle {
  color: var(--grey-300);
  font-size: var(--text-lg);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* Product Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-lg);
  background-color: var(--white);
}
.table th, .table td {
  padding: var(--space-md);
  border: 1px solid var(--grey-200);
}
.table thead th {
  background-color: var(--dark-900);
  color: var(--white);
  border-color: var(--dark-800);
  text-align: left;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--grey-50);
}

/* Timeline */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--dark-700);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
  width: 50%;
  padding-right: 40px;
}
.timeline-item.right {
  left: 50%;
  padding-right: 0;
  padding-left: 40px;
}
.timeline-dot {
  position: absolute;
  top: 0;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--dark-900);
  z-index: 2;
}
.timeline-item.right .timeline-dot {
  left: -8px;
}
.timeline-content {
  padding: var(--space-lg);
  position: relative;
}
.timeline-content h3 {
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

/* Vision Cards */
.vision-cards {
  gap: var(--space-2xl);
}
.vision-card {
  padding: var(--space-2xl);
  border-top: 4px solid var(--accent);
}
.vision-card .icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-radius: 50%;
  margin-bottom: var(--space-lg);
}

/* Form Styles */
.sgg-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--dark-800);
  font-size: var(--text-sm);
}
.sgg-form .form-control {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--grey-300);
  padding: 12px var(--space-md);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.sgg-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

/* Utility Layout Additions */
.product-nav-strip .nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
.btn-outline-dark {
  border: 1px solid var(--dark-900);
  color: var(--dark-900);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all var(--dur-fast);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
}
.btn-outline-dark:hover {
  background: var(--dark-900);
  color: var(--white);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-item, .timeline-item.right {
    width: 100%;
    left: 0;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-item .timeline-dot, .timeline-item.right .timeline-dot {
    left: 12px;
  }
}


/* ============================================================
   25. INNER PAGE — UTILITY CLASSES & LAYOUT HELPERS
   ============================================================ */

/* ---- Layout Grids ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.align-items-center { align-items: center; }
.align-items-start  { align-items: start; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-row-reverse { direction: ltr; }
.grid-2.flex-row-reverse > :first-child { order: 2; }
.grid-2.flex-row-reverse > :last-child  { order: 1; }

/* ---- Background Variants ---- */
.alt-bg {
  background-color: var(--grey-50);
}
.dark-bg {
  background-color: var(--dark-900);
  color: rgba(255,255,255,0.85);
}
.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 {
  color: var(--white);
}
.dark-bg p {
  color: rgba(255,255,255,0.75);
}
.bg-light {
  background-color: var(--grey-50);
}

/* ---- Glass Panel ---- */
.glass-panel {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}
/* When glass-panel is inside a light section, use light glass */
.alt-bg .glass-panel,
section:not(.dark-bg):not(.section-dark) .glass-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

/* ---- Highlight Border ---- */
.highlight-border {
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---- Hover Lift ---- */
.hover-lift {
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ---- Pattern Background ---- */
.pattern-bg {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(var(--accent-rgb),0.03) 10px,
    rgba(var(--accent-rgb),0.03) 20px
  );
  border-radius: var(--radius-lg);
}

/* ---- Text Utilities ---- */
.text-center  { text-align: center; }
.text-muted   { color: var(--grey-600) !important; }
.text-accent  { color: var(--accent) !important; }
.italic-text  { font-style: italic; line-height: 1.8; }
.lead         { font-size: var(--text-lg); color: var(--grey-600); line-height: 1.7; }
.small        { font-size: var(--text-xs); }
.w-100        { width: 100%; }
.relative     { position: relative; }
.border-bottom { border-bottom: 1px solid var(--grey-200); }
.border-top    { border-top: 1px solid var(--grey-200); }

/* ---- Industrial Heading ---- */
.industrial-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-900);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.dark-bg .industrial-heading {
  color: var(--white);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: var(--space-md);
}
.section-subtitle {
  color: var(--grey-500);
  font-size: var(--text-md);
  max-width: 600px;
  margin-inline: auto;
}
.dark-bg .section-subtitle {
  color: rgba(255,255,255,0.6);
}

/* ---- Spacing Utilities ---- */
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mr-2 { margin-right: var(--space-sm); }
.ml-2 { margin-left: var(--space-sm); }
.p-3  { padding: var(--space-md); }
.p-4  { padding: var(--space-lg); }
.p-5  { padding: var(--space-xl); }
.py-3 { padding-block: var(--space-md); }
.py-4 { padding-block: var(--space-lg); }
.py-5 { padding-block: var(--space-xl); }
.pr-4 { padding-right: var(--space-lg); }
.pl-4 { padding-left:  var(--space-lg); }
.pb-4 { padding-bottom: var(--space-lg); }
.gap-3 { gap: var(--space-md); }
.gap-4 { gap: var(--space-lg); }
.mx-auto { margin-inline: auto; }
.max-w-800 { max-width: 800px; }


/* ============================================================
   26. INNER PAGE — COMPONENT STYLES
   ============================================================ */

/* ---- About: Legacy Section ---- */
.legacy-section {
  padding-block: var(--section-pad);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.legacy-content h2 {
  margin-bottom: var(--space-md);
}
.legacy-content h3 {
  color: var(--accent);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
}
.legacy-content p {
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}
.legacy-image .img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.legacy-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.legacy-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--accent);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.legacy-badge .number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}
.legacy-badge .label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

/* ---- About: Vision Cards ---- */
.vision-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--dark-900);
}
.vision-card p {
  color: var(--grey-600);
  line-height: 1.7;
}

/* ---- About: Chairman Message ---- */
.chairman-message {
  padding: var(--space-2xl);
}
.chairman-photo img {
  border: 4px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.chairman-text h3 {
  color: var(--dark-900);
  margin-bottom: var(--space-lg);
}
.chairman-text p {
  color: var(--grey-600);
  line-height: 1.9;
}
.signature {
  color: var(--dark-800);
  font-size: var(--text-sm);
}

/* ---- About: Certifications Grid ---- */
.certifications-grid {
  gap: var(--space-xl);
}
.certifications-grid .cert-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.certifications-grid .cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.certifications-grid .cert-card i {
  color: var(--accent);
  margin-bottom: var(--space-lg);
}
.certifications-grid .cert-card h4 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
  color: var(--dark-900);
}
.certifications-grid .cert-card p {
  color: var(--grey-500);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.fa-3x { font-size: 3rem; }

/* ---- Products: Product Sections ---- */
.product-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-info .section-label {
  margin-bottom: var(--space-sm);
}
.product-info h2 {
  margin-bottom: var(--space-md);
}
.product-info p {
  color: var(--grey-600);
  line-height: 1.7;
}

/* ---- Styled List ---- */
.styled-list {
  list-style: none;
  padding: 0;
}
.styled-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--grey-600);
  line-height: 1.6;
}
.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ---- Technology: Tech Media ---- */
.tech-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tech-media img {
  width: 100%;
  height: auto;
  display: block;
}
.tech-content h3 {
  margin-bottom: var(--space-md);
}
.tech-content p {
  color: var(--grey-600);
  line-height: 1.7;
}

/* ---- Technology: Quality Cards ---- */
.quality-card {
  padding: var(--space-2xl);
  text-align: center;
}
.quality-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(var(--accent-rgb),0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
}
.quality-card h4 {
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
  color: var(--dark-900);
}

/* ---- Applications: App Sections ---- */
.app-info h2 {
  margin-bottom: var(--space-md);
}
.app-info p {
  color: var(--grey-600);
  line-height: 1.7;
}
.app-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.app-media img {
  width: 100%;
  height: auto;
  display: block;
}
.app-column {
  border-radius: var(--radius-lg);
}
.app-column h3 {
  margin-bottom: var(--space-md);
}
.app-column p {
  color: var(--grey-600);
  line-height: 1.7;
}

/* ---- Contact: Location Cards ---- */
.location-card {
  border-radius: var(--radius-lg);
}
.location-card h4 {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
  color: var(--dark-900);
}
.location-card p {
  color: var(--grey-600);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ---- Contact Form Container ---- */
.contact-form-container {
  border-radius: var(--radius-lg);
}
.contact-form-container h3 {
  color: var(--dark-900);
}

/* ---- Map Section ---- */
.map-section {
  width: 100%;
}
.map-section iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  filter: saturate(0.8) contrast(1.1);
  border-radius: 0;
}

/* ---- Form Styling (Light BG) ---- */
.sgg-form .form-control {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--grey-300);
  padding: 12px var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--dark-900);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.sgg-form .form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
.sgg-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--dark-800);
  font-size: var(--text-sm);
}
.sgg-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group {
  margin-bottom: var(--space-md);
}

/* ---- Reveal/Stagger Animations for Inner Pages ---- */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s var(--ease-out) forwards;
}
.stagger-element {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerIn 0.6s var(--ease-out) forwards;
  animation-delay: 0.15s;
}
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes staggerIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Count-Up Number ---- */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* ---- Page Editor Content (WP content area) ---- */
.page-editor-content {
  font-size: var(--text-md);
  line-height: 1.8;
  color: var(--grey-700);
}
.page-editor-content h2,
.page-editor-content h3 {
  color: var(--dark-900);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}
.page-editor-content p {
  margin-bottom: var(--space-md);
}
.page-editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Container Fluid */
.container-fluid {
  width: 100%;
  padding: 0;
}


/* ============================================================
   27. INNER PAGE — RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .grid-2.flex-row-reverse > :first-child { order: 0; }
  .grid-2.flex-row-reverse > :last-child  { order: 0; }

  .two-col-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .inner-hero {
    min-height: 30vh;
    padding-block: var(--space-2xl);
  }

  .chairman-message .grid-2 {
    text-align: center;
  }
  .chairman-photo {
    margin-bottom: var(--space-lg);
  }

  .product-nav-strip .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm) !important;
  }

  .location-card {
    padding: var(--space-md) !important;
  }

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

/* ============================================================
   19. DETAILED CONTACT PAGE COMPONENTS
   ============================================================ */

/* CONTACT PAGE TYPOGRAPHY FIXES */
.contact-title {
  display: flex;
  flex-wrap: nowrap; /* Forced one line */
  gap: 0 15px;
  justify-content: flex-start;
  line-height: 1;
  white-space: nowrap; /* Prevent wrapping */
  font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive but controlled */
}

.contact-title span {
  color: var(--accent);
}

.text-bright {
  color: rgba(255,255,255,1) !important;
  font-weight: 400;
}

/* PLANT NETWORK GRID */
.plant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-block: var(--space-xl);
}

.plant-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-700);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plant-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.plant-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  align-self: flex-start;
}

.plant-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}

.plant-addr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85); /* Increased contrast */
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.plant-contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-lg);
}

.plant-contact-list li {
  font-size: 0.85rem;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plant-contact-list i {
  color: var(--accent);
  width: 16px;
}

/* DEPARTMENT DIRECTORY */
.dept-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.dept-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--dark-700);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.dept-card:hover {
  background: rgba(var(--accent-rgb), 0.03);
  border-color: var(--accent);
}

.dept-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.dept-card h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 6px;
}

.dept-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7); /* Increased contrast */
}

/* INDUSTRIAL FAQ SECTION */
.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: var(--space-xl);
}

.faq-item {
  background: var(--dark-800);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--dark-700);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-left-color: var(--accent);
  background: #1a1a1a;
}

.faq-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  margin: 0;
}

.faq-item h4 i {
  color: var(--accent);
  font-size: 0.8rem;
  margin-top: 4px;
}

.faq-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8); /* Increased contrast */
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .plant-grid, .dept-directory, .faq-container {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   PRODUCTS PAGE — PREMIUM REDESIGN
   ============================================================ */

/* Tighter vertical spacing for product catalog sections */
.product-section {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

/* ── Product Navigator ────────────────────── */
.product-nav {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}

.product-nav.scrolled-past-hero {
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.product-nav-track {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.75rem 0;
}

.product-nav-track::-webkit-scrollbar {
  display: none;
}

.product-nav-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-600);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--dur-fast);
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
}

.product-nav-pill i {
  font-size: 0.7rem;
  opacity: 0.6;
}

.product-nav-pill:hover {
  color: var(--dark-900);
  background: var(--grey-50);
}

.product-nav-pill.active {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(200, 40, 40, 0.25);
}

.product-nav-pill.active i {
  opacity: 1;
}


/* ── Product Section Header ────────────────── */
.product-section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.product-section-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.product-section-header .section-label {
  margin-bottom: 0.25rem;
}


/* ── Product Showcase (Image + Content) ────── */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.product-showcase-reverse {
  direction: rtl;
}

.product-showcase-reverse > * {
  direction: ltr;
}

.product-showcase-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  width: 100%;
}

/* Specific override for 04. Inspection Chambers to auto-stretch */
#inspection-chambers .product-showcase {
  align-items: stretch;
}

#inspection-chambers .product-showcase-image {
  height: 100%;
  aspect-ratio: auto;
}

.product-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-showcase-image:hover img {
  transform: scale(1.04);
}

.product-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.product-showcase-stat {
  display: flex;
  flex-direction: column;
}

.product-showcase-stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-heading);
  line-height: 1.2;
}

.product-showcase-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ── Product Intro & Highlights ────────────── */
.product-intro {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--grey-700);
  margin-bottom: 1rem;
}

.section-dark .product-intro {
  color: var(--grey-400);
}

.product-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.product-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-800);
}

.section-dark .product-highlight-item {
  color: rgba(255,255,255,0.85);
}

.product-highlight-item i {
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}


/* ── Size Chips Grid ───────────────────────── */
.product-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-size-chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: rgba(200, 40, 40, 0.06);
  color: var(--dark-800);
  border: 1px solid rgba(200, 40, 40, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--dur-fast);
}

.product-size-chip:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-1px);
}


/* ── Product Spec Cards & Grid ─────────────── */
.product-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.product-spec-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}

.product-spec-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.product-spec-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-900);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-spec-card h4 i {
  color: var(--accent);
  font-size: 0.85rem;
}


/* ── Premium Spec Tables ───────────────────── */
.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.08);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  font-family: var(--font-body);
}

.spec-table thead {
  background: var(--dark-900);
}

.spec-table thead th {
  padding: 0.75rem 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  border: none;
  white-space: nowrap;
}

.spec-table thead th:first-child {
  border-radius: var(--radius-md) 0 0 0;
}

.spec-table thead th:last-child {
  border-radius: 0 var(--radius-md) 0 0;
}

.spec-table tbody td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: var(--dark-700);
  vertical-align: top;
}

.spec-table tbody tr:last-child td {
  border-bottom: none;
}

.spec-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.015);
}

.spec-table tbody tr:hover {
  background: rgba(200, 40, 40, 0.03);
}

.spec-table tbody td strong {
  color: var(--dark-900);
  font-weight: 700;
}

/* Dark variant */
.spec-table-dark thead {
  background: rgba(255,255,255,0.08);
}

.spec-table-dark thead th {
  color: rgba(255,255,255,0.9);
}

.spec-table-dark tbody td {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.05);
}

.spec-table-dark tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

.spec-table-dark tbody tr:hover {
  background: rgba(255,255,255,0.04);
}

.spec-table-dark tbody td strong {
  color: var(--white);
}

/* ── Product Note ──────────────────────────── */
.product-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--grey-500);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-note i {
  color: var(--accent);
}


/* ── Applications Feature Layout ───────────── */
.app-feature-list {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.app-feature-item {
  position: relative;
  padding-left: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 2px solid transparent;
}

.app-feature-item:hover {
  border-left-color: var(--primary);
  transform: translateX(8px);
}

.app-feature-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--dark-900);
  letter-spacing: -0.01em;
}

.section-dark .app-feature-item h4 {
  color: var(--white);
}

.app-feature-item h4 i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(200, 40, 40, 0.08); /* Faint primary */
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.section-dark .app-feature-item h4 i {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.app-feature-item:hover h4 i {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.app-feature-item p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--grey-600);
  padding-left: 3rem; /* Align with text under icon */
  max-width: 90%;
}

.section-dark .app-feature-item p {
  color: var(--grey-400);
}

.product-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--grey-700);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.section-dark .product-intro {
  color: var(--grey-300);
}

.product-intro::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  opacity: 0.6;
}

/* Fix Section Number Contrast in Dark Sections */
.section-dark .product-section-number {
  color: var(--white);
  opacity: 0.12;
}

.section-grey .product-section-number {
  opacity: 0.15;
}


/* ── Applications & Technology Page Specific Overrides ──── */
.page-template-page-applications .product-showcase,
.page-template-page-technology .product-showcase {
  align-items: stretch;
}

.page-template-page-applications .product-showcase-image,
.page-template-page-technology .product-showcase-image {
  height: 100%;
  aspect-ratio: auto;
}

/* ── Products Page Responsive ──────────────── */
@media (max-width: 1200px) {
  .product-specs-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center; /* Back to center on mobile for stacked layout */
  }

  .page-template-page-applications .product-showcase-image {
    height: auto;
    aspect-ratio: 4/3;
  }

  .product-showcase-reverse {
    direction: ltr;
  }

  .product-specs-grid,
  .product-specs-grid-3 {
    grid-template-columns: 1fr;
  }

  .product-highlights {
    grid-template-columns: 1fr;
  }

  .product-section-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .product-section-header {
    gap: 1rem;
  }

  .product-section-number {
    font-size: 2rem;
  }

  .product-nav-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .product-showcase-overlay {
    gap: 1rem;
    padding: 1rem;
  }

  .product-showcase-stat-number {
    font-size: 1.2rem;
  }
}