/* 
 * KSRM Premium Design System
 * Brand Fonts: Outfit (Headings), Inter (Body)
 */

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

:root {
  /* Color Tokens - Light Mode Default */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --brand-color: #336aea;
  --brand-hover: #1b53d0;
  --brand-light: rgba(51, 106, 234, 0.1);
  --accent-color: #febe42;
  --accent-hover: #e5a932;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  
  /* Layout Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides */
[data-theme="dark"] {
  --bg-primary: #0a0f1d;
  --bg-secondary: #121829;
  --bg-tertiary: #1b2238;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --brand-light: rgba(51, 106, 234, 0.2);
  --border-color: #1e293b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(18, 24, 41, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.text-center { text-align: center; }
.brand-text { color: var(--brand-color); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 28, 34, 0.3);
}

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

.btn-secondary:hover {
  border-color: var(--brand-color);
  color: var(--brand-color);
  background-color: var(--brand-light);
}

.btn-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(51, 106, 234, 0.28);
}

.btn-icon:hover svg {
  transform: rotate(-12deg) scale(1.06);
}

.header.scrolled .btn-icon,
[data-theme="light"] .btn-icon {
  background: rgba(241, 245, 249, 0.92);
  border-color: rgba(226, 232, 240, 0.9);
  color: #0f172a;
}

[data-theme="dark"] .btn-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

/* Preloader with Progress Bar & Percentage */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

[data-theme="dark"] .preloader {
  background-color: var(--bg-primary);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 1);
}

.preloader img {
  width: 1100px;
  height: auto;
  max-width: 75vw;
  object-fit: contain;
}

@media (max-width: 768px) {
  .preloader-content {
    padding: 28px;
  }

  .preloader img {
    width: 280px;
  }
}

@media (max-width: 768px) {
  .preloader img {
    width: 240px;
  }
}

.preloader-bar-bg {
  width: 200px;
  height: 4px;
  background-color: #1b1b1b00;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background-color: var(--brand-color);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.preloader-percentage {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

/* Nav links - Center Slide Hover Animation */
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--brand-color);
  transition: width var(--transition-normal), left var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

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

/* Ken Burns Zoom Effect */
@keyframes kenburns {
  0% { transform: scale(1.02) translate(0, 0); }
  50% { transform: scale(1.1) translate(-1%, -0.5%); }
  100% { transform: scale(1.02) translate(0, 0); }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 0.6;
  z-index: 2;
  animation: kenburns 15s infinite ease-in-out;
}

/* Advanced Scroll Reveal Classes */
.text-reveal-up,
.reveal-up,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.text-reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.top-text-clip-reveal {
  opacity: 0;
  transform: translate(-20px, 10px);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 3s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: topTextClipReveal 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-visible,
.text-reveal-up.reveal-visible,
.animate-on-scroll.visible,
.animate-on-scroll.reveal-visible {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

.top-text-clip-reveal.reveal-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
  clip-path: inset(0 0 0 0);
}

.about-intro-slow-reveal {
  opacity: 0;
  transform: translate(-20px, 18px);
  clip-path: inset(0 100% 0 0);
  transition:
    opacity 3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 3s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow var(--transition-fast);
  animation: aboutIntroSlowReveal 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.about-intro-slow-reveal.reveal-visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
  clip-path: inset(0 0 0 0);
}

@keyframes aboutIntroSlowReveal {
  0% {
    opacity: 0;
    transform: translate(-20px, 18px);
    clip-path: inset(0 100% 0 0);
  }

  45% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes topTextClipReveal {
  0% {
    opacity: 0;
    transform: translate(-20px, 10px);
    clip-path: inset(0 100% 0 0);
  }

  45% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
  }
}

/* Floating Actions Panel with loop animations */
.floating-actions {
  position: fixed;
  top: auto;
  right: 18px;
  bottom: 28px;
  display: grid;
  gap: 10px;
  z-index: 110;
  align-items: center;
  justify-items: center;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  border: 0;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  position: relative;
  transform: translateX(22px) scale(0.82);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease,
    filter 0.36s ease;
  animation: floatingActionIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.floating-btn:nth-child(1) { animation-delay: 0.14s; }
.floating-btn:nth-child(2) { animation-delay: 0.24s; }
.floating-btn:nth-child(3) { animation-delay: 0.34s; }
.floating-btn:nth-child(4) { animation-delay: 0.44s; }
.floating-btn:nth-child(5) { animation-delay: 0.54s; }

.floating-btn-toggle {
  grid-row: 5;
  grid-column: 1;
}

.floating-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-btn-toggle {
  position: relative;
}

.floating-btn-toggle svg {
  position: absolute;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.floating-icon-support {
  opacity: 0;
  transform: scale(0.7) rotate(-16deg);
}

.floating-actions.is-collapsed .floating-icon-support {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.floating-actions.is-collapsed .floating-icon-close {
  opacity: 0;
  transform: scale(0.7) rotate(16deg);
}

.floating-btn::before {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.floating-btn:hover {
  transform: translateX(-4px) scale(1.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  filter: saturate(1.08);
}

.floating-btn:hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.floating-btn-phone {
  background: linear-gradient(135deg, #00d084, #03c977);
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #4bea76, #25d366);
}

.floating-btn-email {
  background: linear-gradient(135deg, #ff5b6e, #ff3d57);
}

.floating-btn-linkedin {
  background: linear-gradient(135deg, #0a8fd3, #0077b5);
}

.floating-btn-toggle {
  background: linear-gradient(135deg, #b695e7, #9b78d0);
}

.floating-actions.is-collapsed .floating-btn:not(.floating-btn-toggle) {
  opacity: 0;
  pointer-events: none;
  grid-row: 5;
  grid-column: 1;
  transform: translateY(0) scale(0.35);
  visibility: hidden;
}

.floating-actions.is-collapsed .floating-btn-toggle {
  transform: scale(1);
}

@keyframes floatingActionIn {
  0% {
    opacity: 0;
    transform: translateX(22px) scale(0.82);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 768px) {
  .floating-actions {
    right: 12px;
    bottom: 22px;
    gap: 8px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 25px;
    height: 25px;
  }

  .floating-btn::before {
    display: none;
  }
}

@keyframes float-pulse {
  0% { box-shadow: 0 0 0 0 rgba(51, 106, 234, 0.5), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 15px rgba(51, 106, 234, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(51, 106, 234, 0), var(--shadow-lg); }
}

@keyframes float-pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), var(--shadow-lg); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), var(--shadow-lg); }
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1200;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background-color: var(--bg-secondary);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  position: relative;
  height: 50px;
  display: inline-block;
}

.logo img {
  height: 100%;
  width: auto;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.logo-dark-img {
  position: absolute;
  top: 0;
  left: 0;
}

/* Default state (Not scrolled or dark theme): show white/dark logo, hide dark/light logo */
.logo-light-img {
  opacity: 0;
  visibility: hidden;
}

.logo-dark-img {
  opacity: 1;
  visibility: visible;
}

/* Light Theme + Scrolled state: show dark/light logo, hide white/dark logo */
[data-theme="light"] .header.scrolled .logo-light-img {
  opacity: 1;
  visibility: visible;
}

[data-theme="light"] .header.scrolled .logo-dark-img {
  opacity: 0;
  visibility: hidden;
}

/* Style the admin link to look premium under both states */
.nav-links a[href="admin.html"] {
  background-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  transition: background-color var(--transition-normal), color var(--transition-normal) !important;
}

.header.scrolled .nav-links a[href="admin.html"] {
  background-color: var(--brand-light) !important;
  color: var(--brand-color) !important;
}

.nav-links a[href="admin.html"]:hover {
  background-color: var(--brand-color) !important;
  color: #ffffff !important;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

/* Submenu dropdown */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 16px;
}

.products-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition-fast);
}

.menu-item-has-children:hover .nav-chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(14px) scale(0.98);
  transform-origin: top center;
  background: rgba(20, 27, 39, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(4, 10, 20, 0.24);
  padding: 6px;
  min-width: 238px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  z-index: 10;
  overflow: hidden;
}

.menu-item-has-children:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px) scale(1);
}

.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 14px;
  line-height: 1.2;
  color: #ffffff;
  border-radius: 4px;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.submenu a::after { display: none; }

.submenu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.submenu a span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.submenu a span::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(245, 190, 24, 0.12);
}

.submenu a:hover {
  background: rgba(245, 190, 24, 0.14);
  color: var(--accent-color);
  transform: translateX(3px);
}

.submenu a:hover span::before {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

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

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* Hero Slideshow Banner */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: #05050a;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 15, 29, 0.85) 0%, rgba(10, 15, 29, 0.4) 100%);
  z-index: 3;
}

.page-banner {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 140px 0 80px;
  background-image: url('assets/bag.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 22, 0.74), rgba(51, 106, 234, 0.38), rgba(4, 10, 22, 0.22)),
    linear-gradient(0deg, rgba(254, 190, 66, 0.1), transparent 55%);
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 5;
  color: #ffffff;
  max-width: 700px;
}

.hero-gif {
  position: absolute;
  bottom: 32px;
  right: 32px;
  width: min(220px, 28vw);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.18);
  z-index: 5;
  animation: float-pulse 5s ease-in-out infinite alternate;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
}

/* Stats Counter Section */
.stats-section {
  position: relative;
  z-index: 6;
  background: var(--bg-secondary);
  overflow: visible;
  padding: 0 0 92px;
}

.stats-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 58px;
  align-items: start;
  padding-top: 0;
  z-index: 1;
}

.stats-copy {
  padding-top: 76px;
}

.stats-copy h2 {
  max-width: 640px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.stats-copy p:not(.section-label) {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.stats-panel {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -102px;
  width: min(100%, 590px);
  box-sizing: border-box;
  padding: 38px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.34);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

.stats-panel::before {
  display: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.stat-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #ffc72c;
  border: none;
  padding: 26px 20px 24px;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  color: #0b1119;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.stat-card::after {
  content: "";
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.stat-card:nth-child(1)::after {
  top: -20%;
  left: -15%;
  background: rgba(255, 255, 255, 0.45);
}

.stat-card:nth-child(4)::after {
  right: -18%;
  bottom: -18%;
  background: rgba(255, 255, 255, 0.42);
}

.stat-card:nth-child(2),
.stat-card:nth-child(3) {
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, #1554c8, #0b2d7a);
  color: #ffffff;
}

.stat-card:nth-child(2)::after,
.stat-card:nth-child(3)::after {
  right: -18%;
  bottom: -16%;
  background: rgba(255, 255, 255, 0.08);
}

.stat-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.04);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: clamp(3.2rem, 3.45vw, 4.2rem);
  line-height: 0.95;
  font-weight: 900;
  color: currentColor;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.35s ease;
  white-space: nowrap;
}

.stat-card:nth-child(2) .stat-number,
.stat-card:nth-child(3) .stat-number {
  color: #ffc72c;
}

.stat-card:nth-child(4) .stat-number {
  display: block;
  width: 100%;
  font-size: clamp(2rem, 2.35vw, 2.7rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.stat-card:nth-child(4) .stat-title {
  max-width: 170px;
  margin: 0 auto;
  text-align: center;
}

.stat-number.count-finished {
  transform: scale(1.04);
}

.stat-title {
  position: relative;
  z-index: 1;
  max-width: 210px;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 800;
  color: currentColor;
  line-height: 1.35;
}

.stat-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin-top: 22px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-card:nth-child(2) .stat-icon,
.stat-card:nth-child(3) .stat-icon {
  color: #ffc72c;
}

@keyframes stat-highlight {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* Leader / DMD Section */
.leader-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.leader-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 4px solid #000000;
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
}

.leader-image::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: #000000;
}

.leader-image::after {
  content: none;
  position: absolute;
  width: 118px;
  height: 118px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: rgba(254, 190, 66, 0.22);
  pointer-events: none;
}

.leader-image img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.leader-info h3 {
  font-size: 20px;
  color: var(--brand-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.leader-info h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.leader-info h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.leader-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--brand-color);
  padding-left: 20px;
  margin-bottom: 32px;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  max-width: 650px;
  width: 90%;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

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

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

.modal-content h2 {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.modal-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Majestic Monuments (Projects Grid) */
.section-header {
  margin-bottom: 50px;
}

.section-header h3 {
  font-size: 16px;
  color: var(--brand-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-label {
  display: inline-flex;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(2.7rem, 3.5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.section-copy {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.85;
}

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

.project-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 10px;
  background: #0f172a;
  border: 1px solid rgba(51, 106, 234, 0.16);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
  transition: opacity var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.project-card-bg,
.project-card-overlay {
  position: absolute;
  inset: 0;
}

.project-card-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.6s ease, filter 0.6s ease;
  z-index: 1;
}

.project-card:hover .project-card-bg {
  transform: scale(1.09);
  filter: saturate(1.08);
}

.project-card-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.1), rgba(4, 10, 22, 0.92)),
    linear-gradient(90deg, rgba(4, 10, 22, 0.72), rgba(4, 10, 22, 0.36));
}

.project-card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.project-card-content h3 {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.project-card-content p {
  color: rgba(255, 255, 255, 0.88);
}

.project-card-content .bengali-desc {
  color: var(--accent-color) !important;
  border-top-color: rgba(255, 255, 255, 0.26);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 28px;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-md);
}

.feature-card.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-card-media {
  min-height: 340px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.feature-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.08), rgba(7, 12, 24, 0.42));
}

.feature-card-info {
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card-info h3 {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  line-height: 1.06;
  color: #ffffff;
}

.feature-card-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 660px;
}

.feature-card-info .btn-secondary {
  width: fit-content;
  margin-top: auto;
}

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

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card.reverse {
    grid-template-columns: 1fr;
  }

  .feature-card-media {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .feature-card-info {
    padding: 28px 24px;
  }

  .feature-card-media {
    min-height: 220px;
  }
}

/* AV Video Section */
.av-section {
  background-color: #050811;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.av-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.av-video-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.av-video-wrapper--featured {
  max-width: 100%;
}

.av-shorts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 760px);
  margin-top: 28px;
}

.av-video-wrapper--short {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  aspect-ratio: 9 / 16;
  padding-bottom: 0;
  margin-top: 0;
}

.av-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.av-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transition: transform var(--transition-normal);
}

.av-play-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.4);
}

.play-btn {
  position: relative;
  z-index: 4;
  width: 80px;
  height: 80px;
  background-color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 0 rgba(214, 28, 34, 0.6);
  animation: pulse-ring 1.5s infinite;
  color: #ffffff;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(214, 28, 34, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(214, 28, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 28, 34, 0); }
}

/* Weight Calculator Component */
.calc-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.form-group label {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
}

.form-control {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-color);
  background-color: var(--bg-secondary);
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.calc-results {
  background-color: var(--bg-tertiary);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.result-val {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-color);
  margin: 12px 0;
}

/* Products Cards */
.products-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.product-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-color);
}

.product-grade {
  display: inline-block;
  background-color: var(--brand-light);
  color: var(--brand-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
}

.product-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.product-item p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 13px;
}

.spec-table td, .spec-table th {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
}

/* Directory filter / Dealer Portal */
.filter-bar {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-bar select {
  min-width: 200px;
}

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

.dealer-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.dealer-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.dealer-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.dealer-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
  margin-bottom: 12px;
}

/* Form Styles */
.form-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

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

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

/* Careers listings */
.job-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.job-card:hover {
  border-color: var(--brand-color);
  transform: translateX(4px);
}

.job-details h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.job-meta {
  display: flex;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Contact Info Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--brand-light);
  color: var(--brand-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-details p {
  color: var(--text-secondary);
  font-size: 14px;
}

.contact-map {
  height: 300px;
  background-color: var(--bg-tertiary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Contact Page Modern UI */
.contact-page {
  background: var(--bg-secondary);
}

.contact-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bag.jpg');
  background-size: cover;
  background-position: center;
  animation: contactHeroPan 16s ease-in-out infinite alternate;
  z-index: -2;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 22, 0.74), rgba(51, 106, 234, 0.38), rgba(4, 10, 22, 0.22)),
    linear-gradient(0deg, rgba(254, 190, 66, 0.1), transparent 55%);
  z-index: -1;
}

.contact-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
}

.contact-kicker {
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.contact-hero h1 {
  color: #ffffff;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.98;
  text-transform: uppercase;
}

.contact-hero p:last-child {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.contact-panel-section {
  position: relative;
  background:
    radial-gradient(circle at 8% 10%, rgba(254, 190, 66, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.contact-modern-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.contact-intro h2 {
  max-width: 600px;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-intro > p:not(.section-label) {
  max-width: 610px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-info-grid {
  display: grid;
  gap: 18px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(51, 106, 234, 0.13);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.contact-info-card:hover {
  transform: translateX(8px);
  border-color: rgba(51, 106, 234, 0.38);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.contact-info-card .contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-color), #123678);
  color: #ffffff;
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-info-card p {
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-form-card {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(51, 106, 234, 0.14);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

[data-theme="dark"] .contact-form-card,
[data-theme="dark"] .contact-info-card {
  background:
    linear-gradient(145deg, rgba(18, 24, 41, 0.94), rgba(27, 34, 56, 0.9));
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: -92px;
  right: -70px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(51, 106, 234, 0.1);
  border-radius: 50%;
}

.contact-form-head {
  position: relative;
  margin-bottom: 24px;
}

.contact-form-head h3 {
  font-size: 32px;
  text-transform: uppercase;
}

.contact-form-card form {
  position: relative;
  display: grid;
  gap: 18px;
}

.contact-form-card .form-group {
  margin-bottom: 0 !important;
}

.contact-form-card label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form-card .form-control {
  width: 100%;
  min-height: 54px;
  border-radius: 6px;
  border: 1px solid rgba(51, 106, 234, 0.18);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .contact-form-card .form-control {
  background: rgba(10, 15, 29, 0.62);
}

.contact-form-card .form-control:focus {
  border-color: var(--brand-color);
  box-shadow: 0 0 0 4px rgba(51, 106, 234, 0.12);
}

.contact-form-card textarea.form-control {
  min-height: 142px;
  resize: vertical;
}

.contact-form-card .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.contact-map-section {
  padding-top: 0;
  background: var(--bg-secondary);
}

.contact-map-modern {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(51, 106, 234, 0.14);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 62px);
  background: #081326;
}

.contact-map-copy h2 {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 44px);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-map-copy p:not(.section-label) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 26px;
}

.contact-map-copy .btn {
  width: fit-content;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}

.contact-map-visual {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(51, 106, 234, 0.3), rgba(254, 190, 66, 0.14)),
    url('assets/bag.jpg') center/cover;
}

.contact-map-visual::before {
  content: '';
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-color);
  color: #081326;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 18px rgba(254, 190, 66, 0.2);
  animation: mapPinPulse 2.4s ease-in-out infinite;
}

@keyframes contactHeroPan {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.1) translateX(-1.4%); }
}

@keyframes mapPinPulse {
  0%, 100% { box-shadow: 0 0 0 14px rgba(254, 190, 66, 0.22); }
  50% { box-shadow: 0 0 0 28px rgba(254, 190, 66, 0.06); }
}

@media (max-width: 1024px) {
  .contact-modern-layout,
  .contact-map-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 470px;
  }

  .contact-info-card {
    transform: none !important;
  }

  .contact-map-copy .btn {
    width: 100%;
  }
}

/* Our Clients */
.clients-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(254, 190, 66, 0.16), transparent 26%),
    linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.clients-section::before,
.clients-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-secondary), transparent);
}

.clients-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-primary), transparent);
}

.clients-section .section-header {
  margin-bottom: 44px;
}

.clients-section .section-header p:last-child {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--text-secondary);
}

.clients-section--compact {
  padding: 48px 0 44px;
}

.clients-section--compact .section-header {
  margin-bottom: 24px;
}

.clients-section--compact .section-header h2 {
  font-size: clamp(30px, 3vw, 44px);
}

.clients-section--compact .clients-slider {
  padding-bottom: 8px;
}

.clients-slider {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 20px;
}

.clients-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: clientsMarquee 38s linear infinite;
  will-change: transform;
}

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

.client-logo {
  width: 210px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(51, 106, 234, 0.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="dark"] .client-logo {
  background: rgba(18, 24, 41, 0.86);
}

.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 106, 234, 0.34);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.client-logo img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  filter: saturate(0.94);
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.client-logo:hover img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}

@media (max-width: 768px) {
  .clients-section::before,
  .clients-section::after {
    width: 46px;
  }

  .clients-track {
    gap: 16px;
    animation-duration: 30s;
  }

  .client-logo {
    width: 160px;
    height: 96px;
    padding: 18px;
  }

  .client-logo img {
    max-height: 58px;
  }
}

/* About Page */
.about-page {
  background: var(--bg-secondary);
}

.about-hero {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/bag.jpg');
  background-size: cover;
  background-position: center;
  animation: aboutHeroDrift 18s ease-in-out infinite alternate;
  z-index: -2;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 12, 25, 0.76) 0%, rgba(20, 49, 112, 0.42) 46%, rgba(7, 14, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(51, 106, 234, 0.16), rgba(254, 190, 66, 0.06));
  z-index: -1;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  color: #ffffff;
}

.about-eyebrow {
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-hero h1 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  text-transform: uppercase;
}

.about-hero-content > p:last-child {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.about-intro {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 72%, var(--bg-primary) 100%);
}

[data-theme="dark"] .about-intro,
[data-theme="dark"] .about-page {
  background: var(--bg-primary);
}

.about-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px 76px;
  align-items: start;
}

.about-principle {
  min-height: 260px;
  padding: 18px 6px;
}

.about-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--brand-color);
  border: 1px solid rgba(51, 106, 234, 0.18);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(51, 106, 234, 0.08), rgba(254, 190, 66, 0.12));
}

.about-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.about-principle h2,
.about-section-heading h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 22px;
}

.about-principle p {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.8;
}

.about-image-panel {
  min-height: 330px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
}

.about-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transition: transform 700ms ease;
}

.about-image-panel:hover img {
  transform: scale(1.05);
}

.about-values {
  align-self: center;
}

.about-factory {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  min-height: 560px;
  overflow: hidden;
}

.about-factory-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px);
  background:
    radial-gradient(circle at 20% 18%, rgba(254, 190, 66, 0.2), transparent 30%),
    linear-gradient(135deg, #11336f, var(--brand-color));
  color: #ffffff;
}

.about-factory-copy h2 {
  color: #ffffff;
  max-width: 620px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
}

.about-factory-copy > p:not(.about-eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.8;
}

.about-contact-strip {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.about-contact-strip span {
  position: relative;
  padding-left: 18px;
}

.about-contact-strip span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-color);
}

.about-factory-media {
  min-height: 520px;
  overflow: hidden;
}

.about-factory-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: aboutMediaFloat 12s ease-in-out infinite alternate;
}

.about-recognition {
  background: var(--bg-secondary);
}

.about-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
}

.about-section-heading .section-label {
  margin-bottom: 10px;
}

.recognition-stage {
  display: grid;
  grid-template-columns: 0.82fr 1.16fr 0.82fr;
  align-items: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  perspective: 1200px;
}

.recognition-card {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border: 1px solid var(--border-color);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(51, 106, 234, 0.04) 10px 11px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] .recognition-card {
  background:
    linear-gradient(145deg, rgba(18, 24, 41, 0.94), rgba(27, 34, 56, 0.92)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(255, 255, 255, 0.04) 10px 11px);
}

.recognition-card span {
  color: var(--brand-color);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}

.recognition-card h3 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.recognition-card p {
  color: var(--text-secondary);
}

.recognition-card-side {
  transform: scale(0.9);
  opacity: 0.72;
}

.recognition-card-main {
  z-index: 2;
  min-height: 380px;
  border: 6px solid var(--brand-color);
}

.recognition-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.recognition-dots span {
  width: 10px;
  height: 10px;
  background: var(--border-color);
}

.recognition-dots .active {
  background: var(--brand-color);
}

.about-responsibility {
  position: relative;
  background:
    linear-gradient(135deg, rgba(51, 106, 234, 0.06), transparent 34%),
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  overflow: hidden;
}

.about-responsibility::before {
  content: '';
  position: absolute;
  inset: 100px auto auto 50%;
  width: min(860px, 80vw);
  height: min(860px, 80vw);
  border: 1px solid rgba(51, 106, 234, 0.08);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-responsibility .container {
  max-width: 1540px;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  max-width: 1460px;
  position: relative;
  margin: 0 auto;
  z-index: 1;
}

.responsibility-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 350px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.responsibility-card-media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  background: #dbeafe;
}

.responsibility-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 850ms ease, filter 850ms ease;
}

.responsibility-card:hover {
  transform: translateY(-8px);
  border-color: rgba(51, 106, 234, 0.35);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.responsibility-card:hover .responsibility-card-media img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.responsibility-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  padding: clamp(34px, 3.4vw, 54px);
  color: #071326;
  isolation: isolate;
}

.responsibility-card-body::before,
.responsibility-card-body::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
  z-index: -1;
}

.responsibility-card-body::before {
  width: 150px;
  height: 150px;
  right: -58px;
  top: -52px;
}

.responsibility-card-body::after {
  width: 92px;
  height: 92px;
  left: -34px;
  bottom: -28px;
}

.responsibility-card-body span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: auto;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.24);
  color: inherit;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.responsibility-card h3 {
  color: inherit;
  font-size: clamp(28px, 2.3vw, 40px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.responsibility-card p {
  max-width: 370px;
  color: currentColor;
  font-size: 17px;
  line-height: 1.75;
}

.csr-yellow .responsibility-card-body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%),
    #febe42;
  color: #081326;
}

.csr-blue .responsibility-card-body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 48%),
    var(--brand-color);
  color: #ffffff;
}

.csr-reverse {
  grid-template-columns: 1fr 1fr;
}

.csr-reverse .responsibility-card-media {
  order: 2;
}

.about-cta {
  padding: 70px 0;
  background:
    linear-gradient(135deg, rgba(254, 190, 66, 0.16), transparent 35%),
    #081326;
}

.about-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.about-cta h2 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 44px);
}

.about-cta .btn {
  flex: 0 0 auto;
}

@keyframes aboutHeroDrift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.1) translateX(-1.5%); }
}

@keyframes aboutMediaFloat {
  from { transform: scale(1.03) translateX(0); }
  to { transform: scale(1.08) translateX(1.2%); }
}

@media (max-width: 1024px) {
  .about-story-grid {
    gap: 42px;
  }

  .about-factory {
    grid-template-columns: 1fr;
  }

  .about-factory-media {
    min-height: 420px;
  }

  .recognition-stage {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .recognition-card,
  .recognition-card-main,
  .recognition-card-side {
    min-height: 240px;
    transform: none;
    opacity: 1;
  }

  .recognition-card-main {
    border-width: 4px;
    order: -1;
  }

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

  .responsibility-card,
  .csr-reverse {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 520px;
  }

  .about-story-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .responsibility-card,
  .csr-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .responsibility-card-media,
  .responsibility-card-body {
    min-height: 280px;
  }

  .csr-reverse .responsibility-card-media {
    order: 0;
  }

  .about-principle {
    min-height: 0;
  }

  .about-factory-copy {
    padding: 52px 24px;
  }

  .about-factory-media,
  .about-image-panel,
  .about-image-panel img {
    min-height: 300px;
  }

  .about-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Admin Dashboard CSS */
.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 600;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.admin-table th {
  background-color: var(--bg-tertiary);
  font-weight: 600;
}

.admin-empty {
  padding: 50px;
  text-align: center;
  color: var(--text-secondary);
}

/* Footer styles */
.footer {
  background-color: #080d1a;
  color: #ffffff;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h1, .footer h2, .footer h3, .footer h4 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--brand-color);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: var(--brand-color);
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--brand-color);
  transform: translateY(-3px);
}

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

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 44px; }
  .stats-showcase { grid-template-columns: 1fr; }
  .stats-copy { padding-top: 70px; }
  .stats-panel { max-width: 620px; width: 100%; margin-top: 0; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .products-list { grid-template-columns: repeat(2, 1fr); }
  .dealers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header {
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(226, 232, 240, 0.9);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  }

  [data-theme="dark"] .header {
    background-color: rgba(15, 23, 42, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .nav-container {
    height: 70px;
    gap: 14px;
  }

  .logo-container {
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-container img {
    width: min(222px, 58vw) !important;
    height: auto !important;
    max-height: 54px;
    object-fit: contain;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 14px;
  }

  .btn-icon {
    width: 46px;
    height: 46px;
    background: rgba(241, 245, 249, 0.96);
    border-color: rgba(226, 232, 240, 0.95);
    color: #0f172a;
  }

  [data-theme="dark"] .btn-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f8fafc;
  }

  .menu-toggle {
    width: 30px;
    height: 22px;
  }

  .header:not(.scrolled) .menu-toggle span,
  .menu-toggle span {
    background-color: #0f172a;
  }

  [data-theme="dark"] .header:not(.scrolled) .menu-toggle span,
  [data-theme="dark"] .menu-toggle span {
    background-color: #f8fafc;
  }

  .menu-toggle { display: flex; }
  .menu-item-has-children::before { display: none; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    z-index: 1190;
    background-color: var(--bg-secondary);
    flex-direction: column;
    padding: 32px 22px;
    align-items: flex-start;
    gap: 18px;
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a {
    width: fit-content;
    max-width: 100%;
  }
  
  .nav-links.active {
    left: 0;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
  
  .submenu {
    position: static !important;
    left: auto !important;
    transform: none !important;
    transform-origin: top left;
    width: 100%;
    max-width: 360px;
    min-width: 0;
    margin-top: 10px;
    padding: 6px;
    box-shadow: none;
    border: 1px solid var(--border-color);
    background: rgba(20, 27, 39, 0.94);
    opacity: 1;
    visibility: visible;
    display: none;
    overflow: hidden;
  }

  .menu-item-has-children:hover .submenu,
  .menu-item-has-children.active .submenu {
    transform: none !important;
    opacity: 1;
    visibility: visible;
  }

  .submenu a {
    min-height: 36px;
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
    white-space: normal;
  }

  .submenu a span {
    min-width: 0;
    color: #ffffff;
    overflow-wrap: anywhere;
  }
  
  .menu-item-has-children.active .submenu {
    display: block;
  }

  .menu-item-has-children.active .nav-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .hero {
    min-height: 720px;
    height: auto;
    align-items: flex-start;
  }

  .hero > .container {
    width: 100%;
    padding-top: 38px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    display: none;
  }

  .hero-content h2 {
    font-size: clamp(30px, 8.8vw, 44px) !important;
    line-height: 1.18;
    margin-bottom: 26px !important;
  }

  .hero-content p {
    font-size: clamp(19px, 5.4vw, 28px);
    line-height: 1.58;
    margin-bottom: 0;
  }

  .hero-content > div:last-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr);
    gap: 14px !important;
    margin-top: 28px !important;
    max-width: 560px;
  }

  .hero-content .btn {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    white-space: normal;
    text-align: center;
  }
  
  .leader-container { grid-template-columns: 1fr; }
  .calc-container { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid-full { grid-column: span 1; }
  .contact-layout { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; gap: 20px; }

  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch !important;
    gap: 10px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow: visible;
    flex-wrap: initial;
  }

  .admin-tabs .tab-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 12px 10px;
    white-space: normal;
    line-height: 1.25;
  }

  .projects-grid,
  #projects-container.projects-grid {
    grid-template-columns: 1fr !important;
  }

  .project-card {
    min-height: 420px;
  }

  .project-card-content {
    padding: 24px;
  }

  .video-grid,
  #blog-container.video-grid {
    grid-template-columns: 1fr !important;
  }

  .video-card {
    width: 100%;
    max-width: 100%;
  }

  .modal {
    padding: 16px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    padding: 28px 20px 22px;
  }

  .modal-content h2 {
    padding-right: 34px;
    overflow-wrap: anywhere;
  }

  .modal-body {
    max-height: none;
  }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 32px; }
  .stats-showcase { padding-top: 0; gap: 34px; }
  .stats-copy { padding-top: 56px; }
  .stats-panel { padding: 24px; margin-top: 0; }
  .stats-panel::before { inset: -18px 28px auto -14px; height: 88px; }
  .stats-grid { grid-template-columns: 1fr; width: 100%; aspect-ratio: auto; }
  .stat-card { min-height: 220px; aspect-ratio: auto; padding: 30px 22px; }
  .stat-number { font-size: clamp(3rem, 17vw, 4.35rem); margin-bottom: 18px; }
  .stat-card:nth-child(4) .stat-number { font-size: clamp(2.45rem, 12vw, 3.35rem); }
  .stat-title { font-size: 18px; }
  .stat-icon { width: 38px; height: 38px; margin-top: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .products-list { grid-template-columns: 1fr; }
  .dealers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .admin-tabs {
    grid-template-columns: 1fr;
  }

  .project-image-grid,
  .project-video-grid {
    grid-template-columns: 1fr;
  }

  .project-image-grid {
    grid-auto-rows: 240px;
  }

  .project-image-tile,
  .project-image-tile--large,
  .project-image-tile--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-video-card {
    grid-template-columns: 1fr;
  }

  .project-video-thumb {
    min-height: 240px;
  }

  .project-detail-modal {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    margin: 12px auto;
    padding: 18px;
    border-radius: 10px;
  }

  .project-detail-image {
    height: min(260px, 34dvh);
    margin-bottom: 14px;
  }

  .project-detail-modal h2 {
    font-size: 22px;
    padding-right: 44px;
    margin-bottom: 12px;
  }

  .project-detail-modal .modal-body p {
    font-size: 14px;
    line-height: 1.65;
  }

  .product-auto-content {
    padding: 20px;
  }

  .product-auto-content .product-clean-list {
    columns: 1;
  }
}

/* Media Center Specific Layout */
.featured-video-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  align-items: stretch;
}

.featured-video-player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
}

.featured-video-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-video-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-badge {
  display: inline-block;
  background-color: var(--brand-light);
  color: var(--brand-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 16px;
  width: fit-content;
  text-transform: uppercase;
}

.featured-video-info h2 {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.featured-video-info p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.video-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-color);
}

.video-card-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background-color: #050811;
  overflow: hidden;
}

.video-card-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-normal);
}

.video-card:hover .video-card-thumbnail {
  transform: scale(1.05);
}

.video-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 29, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background var(--transition-fast);
}

.video-card:hover .video-card-overlay {
  background: rgba(10, 15, 29, 0.5);
}

.video-card-play-btn {
  width: 50px;
  height: 50px;
  background-color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: scale(0.9);
  transition: all var(--transition-fast);
  opacity: 0.85;
}

.video-card:hover .video-card-play-btn {
  transform: scale(1.1);
  background-color: var(--brand-hover);
  opacity: 1;
}

.video-card-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.video-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-card-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--brand-color);
  font-weight: 700;
  margin-bottom: 8px;
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-card p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Projects media sections */
.project-media-section {
  background: var(--bg-secondary);
  padding-top: 56px;
}

.project-media-section--videos {
  background:
    linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.project-media-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.project-media-heading h2 {
  font-size: clamp(34px, 4vw, 56px);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-media-heading p:last-child {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 18px;
}

.project-image-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0f172a;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.project-image-tile:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 4px;
}

.project-image-tile--large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-image-tile--wide {
  grid-column: span 2;
}

.project-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.project-image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(5, 12, 25, 0.86));
}

.project-image-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.project-image-tile figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  color: #ffffff;
}

.project-image-tile span,
.project-video-copy span {
  display: block;
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.project-image-tile strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

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

.project-video-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.project-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(51, 106, 234, 0.34);
  box-shadow: var(--shadow-lg);
}

.project-video-thumb {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.project-video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 25, 0.34);
}

.project-video-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-color);
  color: #ffffff;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 34px rgba(51, 106, 234, 0.34);
}

.project-video-play svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.project-video-copy {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-video-copy h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project-video-copy p {
  color: var(--text-secondary);
  line-height: 1.65;
}

.project-video-grid--players {
  align-items: stretch;
}

.project-video-player-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
}

.project-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 720px;
  background: #050811;
}

.project-video-player iframe,
.project-video-player img,
.project-video-player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.project-video-player img,
.project-video-player video {
  object-fit: cover;
}

.project-detail-modal {
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 12px;
  padding: 40px;
}

.project-detail-image {
  width: 100%;
  height: clamp(220px, 42vh, 360px);
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--bg-tertiary);
}

.project-detail-modal .modal-close {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  z-index: 2;
}

.project-detail-modal h2 {
  font-size: 26px;
  line-height: 1.25;
}

.project-video-player-card .project-video-copy {
  min-height: 190px;
}

.product-auto-content {
  display: grid;
  gap: 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.product-auto-content h3 {
  margin-top: 16px;
  color: var(--text-primary);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.product-auto-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.product-auto-content .product-clean-list {
  columns: 2;
  column-gap: 34px;
  margin: 0;
}

.product-info-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 106, 234, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(51, 106, 234, 0.045), rgba(255, 255, 255, 0) 110px),
    var(--bg-secondary);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.product-info-box::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-color), var(--accent-color));
}

.product-info-box-heading {
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 28px) 0;
}

.product-auto-content .product-info-box-heading h3 {
  margin: 0;
}

.dynamic-product-table {
  margin: 0;
  padding: clamp(14px, 2.4vw, 22px);
}

.dynamic-product-table table {
  width: 100%;
  min-width: min(520px, 100%);
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.dynamic-product-table th,
.dynamic-product-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.dynamic-product-table th {
  border-bottom: 1px solid rgba(51, 106, 234, 0.22);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.dynamic-product-table td {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 16px;
}

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

.dynamic-product-table tbody tr:hover td {
  background: rgba(51, 106, 234, 0.045);
}

.dynamic-product-page .product-detail-copy h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .project-image-grid,
  .project-video-grid {
    grid-template-columns: 1fr;
  }

  .project-image-grid {
    grid-auto-rows: 240px;
  }

  .project-image-tile,
  .project-image-tile--large,
  .project-image-tile--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-video-card {
    grid-template-columns: 1fr;
  }

  .project-video-thumb {
    min-height: 240px;
  }
}

/* Upgraded Homepage AV Layout styles */
.homepage-av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

.homepage-av-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 56.25%;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.homepage-av-item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-color);
  box-shadow: var(--shadow-md);
}

.homepage-av-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.homepage-av-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  transition: background-color var(--transition-fast);
}

.homepage-av-item:hover .homepage-av-overlay {
  background-color: rgba(10, 15, 29, 0.6);
}

.homepage-av-overlay .play-icon-small {
  width: 32px;
  height: 32px;
  background-color: var(--brand-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  margin-bottom: 8px;
  transition: transform var(--transition-fast);
}

.homepage-av-item:hover .play-icon-small {
  transform: scale(1.1);
}

.homepage-av-overlay h4 {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Responsiveness for new styles */
@media (max-width: 1024px) {
  .featured-video-container {
    grid-template-columns: 1fr;
  }
  .featured-video-info {
    padding: 30px;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .av-shorts-grid {
    grid-template-columns: 1fr;
    width: min(100%, 360px);
  }
  .homepage-av-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MONUMENT-STYLE PRODUCTS SECTION
   Inspired by "Majestic Monuments" reference layout
   ============================================================ */

.monument-section {
  background-color: #f5f5f5;
  padding: 90px 0 100px;
}

[data-theme="dark"] .monument-section {
  background-color: var(--bg-primary);
}

/* Section Header */
.monument-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.monument-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text-primary);
  margin: 0 0 18px;
  text-transform: uppercase;
}

.monument-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

/* 2-Column Grid */
.monument-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Individual Card */
.monument-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 310px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
}

.monument-card-image {
  order: 1;
}

.monument-card-content {
  order: 2;
}

.monument-card:nth-child(2n) {
  grid-template-columns: 0.85fr 1.15fr;
}

.monument-card:nth-child(2n) .monument-card-image {
  order: 2;
}

.monument-card:nth-child(2n) .monument-card-content {
  order: 1;
}

.monument-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

/* Reversed Card (Text Left, Image Right) */
.monument-card--reversed {
  grid-template-columns: 0.85fr 1.15fr;
}

.monument-card--reversed .monument-card-image {
  order: 2;
}

.monument-card--reversed .monument-card-content {
  order: 1;
}

/* Image Panel */
.monument-card-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 310px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

/* We need the zoom to happen on the background, so we use a pseudo-element */
.monument-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.monument-card:hover .monument-card-image::before {
  transform: scale(1.08);
}

.monument-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Content / Yellow Panel */
.monument-card-content {
  background-color: var(--accent-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background-color var(--transition-normal);
}

.monument-card:nth-child(2n) .monument-card-content {
  background-color: var(--brand-color);
}

.monument-card:nth-child(2n) .monument-card-content h3,
.monument-card:nth-child(2n) .monument-card-content p {
  color: #ffffff;
}

/* Row-paired layout: row 1 image/text, row 2 text/image, then repeat */
.monument-card,
.monument-card.monument-card--reversed {
  grid-template-columns: 1.15fr 0.85fr;
}

.monument-card .monument-card-image,
.monument-card.monument-card--reversed .monument-card-image {
  order: 1;
}

.monument-card .monument-card-content,
.monument-card.monument-card--reversed .monument-card-content {
  order: 2;
}

.monument-card .monument-card-content {
  background-color: var(--accent-color);
}

.monument-card .monument-card-content h3,
.monument-card .monument-card-content p {
  color: #0f172a;
}

.monument-card:nth-child(4n + 3),
.monument-card:nth-child(4n + 4),
.monument-card.monument-card--reversed:nth-child(4n + 3),
.monument-card.monument-card--reversed:nth-child(4n + 4) {
  grid-template-columns: 0.85fr 1.15fr;
}

.monument-card:nth-child(4n + 3) .monument-card-content,
.monument-card:nth-child(4n + 4) .monument-card-content,
.monument-card.monument-card--reversed:nth-child(4n + 3) .monument-card-content,
.monument-card.monument-card--reversed:nth-child(4n + 4) .monument-card-content {
  order: 1;
  background-color: var(--brand-color);
}

.monument-card:nth-child(4n + 3) .monument-card-image,
.monument-card:nth-child(4n + 4) .monument-card-image,
.monument-card.monument-card--reversed:nth-child(4n + 3) .monument-card-image,
.monument-card.monument-card--reversed:nth-child(4n + 4) .monument-card-image {
  order: 2;
}

.monument-card:nth-child(4n + 3) .monument-card-content h3,
.monument-card:nth-child(4n + 3) .monument-card-content p,
.monument-card:nth-child(4n + 4) .monument-card-content h3,
.monument-card:nth-child(4n + 4) .monument-card-content p {
  color: #ffffff;
}

.monument-card.monument-card--content-right {
  grid-template-columns: 1.15fr 0.85fr;
}

.monument-card.monument-card--content-right .monument-card-image {
  order: 1;
}

.monument-card.monument-card--content-right .monument-card-content {
  order: 2;
}

.monument-card.monument-card--content-left {
  grid-template-columns: 0.85fr 1.15fr;
}

.monument-card.monument-card--content-left .monument-card-content {
  order: 1;
}

.monument-card.monument-card--content-left .monument-card-image {
  order: 2;
}

/* Keep colors column-paired: first card yellow, second card blue on every row */
.monument-card:nth-child(2n + 1) .monument-card-content {
  background-color: var(--accent-color);
}

.monument-card:nth-child(2n + 1) .monument-card-content h3,
.monument-card:nth-child(2n + 1) .monument-card-content p {
  color: #0f172a;
}

.monument-card:nth-child(2n) .monument-card-content {
  background-color: var(--brand-color);
}

.monument-card:nth-child(2n) .monument-card-content h3,
.monument-card:nth-child(2n) .monument-card-content p {
  color: #ffffff;
}

/* Subtle geometric accent in corner */
.monument-card-content::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(15, 23, 42, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.monument-card-content::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(15, 23, 42, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.monument-card-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

.monument-card-content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(15, 23, 42, 0.8);
  margin: 0;
  letter-spacing: 0.8px;
  position: relative;
  z-index: 1;
}

/* --- Hover accent bar animation --- */
.monument-card-content h3::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background-color: rgba(15, 23, 42, 0.4);
  margin-top: 12px;
  border-radius: 2px;
  transition: width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.monument-card:hover .monument-card-content h3::after {
  width: 50px;
}

/* Dark mode content panel tweak */
[data-theme="dark"] .monument-card-content {
  background-color: var(--accent-hover);
}

[data-theme="dark"] .monument-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .monument-card:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ======= RESPONSIVE BREAKPOINTS ======= */

/* Tablet */
@media (max-width: 1024px) {
  .monument-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .monument-card {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 280px;
  }

  .monument-card--reversed {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .monument-card,
  .monument-card.monument-card--reversed {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .monument-card:nth-child(4n + 3),
  .monument-card:nth-child(4n + 4),
  .monument-card.monument-card--reversed:nth-child(4n + 3),
  .monument-card.monument-card--reversed:nth-child(4n + 4) {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .monument-card.monument-card--content-right {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .monument-card.monument-card--content-right .monument-card-image {
    order: 1;
  }

  .monument-card.monument-card--content-right .monument-card-content {
    order: 2;
  }

  .monument-card.monument-card--content-left {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .monument-card.monument-card--content-left .monument-card-content {
    order: 1;
  }

  .monument-card.monument-card--content-left .monument-card-image {
    order: 2;
  }

  .monument-card-image {
    min-height: 280px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .monument-section {
    padding: 60px 0 70px;
  }

  .monument-header {
    margin-bottom: 40px;
  }

  .monument-title {
    letter-spacing: 2px;
  }

  .monument-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .monument-grid > .monument-card,
  .monument-grid > .monument-card.monument-card--reversed,
  .monument-grid > .monument-card.monument-card--content-right,
  .monument-grid > .monument-card.monument-card--content-left,
  .monument-grid > .monument-card:nth-child(2n),
  .monument-grid > .monument-card:nth-child(4n + 3),
  .monument-grid > .monument-card:nth-child(4n + 4) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .monument-card-image {
    min-height: 220px;
  }

  .monument-card-content {
    padding: 32px 28px;
  }

  /* On mobile, always show image on top, text below */
  .monument-grid > .monument-card .monument-card-image,
  .monument-grid > .monument-card.monument-card--reversed .monument-card-image,
  .monument-grid > .monument-card.monument-card--content-right .monument-card-image,
  .monument-grid > .monument-card.monument-card--content-left .monument-card-image,
  .monument-grid > .monument-card:nth-child(2n) .monument-card-image,
  .monument-grid > .monument-card:nth-child(4n + 3) .monument-card-image,
  .monument-grid > .monument-card:nth-child(4n + 4) .monument-card-image {
    order: 1;
  }

  .monument-grid > .monument-card .monument-card-content,
  .monument-grid > .monument-card.monument-card--reversed .monument-card-content,
  .monument-grid > .monument-card.monument-card--content-right .monument-card-content,
  .monument-grid > .monument-card.monument-card--content-left .monument-card-content,
  .monument-grid > .monument-card:nth-child(2n) .monument-card-content,
  .monument-grid > .monument-card:nth-child(4n + 3) .monument-card-content,
  .monument-grid > .monument-card:nth-child(4n + 4) .monument-card-content {
    order: 2;
  }
}

/* Product badge inside monument card content */
.product-badge {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  background-color: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.monument-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  color: var(--brand-color);
  font-weight: 800;
  font-size: 14px;
}

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

/* FRP Tank Product Page */
.product-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 80px;
  background:
    linear-gradient(90deg, rgba(7, 14, 28, 0.92), rgba(15, 84, 200, 0.78)),
    url('assets/Picture2.jpg') center / cover;
  color: #ffffff;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 54px;
  align-items: center;
}

.product-hero-copy h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.product-hero-copy p:not(.section-label) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.tank-hero-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.tank-hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tank-hero-card div {
  padding: 22px;
}

.tank-hero-card span {
  display: block;
  color: var(--accent-color);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.tank-hero-card strong {
  display: block;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.tank-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}

.tank-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.tank-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tank-gallery figcaption {
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--text-primary);
}

.tank-content-grid,
.tank-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 32px;
  align-items: start;
}

.tank-copy-block h2,
.section-heading h2,
.info-panel h2,
.tank-cta h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
  margin-bottom: 18px;
}

.tank-copy-block p,
.section-heading p,
.info-panel p,
.tank-cta p {
  color: var(--text-secondary);
  line-height: 1.85;
}

.tank-type-card,
.info-panel,
.table-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.tank-type-card h3,
.info-panel h3,
.table-card h3 {
  font-size: 22px;
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border: 3px solid var(--accent-color);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg-secondary);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid,
.chemical-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid div,
.chemical-list span {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 18px;
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.info-panel-blue {
  background: linear-gradient(135deg, #1554c8, #0b2d7a);
  border-color: rgba(255, 255, 255, 0.12);
}

.info-panel-blue h2,
.info-panel-blue h3,
.info-panel-blue p {
  color: #ffffff;
}

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

.responsive-table {
  overflow-x: auto;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.table-card th,
.table-card td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  color: var(--text-secondary);
}

.table-card th {
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  background: var(--bg-tertiary);
}

.tank-cta {
  padding: 76px 0;
  background: linear-gradient(135deg, #071326, #1554c8);
  color: #ffffff;
}

.tank-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.tank-cta h2,
.tank-cta p {
  color: #ffffff;
}

.tank-cta p {
  max-width: 760px;
  opacity: 0.82;
}

@media (max-width: 1024px) {
  .product-hero-grid,
  .tank-content-grid,
  .tank-two-column,
  .dimension-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .chemical-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-hero {
    padding: 120px 0 56px;
  }

  .product-hero-copy h1 {
    font-size: 36px;
  }

  .tank-gallery,
  .feature-grid,
  .chemical-list {
    grid-template-columns: 1fr;
  }

  .tank-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Product detail layout refresh */
.product-detail-page {
  background: var(--bg-primary);
}

.product-title-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  background:
    linear-gradient(90deg, rgba(7, 13, 27, 0.84), rgba(15, 84, 200, 0.66)),
    url('assets/Picture2.jpg') center / cover;
  color: #ffffff;
}

.product-title-banner h1 {
  color: #ffffff;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-detail-section {
  padding: 70px 0 36px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 570px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.product-main-media {
  border: 4px solid #1554c8;
  background: var(--bg-secondary);
}

.product-main-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail-copy h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.14;
  margin: 18px 0 20px;
}

.product-detail-copy p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.product-quick-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-weight: 700;
}

.product-thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.product-thumb-strip figure {
  margin: 0;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.product-thumb-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.product-thumb-strip figcaption {
  padding: 12px 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.product-spec-section {
  padding: 38px 0 76px;
}

.product-tabs {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
}

.product-tabs span,
.product-tabs a {
  min-width: 180px;
  padding: 16px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-bottom: none;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 800;
}

.product-tabs .active {
  background: #1554c8;
  color: #ffffff;
  border-color: #1554c8;
}

.product-spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 24px;
  margin-bottom: 28px;
}

.product-spec-card {
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 28px;
}

.product-spec-card h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.product-spec-card table {
  width: 100%;
  border-collapse: collapse;
}

.product-spec-card th,
.product-spec-card td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  color: var(--text-secondary);
}

.product-spec-card th {
  width: 34%;
  color: var(--text-primary);
  font-weight: 800;
}

.product-clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.product-clean-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.product-clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  background: #1554c8;
}

.product-dimension-grid {
  margin-top: 0;
}

.product-info-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.product-info-band div {
  padding: 28px;
  background: #0b2d7a;
  color: #ffffff;
}

.product-info-band h3,
.product-info-band p {
  color: #ffffff;
}

.product-info-band h3 {
  margin-bottom: 12px;
}

.product-info-band p {
  opacity: 0.86;
  line-height: 1.75;
}

.more-products-section {
  padding: 72px 0;
  background: var(--bg-tertiary);
}

.more-products-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.more-products-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  text-transform: uppercase;
}

.more-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.more-product-card {
  display: grid;
  min-height: 230px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.more-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #1554c8;
}

.more-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.more-product-card span {
  padding: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.more-product-card-empty {
  place-items: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(21, 84, 200, 0.92), rgba(11, 45, 122, 0.92));
  color: #ffffff;
}

.more-product-card-empty span {
  text-align: center;
}

@media (max-width: 1024px) {
  .product-detail-grid,
  .product-detail-grid-advanced,
  .product-spec-layout,
  .product-info-band {
    grid-template-columns: 1fr;
  }

  .more-products-grid,
  .product-thumb-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-title-banner {
    min-height: 230px;
    padding: 105px 0 48px;
  }

  .product-detail-section,
  .product-spec-section,
  .more-products-section {
    padding-left: 0;
    padding-right: 0;
  }

  .product-thumb-strip,
  .more-products-grid {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    align-items: stretch;
    flex-direction: column;
  }

  .product-tabs span,
  .product-tabs a {
    width: 100%;
  }
}

/* Advanced FRP Tank presentation */
.tank-clean-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 110px 0 74px;
  background:
    linear-gradient(90deg, rgba(6, 17, 38, 0.74), rgba(21, 84, 200, 0.38)),
    url('assets/bag.jpg') center / cover;
  text-align: center;
}

.tank-clean-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.16) 48%, transparent 58%);
  transform: translateX(-120%);
  animation: banner-sheen 4.5s ease-in-out infinite;
}

.tank-clean-banner .container {
  position: relative;
  z-index: 1;
}

.tank-clean-banner h1 {
  display: block;
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.tank-clean-banner h1.text-reveal-up,
.tank-clean-banner h1.top-text-clip-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: none !important;
}

.tank-clean-banner h1 span {
  display: inline-block;
  animation: banner-title-left-reveal 3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes banner-title-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes banner-title-left-reveal {
  0% {
    opacity: 0;
    transform: translateX(-20px);
    clip-path: inset(0 100% 0 0);
  }

  45% {
    opacity: 0.75;
  }

  100% {
    opacity: 1;
    transform: translateX(0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes banner-sheen {
  0%, 42% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}


.tank-product-hero {
  position: relative;
  overflow: hidden;
  padding: 138px 0 74px;
  background:
    linear-gradient(90deg, rgba(6, 17, 38, 0.78) 0%, rgba(11, 45, 122, 0.52) 54%, rgba(21, 84, 200, 0.34) 100%),
    url('assets/bag.jpg') center / cover;
  color: #ffffff;
}

.tank-product-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.tank-product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1fr);
  gap: 52px;
  align-items: center;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.product-breadcrumb a,
.product-breadcrumb strong {
  color: #ffffff;
}

.product-breadcrumb span::before,
.product-breadcrumb strong::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.38);
}

.tank-product-hero-copy h1 {
  color: #ffffff;
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.98;
  text-transform: uppercase;
  margin: 8px 0 22px;
}

.tank-hero-lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

.tank-hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 32px;
}

.tank-hero-points span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.35;
}

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

.tank-product-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.tank-product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.tank-product-spec-rail {
  display: grid;
  background: #081326;
}

.tank-product-spec-rail div {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.tank-product-spec-rail div:last-child {
  border-bottom: none;
}

.tank-product-spec-rail span {
  color: #febd2f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tank-product-spec-rail strong {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.tank-product-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tank-product-summary div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.tank-product-summary strong {
  display: block;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.tank-product-summary span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.product-detail-section-advanced {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background: var(--bg-primary);
}

.product-detail-section-advanced::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background:
    radial-gradient(circle at 18% 30%, rgba(21, 84, 200, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(51, 106, 234, 0.05), transparent);
  pointer-events: none;
}

.product-section-kicker {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 34px;
  animation: product-fade-up 0.9s ease both;
}

.product-section-kicker h2 {
  color: var(--text-primary);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
}

.product-detail-grid-advanced {
  position: relative;
  z-index: 1;
  align-items: center;
  grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
  gap: 56px;
}

.product-detail-grid-advanced .product-main-media {
  border-color: #febd2f;
  background:
    linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
  animation: product-slide-left 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-detail-grid-advanced .product-main-media img {
  height: 100%;
  min-height: 0;
}

.tank-image-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3.35;
  padding: 26px;
  overflow: hidden;
}

.tank-image-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(254, 190, 66, 0.28);
  pointer-events: none;
}

.tank-image-stage::after {
  content: "";
  position: absolute;
  inset: auto 36px 26px;
  height: 26px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.2), transparent 68%);
  filter: blur(10px);
}

.product-detail-grid-advanced .tank-image-stage img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: cover;
  padding: 0;
  background: transparent;
  image-rendering: auto;
  filter: saturate(1.08) contrast(1.03);
}

.image-quality-label {
  position: absolute;
  z-index: 2;
  top: 26px;
  left: 26px;
  padding: 9px 12px;
  background: #1554c8;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail-copy {
  position: relative;
  z-index: 2;
  animation: product-slide-right 1s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.product-detail-copy h2 {
  color: var(--text-primary);
  max-width: 650px;
  font-size: clamp(34px, 3.75vw, 54px);
}

.product-detail-section-advanced .product-detail-copy p {
  color: var(--text-secondary);
}

.tank-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.advanced-quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.advanced-quick-specs span {
  padding: 12px 16px;
  background: rgba(51, 106, 234, 0.1);
  border: 1px solid rgba(51, 106, 234, 0.18);
  color: #1554c8;
  font-weight: 900;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.advanced-quick-specs span:hover {
  transform: translateY(-2px);
  background: #1554c8;
  color: #ffffff;
}

.product-thumb-strip {
  align-items: stretch;
  position: relative;
  z-index: 1;
  gap: 22px;
}

.product-thumb-strip figure {
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  animation: product-fade-up 0.8s ease both;
}

.product-thumb-strip figure:nth-child(2) {
  animation-delay: 0.08s;
}

.product-thumb-strip figure:nth-child(3) {
  animation-delay: 0.16s;
}

.product-thumb-strip figure:nth-child(4) {
  animation-delay: 0.24s;
}

.product-thumb-strip img {
  height: 210px;
  padding: 12px;
  background: var(--bg-secondary);
  object-fit: cover;
  transition: transform var(--transition-normal), filter var(--transition-normal);
}

.product-thumb-strip figure:hover {
  transform: translateY(-4px);
  border-color: #1554c8;
  box-shadow: var(--shadow-lg);
}

.product-thumb-strip figure:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.product-thumb-strip figcaption {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.product-spec-section {
  background:
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
}

.product-spec-card,
.table-card {
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
  animation: product-fade-up 0.8s ease both;
}

.more-products-section {
  background:
    linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
}

.more-product-card {
  min-height: 260px;
  animation: product-fade-up 0.8s ease both;
}

.more-product-card img {
  aspect-ratio: 4 / 3.2;
}

[data-theme="dark"] .product-detail-section-advanced::before {
  background:
    radial-gradient(circle at 18% 30%, rgba(21, 84, 200, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

[data-theme="dark"] .product-detail-section-advanced {
  background: #081326;
}

[data-theme="dark"] .product-section-kicker h2,
[data-theme="dark"] .product-detail-copy h2 {
  color: #ffffff;
}

[data-theme="dark"] .product-detail-section-advanced .product-detail-copy p {
  color: rgba(226, 232, 240, 0.78);
}

[data-theme="dark"] .product-detail-grid-advanced .product-main-media {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

[data-theme="dark"] .tank-image-stage::before {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .product-tabs span,
[data-theme="dark"] .product-tabs a,
[data-theme="dark"] .product-spec-card,
[data-theme="dark"] .table-card,
[data-theme="dark"] .more-product-card,
[data-theme="dark"] .product-thumb-strip figure {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .advanced-quick-specs span {
  background: rgba(51, 106, 234, 0.18);
  border-color: rgba(51, 106, 234, 0.42);
  color: #6ea0ff;
}

[data-theme="dark"] .product-info-box {
  background:
    linear-gradient(180deg, rgba(51, 106, 234, 0.12), rgba(255, 255, 255, 0) 110px),
    var(--bg-secondary);
  border-color: rgba(51, 106, 234, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .dynamic-product-table tbody tr:hover td {
  background: rgba(51, 106, 234, 0.1);
}

@keyframes product-slide-left {
  from {
    opacity: 0;
    transform: translateX(-46px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes product-slide-right {
  from {
    opacity: 0;
    transform: translateX(46px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes product-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .tank-product-hero-grid {
    grid-template-columns: 1fr;
  }

  .tank-product-visual {
    max-width: 840px;
  }
}

@media (max-width: 768px) {
  .tank-product-hero {
    padding: 116px 0 56px;
  }

  .product-detail-section-advanced {
    overflow: hidden;
    padding: 56px 0 48px;
  }

  .product-section-kicker,
  .product-detail-grid-advanced,
  .product-detail-copy,
  .product-main-media,
  .tank-image-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .product-section-kicker h2,
  .product-detail-copy h2 {
    overflow-wrap: anywhere;
  }

  .product-detail-grid-advanced {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
    align-items: stretch;
  }

  .product-detail-copy,
  .product-detail-grid-advanced .product-main-media {
    animation: none;
  }

  .product-quick-specs,
  .advanced-quick-specs {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .advanced-quick-specs span {
    width: 100%;
  }

  .tank-hero-points,
  .tank-product-summary {
    grid-template-columns: 1fr;
  }

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

  .tank-product-visual img {
    min-height: 300px;
  }

  .tank-product-spec-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tank-product-hero-copy h1 {
    font-size: 42px;
  }

  .product-section-kicker h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .product-detail-copy h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .product-breadcrumb {
    margin-bottom: 18px;
  }

  .tank-hero-lead {
    font-size: 16px;
  }

  .product-detail-grid-advanced .product-main-media img {
    min-height: 260px;
  }

  .tank-image-stage {
    padding: 18px;
    aspect-ratio: 4 / 3;
  }

  .image-quality-label {
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .product-detail-grid-advanced .tank-image-stage img {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .product-spec-section {
    overflow: hidden;
  }

  .product-auto-content {
    gap: 16px;
    padding: 18px;
  }

  .product-auto-content h3 {
    font-size: 24px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .product-auto-content .product-clean-list {
    columns: 1;
  }

  .dynamic-product-table {
    overflow-x: visible;
    padding: 14px;
  }

  .dynamic-product-table table,
  .dynamic-product-table thead,
  .dynamic-product-table tbody,
  .dynamic-product-table tr,
  .dynamic-product-table th,
  .dynamic-product-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .dynamic-product-table table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .dynamic-product-table thead {
    display: none;
  }

  .dynamic-product-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .dynamic-product-table tr:last-child {
    border-bottom: none;
  }

  .dynamic-product-table td {
    display: grid;
    grid-template-columns: minmax(112px, 0.85fr) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: none;
    font-size: 15px;
    line-height: 1.35;
  }

  .dynamic-product-table td::before {
    content: attr(data-label);
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    overflow-wrap: anywhere;
  }

  .product-dimension-grid {
    gap: 18px;
  }

  .product-dimension-grid .table-card {
    padding: 20px 16px;
    overflow: hidden;
  }

  .product-dimension-grid .table-card h3 {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.18;
    overflow-wrap: anywhere;
    margin-bottom: 16px;
  }

  .product-dimension-grid .responsive-table {
    overflow-x: visible;
  }

  .product-dimension-grid table,
  .product-dimension-grid thead,
  .product-dimension-grid tbody,
  .product-dimension-grid tr,
  .product-dimension-grid th,
  .product-dimension-grid td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .product-dimension-grid table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .product-dimension-grid thead {
    display: none;
  }

  .product-dimension-grid tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .product-dimension-grid tr:last-child {
    border-bottom: none;
  }

  .product-dimension-grid td {
    display: grid;
    grid-template-columns: minmax(96px, 0.85fr) minmax(0, 1fr);
    gap: 14px;
    align-items: baseline;
    padding: 7px 0;
    border-bottom: none;
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .product-dimension-grid td::before {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
  }

  .product-dimension-grid .table-card:first-child td:nth-child(1)::before,
  .product-dimension-grid .table-card:last-child td:nth-child(1)::before {
    content: "Capacity";
  }

  .product-dimension-grid .table-card:first-child td:nth-child(2)::before,
  .product-dimension-grid .table-card:last-child td:nth-child(2)::before {
    content: "Diameter";
  }

  .product-dimension-grid .table-card:first-child td:nth-child(3)::before {
    content: "Height";
  }

  .product-dimension-grid .table-card:last-child td:nth-child(3)::before {
    content: "Length";
  }

  .product-dimension-grid .table-card:first-child td:nth-child(4)::before,
  .product-dimension-grid .table-card:last-child td:nth-child(4)::before {
    content: "Thickness";
  }
}
