/* ========================= */
/* ROOT — Harmonized Color Palette */
/* ========================= */
:root {
  --primary: #c8102e;
  --primary-dark: #9b0d23;
  --primary-light: #e8354d;
  --accent: #1b2a4a;
  --accent-light: #2d4373;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --bg-body: #f7f8fc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #0f1b2d;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 8px 24px rgba(200, 16, 46, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --section-padding: 80px;
  --header-height: 72px;
  --header-side-gap: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

/* ========================= */
/* CUSTOM SCROLLBAR */
/* ========================= */
/* For Chrome, Safari, and Edge */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 10px;
  border: 2px solid var(--bg-dark);
  transition: background var(--transition);
}

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

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #334155 var(--bg-dark);
}

/* ========================= */
/* GLOBAL */
/* ========================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
input,
textarea,
button,
select,
optgroup {
  font-family: inherit;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Cairo", sans-serif;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ========================= */
/* HERO LAYOUT */
/* ========================= */
.layout {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.background-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.background-slideshow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 27, 45, 0.75),
    rgba(27, 42, 74, 0.6)
  );
  z-index: 2;
}
.background-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
  z-index: 1;
}
.background-slideshow .slide.active {
  opacity: 1;
}

/* ========================= */
/* HEADER */
/* ========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 27, 45, 0.2);
  backdrop-filter: blur(12px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
header.scrolled {
  background: rgba(15, 27, 45, 0.95);
  box-shadow: var(--shadow-md);
}
.layout,
main {
  padding-top: calc(var(--header-height) + 10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 var(--header-side-gap);
  color: #fff;
}
.nav__logo {
  flex-shrink: 0;
  order: 1;
  display: flex;
  align-items: center;
}
.header-right-img {
  width: 85px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.nav__menu {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
  align-items: center;
  order: 2;
}
.nav__menu a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav__menu a:hover {
  color: #fff;
}
.nav__menu a:hover::after {
  transform: scaleX(1);
}

/* Language Switcher */
.language-switcher {
  order: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition);
}
.language-switcher:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.language-icon {
  font-size: 1.2rem;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  order: 0;
  z-index: 30;
}
.nav-toggle__bar {
  display: block;
  height: 2.5px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav__menu-lang-item {
  display: none;
}

/* Mobile menu open */
.nav.mobile-open .nav__menu {
  display: flex !important;
  position: fixed;
  top: var(--header-height);
  inset-inline: 0;
  background: rgba(15, 27, 45, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 32px 24px;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  animation: slideDown 0.25s ease;
  flex: none !important;
  justify-content: flex-start;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav.mobile-open .nav__menu a {
  font-size: 1.15rem;
  padding: 12px 0;
  width: 100%;
  text-align: center;
}
.nav.mobile-open .nav__menu-lang-item {
  display: none !important;
}
.language-switcher--mobile {
  display: flex !important;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 120px) 24px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 16, 46, 0.15);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(200, 16, 46, 0.3);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero__title {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ========================= */
/* BUTTONS — Professional Interactions */
/* ========================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-red);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(200, 16, 46, 0.5);
  background: var(--primary-light);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary:active {
  transform: translateY(2px) scale(0.95);
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.3);
  background: var(--primary-dark);
  border-color: transparent;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.btn-secondary:active {
  transform: translateY(0);
}

/* ========================= */
/* MAIN CONTENT */
/* ========================= */
main {
  background: var(--bg-body);
  z-index: 5;
  position: relative;
}
section {
  padding: var(--section-padding) 24px;
  position: relative;
}

/* ========================= */
/* SECTION TITLES */
/* ========================= */
.section__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.section__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.section__subtitle {
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* ========================= */
/* ABOUT */
/* ========================= */
#about {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #f1f6fb 100%);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}
#about .section__title {
  color: var(--primary-dark);
  position: relative;
  margin-bottom: 20px;
}
#about .section__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 2px;
}

/* Feature Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
  justify-items: center; /* Center cards in grid */
}
.feature-card {
  background: var(--bg-card);
  border-radius: 12px; /* From Blue Wave */
  padding: 40px 28px; /* From Blue Wave */
  width: 100%;
  max-width: 280px; /* From Blue Wave */
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.feature-card__icon {
  width: 60px;
  height: 60px; /* From Blue Wave */
  background: rgba(200, 16, 46, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}
.feature-card:hover h3,
.feature-card:hover p {
  color: #fff;
}
.feature-card:hover .feature-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: color var(--transition);
}

/* Highlight */
.feature-card--highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
}
.feature-card--highlight h3,
.feature-card--highlight p {
  color: #fff;
}
.feature-card--highlight .feature-card__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.feature-card--highlight:hover {
  box-shadow: 0 12px 36px rgba(200, 16, 46, 0.3);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  justify-items: center;
}
.stats__item {
  background: var(--bg-card);
  padding: 32px 24px; /* From Blue Wave */
  border-radius: 16px; /* From Blue Wave */
  width: 100%;
  max-width: 250px; /* From Blue Wave */
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.stats__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.stats__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stats__item strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.stats__item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* App Section Duplicate Removed */
.map-section {
  background: var(--bg-body);
  padding: 80px 24px;
}
.map-section__header {
  text-align: center;
  margin-bottom: 48px;
}
.map-section__header .section__title {
  color: var(--primary-dark);
}
.map-section__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-section__info {
  background: var(--accent);
  color: #fff;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}
.map-section__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.map-section__info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(200, 16, 46, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  transition: all var(--transition);
}
.map-section__info-card:hover .map-section__info-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}
.map-section__info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.map-section__info-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.map-section__info-card a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}
.map-section__info-card a:hover {
  color: var(--primary-light);
}
.map-section__map {
  min-height: 420px;
  background: #e0e7f0;
}
.map-section__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 420px;
}

/* ========================= */
/* APP SECTION */
/* ========================= */
.app-section {
  /* Matching Blue Wave Gradient but with Red/Dark theme */
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2b050a 100%);
  padding: 140px 24px;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.app-section__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-section__content {
  color: #fff;
  text-align: center; /* Center alignment */
}

.app-section__title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff; /* Keeping white for contrast */
  margin-bottom: 24px;
  line-height: 1.2;
}

.app-section__description {
  font-size: 1.1rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto; /* Center the block */
}

/* Button style matching Blue Wave (Outline style) */
.app-section__button {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--primary);
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.app-section__button:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.4);
}

/* Images Layout - Matching Blue Wave EXACTLY */
.app-section__images {
  position: relative;
  height: 600px;
}

.app-section__image-main {
  position: absolute;
  top: 0;
  right: 0; /* Align right */
  width: 70%;
  height: 80%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s ease;
  cursor: pointer;
}

.app-section__image-main:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(200, 16, 46, 0.3); /* Red glow */
}

.app-section__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-section__image-main:hover img {
  transform: scale(1.1);
}

.app-section__image-secondary {
  position: absolute;
  bottom: 0;
  left: 0; /* Align left */
  width: 50%;
  height: 60%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  z-index: 1;
  transition:
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s ease;
  cursor: pointer;
}

.app-section__image-secondary:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 60px rgba(200, 16, 46, 0.25); /* Red glow */
}

.app-section__image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-section__image-secondary:hover img {
  transform: scale(1.15);
}

@media (max-width: 968px) {
  .app-section__container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .app-section__content {
    text-align: center;
    margin-bottom: 40px;
  }

  .app-section__description {
    margin-right: auto;
    margin-left: auto;
  }

  .app-section__images {
    height: 500px;
  }

  .app-section {
    min-height: auto;
    padding: 100px 24px;
  }
}

@media (max-width: 768px) {
  .app-section {
    padding: 60px 24px;
  }

  .app-section__title {
    font-size: 1.8rem;
  }

  .app-section__images {
    height: 400px;
  }
}

/* ========================= */
/* WHY CHOOSE US */
/* ========================= */
.why-choose-us {
  background: var(--bg-white);
  padding: 100px 24px;
}
.why-choose-us__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-choose-us__images {
  position: relative;
  height: 480px;
}
.why-choose-us__image-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  transition: transform var(--transition);
}
.why-choose-us__image-top:hover {
  transform: translateY(-6px);
}
.why-choose-us__image-top img,
.why-choose-us__image-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-choose-us__image-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  transition: transform var(--transition);
}
.why-choose-us__image-bottom:hover {
  transform: translateY(-6px);
}
.why-choose-us__content {
  text-align: start;
}
.why-choose-us__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.why-choose-us__description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.why-choose-us__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.why-choose-us__feature-box {
  background: var(--bg-body);
  padding: 22px;
  border-radius: var(--radius-md);
  text-align: start;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.why-choose-us__feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  background: var(--bg-white);
  border-color: rgba(200, 16, 46, 0.1);
}
.why-choose-us__feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.why-choose-us__feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================= */
/* PRODUCTS */
/* ========================= */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}
.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(200, 16, 46, 0.15);
}
.product-card__media {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card__media img {
  transform: scale(1.1);
}

/* Card Overlay on Hover */
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(200, 16, 46, 0.9),
    rgba(200, 16, 46, 0.4)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}
.product-card:hover .product-card__overlay {
  opacity: 1;
}
.product-card__overlay-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(20px);
  transition: all 0.4s 0.1s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.product-card:hover .product-card__overlay-icon {
  transform: translateY(0);
}
.product-card__overlay span {
  color: #fff;
  font-weight: 700;
  margin-top: 12px;
  transform: translateY(20px);
  transition: all 0.4s 0.15s ease;
}
.product-card:hover .product-card__overlay span {
  transform: translateY(0);
}

.product-card__details {
  padding: 24px;
  text-align: center;
  background: #fff;
  position: relative;
  z-index: 2;
}
.product-card__details h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.product-card:hover .product-card__details h3 {
  color: var(--primary);
}
.product-card__details p {
  display: none;
}
.product-card__details .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  display: block;
  margin-top: 4px;
}

/* ========================= */
/* TESTIMONIAL */
/* ========================= */
.testimonial {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(200, 16, 46, 0.2);
  max-width: 880px;
  margin: 0 auto;
}
.testimonial p {
  font-size: 1.15rem;
  line-height: 1.9;
  font-style: italic;
}
.testimonial__author {
  margin-top: 20px;
  font-weight: 700;
  opacity: 0.9;
}

/* ========================= */
/* CONTACT */
/* ========================= */
.contact {
  background: var(--bg-white);
  padding: 80px 24px;
}
.contact .section__title {
  color: var(--text-primary);
}
.contact-modern {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}
.contact-modern__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  min-height: 460px;
}
.contact-modern__image {
  display: block;
  width: 100%;
  height: 100%;
  background: url("https://images.pexels.com/photos/4964961/pexels-photo-4964961.jpeg")
    center/cover no-repeat;
  transition: transform 0.5s ease;
}
.contact-modern__visual:hover .contact-modern__image {
  transform: scale(1.05);
}

/* Loader for contact image */
.contact-loader {
  z-index: 5;
  border-radius: inherit;
}
.contact-modern__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-card);
  padding: 44px 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.contact-modern__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-modern__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-modern__form-group--full {
  grid-column: 1 / -1;
}
.contact-modern__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: start;
}
.contact-modern__input,
.contact-modern__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--bg-body);
  text-align: start;
}
.contact-modern__input:focus,
.contact-modern__textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}
.contact-modern__textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-modern__submit {
  padding: 15px 36px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: var(--shadow-red);
  align-self: flex-end;
}
.contact-modern__submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 16, 46, 0.3);
}
.contact-modern__submit:active {
  transform: translateY(0);
}

/* ========================= */
/* FOOTER — Premium Dark Style */
/* ========================= */
.footer {
  background: #0b1120;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px 60px;
}
.footer__col {
  display: flex;
  flex-direction: column;
}
.footer__brand-logo {
  width: 90px;
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}
.footer__brand-desc {
  font-size: 0.92rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.footer__col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}
.footer__col-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  inset-inline-start: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.footer__list li {
  margin-bottom: 10px;
}
.footer__list a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  transition: all var(--transition);
}
.footer__list a:hover {
  color: #fff;
  transform: translateX(calc(var(--dir-factor, 1) * 5px));
}
.footer__list a:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

/* Newsletter */
.footer__newsletter {
  display: flex;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}
.footer__newsletter:focus-within {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.1);
}
.footer__newsletter-input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  text-align: start;
}
.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.footer__newsletter-input:focus {
  outline: none;
}
.footer__newsletter-btn {
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer__newsletter-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.02);
}
.footer__follow-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.footer__socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer__social {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__social:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(200, 16, 46, 0.25);
  border-color: transparent;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
  background: rgba(0, 0, 0, 0.2);
}
.footer__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copyright {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer__payment {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer__payment-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.footer__payment-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__payment-item {
  width: 52px;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}
.footer__payment-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  color: #fff;
}
.footer__payment-item svg {
  width: 34px;
  height: auto;
}

/* ========================= */
/* CINEMATIC GALLERY */
/* ========================= */
.cine-gallery {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cine-gallery.open {
  opacity: 1;
  pointer-events: auto;
}

/* Dark backdrop */
.cine-gallery__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Close */
.cine-gallery__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cine-gallery__close:hover {
  background: var(--primary);
  color: #fff;
  transform: rotate(90deg) scale(1.1);
}

/* Nav arrows — floating on sides */
.cine-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 20;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-50%);
}
.cine-gallery__nav:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 28px rgba(200, 16, 46, 0.4);
}
.cine-gallery__nav--prev {
  left: 24px;
}
.cine-gallery__nav--next {
  right: 24px;
}

/* Stage — image center-stage */
.cine-gallery__stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px 200px;
}
.cine-gallery__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  animation: cineImgIn 0.4s ease;
}
.cine-gallery__img.fade-out {
  opacity: 0;
  transform: scale(0.96);
}
@keyframes cineImgIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Counter badge — top left */
.cine-gallery__counter {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  letter-spacing: 1px;
}

/* Bottom bar — glass panel */
.cine-gallery__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 60%, transparent);
  padding: 24px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Thumbnails */
.cine-gallery__thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 20px;
}
.cine-gallery__thumbs::-webkit-scrollbar {
  display: none;
}
.cine-gallery__thumb {
  width: 72px;
  height: 50px;
  min-width: 72px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.45;
  position: relative;
}
.cine-gallery__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}
.cine-gallery__thumb.active {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(200, 16, 46, 0.4);
}
.cine-gallery__thumb.active::after {
  background: transparent;
}
.cine-gallery__thumb:hover {
  opacity: 0.8;
}
.cine-gallery__thumb:hover::after {
  background: rgba(0, 0, 0, 0.1);
}
.cine-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info card */
.cine-gallery__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 28px;
}
.cine-gallery__info-text {
  flex: 1;
  min-width: 0;
}
.cine-gallery__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cine-gallery__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cine-gallery__info-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cine-gallery__price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-light);
  white-space: nowrap;
}
.cine-gallery__cta {
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(200, 16, 46, 0.3);
}
.cine-gallery__cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 16, 46, 0.45);
}

/* Mobile */
@media (max-width: 768px) {
  .cine-gallery__stage {
    padding: 70px 16px 260px;
  }
  .cine-gallery__nav {
    width: 40px;
    height: 40px;
  }
  .cine-gallery__nav--prev {
    left: 8px;
  }
  .cine-gallery__nav--next {
    right: 8px;
  }
  .cine-gallery__nav svg {
    width: 20px;
    height: 20px;
  }
  .cine-gallery__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .cine-gallery__bottom {
    padding: 16px 16px 20px;
  }
  .cine-gallery__thumb {
    width: 56px;
    height: 40px;
    min-width: 56px;
  }
  .cine-gallery__info {
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
    text-align: center;
  }
  .cine-gallery__info-actions {
    justify-content: center;
  }
  .cine-gallery__title {
    font-size: 1.05rem;
  }
  .cine-gallery__price {
    font-size: 1.1rem;
  }
  .cine-gallery__counter {
    top: 14px;
    left: 14px;
    font-size: 0.78rem;
    padding: 6px 14px;
  }
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (min-width: 981px) {
  .nav-toggle {
    display: none !important;
  }
  .nav__menu {
    display: flex !important;
  }
  .language-switcher {
    display: flex !important;
  }
}

@media (max-width: 980px) {
  :root {
    --section-padding: 60px;
    --header-side-gap: 24px;
  }
  .nav {
    padding: 0 20px;
    justify-content: flex-start;
  }
  .nav-toggle {
    display: block !important;
    order: 3;
    margin: 0;
    margin-inline-start: 12px;
  }
  .nav__menu {
    display: none !important;
  }

  .language-switcher {
    display: flex !important;
    order: 2;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    margin-inline-start: auto;
  }
  .language-switcher .language-text {
    display: none;
  }
  .nav__logo {
    order: 1;
  }

  .map-section__container {
    grid-template-columns: 1fr;
  }
  .map-section__info {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .map-section__map {
    min-height: 350px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  .app-section__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-section__title {
    font-size: 2.2rem;
  }
  .app-section__images {
    height: 400px;
  }
  .why-choose-us__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .why-choose-us__images {
    height: 380px;
    order: 2;
  }
  .why-choose-us__content {
    order: 1;
    text-align: center;
  }
  .why-choose-us__description {
    margin: 0 auto 32px;
  }
  .why-choose-us__features {
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-modern {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-modern__form-row {
    grid-template-columns: 1fr;
  }
  .contact-modern__submit {
    align-self: stretch;
  }
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    padding: 60px 24px 40px;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .footer__payment {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }
  .nav {
    padding: 0 16px;
  }
  .header-right-img {
    width: 55px;
  }
  .product-card__overlay {
    display: none;
  }
  .app-section {
    padding: 80px 24px;
  }
  .app-section__title {
    font-size: 1.8rem;
  }
  .app-section__images {
    height: 340px;
  }
  .why-choose-us__images {
    height: 320px;
  }
  .why-choose-us__features {
    grid-template-columns: 1fr;
  }
  .footer__main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px 30px;
    text-align: center;
  }
  .footer__col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  html[dir="ltr"] .footer__col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer__newsletter {
    max-width: 400px;
    margin: 0 auto 24px;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__list a {
    justify-content: center;
  }
  .footer__bottom {
    padding: 24px;
  }
  .contact-modern__image {
    min-height: 250px;
  }
  .contact-modern__form {
    padding: 30px 20px;
  }
  .feature-card {
    padding: 30px 20px;
  }
  .stats__item {
    padding: 24px 16px;
  }
}

@media (max-width: 500px) {
  .hero {
    padding: calc(var(--header-height) + 60px) 16px 40px;
  }
  .hero__title {
    font-size: 1.6rem;
  }
  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-card__media {
    height: 220px;
  }
  .section__title {
    font-size: 1.8rem;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .app-section__title {
    font-size: 1.5rem;
  }
  .app-section__images {
    height: 280px;
  }
  .why-choose-us__title {
    font-size: 1.8rem;
  }
}

/* ========================= */
/* LTR */
/* ========================= */
@media (min-width: 981px) {
  html[dir="ltr"] .nav__menu {
    order: 2;
  }
  html[dir="ltr"] .language-switcher {
    order: 3;
    margin-left: auto;
    margin-right: 0;
  }
  html[dir="ltr"] .nav__logo {
    order: 1;
  }
}
@media (max-width: 980px) {
  /* Removed conflicting margin overrides */
}
html[dir="ltr"] .why-choose-us__content {
  text-align: left;
}
html[dir="ltr"] .why-choose-us__feature-box {
  text-align: left;
}
html[dir="ltr"] .product-card__details {
  text-align: left;
}
html[dir="ltr"] .contact-modern__label,
html[dir="ltr"] .contact-modern__input,
html[dir="ltr"] .contact-modern__textarea {
  text-align: left;
  direction: ltr;
}

html[dir="ltr"] .footer__list a:hover {
  transform: translateX(5px);
}
html[dir="ltr"] .footer__newsletter-input {
  text-align: left;
  direction: ltr;
}
html[dir="ltr"] {
  --dir-factor: 1;
}
html[dir="rtl"] {
  --dir-factor: -1;
}

/* ========================= */
/* BACKGROUND LOADER & FALLBACK */
/* ========================= */
.background-loader {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  z-index: 3; /* Behind text (z-10), over overlay (z-2) */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-in-out;
  overflow: hidden;
}

.background-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Premium Pulse Effect (Skeleton Shimmer) */
.loader-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--bg-dark) 8%,
    #1a2639 18%,
    var(--bg-dark) 33%
  );
  background-size: 200% 100%;
  animation: shine 1.5s linear infinite;
}

@keyframes shine {
  to {
    background-position-x: -200%;
  }
}

/* Network Error Fallback State */
.background-loader.error-state {
  background: #0f1b2d; /* Solid dark */
  opacity: 1 !important; /* Keep visible if error */
  z-index: 2; /* Move behind text */
  flex-direction: column;
  gap: 16px;
}
.background-loader.error-state .loader-pulse {
  display: none;
}

.error-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.4);
}
.error-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* ========================= */
/* FLOATING CONTACT BUTTONS */
/* ========================= */
.floating-contact {
  position: fixed;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 1000;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr !important; /* Force to stay fixed in physical space */
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: auto;
  position: relative;
}

.float-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.float-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.float-btn--whatsapp {
  background: #25d366;
  order: 2; /* Always on the right side */
}

.float-btn--whatsapp:hover {
  background: #20ba5a;
}

.float-btn--phone {
  background: var(--primary);
  order: 1; /* Always on the left side */
}

.float-btn--phone:hover {
  background: var(--primary-light);
}

/* Pulse animation for WhatsApp */
.float-btn--whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  z-index: -1;
  animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .floating-contact {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .float-btn {
    width: 54px;
    height: 54px;
  }
}
