/* ==========================================
   Shivam Aqua Solution - Premium Light Theme CSS
   ========================================== */

/* 1. Design System & Variables (Light Water-Fresh Theme) */
:root {
  --color-primary: hsl(220, 90%, 45%);       /* Deep Cobalt Blue */
  --color-secondary: hsl(200, 95%, 42%);     /* Deep Ocean Blue */
  --color-accent: hsl(180, 85%, 42%);        /* Turquoise Purity */
  --color-accent-hover: hsl(180, 85%, 35%);
  --color-whatsapp: hsl(142, 70%, 28%);
  --color-whatsapp-hover: hsl(142, 70%, 22%);
  --color-call: hsl(200, 90%, 38%);
  --color-danger: hsl(0, 80%, 48%);
  --color-warning: hsl(35, 90%, 48%);
  --color-success: hsl(142, 70%, 42%);

  /* Light Theme Color Values (names kept same to avoid editing all references) */
  --bg-dark-1: hsl(0, 0%, 100%);             /* Pure White for cards & header */
  --bg-dark-2: hsl(200, 35%, 96%);           /* Soft Ice-Blue for body background */
  --bg-gradient: linear-gradient(135deg, hsl(200, 35%, 98%) 0%, hsl(200, 20%, 94%) 100%);
  
  --text-light-1: hsl(222, 47%, 12%);        /* Now dark charcoal for headings */
  --text-light-2: hsl(222, 20%, 26%);        /* Now dark slate for body text */
  --text-light-3: hsl(222, 15%, 34%);        /* Now slate grey for subtext */
  
  --glass-bg: rgba(255, 255, 255, 0.85);     /* Translucent White Glass */
  --glass-border: rgba(0, 180, 255, 0.12);   /* Soft Blue Glass Border */
  --glass-shadow: rgba(8, 25, 60, 0.05);     /* Soft shadow */
  --glass-glow: rgba(0, 212, 255, 0.04);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* 2. Global Resets & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-2);
}

body {
  font-family: var(--font-body);
  color: var(--text-light-2);
  line-height: 1.6;
  background: var(--bg-gradient);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark-2);
}

::-webkit-scrollbar-thumb {
  background: hsl(200, 15%, 80%);
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--bg-dark-2);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.w-full { width: 100%; }
.justify-center { justify-content: center; }
.text-turquoise { color: var(--color-accent); }

/* Language Hiding/Showing Logic (Fixed display:none and layout collapse bugs) */
body.lang-en .lang-gu {
  display: none !important;
}

body.lang-gu .lang-en {
  display: none !important;
}


/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, var(--glass-glow), transparent 60%);
  pointer-events: none;
}

/* Lucide Icon Resizes */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xs { width: 12px; height: 12px; }

/* 3. Buttons & UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 90, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 90, 255, 0.35);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 90, 255, 0.15);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: 50px;
}

/* 4. Top Announcement Bar */
.announcement-bar {
  background: hsl(200, 30%, 93%);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  font-size: 0.8rem;
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announce-link {
  color: var(--text-light-1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.announce-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-2);
}

.announce-badge {
  background: rgba(0, 180, 255, 0.08);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(0, 180, 255, 0.12);
}

.divider {
  color: rgba(0, 0, 0, 0.1);
}

/* 5. Main Header Section */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light-1);
}

.header-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light-2);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

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

/* Language Segmented Toggle */
.lang-switcher {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--glass-border);
  padding: 3px;
  border-radius: var(--border-radius-sm);
}

.lang-btn {
  background: transparent;
  color: var(--text-light-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #ffffff;
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-light-1);
  cursor: pointer;
  display: none;
}

/* Mobile Menu Dropdown Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 50, 0.4);
  backdrop-filter: blur(8px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: absolute;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--glass-border);
  box-shadow: -10px 0 40px rgba(8, 25, 60, 0.08);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
  border-radius: 16px 0 0 16px;
}

.mobile-menu-overlay.open .mobile-menu {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0, 180, 255, 0.06);
  padding-bottom: 16px;
}

.close-menu-btn {
  background: rgba(0, 0, 0, 0.03);
  border: none;
  color: var(--text-light-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.close-menu-btn:hover {
  background: rgba(255, 0, 0, 0.08);
  color: var(--color-danger);
  transform: rotate(90deg);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-light-2);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
  border-left: 3px solid transparent;
}

.mobile-nav-link i {
  color: var(--text-light-3);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  background: rgba(0, 180, 255, 0.05);
  color: var(--color-primary);
  border-left-color: var(--color-primary);
  padding-left: 18px;
}

.mobile-nav-link:hover i {
  color: var(--color-primary);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(0, 180, 255, 0.06);
  padding-top: 24px;
}

/* Official WhatsApp SVG Icon styling */
.icon-whatsapp-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.icon-whatsapp-svg.icon-xs {
  width: 14px;
  height: 14px;
}

.icon-whatsapp-svg.icon-sm {
  width: 16px;
  height: 16px;
}

/* 6. Hero Section */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: brightness(0.95) opacity(0.55) saturate(1.1);
}

/* Light gradient overlay for hero typography legibility */
.hero-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, var(--bg-dark-1) 0%, rgba(248, 252, 255, 0.92) 38%, rgba(240, 248, 255, 0.55) 65%, rgba(220, 240, 255, 0.20) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 255, 0.05);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  color: var(--text-light-1);
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Animated Water Particles Backdrop */
.water-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  bottom: -60px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.12) 0%, rgba(0, 150, 255, 0) 70%);
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 255, 0.1);
  animation: floatUp 8s infinite linear;
}

.particle:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-delay: 0s; animation-duration: 9s; }
.particle:nth-child(2) { left: 30%; width: 20px; height: 20px; animation-delay: 1.5s; animation-duration: 7s; }
.particle:nth-child(3) { left: 55%; width: 60px; height: 60px; animation-delay: 0.5s; animation-duration: 11s; }
.particle:nth-child(4) { left: 70%; width: 30px; height: 30px; animation-delay: 3s; animation-duration: 8s; }
.particle:nth-child(5) { left: 85%; width: 50px; height: 50px; animation-delay: 2s; animation-duration: 10s; }
.particle:nth-child(6) { left: 20%; width: 35px; height: 35px; animation-delay: 4s; animation-duration: 9.5s; }
.particle:nth-child(7) { left: 45%; width: 25px; height: 25px; animation-delay: 5s; animation-duration: 6.5s; }
.particle:nth-child(8) { left: 80%; width: 45px; height: 45px; animation-delay: 1s; animation-duration: 8.5s; }

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.8) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-85vh) scale(1.3) rotate(360deg);
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light-2);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light-1);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 7. Statistics Section */
.stats-section {
  position: relative;
  z-index: 5;
  margin-top: -40px;
  padding-bottom: 60px;
}

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

.stat-card {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon-wrap {
  background: rgba(0, 180, 255, 0.08);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-icon-wrap svg {
  width: 26px !important;
  height: 26px !important;
}

.stat-number, .stat-number-text {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stats-quote {
  text-align: center;
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-top: 32px;
  font-weight: 600;
}

/* Section Header Styles */
.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light-1);
}

.section-title span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.heading-underline {
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-desc {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 1rem;
  color: var(--text-light-2);
}

/* 8. Local Water Quality & Impurities Section */
.purity-section {
  padding: 60px 0;
}

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

.purity-subhead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-light-1);
  margin-bottom: 24px;
  font-weight: 700;
}

.purity-visual-area, .tds-graph-area {
  padding: 32px;
}

/* Conic Pie Chart Visual */
.chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 20px 0;
}

.pie-chart {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-primary) 0% 55%,
    var(--color-accent) 55% 80%,
    var(--color-secondary) 80% 100%
  );
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.1);
}

.chart-legends {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}

.color-salt { background-color: var(--color-primary); }
.color-chemical { background-color: var(--color-accent); }
.color-bacteria { background-color: var(--color-secondary); }

.chart-footnote {
  font-size: 0.75rem;
  color: var(--text-light-3);
  margin-top: 16px;
}

/* TDS Bar Graph Styles */
.tds-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tds-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tds-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-2);
}

.tds-val {
  font-family: var(--font-display);
  font-weight: 700;
}

.val-unhealthy { color: var(--color-danger); }
.val-heavy { color: var(--color-warning); }
.val-perfect { color: var(--color-success); }

.tds-bar-bg {
  height: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.tds-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.fill-red { background: var(--color-danger); }
.fill-orange { background: var(--color-warning); }
.fill-green { background: var(--color-success); }

.tds-status {
  font-size: 0.75rem;
  font-weight: 700;
}

.status-red { color: var(--color-danger); }
.status-orange { color: var(--color-warning); }
.status-green { color: var(--color-success); }

.tds-quote-box {
  display: flex;
  gap: 12px;
  background: rgba(0, 180, 255, 0.04);
  border-left: 3px solid var(--color-accent);
  padding: 16px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-top: 24px;
}

.tds-quote-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-light-2);
}

/* 9. Three-Stage Purity Process Section */
.process-section {
  padding: 60px 0;
}

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

.process-card {
  padding: 32px;
  text-align: center;
}

.process-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 950;
  color: rgba(0, 150, 255, 0.05);
  line-height: 1;
}

.process-icon-wrap {
  background: rgba(0, 180, 255, 0.08);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin-bottom: 12px;
  font-weight: 700;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-light-2);
}

.process-card.active {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(0, 180, 255, 0.08);
  transform: translateY(-4px);
}

/* 10. Interactive Before/After Section */
.slider-section {
  padding: 60px 0;
}

.slider-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  justify-content: center;
}

.before-after-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  user-select: none;
  border: 1px solid var(--glass-border);
}

.before-after-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-before {
  z-index: 10;
}

.image-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  overflow: hidden;
  clip-path: inset(0 0 0 50%); /* Start at exactly 50% split */
}

.image-after-overlay img {
  width: 100%;
  height: 100%;
}

/* The Draggable Handle Line */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* Sync with clip-path starting position */
  width: 4px;
  background: var(--color-primary);
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  z-index: 15;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.handle-line {
  flex-grow: 1;
  width: 2px;
  background: rgba(0, 150, 255, 0.4);
}

.handle-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid var(--color-accent);
}

/* Before/After Labels overlaying */
.slider-label {
  position: absolute;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.label-before {
  left: 16px;
  z-index: 14;
}

.label-after {
  right: 16px;
  z-index: 14;
}

/* 11. Services Section */
.services-section {
  padding: 60px 0;
}

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

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon {
  background: rgba(0, 180, 255, 0.08);
  color: var(--color-primary);
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light-2);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 180, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 150, 255, 0.06);
}

/* 12. Product Showcase Catalog Section */
.products-section {
  padding: 60px 0;
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.products-tabs .tab-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--glass-border);
  color: var(--text-light-2);
  padding: 10px 20px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.products-tabs .tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.products-tabs .tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 25, 60, 0.02);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 180, 216, 0.1), 0 8px 16px rgba(8, 25, 60, 0.03);
  border-color: rgba(0, 180, 255, 0.24);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 150, 255, 0.2);
  pointer-events: none;
}

/* Badge inside img-wrap (product listing cards) */
.product-img-wrap .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.01) 0%, rgba(0, 150, 255, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.product-img-wrap img {
  width: auto;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06) translateY(-4px);
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-light-1);
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.product-card:hover .product-title {
  color: var(--color-primary);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-light-3);
  margin-bottom: 14px;
  flex-grow: 1;
  line-height: 1.5;
}

.product-card-specs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 150, 255, 0.04);
  border: 1px solid rgba(0, 150, 255, 0.06);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--color-secondary);
  font-weight: 600;
}

.spec-pill i {
  width: 11px;
  height: 11px;
  stroke-width: 2.5px;
}

.card-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}

.card-action-row .btn {
  flex: 1;
  font-size: 0.78rem;
  padding: 10px 8px;
  justify-content: center;
  border-radius: 6px;
}

.card-action-row .btn-whatsapp {
  background: linear-gradient(135deg, var(--color-whatsapp) 0%, #10b981 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.card-action-row .btn-whatsapp:hover {
  background: linear-gradient(135deg, #10b981 0%, var(--color-whatsapp) 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
}

/* 13. Why Choose Us Section Details */
.about-section {
  padding: 60px 0;
}

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

.strength-card {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.strength-icon {
  background: rgba(0, 150, 255, 0.08);
  color: var(--color-primary);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strength-text h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-light-1);
  margin-bottom: 8px;
  font-weight: 700;
}

.strength-text p {
  font-size: 0.9rem;
  color: var(--text-light-2);
}

/* 14. Service Timeline Process Section */
.timeline-section {
  padding: 60px 0;
}

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

.timeline-grid::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: rgba(0, 150, 255, 0.15);
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 150, 255, 0.1);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-light-1);
  margin-bottom: 12px;
  font-weight: 700;
}

.timeline-item p {
  font-size: 0.85rem;
  color: var(--text-light-2);
  padding: 0 10px;
}

/* 15. Testimonials Section */
.testimonials-section {
  padding: 60px 0;
}

.carousel-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-carousel {
  overflow: hidden;
  position: relative;
}

.testimonial-slide {
  padding: 40px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #fbbf24; /* Star Yellow */
  margin-bottom: 20px;
}

.rating-stars i {
  width: 20px;
  height: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-light-1);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}

.customer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-light-1);
}

.customer-location {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  color: var(--text-light-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.carousel-control:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.carousel-control.prev { left: -60px; }
.carousel-control.next { right: -60px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dots .dot.active {
  background: var(--color-primary);
  width: 20px;
  border-radius: 4px;
}

/* 16. FAQ Accordion Section */
.faq-section {
  padding: 60px 0;
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--text-light-1);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  padding-right: 20px;
}

.faq-chevron {
  transition: transform var(--transition-normal);
  color: var(--color-primary);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light-2);
  line-height: 1.6;
}

/* 17. Educational Blog Section */
.blog-section {
  padding: 60px 0;
}

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

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-light-1);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-light-2);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.blog-link:hover {
  gap: 12px;
}

/* 18. Footer Section & Contact Details */
.footer-section {
  background-color: hsl(200, 30%, 93%);
  border-top: 1px solid rgba(0, 150, 255, 0.15);
  padding: 80px 0 20px;
  color: var(--text-light-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .brand-desc {
  font-size: 0.9rem;
  color: var(--text-light-2);
  line-height: 1.6;
}

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

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2px;
}

/* Specific Social Network styles */
.footer-social .social-instagram {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.15);
}
.footer-social .social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
  transform: translateY(-2px);
}

.footer-social .social-phone {
  color: var(--color-primary);
  border-color: rgba(0, 150, 255, 0.15);
}
.footer-social .social-phone:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-turquoise));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 150, 255, 0.3);
  transform: translateY(-2px);
}

.footer-social .social-whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.15);
}
.footer-social .social-whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* Quick Links Styling */
.footer-links h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin-bottom: 24px;
  font-weight: 800;
  position: relative;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list a {
  color: var(--text-light-2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list a::before {
  content: "›";
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

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

.footer-contact-details h3, .footer-map h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin-bottom: 24px;
  font-weight: 800;
  position: relative;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-item i {
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light-3);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.detail-val {
  font-size: 0.95rem;
  color: var(--text-light-1);
  font-weight: 600;
}

.link-val {
  text-decoration: none;
  transition: color var(--transition-fast);
  color: var(--color-primary);
}

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

.address-val {
  line-height: 1.5;
  color: var(--text-light-2);
}

/* Map Section Wrap */
.map-section-wrap {
  width: 100%;
}

.map-wrapper {
  width: 100%;
  height: 250px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 24px;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-light-3);
}

/* 19. Floating Actions for Mobile Pinned Bottom */
.floating-ctas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none; /* Only visible on smaller screens */
  grid-template-columns: repeat(2, 1fr);
  z-index: 99;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
  border-top: 1px solid var(--glass-border);
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-light-1);
}

.float-call {
  background-color: #ffffff;
  border-right: 1px solid var(--glass-border);
}

.float-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
}

.float-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
}

/* ==========================================
   20. Product Detail Page Layout Styles
   ========================================== */
.product-detail-page {
  padding: 40px 0 80px;
}

.breadcrumbs {
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-light-3);
  font-family: var(--font-display);
  font-weight: 500;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--color-primary);
  margin: 0 8px;
}

.breadcrumbs a:first-child {
  margin-left: 0;
}

.breadcrumbs .active-crumb {
  color: var(--text-light-2);
  margin-left: 8px;
  font-weight: 700;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.product-image-section {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.main-detail-img {
  width: auto;
  max-width: 90%;
  max-height: 420px;
  object-fit: contain;
}

.product-info-section {
  display: flex;
  flex-direction: column;
}

.category-tag {
  align-self: flex-start;
  background: rgba(0, 150, 255, 0.08);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 150, 255, 0.12);
}

.product-title-detail {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-light-1);
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-tagline-detail {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.key-badges {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.key-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  color: var(--text-light-2);
  font-weight: 600;
}

.product-desc-detail {
  font-size: 1rem;
  color: var(--text-light-2);
  margin-bottom: 32px;
  line-height: 1.7;
}

.features-head-detail {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin-bottom: 16px;
  font-weight: 800;
}

.features-list-detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.features-list-detail li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light-2);
  font-weight: 500;
}

.features-list-detail li i {
  flex-shrink: 0;
}

.action-buttons-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.specs-section-detail {
  padding: 40px;
  margin-top: 48px;
  background: #ffffff;
}

.specs-title-detail {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light-1);
  margin-bottom: 24px;
}

.specs-table-wrapper {
  overflow-x: auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.specs-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light-1);
  width: 30%;
  background: rgba(0, 0, 0, 0.01);
}

.specs-table td {
  color: var(--text-light-2);
  font-weight: 500;
}

.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================
   21. Responsive Design - Media Queries
   ========================================== */

@media (max-width: 1150px) {
  .desktop-nav {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.85rem;
  }
  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 1100px) {
  .carousel-control.prev { left: 10px; z-index: 10; }
  .carousel-control.next { right: 10px; z-index: 10; }
  
  .timeline-grid::after {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .purity-grid {
    grid-template-columns: 1fr;
  }
  
  .process-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-image-section {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  .header-call-btn {
    display: none;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .menu-toggle-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stats-section {
    margin-top: -20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .timeline-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  body {
    padding-bottom: 56px;
  }
  
  .floating-ctas {
    display: grid;
  }
  
  .chart-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .pie-chart {
    width: 120px;
    height: 120px;
  }
  
  .product-title-detail {
    font-size: 2rem;
  }
  
  .specs-section-detail {
    padding: 24px;
  }
  
  .specs-table th {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .testimonial-slide {
    padding: 24px 16px;
  }
  
  /* Header Mobile Optimization */
  .header-logo {
    height: 36px;
  }
  
  .brand-name {
    font-size: 0.95rem;
  }
  
  .brand-sub {
    font-size: 0.65rem;
  }
  
  .logo-area {
    gap: 8px;
  }
  
  /* Buttons optimization for small screens */
  .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .card-action-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .card-action-row .btn {
    width: 100%;
  }

  /* Global Section Title Mobile Optimization */
  .section-title {
    font-size: 1.75rem;
  }

  /* Product detail mobile title optimization */
  .product-title-detail {
    font-size: 1.65rem;
  }

  /* Tech specs table mobile optimization */
  .specs-table th, .specs-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* Category switcher tabs mobile optimization */
  .products-tabs {
    gap: 8px;
  }
  .products-tabs .tab-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Service Card Mobile Optimization */
  .service-card {
    padding: 24px 20px;
  }

  /* FAQ Accordion Mobile Optimization */
  .faq-toggle {
    padding: 18px 16px;
  }
  .faq-answer {
    padding: 0 16px;
  }
  .faq-item.active .faq-answer {
    padding-bottom: 18px;
  }
}

@media (max-width: 400px) {
  .header-actions {
    gap: 8px;
  }
  .lang-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
  .logo-area {
    gap: 6px;
  }
  .brand-name {
    font-size: 0.85rem;
  }
}

/* ==========================================
   Dedicated Blog Page Styling
   ========================================== */
.blog-detail-container {
  padding: 60px 0;
  background-color: var(--bg-dark-2);
}

.blog-page-header h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--text-light-1);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-articles-list {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-article-card {
  padding: 40px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(8, 25, 60, 0.03);
}

.article-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-light-3);
}

.meta-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-tag i {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.article-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--text-light-1);
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.article-body {
  font-size: 0.95rem;
  color: var(--text-light-2);
  line-height: 1.75;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-light-1);
  margin: 28px 0 12px;
  font-weight: 700;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul {
  margin: 0 0 20px 20px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-cta {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .blog-detail-container {
    padding: 40px 0;
  }
  
  .blog-page-header h1 {
    font-size: 1.85rem;
  }
  
  .blog-article-card {
    padding: 24px 20px;
  }
  
  .article-title {
    font-size: 1.4rem;
  }
}

/* Designer Link Styles */
.designer-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.designer-link:hover {
  color: var(--color-primary);
  text-shadow: 0 0 8px rgba(0, 180, 255, 0.25);
}

.footer-section .designer-link {
  color: hsl(192, 85%, 31%);
}

.footer-section .designer-link:hover {
  color: var(--color-primary);
}

/* Loading spinner animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Products grid loading placeholder spans full width */
.products-grid > .grid-placeholder {
  grid-column: 1 / -1;
}

/* ==========================================
   Product Detail — Image Gallery
   ========================================== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, rgba(0,180,255,0.02), rgba(0,150,255,0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: auto;
  max-width: 100%;
  height: 85%;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.gallery-main img.fade-switch {
  opacity: 0;
  transform: scale(0.97);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 5;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid var(--glass-border);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,180,255,0.03);
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.gallery-thumb:hover {
  border-color: var(--color-accent);
  transform: scale(1.05);
}

.gallery-thumb.active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(0,150,255,0.15);
}

.gallery-thumb img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

/* ==========================================
   Admin Panel Styles
   ========================================== */
.admin-body {
  background: hsl(220, 30%, 97%);
  min-height: 100vh;
  font-family: var(--font-body);
}

.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, hsl(220,60%,97%) 0%, hsl(200,50%,95%) 100%);
}

.admin-login-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(8,25,60,0.08);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.admin-login-card .admin-logo {
  height: 56px;
  margin-bottom: 20px;
}

.admin-login-card h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-light-1);
  margin-bottom: 6px;
}

.admin-login-card p {
  color: var(--text-light-3);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.admin-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light-1);
  background: hsl(220,30%,99%);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
  display: block;
}

.admin-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,120,255,0.08);
}

.admin-error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: none;
}

/* Admin Dashboard */
.admin-header {
  background: #fff;
  border-bottom: 1px solid var(--glass-border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(8,25,60,0.04);
}

.admin-header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light-1);
  font-size: 1.1rem;
}

.admin-header img {
  height: 36px;
}

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

.admin-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.admin-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light-1);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.admin-product-row {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.admin-product-row:hover {
  box-shadow: 0 4px 16px rgba(8,25,60,0.05);
}

.admin-product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: contain;
  background: hsl(200,30%,97%);
  border: 1px solid var(--glass-border);
  padding: 4px;
  flex-shrink: 0;
}

.admin-product-meta {
  flex: 1;
  min-width: 0;
}

.admin-product-meta h4 {
  font-weight: 700;
  color: var(--text-light-1);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-meta p {
  font-size: 0.78rem;
  color: var(--text-light-3);
  margin-top: 2px;
}

.admin-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(0,150,255,0.1);
  color: var(--color-primary);
  flex-shrink: 0;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.2s;
  text-decoration: none;
}

.admin-btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.admin-btn-primary:hover { background: hsl(220,90%,38%); }

.admin-btn-outline {
  background: transparent;
  color: var(--text-light-1);
  border: 1.5px solid var(--glass-border);
}
.admin-btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

.admin-btn-danger {
  background: transparent;
  color: var(--color-danger);
  border: 1.5px solid rgba(220,0,0,0.15);
}
.admin-btn-danger:hover { background: rgba(220,0,0,0.06); }

.admin-btn-success {
  background: var(--color-success);
  color: #fff;
}
.admin-btn-success:hover { background: hsl(142,70%,35%); }

/* Modal / Drawer */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,25,60,0.35);
  z-index: 999;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  backdrop-filter: blur(3px);
}

.admin-modal-overlay.open {
  display: flex;
}

.admin-drawer {
  width: 560px;
  max-width: 95vw;
  height: 100vh;
  background: #fff;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(8,25,60,0.12);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.admin-drawer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-light-1);
}

.form-field {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light-2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-label span {
  font-size: 0.72rem;
  color: var(--text-light-3);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

select.admin-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

textarea.admin-input {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.image-url-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.image-url-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.image-url-row input {
  flex: 1;
  margin-bottom: 0;
}

.image-url-row .img-preview {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--glass-border);
  background: hsl(200,20%,97%);
  flex-shrink: 0;
}

.img-preview-err {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(220,0,0,0.2);
  background: rgba(220,0,0,0.05);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--color-danger);
  text-align: center;
  font-weight: 600;
}

.spec-row-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: center;
}

.spec-row input {
  margin-bottom: 0;
}

.drawer-footer {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--glass-border);
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-bottom: 4px;
}

.admin-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text-light-1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  pointer-events: none;
}

.admin-toast.show {
  transform: translateX(-50%) translateY(0);
}

.admin-toast.success { background: hsl(142,70%,38%); }
.admin-toast.error { background: hsl(0,80%,48%); }

.admin-settings-wrap {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-top: 32px;
}

.admin-settings-wrap h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-light-1);
  margin-bottom: 16px;
  font-size: 1rem;
}

.deploy-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0,150,255,0.08);
  color: var(--color-primary);
}

.deploy-status.deploying {
  background: rgba(255,160,0,0.1);
  color: hsl(35,90%,42%);
}

.deploy-status.success {
  background: rgba(34,197,94,0.1);
  color: var(--color-success);
}

@media (max-width: 640px) {
  .admin-drawer { width: 100vw; }
  .form-row { grid-template-columns: 1fr; }
  .admin-header { padding: 0 14px; }
  .admin-main { padding: 20px 14px 80px; }
}

@media (max-width: 600px) {
  .announcement-bar .divider,
  .announcement-bar .announce-text {
    display: none;
  }
  .announcement-content {
    justify-content: center;
    gap: 16px;
    padding: 2px 8px;
  }
  .announce-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
}
