* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #063d63;
  --blue-2: #082c49;
  --blue-glow: rgba(6, 61, 99, 0.12);
  --red: #c90000;
  --red-2: #a80000;
  --dark: #0a1722;
  --text: #172331;
  --muted: #667485;
  --light: #f4f7fb;
  --white: #ffffff;
  --border: #e6ebf2;
  --shadow: 0 24px 70px rgba(8, 44, 73, 0.14);
  --shadow-soft: 0 12px 40px rgba(8, 44, 73, 0.08);
  --font-ar: "Cairo", Tahoma, Arial, sans-serif;
  --font-en: "Inter", "Segoe UI", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--font-ar);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  min-width: 20rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
  font-family: var(--font-en);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 1.25rem, 73.75rem);
  margin-inline: auto;
}

.top-bar {
  display: none;
  background: var(--blue-2);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.75rem, 2.5vw, 0.8125rem);
}

.top-bar-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 32px rgba(8, 44, 73, 0.1);
}

.header-content {
  position: relative;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 4.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.brand-logo {
  width: clamp(3rem, 12vw, 4.125rem);
  height: clamp(3rem, 12vw, 4.125rem);
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  color: var(--blue);
  font-size: clamp(0.95rem, 4vw, 1.25rem);
  line-height: 1.2;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: clamp(0.62rem, 2.7vw, 0.75rem);
}

.nav {
  position: absolute;
  top: calc(100% + 0.25rem);
  inset-inline: 0.75rem;
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.nav.show {
  display: flex;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  font-size: clamp(0.875rem, 3.5vw, 0.9375rem);
  font-weight: 700;
  color: var(--text);
  transition: background 0.25s, color 0.25s;
}

.nav a:hover,
.nav a.active {
  color: var(--red);
  background: rgba(201, 0, 0, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.language-switch {
  display: flex;
  background: var(--light);
  padding: 0.25rem;
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.lang-btn.active {
  background: var(--blue);
  color: var(--white);
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  background: var(--red);
  color: var(--white);
  padding: 0.6875rem 1.125rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  transition: 0.25s;
}

.header-cta:hover {
  background: var(--red-2);
  transform: translateY(-2px);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--blue);
  color: var(--white);
  font-size: 1.375rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(201, 0, 0, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2f7fb 52%, #eaf2f8 100%);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
}

html[dir="rtl"] .hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 0, 0, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f2f7fb 52%, #eaf2f8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 61, 99, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 61, 99, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  animation: patternDrift 28s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 9vw, 4.5rem) 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  background: rgba(201, 0, 0, 0.09);
  color: var(--red);
  border: 1px solid rgba(201, 0, 0, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--blue);
  font-size: clamp(2rem, 10vw, 4.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 1.375rem;
}

.hero p {
  color: var(--muted);
  font-size: clamp(0.95rem, 4vw, 1.125rem);
  max-width: 43.75rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 3rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.875rem;
  font-weight: 900;
  font-size: clamp(0.9rem, 3.4vw, 1rem);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(201, 0, 0, 0.22);
}

.btn-primary:hover {
  background: var(--red-2);
  transform: translateY(-3px);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  max-width: 40.625rem;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 21px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  transition: transform 0.12s linear;
  will-change: transform;
}

.hero-card {
  position: relative;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  overflow: hidden;
}

html[dir="ltr"] .hero-card {
  transform: rotate(1.5deg);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 28px -16px -16px 28px;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 34px;
  z-index: -1;
  opacity: 0.16;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
  border-radius: 1.625rem;
  animation: kenBurns 14s ease-in-out infinite alternate;
}

.floating-card {
  display: none;
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.125rem;
  padding: 1rem 1.125rem;
  box-shadow: var(--shadow);
  min-width: 11.875rem;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.floating-card strong {
  color: var(--blue);
  font-size: 16px;
}

.card-one {
  top: 56px;
  inset-inline-start: -28px;
}

.card-two {
  bottom: 52px;
  inset-inline-end: -24px;
}

.section {
  padding: clamp(2.6rem, 9vw, 5.5rem) 0;
}

.section-heading {
  max-width: 47.5rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-heading h2,
.about-text h2,
.why-text h2 {
  color: var(--blue);
  font-size: clamp(1.65rem, 7vw, 2.875rem);
  line-height: 1.26;
  margin-bottom: 0.875rem;
}

.section-heading p,
.about-text p,
.why-text p {
  color: var(--muted);
  font-size: clamp(0.95rem, 3.7vw, 1.0625rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.875rem;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 3px solid rgba(201, 0, 0, 0.25);
  border-radius: 28px;
  transform: translate(18px, 18px);
  z-index: -1;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 13rem;
  object-fit: cover;
  object-position: center;
  border-radius: 1.875rem;
  box-shadow: var(--shadow);
}

.check-list {
  margin: 28px 0;
  display: grid;
  gap: 12px;
}

.check-list div,
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(8, 44, 73, 0.07);
}

.check-list div::before,
.feature-card::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-inline-end: 10px;
  background: rgba(201, 0, 0, 0.1);
  color: var(--red);
  border-radius: 50%;
}

.text-link {
  color: var(--red);
  font-weight: 900;
  border-bottom: 2px solid var(--red);
}

.products-section,
.brands-section {
  background: var(--light);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.375rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 70px rgba(8, 44, 73, 0.2);
  border-color: rgba(6, 61, 99, 0.15);
}

.product-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 11rem;
  object-fit: cover;
  object-position: center;
  background: var(--light);
  padding: 0;
  transition: transform 0.65s var(--ease-out);
}

.product-card:hover > img {
  transform: scale(1.1);
}

.product-content {
  padding: 22px;
}

.product-content h3 {
  color: var(--blue);
  font-size: 19px;
  margin-bottom: 8px;
}

.product-content p {
  color: var(--muted);
  font-size: 15px;
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

.brand-box {
  aspect-ratio: 3 / 2;
  min-height: 6.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.375rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-box img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 2.5rem;
  object-fit: contain;
  object-position: center;
}

.brand-note {
  max-width: 920px;
  margin: 30px auto 0;
  background: #fff7f7;
  border: 1px solid rgba(201, 0, 0, 0.16);
  border-radius: 18px;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

.cta {
  background:
    linear-gradient(135deg, rgba(6, 61, 99, 0.96), rgba(8, 44, 73, 0.98)),
    url("../images/panels.jpg") center/cover;
  color: var(--white);
  padding: 72px 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem;
}

.cta-content span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.cta-content h2 {
  font-size: clamp(1.7rem, 7vw, 3rem);
  line-height: 1.25;
  margin: 0.5rem 0;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.btn-light {
  background: var(--white);
  color: var(--blue);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--blue);
}

.footer {
  background: #071824;
  color: var(--white);
  padding-top: 54px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.7rem;
  padding-bottom: 2.625rem;
}

.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: var(--white);
  padding: 8px;
  border-radius: 18px;
  margin-bottom: 18px;
}

.footer p,
.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.footer h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.66);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  bottom: 0.875rem;
  inset-inline-end: 0.875rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  background: #25d366;
  color: var(--white);
  font-weight: 900;
  padding: 0.8125rem 1.125rem;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35);
  animation: pulseGlow 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-spring);
}

.reveal {
  opacity: 0;
  transform: translateY(3.5rem) scale(0.92);
  transition:
    opacity 1s var(--ease-out),
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-left {
  transform: translateX(3rem) scale(0.94);
}

html[dir="rtl"] .reveal-left {
  transform: translateX(-3rem) scale(0.94);
}

.reveal-left.visible {
  transform: translateX(0) scale(1);
}

.reveal-right {
  transform: translateX(-3rem) scale(0.94);
}

html[dir="rtl"] .reveal-right {
  transform: translateX(3rem) scale(0.94);
}

.reveal-right.visible {
  transform: translateX(0) scale(1);
}

/* Ensure the settled (visible) state always wins over the RTL
   directional offsets — otherwise higher-specificity RTL rules keep
   the element shifted and it gets clipped by overflow-x: clip. */
html[dir="rtl"] .reveal-left.visible,
html[dir="rtl"] .reveal-right.visible,
html[dir="ltr"] .reveal-left.visible,
html[dir="ltr"] .reveal-right.visible {
  transform: translateX(0) scale(1);
}

/* About Page */
.lang-content {
  display: none;
}

html[lang="ar"] .lang-ar {
  display: block;
}

html[lang="en"] .lang-en {
  display: block;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding: clamp(4rem, 10vw, 5.75rem) 0;
  background:
    linear-gradient(135deg, rgba(6, 61, 99, 0.95), rgba(8, 44, 73, 0.96)),
    url("../images/lighting.jpg") center/cover;
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
  color: var(--white);
}

.inner-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  font-size: clamp(2rem, 10vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.inner-hero p {
  max-width: 47.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 4vw, 1.125rem);
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.about-page-image {
  overflow: hidden;
  border-radius: 1.875rem;
}

.about-page-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 13rem;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.875rem;
  padding: 0;
  box-shadow: var(--shadow);
}

.about-page-text h2,
.section-side-title h2,
.activity-box h2 {
  color: var(--blue);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  margin-bottom: 18px;
}

.about-page-text p,
.activity-box p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 14px;
}

.light-section-custom {
  background: var(--light);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.mission-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: rgba(201, 0, 0, 0.07);
  border-radius: 50%;
  inset-inline-end: -40px;
  top: -40px;
}

.mission-card span {
  display: inline-flex;
  color: var(--red);
  font-weight: 900;
  margin-bottom: 12px;
}

.mission-card h3 {
  color: var(--blue);
  font-size: 26px;
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--muted);
}

.two-column-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.goals-list .lang-content {
  display: none;
}

html[lang="ar"] .goals-list .lang-ar,
html[lang="en"] .goals-list .lang-en {
  display: grid;
  gap: 14px;
}

.goals-list div div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--blue);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(8, 44, 73, 0.07);
}

.goals-list div div::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-inline-end: 10px;
  background: rgba(201, 0, 0, 0.1);
  color: var(--red);
  border-radius: 50%;
}

.values-section {
  background: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.value-card:hover {
  transform: translateY(-6px);
}

.value-card h3 {
  color: var(--blue);
  font-size: 18px;
}

.activity-box {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96));
  border: 1px solid var(--border);
  border-radius: 1.875rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* Products Page */
.products-hero {
  background:
    linear-gradient(135deg, rgba(6, 61, 99, 0.95), rgba(8, 44, 73, 0.96)),
    url("../images/panels.jpg") center/cover;
}

.products-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.products-intro-text h2 {
  color: var(--blue);
  font-size: clamp(1.65rem, 7vw, 2.875rem);
  line-height: 1.28;
  margin-bottom: 1.125rem;
}

.products-intro-text p {
  color: var(--muted);
  font-size: clamp(0.95rem, 3.7vw, 1.0625rem);
}

.products-intro-image {
  overflow: hidden;
  border-radius: 1.875rem;
}

.products-intro-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 13rem;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1.875rem;
  padding: 0;
  box-shadow: var(--shadow);
}

.products-page-section,
.brands-page-section {
  background: var(--light);
}

.product-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.product-detail-card:hover {
  transform: translateY(-6px);
}

.product-detail-image {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 10.5rem;
  object-fit: cover;
  object-position: center;
  background: var(--light);
  padding: 0;
  transition: transform 0.65s var(--ease-out);
}

.product-detail-card .lang-content {
  padding: 1.625rem;
}

.product-detail-card h3 {
  color: var(--blue);
  font-size: clamp(1.125rem, 4vw, 1.3125rem);
  margin-bottom: 0.625rem;
}

.product-detail-card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: clamp(0.875rem, 3.5vw, 0.9375rem);
}

.product-detail-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.product-detail-card li {
  color: var(--text);
  font-weight: 700;
}

.product-detail-card li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
  background: rgba(201, 0, 0, 0.1);
  color: var(--red);
  border-radius: 50%;
  font-size: 13px;
}

.services-section {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  transition: 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  background: rgba(201, 0, 0, 0.07);
  border-radius: 50%;
  inset-inline-end: -42px;
  top: -42px;
}

.service-card span {
  color: var(--red);
  font-weight: 900;
  display: inline-flex;
  margin-bottom: 12px;
}

.service-card h3 {
  color: var(--blue);
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Contact Page */
.contact-hero {
  background:
    linear-gradient(135deg, rgba(6, 61, 99, 0.95), rgba(8, 44, 73, 0.96)),
    url("../images/lighting.jpg") center/cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info-side h2,
.contact-form-card h2,
.map-placeholder h2 {
  color: var(--blue);
  font-size: clamp(1.65rem, 7vw, 2.75rem);
  line-height: 1.28;
  margin-bottom: 0.75rem;
}

.contact-info-side p,
.contact-form-card p,
.map-placeholder p {
  color: var(--muted);
  font-size: clamp(0.95rem, 3.7vw, 1rem);
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(8, 44, 73, 0.07);
}

.contact-number {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(201, 0, 0, 0.1);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.contact-card h3 {
  color: var(--blue);
  margin-bottom: 2px;
  font-size: 18px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-weight: 700;
}

.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
  margin-top: 1.625rem;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--blue);
  font-weight: 900;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--border);
  background: var(--light);
  border-radius: 0.875rem;
  padding: 0.8125rem 0.875rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: 0.2s;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 61, 99, 0.08);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.map-section {
  background: var(--light);
}

.map-placeholder {
  min-height: 330px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.94)),
    url("../images/panels.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px;
  box-shadow: var(--shadow);
}

/* Policies Page */
.policies-hero {
  background:
    linear-gradient(135deg, rgba(6, 61, 99, 0.95), rgba(8, 44, 73, 0.96)),
    url("../images/panels.jpg") center/cover;
}

.policies-section {
  background: var(--light);
}

.policies-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.policies-sidebar {
  position: sticky;
  top: 120px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.policies-sidebar h3 {
  color: var(--blue);
  margin-bottom: 16px;
  font-size: 21px;
}

.policies-sidebar a {
  display: block;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: 0.2s;
}

.policies-sidebar a:last-child {
  border-bottom: 0;
}

.policies-sidebar a:hover {
  color: var(--red);
  padding-inline-start: 6px;
}

.policies-content {
  display: grid;
  gap: 18px;
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 14px 35px rgba(8, 44, 73, 0.08);
  scroll-margin-top: 130px;
}

.policy-card h2 {
  color: var(--blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin-bottom: 14px;
}

.policy-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 12px;
}

.policy-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.policy-card li {
  color: var(--text);
  font-weight: 700;
}

.policy-card li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
  background: rgba(201, 0, 0, 0.1);
  color: var(--red);
  border-radius: 50%;
  font-size: 13px;
}

/* Compact Policies Page */
.compact-policy-hero {
  padding: clamp(3rem, 10vw, 4.375rem) 0;
}

.compact-policies-section {
  padding: clamp(2.875rem, 9vw, 4rem) 0;
}

.policy-summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
  align-items: stretch;
}

.policy-summary-card {
  padding: 26px;
  height: 100%;
  transition: 0.25s ease;
}

.policy-summary-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 0, 0, 0.22);
}

.policy-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(201, 0, 0, 0.09);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.policy-summary-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.policy-summary-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.policy-contact-strip {
  margin-top: 1.625rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96)),
    url("../images/panels.jpg") center/cover;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 1.375rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.375rem;
}

.policy-contact-strip h3 {
  color: var(--blue);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 0.25rem;
}

.policy-contact-strip p {
  color: var(--muted);
}

.policy-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.compact-policy-cta {
  padding: clamp(2.5rem, 8vw, 3.25rem) 0;
}

/* Touch-friendly interactive targets (mobile base) */
.btn,
.lang-btn,
.menu-btn,
.header-cta,
.whatsapp-float,
.nav a,
.quick-actions .btn {
  min-width: 3rem;
  min-height: 3rem;
}

/* =====================================================
   Mobile-first breakpoints (min-width)
   ===================================================== */

@media (min-width: 768px) {
  .container {
    width: min(100% - 2rem, 73.75rem);
  }

  .btn,
  .cta-actions .btn,
  .quick-actions .btn,
  .policy-contact-actions .btn {
    width: auto;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-buttons .btn {
    width: auto;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero-card img {
    aspect-ratio: 16 / 11;
    min-height: 18rem;
  }

  .floating-card {
    display: block;
  }

  .about-grid,
  .why-grid,
  .about-page-grid,
  .products-intro-grid,
  .mission-grid,
  .two-column-section,
  .contact-layout {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid,
  .product-details-grid,
  .services-grid,
  .features-grid,
  .values-grid,
  .policy-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-group.full-width,
  .form-submit {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }

  .policy-contact-strip {
    flex-direction: row;
    align-items: center;
  }

  .policy-contact-actions {
    flex-direction: row;
    width: auto;
  }

  .activity-box {
    padding: 2.875rem;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.96)),
      url("../images/breaker.jpg") right bottom/16.25rem no-repeat;
  }

  .about-page-image img,
  .products-intro-image img,
  .about-media img {
    aspect-ratio: 16 / 10;
    min-height: 16rem;
  }
}

@media (min-width: 1024px) {
  .top-bar {
    display: block;
  }

  .header-content {
    min-height: 5.75rem;
    flex-wrap: nowrap;
  }

  .menu-btn {
    display: none;
  }

  .nav {
    position: static;
    inset-inline: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav a {
    min-height: 3rem;
    padding: 0.5rem 0;
    border-radius: 0;
    background: transparent;
  }

  .nav a:hover,
  .nav a.active {
    background: transparent;
  }

  .header-cta {
    display: inline-flex;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-details-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .policy-summary-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .policies-layout {
    grid-template-columns: 17.5rem 1fr;
  }

  .policies-sidebar {
    position: sticky;
    top: 7.5rem;
  }

  .cta-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-card img {
    aspect-ratio: 16 / 10;
    min-height: 22rem;
  }

  .about-page-image img {
    min-height: 20rem;
  }
}

/* =====================================================
   Motion, polish & global enhancements
   ===================================================== */

@keyframes patternDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 44px 44px, 44px 44px; }
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-14px) rotate(-1deg); }
  66% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes heroImpact {
  0% {
    opacity: 0;
    transform: translateY(4rem) scale(0.86);
    filter: blur(10px);
  }
  65% {
    opacity: 1;
    transform: translateY(-0.5rem) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes tagPop {
  0% { opacity: 0; transform: scale(0.6); }
  70% { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes statPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes sectionGlow {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 28px 70px rgba(201, 0, 0, 0.14); }
}

.hero-enter {
  animation: heroImpact 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-enter-delay {
  animation: heroImpact 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.eyebrow,
.section-tag {
  animation: tagPop 0.8s var(--ease-spring) 0.35s both;
}

.hero-stats div {
  animation: statPulse 4s ease-in-out infinite;
}

.hero-stats div:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-stats div:nth-child(3) {
  animation-delay: 1.2s;
}

.product-card.visible,
.feature-card.visible,
.service-card.visible,
.value-card.visible {
  animation: sectionGlow 4s ease-in-out infinite;
}

.card-one {
  animation: floatCard 4.5s ease-in-out infinite;
}

.card-two {
  animation: floatCard 4.5s ease-in-out 1.2s infinite;
}

@keyframes shimmerLine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 16px 45px rgba(37, 211, 102, 0.55); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.inner-hero .container > .lang-content {
  animation: heroImpact 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.inner-hero .container > .lang-en {
  animation-delay: 0.1s;
}

.hero {
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
}

.inner-hero {
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
}

.inner-pattern {
  animation: patternDrift 32s linear infinite;
}

.brand-box {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.brand-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(8, 44, 73, 0.12);
  border-color: rgba(6, 61, 99, 0.18);
}

.brand-box img {
  transition: transform 0.45s var(--ease-out);
}

.brand-box:hover img {
  transform: scale(1.05);
}

.about-media img,
.products-intro-image img,
.about-page-image img {
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.about-media:hover img,
.products-intro-image:hover img,
.about-page-image:hover img {
  transform: scale(1.02);
}

.product-detail-image {
  overflow: hidden;
}

.product-detail-image img {
  transition: transform 0.55s var(--ease-out);
}

.product-detail-card:hover .product-detail-image img {
  transform: scale(1.14);
}

.feature-card,
.value-card,
.mission-card,
.service-card,
.contact-card,
.policy-summary-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(201, 0, 0, 0.28);
}

.whatsapp-float {
  animation: pulseGlow 3s ease-in-out infinite;
  transition: transform 0.3s var(--ease-spring);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.section-tag,
.eyebrow {
  letter-spacing: 0.02em;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmerLine 8s linear infinite;
  pointer-events: none;
}

.map-placeholder {
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.map-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8, 44, 73, 0.14);
}

.hero-stats div {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.hero-stats div:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(8, 44, 73, 0.12);
}

.hero-enter,
.hero-enter-delay {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-card img {
    animation: none;
  }
}