/* ==========================================================================
   Sumati Renewables - Premium 3D Solar Light Refraction Simulator & Portfolio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Root Variables & Theme Tokens --- */
:root {
  --bg-primary: #070a12;
  --bg-secondary: #0d1322;
  --bg-tertiary: #172136;
  --bg-card: rgba(13, 19, 34, 0.9);
  --bg-card-hover: rgba(23, 33, 54, 0.95);
  --bg-header: rgba(7, 10, 18, 0.95);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --accent-gold: #305EBA;
  --accent-gold-hover: #1e40af;
  --accent-gold-glow: rgba(48, 94, 186, 0.35);
  --accent-copper: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;

  /* Logo Flame Tri-Color Tokens */
  --brand-blue: #2563eb;
  --brand-blue-glow: rgba(37, 99, 235, 0.25);
  --brand-amber: #f59e0b;
  --brand-amber-glow: rgba(245, 158, 11, 0.25);
  --brand-green: #10b981;
  --brand-green-glow: rgba(16, 185, 129, 0.25);
  --brand-flame-gradient: linear-gradient(135deg, #2563eb 0%, #10b981 50%, #f59e0b 100%);

  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(48, 94, 186, 0.4);
  --border-accent-strong: rgba(48, 94, 186, 0.85);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 30px -5px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-header: rgba(255, 255, 255, 0.96);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --border-light: rgba(15, 23, 42, 0.12);
  --border-accent: rgba(48, 94, 186, 0.45);
  --border-accent-strong: rgba(48, 94, 186, 0.9);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.08);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scroll Offset for Sticky Header Visibility */
section[id],
div[id] {
  scroll-margin-top: 85px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

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

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

ul {
  list-style: none;
}

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

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-flame {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

/* --- Section Titles & Colored Logo Badges --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.15rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.section-tag-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #d97706;
}

.section-tag-green {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #305EBA 0%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(48, 94, 186, 0.45);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(48, 94, 186, 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline {
  border: 1px solid var(--border-accent);
  color: var(--accent-gold);
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

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

.brand-logo .logo-white {
  display: block;
}

.brand-logo .logo-blue {
  display: none;
}

[data-theme="light"] .brand-logo .logo-white {
  display: none;
}

[data-theme="light"] .brand-logo .logo-blue {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

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

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(48, 94, 186, 0.15);
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Minimalist Breadcrumb Navigation
   ========================================================================== */
.page-breadcrumb {
  padding-top: 5.4rem;
  padding-bottom: 0.75rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 20;
}

.page-breadcrumb + section,
.page-breadcrumb + .section-padding {
  padding-top: 2rem !important;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--accent-gold);
}

.breadcrumb-separator {
  color: var(--text-subtle);
  font-size: 0.625rem;
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item.active {
  color: var(--text-main);
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-breadcrumb {
    padding-top: 4.8rem;
    padding-bottom: 0.6rem;
  }
  .page-breadcrumb + section,
  .page-breadcrumb + .section-padding {
    padding-top: 1.5rem !important;
  }
  .breadcrumb-list {
    font-size: 0.8rem;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   Full-Screen Video Hero Banner
   ========================================================================== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 65px);
  min-height: 560px;
  margin-top: 65px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-bottom-stats-overlay {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1180px;
  z-index: 20;
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(48, 94, 186, 0.25);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .hero-bottom-stats-overlay {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(48, 94, 186, 0.4);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 0 20px rgba(48, 94, 186, 0.15);
}

.overlay-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card-overlay {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid var(--border-light);
}

.stat-card-overlay:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Video Showcase Cards */
.video-showcase-section {
  position: relative;
  background: var(--bg-primary);
}

.video-card-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  height: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 50%, #f59e0b 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.video-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.video-card-box:hover::before {
  opacity: 1;
}

/* Section Background Alternating Flow */
.section-ambient-cool {
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%);
}

[data-theme="dark"] .section-ambient-cool {
  background: linear-gradient(180deg, #070a12 0%, #0c1224 100%);
}

.section-ambient-products {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f6fc 50%, #f8fafc 100%);
  position: relative;
}

[data-theme="dark"] .section-ambient-products {
  background: linear-gradient(180deg, #070a12 0%, #0d1428 50%, #070a12 100%);
}

.section-ambient-gallery {
  background: linear-gradient(180deg, #ffffff 0%, #f1f7fd 100%);
  position: relative;
}

[data-theme="dark"] .section-ambient-gallery {
  background: linear-gradient(180deg, #070a12 0%, #0b1122 100%);
}

.video-card-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 18, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.video-card-overlay h3 {
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Widescreen Cinematic Video Showcase */
.cinematic-tour-section {
  position: relative;
  background: var(--bg-primary);
  padding: 2rem 0 1.5rem;
}

.cinematic-tour-section .container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cinematic-video-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 550px;
  max-height: 580px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
  background: #050811;
  transform: translateZ(0);
  isolation: isolate;
}

.cinematic-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 32px;
}

.cinematic-video-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(10, 17, 30, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  pointer-events: none;
}

.cinematic-video-badge i {
  color: var(--accent-cyan);
}

/* ==========================================================================
   Clean & Minimal Product Cards
   ========================================================================== */
.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 50%, #f59e0b 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.product-card:hover::before {
  opacity: 1;
}

.product-tag-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
}

.product-tag-badge.badge-blue {
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.product-tag-badge.badge-amber {
  background: rgba(245, 158, 11, 0.92);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.product-tag-badge.badge-green {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.product-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #000;
}

.product-thumb video,
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
  font-weight: 700;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.625rem;
}

.product-specs-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 1.1rem;
}

.spec-mini-item {
  font-size: 0.78rem;
}

.spec-mini-label {
  color: var(--text-subtle);
  display: block;
  font-size: 0.725rem;
}

.spec-mini-val {
  font-weight: 600;
  color: var(--text-main);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

/* ==========================================================================
   Ultra-Premium 3D Refraction Simulator Section
   ========================================================================== */
.refraction-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf5fc 100%);
  overflow: hidden;
}

[data-theme="dark"] .refraction-section {
  background: linear-gradient(180deg, #070e1c 0%, #0c1836 100%);
}

.refraction-section .section-title {
  color: var(--text-main);
}

.refraction-section .section-subtitle {
  color: var(--text-muted);
}

/* Rich Brand Navy Engineering Insights Section for All Product Pages */
.section-engineering-insights {
  position: relative;
  background: linear-gradient(180deg, #09152e 0%, #0d214a 50%, #071024 100%);
  overflow: hidden;
}

.section-engineering-insights::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.6), transparent);
}

.section-engineering-insights .section-title {
  color: #ffffff;
}

.section-engineering-insights .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.section-engineering-insights .glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  color: #334155;
}

.section-engineering-insights .glass-card h3 {
  color: #0f172a;
}

[data-theme="dark"] .section-engineering-insights .glass-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .section-engineering-insights .glass-card h3 {
  color: #ffffff;
}

/* --- Engineering Insights 4-Column Feature Grid --- */
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.product-feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.product-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
}

.product-feature-card .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .product-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Compact Product Showcase Hero Section --- */
.product-hero-section {
  padding-top: 1.75rem !important;
  padding-bottom: 2.25rem !important;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-hero-media {
  position: relative;
  background: #000;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  max-height: 400px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-light);
}

.product-hero-media video,
.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-hero-content .section-tag {
  margin-bottom: 0.45rem;
  font-size: 0.725rem;
  padding: 0.2rem 0.65rem;
  width: fit-content;
}

.product-hero-content .section-title {
  font-size: 1.85rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.product-hero-content .product-intro {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.product-mini-spec {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.15rem;
  font-size: 0.84rem;
}

.product-mini-spec tr {
  border-bottom: 1px solid var(--border-light);
}

.product-mini-spec tr:last-child {
  border-bottom: none;
}

.product-mini-spec td {
  padding: 0.35rem 0.5rem;
  line-height: 1.4;
}

.product-mini-spec td:first-child {
  color: var(--text-muted);
  width: 38%;
  font-weight: 600;
}

.product-mini-spec td:last-child {
  color: var(--text-main);
  font-weight: 500;
}

.product-hero-content .btn {
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
}

@media (max-width: 991px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .product-hero-media {
    max-height: 350px;
    aspect-ratio: auto;
    height: 350px;
  }
}

/* Company Mission & Vision Rich Brand Section */
.section-brand-mission {
  position: relative;
  background: linear-gradient(180deg, #09152e 0%, #0e224c 50%, #071024 100%);
  overflow: hidden;
}

.section-brand-mission .glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.section-brand-mission .glass-card h3 {
  color: #0f172a;
}

.section-brand-mission .glass-card p {
  color: #475569;
}

[data-theme="dark"] .section-brand-mission .glass-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .section-brand-mission .glass-card h3 {
  color: #ffffff;
}

[data-theme="dark"] .section-brand-mission .glass-card p {
  color: rgba(255, 255, 255, 0.75);
}

.refraction-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
  padding: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.refraction-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: linear-gradient(180deg, #050814 0%, #0a1124 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(48, 94, 186, 0.35);
  overflow: hidden;
  display: flex;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.8);
}

.refraction-canvas-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

#refraction-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.refraction-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 420px;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.control-switch-group {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-tertiary);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.switch-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.switch-btn.active {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.calc-range {
  width: 100%;
  accent-color: var(--accent-gold);
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  outline: none;
}

.metric-boost-card {
  padding: 1.1rem 1.25rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.metric-boost-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--accent-green);
  transition: color 0.3s ease;
}

/* --- About Section Alignment --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.about-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  box-sizing: border-box;
}

.about-card-left video,
.about-card-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-content-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.about-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 0.15rem;
  transition: all var(--transition-fast);
}

.about-feature-icon.icon-blue {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.28);
  color: #2563eb;
}

.about-feature-icon.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  color: #d97706;
}

.about-feature-icon.icon-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.32);
  color: #059669;
}

/* ==========================================================================
   Modern Cinematic 6-Step Manufacturing Process Showcase
   ========================================================================== */
.manufacturing {
  position: relative;
  background-color: #060a14;
  background-image: 
    linear-gradient(180deg, rgba(8, 14, 28, 0.82) 0%, rgba(10, 20, 42, 0.68) 50%, rgba(5, 8, 18, 0.88) 100%),
    url('../assets/images/mfg_process_hero_bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 5.5rem 0;
  overflow: hidden;
}

.manufacturing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

.manufacturing .section-tag-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(10px);
}

.manufacturing .section-title {
  color: #ffffff;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manufacturing .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.mfg-modern-grid,
.mfg-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
}

.mfg-step-card {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 2.1rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mfg-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #f59e0b);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mfg-step-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: #06b6d4;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 25px rgba(6, 182, 212, 0.3);
}

.mfg-step-card:hover::before {
  opacity: 1;
}

.mfg-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.mfg-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(48, 94, 186, 0.08);
  border: 1px solid rgba(48, 94, 186, 0.2);
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.3s ease;
}

.mfg-step-card:hover .mfg-icon-box {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
  box-shadow: 0 0 16px rgba(30, 64, 175, 0.35);
  transform: scale(1.06);
}

.mfg-step-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #b45309;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mfg-step-num::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d97706;
  box-shadow: 0 0 6px #f59e0b;
}

.mfg-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.mfg-step-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.1em;
}

.mfg-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.85rem;
  width: 100%;
}

.mfg-step-tag i {
  color: #0284c7;
  font-size: 0.7rem;
}

/* Dark Mode Adaptation */
[data-theme="dark"] .mfg-step-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .mfg-step-title {
  color: #ffffff;
}

[data-theme="dark"] .mfg-step-desc {
  color: rgba(255, 255, 255, 0.75);
}

[data-theme="dark"] .mfg-step-tag {
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Product Internal Page - 4 Images In a Row Slider
   ========================================================================== */
.product-slider-container {
  position: relative;
  width: 100%;
  margin-top: 2.25rem;
}

.product-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.product-slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.75rem 0.25rem;
  width: 100%;
}

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

.product-slide-item {
  flex: 0 0 calc((100% - (3 * 1.25rem)) / 4);
  min-width: calc((100% - (3 * 1.25rem)) / 4);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.slide-img-box {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
}

.slide-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-img-box:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px rgba(48, 94, 186, 0.28);
}

.slide-img-box:hover img {
  transform: scale(1.08);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--accent-gold-glow);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev-arrow {
  left: -22px;
}

.slider-arrow.next-arrow {
  right: -22px;
}

@media (max-width: 1024px) {
  .product-slide-item {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    min-width: calc((100% - 1.25rem) / 2);
  }
  .slider-arrow.prev-arrow {
    left: -12px;
  }
  .slider-arrow.next-arrow {
    right: -12px;
  }
}

@media (max-width: 640px) {
  .product-slide-item {
    flex: 0 0 85%;
    min-width: 85%;
  }
  .slide-img-box {
    height: 190px;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .slider-arrow.prev-arrow {
    left: -8px;
  }
  .slider-arrow.next-arrow {
    right: -8px;
  }
}


[data-theme="dark"] .mfg-step-tag i {
  color: #38bdf8;
}

[data-theme="dark"] .mfg-icon-box {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

[data-theme="dark"] .mfg-step-card:hover .mfg-icon-box {
  background: #38bdf8;
  color: #0f172a;
}

.btn-glow-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-glow-cyan:hover {
  background: #06b6d4;
  color: #070d1a;
  border-color: #06b6d4;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}

/* ==========================================================================
   Ultra-Premium Interactive Gallery & Lightbox Modal
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-gold-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  background: #000;
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img,
.gallery-card:hover video {
  transform: scale(1.08);
}

.gallery-media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  z-index: 10;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 5;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(48, 94, 186, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  transition: transform var(--transition-normal);
}

.gallery-card:hover .gallery-play-icon {
  transform: scale(1);
}

.gallery-item-title,
.gallery-item-desc {
  display: none;
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 2rem;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  position: relative;
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -3.5rem;
  right: 0;
  font-size: 2.2rem;
  color: #fff;
  transition: color var(--transition-fast);
}

.lightbox-close-btn:hover {
  color: var(--accent-gold);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-light);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.lightbox-nav-btn.prev-btn {
  left: -4rem;
}

.lightbox-nav-btn.next-btn {
  right: -4rem;
}

.lightbox-media-wrapper {
  width: 100%;
  height: 70vh;
  max-height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.lightbox-media-wrapper img,
.lightbox-media-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

#lightbox-title,
#lightbox-desc,
.lightbox-caption-bar h3,
.lightbox-caption-bar p {
  display: none !important;
}

.lightbox-counter {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}

/* --- Events & Careers --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.event-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.event-date {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: rgba(48, 94, 186, 0.15);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.social-icon-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

/* --- Company Heritage Milestones --- */
.timeline-container {
  position: relative;
  max-width: 1140px;
  margin: 2.5rem auto 0;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border-accent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 2.75rem;
  position: relative;
  margin-bottom: 2rem;
  width: 50%;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 2.75rem;
  margin-left: auto;
}

.timeline-dot {
  position: absolute;
  top: 1.5rem;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  border: 3px solid var(--bg-secondary);
  box-shadow: 0 0 10px rgba(48, 94, 186, 0.4);
  z-index: 5;
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -9px;
}

.timeline-card {
  padding: 1.6rem 1.85rem;
  width: 100%;
  border-radius: 20px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(48, 94, 186, 0.1);
  color: var(--brand-blue);
}

.timeline-header .timeline-tag {
  margin-left: auto;
}

.product-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

/* --- Certifications --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}

.cert-card {
  padding: 1.5rem 1.1rem;
  text-align: center;
}

.cert-icon {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

/* --- Contact & RFQ Section --- */
.contact {
  position: relative;
  background: linear-gradient(180deg, #f0f6ff 0%, #e6effd 100%);
}

[data-theme="dark"] .contact {
  background: linear-gradient(180deg, #070e1c 0%, #0a1733 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.rfq-form-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

#rfq-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

#rfq-form .form-group:last-of-type {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#rfq-form textarea.form-control {
  flex: 1;
  min-height: 110px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-icon.icon-blue {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.28);
  color: #2563eb;
}

.contact-icon.icon-green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.32);
  color: #059669;
}

.contact-icon.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  color: #d97706;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-gold);
}

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

/* --- Modal Dialogs --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.25rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(15px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.modal-close-btn:hover {
  color: var(--accent-gold);
}

.tech-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
}

.tech-spec-table th,
.tech-spec-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.tech-spec-table th {
  background: var(--bg-tertiary);
  color: var(--accent-gold);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.25rem;
  margin-bottom: 3rem;
}

.footer-desc {
  color: var(--text-muted);
  margin: 0.85rem 0 1.1rem;
  font-size: 0.875rem;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
  color: var(--text-main);
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-subtle);
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {

  .about-grid,
  .refraction-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .refraction-controls {
    height: auto;
  }

  .mfg-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .overlay-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card-overlay {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
  }

  .stat-card-overlay:last-child {
    border-bottom: none;
  }

  .lightbox-nav-btn.prev-btn {
    left: 0.5rem;
  }

  .lightbox-nav-btn.next-btn {
    right: 0.5rem;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .nav-menu {
    gap: 1.1rem;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .brand-logo .logo-img {
    height: 38px;
  }
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(310px, 85vw);
    height: 100vh;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.5rem 2.5rem;
    gap: 0.35rem;
    transition: right var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-link i.fa-chevron-down {
    transition: transform 0.25s ease;
    font-size: 0.75rem;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 100%;
    box-shadow: none;
    background: rgba(48, 94, 186, 0.08);
    border: 1px solid rgba(48, 94, 186, 0.2);
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.35rem;
    border-radius: var(--radius-sm);
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: block;
  }

  .nav-item.dropdown-open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--accent-gold);
  }

  .dropdown-item {
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .cinematic-video-container {
    height: 260px;
    border-radius: 18px;
  }

  .cinematic-video-container video {
    border-radius: 18px;
  }

  .hero-bottom-stats-overlay {
    bottom: 1rem;
    width: 94%;
    padding: 1rem;
  }

  .overlay-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .mfg-minimal-grid {
    grid-template-columns: 1fr;
  }

  .timeline-container::before {
    left: 18px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 2.75rem;
    padding-right: 0;
    margin-left: 0;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 9px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-video-section {
    height: 480px;
    min-height: 440px;
  }

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

@media (max-width: 480px) {
  .brand-logo .logo-img {
    height: 34px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }

  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.925rem;
    margin-bottom: 1.75rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .refraction-wrapper {
    padding: 1rem;
  }

  .refraction-canvas-container {
    min-height: 280px;
  }

  .switch-btn {
    font-size: 0.78rem;
    padding: 0.5rem 0.65rem;
  }

  .gallery-filter-bar,
  .products-filter-bar {
    gap: 0.35rem;
  }

  .gallery-filter-btn,
  .filter-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
  }

  .contact-info-card,
  .rfq-form-card {
    padding: 1.25rem;
  }

  .hero-video-section {
    height: 420px;
    min-height: 380px;
  }

  .brand-logo .logo-img {
    height: 32px;
  }
}