/* ==========================================================================
   ASIA UNITY ALUFORM - MASTER STYLESHEET
   World-Class Website Design System for Aluminium Formwork Manufacturer
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-navy: #0B192C;
  --secondary-navy: #1E3E62;
  --accent-orange: #EB5237;
  --accent-orange-hover: #D64227;
  --accent-amber: #F59E0B;
  --aluminum-silver: #E2E8F0;
  --aluminum-dark: #64748B;
  --concrete-bg: #F8FAFC;
  --surface-card: #FFFFFF;
  --surface-subtle: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --success-green: #10B981;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-accent: 0 10px 25px -5px rgba(235, 82, 55, 0.35);

  /* Typography & Sizing */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-max: 1280px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--concrete-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background-color: var(--primary-navy);
  color: var(--text-light);
}

.section-subtle {
  background-color: var(--surface-subtle);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(235, 82, 55, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: #94A3B8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background-color: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(235, 82, 55, 0.45);
}

.btn-secondary {
  background-color: var(--secondary-navy);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #152E4A;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

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

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary-navy);
  border: 1.5px solid var(--border-strong);
}

.btn-outline-dark:hover {
  background-color: var(--surface-subtle);
  border-color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.0625rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */

.top-bar {
  background-color: #070F1A;
  color: #94A3B8;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  color: var(--accent-orange);
}

.top-bar-item a:hover {
  color: #FFFFFF;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.factory-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 10px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: #CBD5E1;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  height: 64px;
  width: auto;
  display: block;
  transition: transform var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1E293B;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--accent-orange);
}

.nav-link.active {
  color: var(--accent-orange);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  color: #0B192C;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-navy);
  overflow: hidden;
  color: #FFFFFF;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.32;
  filter: contrast(1.15) brightness(0.85);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero:hover .hero-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 15, 26, 0.96) 0%,
    rgba(11, 25, 44, 0.88) 50%,
    rgba(11, 25, 44, 0.55) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(235, 82, 55, 0.15);
  border: 1px solid rgba(235, 82, 55, 0.4);
  color: #FF8A65;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent-orange);
  background: linear-gradient(120deg, #EB5237, #FF8A65);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number .unit {
  color: var(--accent-orange);
  font-size: 0.75em;
}

.stat-label {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.3;
}

/* ==========================================================================
   CLIENT LOGOS MARQUEE
   ========================================================================== */

.clients-bar {
  background-color: #070F1A;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 24px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
  gap: 40px;
  align-items: center;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.client-logo-card {
  width: 170px;
  height: 70px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  filter: grayscale(100%) opacity(0.8);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.client-logo-card:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   CORE SYSTEMS / PRODUCTS GRID
   ========================================================================== */

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

.system-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.system-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-strong);
}

.system-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: var(--primary-navy);
}

.system-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.system-card:hover .system-card-media img {
  transform: scale(1.08);
}

.system-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.system-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.system-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.system-card-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.system-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.spec-chip {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.spec-chip strong {
  display: block;
  color: var(--primary-navy);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE ROI & SLAB CYCLE CALCULATOR
   ========================================================================== */

.calculator-wrapper {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  color: #FFFFFF;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
}

.calc-val-badge {
  background: rgba(235, 82, 55, 0.2);
  color: #FF8A65;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 1.0625rem;
  font-weight: 700;
  border: 1px solid rgba(235, 82, 55, 0.4);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #334155;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 10px rgba(235, 82, 55, 0.6);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Results Display Card */
.calc-results-card {
  background: rgba(11, 25, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.calc-results-header h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
}

.calc-results-header p {
  font-size: 0.875rem;
  color: #94A3B8;
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
}

.metric-box.highlighted {
  background: rgba(235, 82, 55, 0.12);
  border-color: rgba(235, 82, 55, 0.35);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.metric-box.highlighted .metric-val {
  color: var(--accent-orange);
}

.metric-title {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 600;
}

/* ==========================================================================
   COMPARISON MATRIX TABLE
   ========================================================================== */

.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.comparison-table th {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  background-color: var(--surface-subtle);
  color: var(--primary-navy);
  border-bottom: 2px solid var(--border-strong);
}

.comparison-table th.col-highlight {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-bottom-color: var(--accent-orange);
  position: relative;
}

.comparison-table td {
  padding: 16px 24px;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background-color: rgba(241, 245, 249, 0.6);
}

.comparison-table td.col-highlight {
  background-color: rgba(235, 82, 55, 0.03);
  font-weight: 700;
  color: var(--primary-navy);
  border-left: 1px solid rgba(235, 82, 55, 0.2);
  border-right: 1px solid rgba(235, 82, 55, 0.2);
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-weight: 700;
}

.cross-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #DC2626;
  font-weight: 500;
}

/* ==========================================================================
   MANUFACTURING & ENGINEERING SHOWCASE
   ========================================================================== */

.manufacturing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mfg-image-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mfg-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mfg-img-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.mfg-img-wrapper:hover img {
  transform: scale(1.06);
}

.mfg-img-wrapper.span-2 {
  grid-column: span 2;
}

.mfg-img-wrapper.span-2 img {
  height: 280px;
}

.mfg-features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mfg-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.mfg-icon-box {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(235, 82, 55, 0.12);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(235, 82, 55, 0.25);
}

.mfg-feature-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.mfg-feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PROJECTS & SITE GALLERY
   ========================================================================== */

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--surface-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

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

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--primary-navy);
  cursor: pointer;
  group: 1;
}

.project-media {
  height: 320px;
  width: 100%;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(7, 15, 26, 0.95) 0%,
    rgba(7, 15, 26, 0.4) 50%,
    rgba(7, 15, 26, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #FFFFFF;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}

.project-meta-strip {
  display: flex;
  gap: 16px;
  font-size: 0.8125rem;
  color: #94A3B8;
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS TABLE
   ========================================================================== */

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

.spec-card {
  background: var(--surface-card);
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
}

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

.spec-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(30, 62, 98, 0.08);
  color: var(--secondary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.spec-card-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.spec-card-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-navy);
}

.spec-card-sub {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   LEAD GENERATION & QUOTE FORM
   ========================================================================== */

.quote-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #070F1A 100%);
  color: #FFFFFF;
}

.quote-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
}

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #E2E8F0;
}

.form-control {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid #334155;
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  color: #FFFFFF;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(235, 82, 55, 0.25);
  background: rgba(15, 23, 42, 1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   FOOTER & DIRECTORY
   ========================================================================== */

.footer {
  background-color: #040810;
  color: #94A3B8;
  padding: 80px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 68px;
  width: auto;
  align-self: flex-start;
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #64748B;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--accent-orange);
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #64748B;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & CALL)
   ========================================================================== */

.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.float-btn-whatsapp {
  background-color: #25D366;
}

.float-btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
}

.float-btn-phone {
  background-color: var(--accent-orange);
}

.float-btn-phone:hover {
  background-color: var(--accent-orange-hover);
  transform: scale(1.1);
}

/* ==========================================================================
   MODAL / LIGHTBOX
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

/* ==========================================================================
   OFFICIAL QUALITY CERTIFICATIONS (ISO 9001:2015 & GMP)
   ========================================================================== */

.cert-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 40px auto 0 auto;
}

.cert-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

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

.cert-preview-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 340px;
  overflow: hidden;
  position: relative;
}

.cert-preview-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 4px;
  transition: transform var(--transition-fast);
}

.cert-card:hover .cert-preview-box img {
  transform: scale(1.03);
}

.cert-preview-badge-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(11, 25, 44, 0.9);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}

.cert-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  width: fit-content;
}

.cert-badge-pill.iso {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.cert-badge-pill.gmp {
  background: rgba(235, 82, 55, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(235, 82, 55, 0.3);
}

.cert-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.cert-meta {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cert-meta strong {
  color: var(--primary-navy);
}

.cert-action-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-orange);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Responsive Utilities & Grid Helpers */
.tech-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tech-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tech-stats-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

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

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 28px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* Horizontal Scroll Indicator for Data Tables */
.scroll-hint-mobile {
  display: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  padding: 6px 12px;
  margin-bottom: 8px;
  background: rgba(241, 245, 249, 0.8);
  border-radius: var(--radius-sm);
}

.scroll-hint-mobile span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .manufacturing-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tech-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Client Grid View (for About Us and Corporate presentation) */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
}

.client-grid-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.client-grid-card img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  display: block;
}

@media (max-width: 992px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .navbar-inner {
    height: 78px;
  }
  .nav-logo {
    height: 56px;
  }
}

@media (max-width: 600px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .client-grid-card {
    height: 80px;
    padding: 10px 14px;
  }
  .client-grid-card img {
    max-height: 46px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
  }
  .top-bar-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    justify-content: center;
  }
  .top-bar-info {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
    font-size: 0.75rem;
  }
  .top-bar-actions {
    display: none;
  }
  .navbar-inner {
    height: 72px;
  }
  .nav-logo {
    height: 50px;
  }
  .nav-cta .btn {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px 28px;
    gap: 16px;
    border-bottom: 3px solid var(--accent-orange);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 9999;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu .nav-link {
    color: #1E293B;
    font-size: 1.0625rem;
    font-weight: 700;
    padding: 6px 0;
    border-bottom: 1px solid #F1F5F9;
  }
  .mobile-menu-cta {
    display: block !important;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B192C;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
  }
  .mobile-toggle svg line {
    transition: all 0.25s ease;
    transform-origin: center;
  }
  .mobile-toggle.active svg line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active svg line:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active svg line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Typography on Mobile */
  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
    line-height: 1.15;
  }
  .section {
    padding: 56px 0;
  }

  /* Grids & Cards on Mobile */
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .cert-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cert-preview-box {
    height: 300px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .tech-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tech-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quote-form-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-group.full-width {
    grid-column: span 1;
  }

  /* Prevent iOS Safari Automatic Zoom on Inputs */
  .form-control, input, select, textarea {
    font-size: 16px !important;
  }

  /* Horizontal Swipe Filters */
  .gallery-filter-bar, .catalog-tabs {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    scrollbar-width: none;
    gap: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .gallery-filter-bar::-webkit-scrollbar,
  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-btn, .catalog-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Horizontal Scroll Indicator for Wide Tables */
  .scroll-hint-mobile {
    display: block;
  }

  /* Modals on Mobile */
  .modal {
    padding: 16px;
  }
  .modal-content {
    padding: 28px 20px;
    max-height: 88vh;
    border-radius: var(--radius-md);
  }
  .modal-close {
    top: 14px;
    right: 14px;
  }

  /* Footers on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-number {
    font-size: 1.75rem;
  }
  .about-stats-grid, .tech-stats-mini-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .floating-actions {
    bottom: 18px;
    right: 18px;
    gap: 10px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
  }
  .float-btn svg {
    width: 22px;
    height: 22px;
  }
}
