/* Google Fonts & Material Symbols loaded via <link> in HTML */

:root {
  --bg-dark: #070b13;
  --bg-card: rgba(17, 24, 39, 0.55);
  --bg-card-border: rgba(55, 65, 81, 0.4);
  --primary: #0066ff;
  --primary-glow: rgba(0, 102, 255, 0.35);
  --primary-light: #3b82f6;
  --accent: #00c2ff;
  --accent-glow: rgba(0, 194, 255, 0.2);
  --text-white: #ffffff;
  --text-muted: #9ca3af;
  --text-gray: #d1d5db;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Cairo", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

/* Material Symbols base config */
.material-symbols-rounded {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  vertical-align: middle;
}

.btn-icon {
  font-size: 20px;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Modern Grid Background */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  z-index: -2;
}

.grid-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 20%,
    var(--bg-dark) 80%
  );
  z-index: -1;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}

.ambient-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.1) 0%,
    transparent 70%
  );
  bottom: 10%;
  left: -10%;
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.5;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 11, 19, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-card-border);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 16px; /* --s3 */
  flex-shrink: 0;
}

.nav-logo .logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease;
}
.nav-logo .logo-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
body:not(.light) .nav-logo .logo-img {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

/* Stacked: image on top, text below */
.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

/* Logo image styles */
.logo-img-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.25);
  box-shadow:
    0 0 18px var(--primary-glow),
    0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.logo:hover .logo-img-wrapper {
  box-shadow: 0 0 28px var(--primary-glow);
  border-color: rgba(0, 194, 255, 0.5);
}

.logo-img-wrapper--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.logo-text {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-white);
  letter-spacing: 2.5px;
  text-align: center;
  line-height: 1;
}

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

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.nav-cta {
  background: linear-gradient(135deg, #0784ff, #004ecc);
  color: white;
  padding: 0.7rem 1.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.28);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 15px;
  color: var(--text-white);
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.menu-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 194, 255, 0.36);
  background: rgba(15, 23, 42, 0.95);
}

.menu-btn-lines {
  width: 21px;
  height: 16px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-btn-lines span {
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 0.22s ease,
    opacity 0.16s ease;
}

.menu-btn.active .menu-btn-lines span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .menu-btn-lines span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .menu-btn-lines span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 769px) {
  .menu-btn {
    display: none !important;
  }
}

.nav-contact {
  background: linear-gradient(135deg, #1877f2, #4c7dff);
  border-color: rgba(24, 119, 242, 0.9);
}

.nav-cta:hover,
.nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(2, 6, 23, 0.66);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 410px);
  height: 100dvh;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 194, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(7, 11, 19, 0.98), rgba(2, 6, 23, 0.98));
  backdrop-filter: blur(20px);
  z-index: 101;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transform: translateX(105%);
  opacity: 0.98;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.mobile-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.24);
}

.mobile-brand strong,
.mobile-brand small {
  display: block;
}

.mobile-brand strong {
  color: var(--text-white);
  font-size: 1rem;
  line-height: 1.2;
}

.mobile-brand small {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.mobile-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-close:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(0, 194, 255, 0.3);
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.25rem 0 0;
}

.mobile-nav ul a {
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.82rem 0.9rem;
  border-radius: 17px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.42);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.mobile-nav ul a .material-symbols-rounded {
  width: 2rem;
  height: 2rem;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.13);
  color: var(--accent);
  font-size: 1.15rem;
}

.mobile-nav ul a:hover,
.mobile-nav ul a.active {
  color: var(--accent);
  transform: translateX(-4px);
  border-color: rgba(0, 194, 255, 0.18);
  background: rgba(0, 102, 255, 0.1);
}

.mobile-nav-footer {
  margin-top: auto;
  display: grid;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-cta {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #0ea5ff, #0057dc 55%, #003a9f);
  color: white;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.34);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0, 102, 255, 0.46);
}

.mobile-whatsapp {
  color: #bbf7d0;
  background: rgba(37, 211, 102, 0.09);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.mobile-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 9rem 2rem 5rem 2rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  width: 48rem;
  height: 48rem;
  top: 4rem;
  left: -18rem;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.2), transparent 68%);
  filter: blur(6px);
}

.hero::after {
  width: 42rem;
  height: 42rem;
  right: -15rem;
  bottom: -16rem;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22), transparent 70%);
  filter: blur(8px);
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: 5rem;
  align-items: center;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  z-index: 10;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 710px;
}

.hero-badge {
  align-self: flex-start;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.16),
    rgba(0, 194, 255, 0.08)
  );
  border: 1px solid rgba(0, 194, 255, 0.28);
  color: #b9efff;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 14px 40px rgba(0, 102, 255, 0.14);
}

.hero-badge .material-symbols-rounded {
  color: var(--accent);
  font-size: 1.15rem;
}

.hero-content h1 {
  font-size: clamp(2.9rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  letter-spacing: -0.04em;
}

.hero-content h1 span {
  display: block;
}

.hero-content h1 .highlight {
  background: linear-gradient(
    135deg,
    #ffffff 12%,
    #85e8ff 48%,
    var(--accent) 92%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(0, 194, 255, 0.14);
}

.hero-desc {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 660px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.95rem 2.15rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #0784ff, #0052d9 55%, #003a9f);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 38px rgba(0, 102, 255, 0.36);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 102, 255, 0.48);
}

.btn-secondary {
  background: aqua;
  color: black;
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-3px);
}

.hero-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 680px;
  margin-top: 0.25rem;
}

.hero-trust-item {
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.74),
    rgba(15, 23, 42, 0.42)
  );
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-trust-item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0.8;
}

.hero-trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-white);
  font-size: 0.98rem;
}

.hero-trust-item span {
  color: var(--text-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

/* Hero Media & Factory Card */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  min-height: 620px;
  perspective: 1200px;
  opacity: 0;
  transform: scale(0.95);
  animation: scaleUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-scene-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.hero-scene-glow--one {
  width: 18rem;
  height: 18rem;
  top: 1rem;
  right: 2rem;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.18), transparent 68%);
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-scene-glow--two {
  width: 16rem;
  height: 16rem;
  left: 0;
  bottom: 1rem;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.22), transparent 68%);
  animation: floatGlow 9s ease-in-out infinite reverse;
}

.factory-card {
  position: relative;
  width: 100%;
  max-width: 570px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.82));
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.95rem;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.52),
    0 0 80px rgba(0, 102, 255, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  transform-style: preserve-3d;
}

.factory-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(0, 194, 255, 0.42),
    transparent 34%,
    rgba(0, 102, 255, 0.28)
  );
  opacity: 0.5;
  z-index: -1;
  filter: blur(14px);
}

.factory-card:hover {
  border-color: rgba(0, 194, 255, 0.36);
  box-shadow:
    0 46px 100px rgba(0, 0, 0, 0.62),
    0 0 95px rgba(0, 102, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.factory-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.35rem 0.35rem 0.85rem;
  color: var(--text-gray);
  font-size: 0.86rem;
  font-weight: 700;
}

.factory-dots {
  display: flex;
  gap: 0.35rem;
}

.factory-dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.55);
}

.factory-dots span:first-child {
  background: #ef4444;
}

.factory-dots span:nth-child(2) {
  background: #f59e0b;
}

.factory-dots span:nth-child(3) {
  background: #10b981;
}

.factory-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.22);
  white-space: nowrap;
}

.factory-status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 1.5s infinite;
}

.factory-img-wrapper {
  position: relative;
  width: 100%;
  height: 430px;
  border-radius: 24px;
  overflow: hidden;
  background: #020617;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Hero factory video */
.hero-factory-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.factory-card:hover .hero-factory-video {
  transform: scale(1.045);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(0, 194, 255, 0.24),
      transparent 28%
    ),
    linear-gradient(
      90deg,
      rgba(2, 6, 23, 0.36),
      transparent 38%,
      rgba(2, 6, 23, 0.62)
    ),
    linear-gradient(180deg, rgba(7, 11, 19, 0.04) 0%, rgba(7, 11, 19, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-video-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.18;
  animation: driftGrid 18s linear infinite;
  pointer-events: none;
}

.hero-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: -35%;
  height: 34%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 194, 255, 0.16),
    transparent
  );
  mix-blend-mode: screen;
  z-index: 2;
  pointer-events: none;
  animation: scanLine 5.5s ease-in-out infinite;
}

.factory-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  background: rgba(2, 6, 23, 0.76);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
}

.factory-badge .material-symbols-rounded {
  color: #facc15;
  font-size: 1rem;
}

.hero-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 190px;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.hero-floating-card--top {
  left: -1.55rem;
  top: 24%;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-floating-card--bottom {
  right: -1.65rem;
  bottom: 16%;
  animation: floatCard 6s ease-in-out infinite reverse;
}

.hero-floating-card .material-symbols-rounded {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.26),
    rgba(0, 194, 255, 0.16)
  );
  color: var(--accent);
  border: 1px solid rgba(0, 194, 255, 0.2);
}

.hero-floating-card strong,
.hero-floating-card small {
  display: block;
}

.hero-floating-card strong {
  color: var(--text-white);
  font-size: 0.92rem;
}

.hero-floating-card small {
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 0.1rem;
}

.hero-scene-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.45rem 0.15rem;
}

.hero-scene-footer strong,
.hero-scene-footer span {
  display: block;
}

.hero-scene-footer strong {
  color: var(--text-white);
  font-size: 0.95rem;
}

.hero-scene-footer span {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.hero-product-card {
  position: absolute;
  left: 0;
  bottom: 0.4rem;
  z-index: 12;
  width: min(240px, 42%);
  padding: 0.65rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  border-radius: 22px;
  background: aqua;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  transform: translateY(8px);
}

.hero-product-card img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-product-card strong,
.hero-product-card span {
  display: block;
}

.hero-product-card strong {
  font-size: 0.88rem;
  line-height: 1.4;
}

.hero-product-card span {
  color: #475569;
  font-size: 0.74rem;
  line-height: 1.45;
  margin-top: 0.15rem;
}

/* Sections Global Structure */
section {
  padding: 6rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Key Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.15),
    rgba(0, 194, 255, 0.08)
  );
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.25),
    rgba(0, 194, 255, 0.15)
  );
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.feature-icon .material-symbols-rounded {
  font-size: 28px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Products Catalog Section */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 20px;
  padding: 3rem;
  align-items: center;
  backdrop-filter: blur(10px);
}

.product-gallery {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  background: #111827;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-showcase:hover .product-main-img {
  transform: scale(1.03);
}

.product-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-details .tag {
  align-self: flex-start;
  background: rgba(0, 194, 255, 0.1);
  color: var(--accent);
  padding: 0.25rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(0, 194, 255, 0.2);
}

.product-details h3 {
  font-size: 2rem;
  font-weight: 800;
}

.product-details p {
  color: var(--text-muted);
  line-height: 1.7;
}

.specs-table-container {
  margin-top: 1rem;
  border: 5px solid var(--bg-card-border);
  border-radius: 8px;
  overflow: hidden;
}

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

.specs-table th,
.specs-table td {
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
}

.specs-table th {
  background: rgba(31, 41, 55, 0.5);
  color: var(--text-white);
  font-weight: 700;
  border-bottom: 5px solid var(--bg-card-border);
}

.specs-table td {
  color: var(--text-gray);
  border-bottom: 1px solid rgba(55, 65, 81, 0.2);
}

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

.specs-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Target Audience Section */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.audience-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.audience-number {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.audience-card:hover .audience-number {
  color: var(--accent-glow);
}

.audience-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.audience-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Factory Info Section */
.factory-info-section {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(0, 102, 255, 0.03),
    transparent
  );
}

.factory-info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.factory-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.factory-text .badge {
  align-self: flex-start;
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
}

.factory-text h2 {
  font-size: 2.25rem;
  font-weight: 800;
}

.factory-text p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.factory-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-item h4 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

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

.factory-visual {
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--bg-card-border);
}

.factory-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================
   Contact Section — Premium Rebuild
   ============================================= */
.contact-section {
  position: relative;
  padding: 6rem 2rem 7rem;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.18;
}
.contact-glow--blue {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -120px;
  right: -100px;
}
.contact-glow--cyan {
  width: 380px;
  height: 380px;
  background: var(--accent);
  bottom: -80px;
  left: -60px;
  opacity: 0.12;
}

.contact-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
}

/* --- Heading --- */
.contact-heading {
  text-align: center;
}
.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}
.contact-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-white);
  margin-bottom: 0.9rem;
}
.contact-title-grad {
  background: linear-gradient(90deg, #25d366 0%, #00c2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.contact-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto;
}

/* --- WhatsApp primary CTA --- */
.contact-wa-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.contact-wa-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 2rem 1.15rem 1.6rem;
  background: linear-gradient(135deg, #1db954 0%, #128c3a 100%);
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.3);
  max-width: 460px;
  width: 100%;
}
.contact-wa-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(37, 211, 102, 0.42);
}
.contact-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  flex-shrink: 0;
}
.contact-wa-text {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  flex: 1;
}
.contact-wa-label {
  font-size: 1.15rem;
  font-weight: 800;
}
.contact-wa-sub {
  font-size: 0.85rem;
  opacity: 0.82;
  font-weight: 500;
}
.contact-wa-arrow {
  font-size: 1.6rem;
  opacity: 0.9;
  transition: transform 0.3s ease;
}
.contact-wa-btn:hover .contact-wa-arrow {
  transform: translateX(-5px);
}
/* pulse ring */
.contact-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

/* --- Secondary cards row --- */
.contact-cards-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.ccard {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.8rem 2rem;
  transition: background 0.3s ease;
}
.ccard:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ccard-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  margin: 1.5rem 0;
}

.ccard-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.ccard--phone .ccard-icon {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #60a5fa;
}
.ccard--fb .ccard-icon {
  background: rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(24, 119, 242, 0.28);
  color: #60a5fa;
}

.ccard-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ccard-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
}
.ccard-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.ccard-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: var(--transition);
}
.ccard-btn--phone {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}
.ccard-btn--phone:hover {
  background: rgba(59, 130, 246, 0.22);
  transform: translateY(-2px);
}
.ccard-btn--fb {
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.3);
  color: #93c5fd;
}
.ccard-btn--fb:hover {
  background: rgba(24, 119, 242, 0.22);
  transform: translateY(-2px);
}

/* --- Working hours strip --- */
.contact-hours {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  width: 100%;
}
.contact-hours-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.contact-hours-item strong {
  color: var(--text-white);
}
.contact-hours-icon {
  font-size: 1.1rem;
  color: var(--accent);
}
.contact-hours-sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 640px) {
  .contact-cards-row {
    flex-direction: column;
  }
  .ccard-divider {
    width: auto;
    height: 1px;
    margin: 0 1.5rem;
  }
  .contact-hours {
    flex-direction: column;
    gap: 0.9rem;
    text-align: center;
  }
  .contact-hours-sep {
    display: none;
  }
  .contact-wa-btn {
    max-width: 100%;
  }
}

/* Footer Section */
footer {
  background: #04080e;
  border-top: 1px solid var(--bg-card-border);
  padding: 5rem 2rem 2rem 2rem;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
  padding-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 450px;
}

.footer-links h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links ul a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(55, 65, 81, 0.3);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 98;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes driftGrid {
  from {
    background-position:
      0 0,
      0 0;
  }
  to {
    background-position:
      48px 48px,
      48px 48px;
  }
}

@keyframes scanLine {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0;
  }
  18%,
  70% {
    opacity: 1;
  }
  82% {
    transform: translateY(410%);
    opacity: 0;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

/* RESPONSIVE BREAKPOINTS (Mobile-First) */

/* 1920px (Extra Large Displays) */
@media (min-width: 1920px) {
  .nav-container,
  .hero-container,
  section,
  .footer-container,
  .footer-bottom {
    max-width: 1700px;
  }
  .hero-content h1 {
    font-size: 3.75rem;
  }
  .hero-desc,
  .section-subtitle,
  .factory-text p,
  .contact-info p {
    font-size: 1.35rem;
    max-width: 800px;
  }
  .factory-card {
    max-width: 650px;
  }
  .factory-img-wrapper,
  .product-gallery,
  .factory-visual {
    height: 510px;
  }
}

/* 1440px - Base values apply here */

/* 1280px */
@media (max-width: 1280px) {
  .hero-container,
  .product-showcase,
  .factory-info-container {
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: clamp(2.75rem, 4.6vw, 4.25rem);
  }
  .hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.95fr);
  }
  .hero-floating-card--top {
    left: -0.65rem;
  }
  .hero-floating-card--bottom {
    right: -0.75rem;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  section {
    padding: 5rem 2rem;
  }
  .hero {
    padding-top: 8rem;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    margin: 0 auto;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-desc {
    margin: 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-media {
    order: -1;
    min-height: 560px;
    width: min(100%, 680px);
    margin: 0 auto;
  }
  .factory-card {
    margin: 0 auto;
  }
  .hero-trust-grid {
    margin-inline: auto;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
  }
  .product-gallery {
    height: 320px;
  }

  .factory-info-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .factory-visual {
    height: 350px;
    order: -1;
  }
  .factory-text .badge {
    align-self: center;
  }
  .factory-text {
    text-align: center;
  }
  .factory-stats {
    justify-content: center;
  }
}

/* 768px */
@media (max-width: 768px) {
  header {
    background: rgba(7, 11, 19, 0.84);
  }
  .nav-container {
    padding: 0.85rem 1.1rem;
  }
  .nav-logo .logo-img {
    height: 42px;
    border-radius: 11px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .hero {
    min-height: auto;
    padding-top: 7.25rem;
  }
  .hero-container {
    gap: 2.6rem;
  }
  .hero-content h1 {
    font-size: 2.55rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .factory-img-wrapper {
    height: 360px;
  }
  .hero-media {
    min-height: 520px;
  }
  .hero-floating-card {
    min-width: 170px;
    padding: 0.75rem;
  }
  .hero-product-card {
    left: 50%;
    bottom: 0;
    width: min(255px, 76%);
    transform: translate(-50%, 12px);
  }
  .section-title {
    font-size: 1.85rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
  .logo {
    justify-content: center;
  }
}

/* 425px, 375px, 320px (Mobile viewports) */
@media (max-width: 425px) {
  .nav-container {
    padding: 0.75rem 0.95rem;
  }
  .nav-logo .logo-img {
    height: 38px;
    padding: 3px;
  }
  .menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
  .mobile-nav {
    width: min(92vw, 380px);
    padding: 0.95rem;
  }
  .mobile-brand img {
    width: 42px;
    height: 42px;
  }
  .mobile-brand strong {
    font-size: 0.95rem;
  }
  .mobile-nav ul a {
    min-height: 48px;
    padding: 0.72rem 0.78rem;
    border-radius: 15px;
    font-size: 0.96rem;
  }
  .mobile-nav ul a .material-symbols-rounded {
    width: 1.85rem;
    height: 1.85rem;
    font-size: 1.05rem;
  }
  section {
    padding: 4rem 1.25rem;
  }
  .hero {
    padding: 6rem 1.1rem 3rem 1.1rem;
  }
  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.32;
    letter-spacing: -0.02em;
  }
  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.75;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .hero-trust-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-media {
    min-height: 390px;
  }
  .factory-card-topbar {
    font-size: 0.72rem;
    gap: 0.45rem;
  }
  .factory-status {
    padding: 0.25rem 0.45rem;
  }
  .btn {
    width: 100%;
  }
  .factory-card {
    padding: 0.5rem;
    border-radius: 22px;
  }
  .factory-img-wrapper {
    height: 260px;
    border-radius: 18px;
  }
  .factory-badge {
    font-size: 0.7rem;
    padding: 0.36rem 0.65rem;
    max-width: calc(100% - 1.2rem);
  }
  .hero-floating-card,
  .hero-product-card {
    display: none;
  }
  .hero-scene-footer {
    align-items: flex-start;
    text-align: right;
    flex-direction: column;
  }

  .product-showcase {
    padding: 1.5rem 1rem;
  }
  .product-gallery {
    height: 220px;
  }
  .product-details h3 {
    font-size: 1.5rem;
  }

  .factory-visual {
    height: 220px;
  }
  .factory-text h2 {
    font-size: 1.75rem;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 1.78rem;
  }
  .mobile-nav {
    width: 94vw;
  }
}

@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.55rem;
  }
  .factory-img-wrapper {
    height: 215px;
  }
  .product-gallery,
  .factory-visual {
    height: 180px;
  }
}

/* Modal Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 7, 13, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
  background: rgba(9, 14, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.9rem 1.7rem 1.5rem;
  width: 92%;
  max-width: 620px;
  max-height: 88vh;
  position: relative;
  transform: translateY(32px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(0, 102, 255, 0.12);
  backdrop-filter: blur(24px);
  overflow: hidden;
}

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

.modal-close {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.15);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

.quote-form {
  display: grid;
  gap: 1rem;
  max-height: calc(88vh - 170px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.quote-form::-webkit-scrollbar {
  width: 6px;
}

.quote-form::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.35);
  border-radius: 999px;
}

.form-group {
  display: grid;
  gap: 0.55rem;
}

.form-group label {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-white);
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 102, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-submit {
  width: 100%;
  padding: 1rem 1.35rem;
  border-radius: 999px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #00c2ff, #3b82f6);
  color: white;
  border: none;
  box-shadow: 0 18px 45px rgba(0, 102, 255, 0.28);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 102, 255, 0.34);
}

.form-status {
  min-height: 1.4rem;
  color: #8dd3ff;
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 1.5rem 1.25rem 1.2rem;
    max-width: 100%;
    max-height: 95vh;
  }

  .modal-header {
    margin-bottom: 1.5rem;
  }

  .modal-header h3 {
    font-size: 1.45rem;
  }
}

/* Scroll disabling */
body.no-scroll {
  overflow: hidden;
}

/* Mobile modifications for modal */
@media (max-width: 425px) {
  .modal-card {
    padding: 2rem 1.25rem;
    max-height: 95vh;
    overflow-y: auto;
  }
  .modal-header h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
  }
}

/* ============================================
   SCROLL ANIMATION SYSTEM
   (Intersection Observer — replaces Framer Motion)
   ============================================ */

/* Base hidden state — all animatable elements start here */
.reveal-up,
.stagger-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

/* Stagger cards use index-based delay (set by JS) */
.stagger-card {
  transform: translateY(50px);
}

/* Visible state toggled by IntersectionObserver in app.js */
.reveal-up.in-view,
.stagger-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
  padding: 6rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

/* Masonry-style CSS grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
  margin-top: 1rem;
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* Individual gallery tile */
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111827;
  border: 1px solid var(--bg-card-border);
  /* ensure it becomes a block-level grid area with explicit height */
  min-height: 0;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark overlay — slides up on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 7, 13, 0.92) 0%,
    rgba(0, 102, 255, 0.25) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

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

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

/* Caption */
.gallery-caption {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  transform: translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Zoom icon in top corner */
.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 102, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transform: scale(0.7) rotate(-10deg);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 13, 0.96);
  backdrop-filter: blur(20px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--bg-card-border);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 102, 255, 0.1);
  transition: opacity 0.3s ease;
}

.lightbox-img.fading {
  opacity: 0;
}

.lightbox-caption {
  color: var(--text-gray);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background: rgba(17, 24, 39, 0.7);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(8px);
}

/* Nav & close buttons */
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  background: rgba(31, 41, 55, 0.7);
  border: 1px solid var(--bg-card-border);
  color: var(--text-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(0, 102, 255, 0.6);
  border-color: var(--primary);
}

.lightbox-prev {
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
}

/* ============================================
   GALLERY RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
  }
  .gallery-item--large {
    grid-row: span 2;
  }
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item--large,
  .gallery-item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }
  .gallery-overlay {
    opacity: 1; /* Always visible on mobile (no hover) */
  }
  .gallery-caption {
    transform: translateY(0);
  }
  .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
  }
  .lightbox-prev {
    right: 0.75rem;
  }
  .lightbox-next {
    left: 0.75rem;
  }
}

.beure {
  border-radius: 5px;
  padding: 5px;

}
