/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --primary: #00aeef;
  --primary-dark: #0088bc;
  --primary-glow: rgba(0, 174, 239, 0.25);
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --tertiary: #10b981;
  --tertiary-glow: rgba(16, 185, 129, 0.2);
  --background: #f8fafc;
  --surface: #ffffff;
  --surface-dim: #f1f5f9;
  --surface-tint: rgba(15, 23, 42, 0.03);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1280px;
  --grid-pattern: radial-gradient(#cbd5e1 1px, transparent 1px);
}

/* ==========================================================================
   Reset & Global Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background: var(--background);
  background-image: var(--grid-pattern);
  background-size: 32px 32px;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #ffffff;
}

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

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

/* ==========================================================================
   Preloader screen (Glassmorphic)
   ========================================================================== */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #09090b;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  width: 90%;
  max-width: 400px;
  padding: 2.5rem;
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.loader-logo {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
}

.loader-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #06b6d4 100%);
  transition: width 0.1s linear;
}

.loader-text {
  font-size: 0.875rem;
  color: #a1a1aa;
  font-weight: 300;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 2rem;
}

.header.scrolled .logo,
.header.scrolled .nav-links a {
  color: #ffffff;
}

.header.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--primary);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-sans);
  background: var(--primary);
  border: none;
  color: white;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.header.scrolled .mobile-nav-toggle {
  color: #ffffff;
}

/* ==========================================================================
   Scroll Layout & Canvas
   ========================================================================== */
.scroll-track {
  position: relative;
  min-height: 500vh;
}

.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  background-color: #09090b;
}

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

.canvas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(9, 9, 11, 0.75) 100%),
              linear-gradient(to bottom, rgba(9, 9, 11, 0.4) 0%, transparent 15%, transparent 85%, rgba(9, 9, 11, 0.75) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Homepage Hero Intro Text Overlay */
.hero-intro-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  width: 90%;
  max-width: 800px;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.badge-pill {
  display: inline-block;
  background: rgba(0, 174, 239, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: 1.25rem;
  color: #e2e8f0;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  pointer-events: auto;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   Homepage Stats Bar
   ========================================================================== */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

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

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

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

.stat-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
  font-family: var(--font-sans);
  margin-bottom: 0.25rem;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Homepage Content Sections
   ========================================================================== */
.home-content {
  position: relative;
  z-index: 10;
  background-color: var(--background);
}

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

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* Our Legacy Layout */
.legacy-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.legacy-stat-card {
  text-align: left;
}

.legacy-stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.legacy-stat-lbl {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.legacy-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

.certified-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.certified-badge-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

.certified-badge-lbl {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Core Capabilities Cards */
.capabilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.capabilities-header .section-title {
  margin-bottom: 0;
}

.link-arrow {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.link-arrow:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.cap-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.04);
}

.cap-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.75rem;
}

.cap-icon-box svg {
  width: 24px;
  height: 24px;
}

.cap-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.cap-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cap-checklist {
  list-style: none;
}

.cap-checklist li {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.75rem;
}

.cap-checklist li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Concrete mixing system double-width card */
.concrete-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.concrete-card-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.concrete-card-img-box {
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.concrete-card .badge-pill {
  background: var(--secondary-light);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Advantage section */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.adv-card {
  border-left: 2px solid var(--border-color);
  padding-left: 2rem;
  transition: var(--transition-smooth);
}

.adv-card:hover {
  border-left-color: var(--primary);
}

.adv-icon-box {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.adv-icon-box svg {
  width: 32px;
  height: 32px;
}

.adv-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.adv-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #090e1a 100%);
  border-radius: var(--radius-xl);
  padding: 5rem 4rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grid-pattern);
  background-size: 24px 24px;
  opacity: 0.05;
  pointer-events: none;
}

.cta-banner .section-subtitle {
  color: var(--primary);
}

.cta-banner .section-title {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.cta-banner .hero-actions {
  margin-top: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--secondary);
  color: #ffffff;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.8fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.08);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 2rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

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

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.contact-info-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-logo-square {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.footer-logo-square svg {
  width: 80px;
  height: 80px;
}

/* ==========================================================================
   Page Headers (Multi-page Standard)
   ========================================================================== */
.page-header {
  padding: 10rem 0 5rem;
  background: linear-gradient(to bottom, var(--surface-dim) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Legacy Page Layout (Split with sidebar)
   ========================================================================== */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 5rem 0;
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-nav {
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.02);
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-nav li:last-child {
  margin-bottom: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.sidebar-nav a svg {
  width: 20px;
  height: 20px;
}

.sidebar-nav a:hover {
  color: var(--text-primary);
  background: var(--surface-dim);
}

.sidebar-nav a.active {
  color: #ffffff;
  background: var(--primary);
}

/* Timeline Components */
.timeline-intro {
  margin-bottom: 4rem;
}

.timeline-line {
  position: relative;
  padding: 2rem 0;
}

.timeline-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  margin-bottom: 6rem;
  align-items: center;
}

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

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--background);
  border: 4px solid var(--primary);
  z-index: 5;
  box-shadow: 0 0 0 6px var(--background);
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.02);
}

.timeline-year {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tag {
  background: var(--surface-dim);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.timeline-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.timeline-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Timeline Layout Alternation */
.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-img-box {
  grid-column: 1;
  grid-row: 1;
}

/* ==========================================================================
   Services Page Components
   ========================================================================== */
.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 8rem;
}

.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.showcase-img-box {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--secondary);
}

.showcase-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.showcase-card:hover .showcase-img-box img {
  transform: scale(1.05);
}

.showcase-content {
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.showcase-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.showcase-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.showcase-card.double-width {
  grid-column: span 2;
  flex-direction: row;
}

.showcase-card.double-width .showcase-img-box {
  width: 50%;
  height: 100%;
}

.showcase-card.double-width .showcase-content {
  width: 50%;
  justify-content: center;
}

.overlay-title-card {
  position: relative;
}

.showcase-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 100%);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
}

/* Production Lifecycle Steps */
.lifecycle-section {
  background: var(--surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 8rem 0;
}

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.lifecycle-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.lifecycle-step {
  position: relative;
  z-index: 2;
}

.lifecycle-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 2rem;
  box-shadow: 0 0 0 6px var(--surface);
}

.lifecycle-icon-box svg {
  width: 20px;
  height: 20px;
}

.lifecycle-step.active .lifecycle-icon-box {
  background: var(--primary);
  color: #ffffff;
}

.lifecycle-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.lifecycle-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.lifecycle-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Products Page Layout & Filtering
   ========================================================================== */
.catalog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  gap: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  background: var(--surface-dim);
  color: var(--text-primary);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.search-box {
  position: relative;
  width: 300px;
}

.search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15,23,42,0.04);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  position: relative;
  background: var(--surface-dim);
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-box img {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.product-tag.hot {
  background: var(--primary);
}

.product-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.product-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Custom engineering blue card */
.product-card.custom-cta-card {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
}

.product-card.custom-cta-card .cap-icon-box {
  background: var(--secondary-light);
  color: var(--primary);
}

.product-card.custom-cta-card .product-title {
  color: #ffffff;
}

.product-card.custom-cta-card .product-desc {
  color: var(--text-muted);
}

/* Certifications Bar */
.certifications-bar {
  background: var(--surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
  margin: 6rem 0;
}

.certs-flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cert-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

/* ==========================================================================
   Contact Page Components
   ========================================================================== */
.contact-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: start;
}

/* Left: Detailed Inquiry Form */
.inquiry-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 15px 40px rgba(15,23,42,0.02);
}

.inquiry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.inquiry-header svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.inquiry-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  background: var(--surface-dim);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--text-muted);
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  border-bottom-width: 2px;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 2.5rem;
}

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

.form-submit-btn {
  width: 100%;
  background: var(--primary);
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 12px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.form-submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* Success Modal Notification style */
.form-success-message {
  display: none;
  background: var(--tertiary-glow);
  border: 1px solid var(--tertiary);
  color: #065f46;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Right: WhatsApp & Maps */
.contact-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.02);
}

.contact-sidebar-card:last-child {
  margin-bottom: 0;
}

.contact-sidebar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-sidebar-title svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-sidebar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.whatsapp-links-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whatsapp-button-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.whatsapp-button-card:hover {
  border-color: var(--tertiary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--tertiary-glow);
}

.wa-btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-btn-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tertiary);
}

.wa-btn-text-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.wa-btn-text-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
}

.wa-btn-arrow {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.whatsapp-button-card:hover .wa-btn-arrow {
  color: var(--tertiary);
  transform: translateX(4px);
}

/* Mayapuri maps preview card */
.maps-preview-box {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.5rem;
  background: var(--surface-dim);
  border: 1px solid var(--border-color);
}

.maps-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.maps-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.maps-overlay-btn .btn-primary {
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  font-size: 0.9rem;
}

.address-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.certs-pill-row {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.cert-pill {
  background: var(--surface-dim);
  border: 1px solid var(--border-color);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Floating WhatsApp Button widget
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   Custom Logo & Scroll Animation Styles
   ========================================================================== */
.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: transform 0.1s linear, filter var(--transition-smooth);
  filter: drop-shadow(0 2px 6px var(--primary-glow));
  transform: rotate(calc(var(--scroll-percent, 0) * 360deg));
}

/* Add extra glow on hover */
.logo:hover .logo-img {
  filter: drop-shadow(0 4px 12px var(--primary));
  transform: rotate(calc(var(--scroll-percent, 0) * 360deg + 15deg)) scale(1.05);
}

.loader-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loader-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px var(--primary-glow));
  animation: logoPulse 2.5s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 4px 12px var(--primary-glow));
  }
  50% {
    transform: scale(1.1) rotate(180deg);
    filter: drop-shadow(0 6px 20px var(--primary));
  }
}

/* ==========================================================================
   Media Queries & Mobile Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-item {
    border-right: none;
  }
  
  .stat-item:nth-child(odd) {
    border-right: 1px solid var(--border-color);
  }
  
  .legacy-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .concrete-card {
    grid-column: span 2;
  }
  
  .layout-with-sidebar {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar-sticky {
    position: static;
  }
  
  .services-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .showcase-card.double-width {
    grid-column: span 2;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1rem 1.5rem;
  }
  
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--secondary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    align-items: flex-start;
    gap: 3rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }
  
  .nav-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    display: block;
    width: 100%;
  }
  
  .header.scrolled .nav-links a {
    color: var(--text-muted);
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .stats-bar {
    padding: 1.5rem 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .stat-item {
    border-right: none !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .capabilities-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .concrete-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  
  .concrete-card-img-box {
    height: 200px;
  }
  
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .adv-card {
    border-left: none;
    border-top: 2px solid var(--border-color);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  
  .adv-card:hover {
    border-top-color: var(--primary);
  }
  
  .cta-banner {
    padding: 3.5rem 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline-line::before,
  .timeline-badge {
    display: none;
  }
  
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 1;
  }
  
  .timeline-item:nth-child(even) .timeline-img-box {
    grid-column: 1;
    grid-row: 2;
  }
  
  .services-showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-card.double-width {
    grid-column: span 1;
    flex-direction: column;
  }
  
  .showcase-card.double-width .showcase-img-box,
  .showcase-card.double-width .showcase-content {
    width: 100%;
  }
  
  .lifecycle-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .lifecycle-grid::before {
    display: none;
  }
  
  .lifecycle-icon-box {
    margin-bottom: 1rem;
  }
  
  .catalog-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .inquiry-card {
    padding: 2rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .contact-sidebar-card {
    padding: 2rem 1.5rem;
  }
  
  .certs-pill-row {
    flex-wrap: wrap;
  }
  
  .floating-whatsapp {
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
  }
  
  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* Supabase integration helpers */
.form-success-message.error-message {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #991b1b;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-left: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Color Mixture Machine Gallery Styling */
.product-gallery-container {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease-in-out, transform 0.4s ease-in-out;
}

.product-card:hover .gallery-main-img {
  transform: scale(1.04);
}

/* Thumbnail Grid */
.gallery-thumbnails {
  display: flex;
  gap: 8px;
  padding: 12px 1.75rem 0; /* Horizontal padding matching the content */
  background: var(--surface);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  opacity: 0.65;
}

.gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.gallery-thumb.active {
  border-color: var(--primary);
  opacity: 1;
}

/* Video Thumbnail Styling */
.gallery-thumb.video-thumb {
  position: relative;
  display: inline-block;
  padding: 0;
  overflow: hidden;
}

.gallery-thumb.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.play-icon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  border-radius: inherit;
  transition: background 0.2s ease;
}

.gallery-thumb.video-thumb:hover .play-icon-overlay {
  background: rgba(15, 23, 42, 0.2);
}

.play-icon-overlay svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Zoom Overlay Icon */
.zoom-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  z-index: 5;
}

.product-img-box:hover .zoom-overlay {
  opacity: 1;
  transform: scale(1);
}

.zoom-overlay:hover {
  background: var(--primary);
}

/* Lightbox Modal (Click to Zoom) */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 40px;
  box-sizing: border-box;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: #f1f1f1;
  font-size: 32px;
  cursor: pointer;
  z-index: 10100;
  transition: color 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
  color: var(--primary-container);
  transform: scale(1.1);
}

.lightbox-nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.25s ease, color 0.25s ease;
  z-index: 10100;
}

.lightbox-nav:hover {
  background: var(--primary);
  color: white;
}

.lightbox-caption {
  margin-top: 1.5rem;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 768px) {
  .lightbox-modal {
    padding: 0 10px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 28px;
  }
}



