:root {
  --primary-color: #4a2e22;
  --secondary-color: #c8704f;
  --gold-light: #e8b873;
  --cream: #faf6ee;
  --section-color: #f2e6d6;
  --text: #2e1f18;
  --border-color: #e3d2bd;
  --white: #ffffff;
  --text-light: #636363;
  --bg-light: #f7f7f7;
  --main-transition: 0.3s;
  --text-dark: #1a1a1a;
  --text-soft: #999;
  --radius: 20px;
  --dark-navy: #1a2744;
  --gold: #e2b73f;
  --gray: #6b7280;
  --transition: 0.75s cubic-bezier(0.34, 1.15, 0.64, 1);
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
::selection {
  background-color: var(--primary-color);
  color: var(--cream);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--primary-color);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
}
body {
  background-color: var(--cream);
  direction: rtl;
  text-align: right;
  font-family: "Tajawal", Arial, sans-serif;
  overflow-x: hidden;
  caret-color: var(--primary-color);
  min-height: 100vh;
}
h1 {
  font-family: "El Messiri", sans-serif;
  font-family: "Cairo", sans-serif;
}
input:focus {
  box-shadow: none !important;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
}
.spikes {
  position: relative;
}
.spikes::before {
  content: "";
  position: absolute;
  right: 0px;
  left: 0px;
  top: 0px;
  display: block;
  height: 80px;
  background-size: 32px 100%;
  background-image:
    linear-gradient(225deg, var(--primary-color) 25%, transparent 25%),
    linear-gradient(135deg, var(--primary-color) 25%, transparent 25%);
  background-position: 0px 0px;
  z-index: 1;
}
.navbar {
  --bs-navbar-padding-y: 0;
  padding-bottom: 0.5rem;
  background-color: var(--cream);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}
.logo-box {
  margin-top: -1.25rem;
}
.navbar-brand img {
  display: block;
  height: 65px;
  width: auto;
  margin: auto;
}
.nav-link {
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  transition: var(--main-transition);
  position: relative;
}
.nav-item a:hover {
  color: var(--primary-color) !important;
}

.nav-link::before {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 2px;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  transition: var(--main-transition);
}
.nav-link:hover::before {
  width: calc(100% - 16px);
}

.nav-link.active {
  color: var(--primary-color) !important;
}
.nav-link.active::before {
  content: "";
  position: absolute;
  display: block;
  width: calc(100% - 16px);
  height: 2px;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
}
@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
  }
  .navbar .nav-link {
    margin-bottom: 0.5rem;
  }
  .nav-link.active::before {
    width: 100%;
  }
}
.navbar-nav .has-mega-menu {
  position: static;
}
.mega-menu {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: absolute;
  background-color: var(--cream);
  width: 90%;
  top: 100%;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  padding: 30px;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
@media (min-width: 992px) and (max-width: 1200.98px) {
  .mega-menu {
    gap: 18px;
  }
}
@media (min-width: 1200px) and (max-width: 1400.98px) {
  .mega-menu {
    gap: 20px;
  }
}
@media (max-width: 767.98px) {
  .mega-menu {
    padding: 5px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
}

.mega-menu img {
  display: block;
  width: 30%;
  margin: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 1200.98px) {
  .mega-menu img {
    max-width: 28%;
  }
}
@media (min-width: 992px) and (max-width: 1200.98px) {
  .mega-menu img {
    display: none;
  }
}
.mega-menu .links {
  min-width: 220px;
  flex: 1;
  padding-right: 0;
}

.mega-menu .links > li {
  padding: 12px 15px;
  position: relative;
  font-size: 16px;
}
@media (min-width: 992px) and (max-width: 1200.98px) {
  .mega-menu .links > li {
    font-size: 14px;
    padding: 10px 12px;
  }
}
@media (min-width: 1200px) and (max-width: 1400.98px) {
  .mega-menu .links > li {
    font-size: 14px;
    padding: 11px 13px;
  }
}
@media (max-width: 991.98px) {
  .mega-menu img {
    display: none;
  }

  .mega-menu .links > li {
    font-size: 14px;
  }
}

.mega-menu .links > li::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  z-index: -1;
  background-color: var(--light-gray);
  transition: var(--main-transition);
}

.mega-menu .links > li:hover::before {
  width: 100%;
}

.mega-menu .links > li:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.mega-menu .links > li a {
  color: var(--primary-color);
  display: block;
  width: 100%;
  font-weight: 600;
  transition: var(--main-transition);
}

.mega-menu .links > li:hover a,
.mega-menu .links > li a:hover {
  color: var(--secondary-color) !important;
}

@media (max-width: 767.98px) {
  .mega-menu .links:not(:last-of-type) > li:last-child {
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 991.98px) {
  .has-mega-menu .mega-menu {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    margin-top: 1rem;
    padding: 1rem;
  }

  .has-mega-menu .mega-menu.show {
    display: flex !important;
  }

  .has-mega-menu .nav-link i {
    transition: transform 0.3s ease;
  }

  .has-mega-menu .nav-link[aria-expanded="true"] i {
    transform: rotate(180deg);
  }
}

@media (max-width: 991.98px) {
  .has-mega-menu .mega-menu {
    transition: all 0.3s ease;
  }

  .has-mega-menu.open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    pointer-events: none;
  }

  .has-mega-menu.open .mega-menu {
    position: relative;
    z-index: 100;
  }
}

.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transition: var(--main-transition);
  font-weight: 600;
  color: var(--cream) !important;
  min-height: 44px;
  min-width: 44px;
  transition: var(--main-transition);
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  display: inline-flex;
}
@media (max-width: 991.98px) {
  .btn-primary {
    display: block;
    margin-bottom: 16px;
  }
}
.btn-primary:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  opacity: 0.8;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  font-size: 1.25rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: var(--cream);
  transition: var(--main-transition);
  border-radius: 50%;
  box-shadow:
    0px 4px 14px 1px rgb(0 0 0 / 13%),
    1px 4px 4px 0px rgb(0 0 0 / 12%);
  z-index: 10000;
}
.contact a {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.contact:hover {
  background-color: var(--secondary-color) !important;
  color: var(--cream);
  border: 1px solid var(--secondary-color);
  box-shadow:
    0px 4px 14px 1px rgb(0 0 0 / 13%),
    1px 4px 4px 0px rgb(0 0 0 / 12%);
}
.whatsapp {
  bottom: 1.5rem;
  font-size: 1.75rem;
}
.phone {
  bottom: 5rem;
}

@media (max-width: 767.98px) {
  .contact {
    left: 1rem;
  }
}
.arrow-up {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: var(--cream);
  transition: var(--main-transition);
  border-radius: 50%;
  box-shadow: 2px 2px 4px 0 #49716b5c;
  z-index: 10000;
}
.arrow-up a {
  color: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow-up:hover {
  background-color: var(--secondary-color) !important;
  color: var(--cream);
  border: 1px solid var(--secondary-color);
  box-shadow: 2px 2px 4px 0 #49716b5c;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: fit-content;
  background: var(--cream); /* light cream background */
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.hero-split::before {
  display: none;
} /* remove old texture overlay */

/* ── Text Panel (RIGHT side in RTL — natural grid flow) ── */
.hero-text-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color); /* solid navy pill */
  color: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 1.75rem;
  animation: fadeSlideIn 0.7s ease both;
}

.hero-eyebrow i {
  color: var(--secondary-color);
}

.hero-heading {
  font-family: "El Messiri", "Cairo", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--primary-color); /* dark navy first line */
  line-height: 1.2;
  margin-bottom: 0;
  animation: fadeSlideIn 0.7s 0.12s ease both;
}

.hero-heading em {
  font-style: normal;
  color: var(--secondary-color); /* gold second line */
  display: block;
}

/* gold accent underline bar */
.hero-heading::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: var(--text-light); /* muted gray body text */
  font-size: 1.125rem;
  line-height: 1.9;
  font-weight: 500;
  max-width: 460px;
  margin-bottom: 2rem;
  animation: fadeSlideIn 0.7s 0.22s ease both;
}

/* CTA row — buttons come BEFORE stats per screenshot */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: fadeSlideIn 0.7s 0.32s ease both;
}

/* Primary button — navy filled */
.hero-actions .hero-btn {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--cream) !important;
  border-radius: 8px;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(24, 41, 89, 0.2);
  margin: 0;
}

.hero-actions .hero-btn:hover {
  background-color: var(--gold-light) !important;
  border-color: var(--border-color) !important;
  color: var(--primary-color) !important;
}

/* Secondary button — navy outlined */
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.4rem;
  border: 1.5px solid var(--primary-color);
  border-radius: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--main-transition);
  opacity: 1;
}

.hero-link:hover {
  background-color: var(--primary-color);
  color: var(--cream);
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: fadeSlideIn 0.7s 0.42s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: "Cairo", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color); /* dark navy numbers */
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-light); /* muted labels */
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
  flex-shrink: 0;
}

.hero-visual-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--cream);
}

/* remove the divider line pseudo */
.hero-visual-panel::before {
  display: none;
}

.hero-orbit-wrap {
  position: relative;
  width: 400px;
  height: 480px;
  max-width: 90%;
}

/* Dark navy rounded card background behind image */
.hero-img-ring {
  position: absolute;
  inset: 50px 30px;
  border-radius: 24px; /* rounded rectangle, not circle */
  overflow: hidden;
  background: var(--dark-navy);
  border: none;
  box-shadow: 0 24px 64px rgba(24, 41, 89, 0.25);
  animation: heroImgIn 0.9s 0.3s cubic-bezier(0.34, 1.15, 0.64, 1) both;
}

@media (min-width: 767px) and (max-width: 991.98px) {
  .hero-img-ring {
    inset: 36px -118px;
  }
}

@media (max-width: 767.98px) {
  .hero-img-ring {
    inset: 24px -70px;
  }
}
.hero-center-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition:
    transform 6s ease,
    opacity 0.3s;
}

.hero-orbit-wrap:hover .hero-center-img {
  transform: scale(1.05);
  opacity: 1;
}

/* Remove spinning deco ring */
.hero-deco-ring {
  display: none;
}

/* Floating label chips — white cards with shadow */
.hero-float {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffffd1;
  border: none;
  border-radius: 14px;
  padding: 0.65rem 1rem;
  white-space: nowrap;
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  min-width: 120px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-float span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text);
  margin-top: 2px;
}

/* icon row inside chip */
.hero-float i {
  color: var(--primary-color);
  font-size: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 6px;
}

/* chip positions — spread around the card */
.hero-float--top-right {
  top: 2%;
  left: -9%;
  animation: floatA 4s ease-in-out infinite;
}
.hero-float--top-left {
  top: 5%;
  right: -18%;
  animation: floatB 4.5s ease-in-out infinite;
}
.hero-float--bottom-right {
  bottom: 2%;
  left: -12%;
  animation: floatA 5s ease-in-out infinite 0.5s;
}
.hero-float--bottom-left {
  bottom: 5%;
  right: -18%;
  animation: floatB 3.8s ease-in-out infinite 1s;
}
.hero-float--mid-left {
  top: 45%;
  left: -15%;
  animation: floatA 4.2s ease-in-out infinite 0.8s;
}
@media (min-width: 767px) and (max-width: 991.98px) {
  .hero-float--top-left {
    top: -3%;
    right: -65%;
  }
  .hero-float--top-right {
    left: -67%;
  }

  .hero-float--mid-left {
    left: -70%;
  }

  .hero-float--bottom-left {
    bottom: -3%;
    right: -40%;
  }
  .hero-float--bottom-right {
    bottom: -9%;
  }
}
@media (max-width: 767.98px) {
  .hero-float--top-left {
    top: -10%;
    right: -35%;
  }
  .hero-float--top-right {
    top: -8%;
    left: -37%;
  }

  .hero-float--mid-left {
    left: -40%;
  }

  .hero-float--bottom-left {
    bottom: -12%;
    right: -40%;
  }
  .hero-float--bottom-right {
    bottom: -15%;
  }
}
.hero-float > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-float strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.hero-float span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
}

/* ── Animations ── */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImgIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-text-panel {
    padding: 4rem 2rem 2.5rem;
    text-align: center;
    align-items: center;
  }
  .hero-heading::after {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual-panel {
    padding: 2rem 2rem 4rem;
  }
  .hero-orbit-wrap {
    width: 300px;
    height: 360px;
  }
}

@media (max-width: 575.98px) {
  .hero-text-panel {
    padding: 3rem 1.25rem;
  }
  .hero-orbit-wrap {
    width: 240px;
    height: 290px;
  }
  .hero-float {
    font-size: 0.72rem;
    padding: 0.5rem 0.75rem;
    min-width: 100px;
  }
  .hero-stats {
    gap: 1rem;
  }
  .hero-stat-num {
    font-size: 1.4rem;
  }
}
@media (max-width: 575.98px) {
  .hero-float--top-right {
    left: -30%;
  }
  .hero-float--mid-left {
    left: -30%;
  }
  .hero-float--bottom-left {
    right: -30%;
  }
  .hero-float--top-left {
    right: -31%;
  }
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 1.5rem auto;
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transition: var(--main-transition);
  color: var(--primary-color);
  border-radius: 25px;
  box-shadow:
    1px 4px 4px 0px rgb(0 0 0 / 12%),
    0px 4px 14px 1px rgb(0 0 0 / 13%);
}
@media (max-width: 991.98px) {
  .hero-btn {
    font-size: 1rem;
  }
}
@media (max-width: 767.98px) {
  .hero-btn {
    font-size: 0.875rem;
    margin: 1rem auto;
  }
}
.hero-btn .svg-inline--fa {
  margin-right: 0.25rem;
  animation: bouncing-arrow 1.5s infinite;
}
.hero-btn:hover {
  box-shadow: 0 8px 24px rgba(249, 183, 31, 0.568);
}
.carousel-control {
  background-color: rgb(249, 183, 31);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin: auto 2rem;
  box-shadow:
    0px 4px 14px 1px rgb(0 0 0 / 13%),
    1px 4px 4px 0px rgb(0 0 0 / 12%);
  border: 1px solid var(--secondary-color);
}
@media (max-width: 767.98px) {
  .carousel-control {
    height: 30px;
    width: 30px;
    margin: auto 1rem;
  }
}
.carousel-indicators {
  background-color: rgba(108, 108, 108, 0.3);
}
.carousel-indicators button {
  background-color: rgb(252, 181, 16) !important;
}
.ticker-wrap {
  overflow: hidden;
  border-top: 0.5px solid var(--border-color);
  border-bottom: 0.5px solid var(--border-color);
  background-color: var(--bs-body-bg);
  padding: 13px 0;
  direction: ltr;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll 25s linear infinite;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  direction: rtl;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--secondary-color);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0) translateZ(0);
  }
  to {
    transform: translateX(-50%) translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}
.services {
  background-color: var(--cream-color);
}
.customer-reviews .badge,
.services .badge {
  background-color: var(--gold-light);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 25px;
  box-shadow: 1px 2px 4px 0px rgb(0 0 0 / 12%);
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  width: 250px;
}
.services .line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.services .btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: var(--main-transition);
}
.btn-outline-primary:hover {
  background-color: var(--primary-color) !important;
  color: var(--cream) !important;
  border-color: var(--primary-color) !important;
}
.services .subtitle,
.customer-reviews .subtitle {
  color: var(--text-light);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 1.125rem;
}
.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
@media (max-width: 767.98px) {
  .services .grid {
    gap: 20px;
  }
}
.services .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0px 1px 4px 0px rgb(0 0 0 / 12%);
}
.services .card img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  position: relative;
  transition: var(--main-transition);
}
.services .card .image-container {
  position: relative;
  overflow: hidden;
  transition: var(--main-transition);
}
.services .card .image-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(255 255 255 / 20%);
  width: 0;
  height: 0;
  opacity: 0;
  z-index: 2;
  transition: var(--main-transition);
}

.services .card .image-container:hover::before {
  animation: flashing 0.7s;
}
.services .card .image-container:hover img {
  transform: scale(1.05);
}
.services .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.services .card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}
.services .card-body p {
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 1rem;
  padding: 0 1rem;
  font-size: 1.125rem;
}

.services .card-body .more-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  transition: var(--main-transition);
  border-top: 1px solid var(--border-color);
  padding: 1rem;
}
.services .card-body .more-link {
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 25px;
  transition: var(--main-transition);
}
.more-content:hover .more-link,
.services .more-content:hover .more-icon {
  color: var(--secondary-color) !important;
}
.services .card-body .more-icon {
  color: var(--primary-color) !important;
  animation: bouncing-arrow 1.5s infinite;
  font-weight: 700;
}

.customer-reviews {
  overflow: hidden;
  background-color: var(--cream);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5.5rem 0 4rem;
  position: relative;
}

/* subtle radial glow behind the active card */
.customer-reviews::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(249, 183, 31, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cr-header {
  margin-bottom: 3rem;
}

.cr-eyebrow {
  display: inline-block;
  background-color: var(--gold-light);
  color: var(--text);
  padding: 0.28rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(249, 183, 31, 0.28);
}

.cr-title {
  font-family: "El Messiri", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
}

.cr-title em {
  font-style: italic;
  color: var(--primary-color);
}

.cr-sub {
  color: var(--text-light);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Overall rating pill */
.cr-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin-top: 0.5rem;
}

.cr-summary-score {
  font-family: "Cairo", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.cr-summary-stars {
  color: var(--secondary-color);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.15rem;
}

.cr-summary-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.cr-summary-meta strong {
  color: var(--primary-color);
}

/* ── Stage wrapper ───────────────────────────── */
.cr-stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Stage: clips the side cards */
.cr-stage {
  width: 100%;
  position: relative;
  height: 320px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}

/* Track: absolutely fills stage */
.cr-track {
  position: absolute;
  inset: 0;
}

/* Each card slot: absolute, offset set by JS via --offset */
.cr-slot {
  position: absolute;
  top: 0;
  width: 100%;
  max-width: 400px;
  padding: 0 10px;
  left: calc(50% - 190px + var(--offset, 0px));
  cursor: pointer;
}

@media (max-width: 575.98px) {
  .cr-slot {
    left: calc(50% - 50% + var(--offset, 0px));
    max-width: 94vw;
  }
  .cr-stage {
    height: 360px;
  }
}

/* ── Card ────────────────────────────────────── */
.cr-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.5rem 1.4rem 1.2rem;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  /* JS drives transform/opacity/filter */
  will-change: transform, opacity, filter;
  user-select: none;
  position: relative;
  overflow: hidden;
}

/* gold top accent line — only on active */
.cr-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--secondary-color);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cr-card.cr-is-active::before {
  opacity: 1;
}

/* ── Card top row ─────────────────────────────── */
.cr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cr-stars {
  color: var(--secondary-color);
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: flex;
  gap: 2px;
}

.cr-verified {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0d6b45;
  background: #e2f7ee;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.cr-verified i {
  font-size: 0.7rem;
}

/* ── Quote ───────────────────────────────────── */
.cr-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary-color);
  font-weight: 600;
  margin: 0;
  flex: 1;
  position: relative;
  padding-right: 1.25rem;
}

.cr-quote::before {
  content: "\201C";
  position: absolute;
  right: 0;
  top: -4px;
  font-size: 1.8rem;
  color: var(--secondary-color);
  line-height: 1;
  font-weight: 900;
  opacity: 0.7;
  margin-left: 10px;
}
.cr-quote::after {
  content: "\201C";
  position: absolute;
  left: 0;
  bottom: -4px;
  font-size: 1.8rem;
  color: var(--secondary-color);
  line-height: 1;
  font-weight: 900;
  opacity: 0.7;
}

/* ── Service tag ─────────────────────────────── */
.cr-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(24, 41, 89, 0.06);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  align-self: flex-start;
}

.cr-service-tag i {
  font-size: 0.65rem;
}

/* ── Author row ──────────────────────────────── */
.cr-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.cr-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cr-author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cr-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cr-since {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cr-since .svg-inline--fa {
  font-size: 0.65rem;
}

/* ── Active name label below stage ───────────── */
.cr-active-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin: 1rem 0 0.25rem;
  min-height: 1.5rem;
}

/* ── Controls ─────────────────────────────────── */
.cr-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(220, 220, 218, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 200, 198, 0.8);
  border-radius: 999px;
  padding: 8px 18px;
  margin-top: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
@media (max-width: 767.89px) {
  .cr-controls {
    min-width: 50%;
  }
}

.cr-btn-nav {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 0.95rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}

.cr-btn-nav:hover {
  background: var(--primary-color);
  color: var(--white);
}

.cr-btn-nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.cr-dots {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 6px;
}

.cr-dot {
  min-width: 18px;
  min-height: 18px;
  border-radius: 999px;
  background: rgba(24, 41, 89, 0.25);
  border: none;
  cursor: pointer;
  transition:
    width 0.35s ease,
    background 0.35s ease;
  flex-shrink: 0;
  padding: 0;
}

.cr-dot.active {
  width: 26px;
  background: var(--primary-color);
}

/* ── Autoplay progress bar on active card ─────── */
.cr-card.cr-is-active .cr-progress {
  display: block;
}

.cr-progress {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(24, 41, 89, 0.08);
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

.why-choose-us {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}
.wcu-badge {
  display: inline-block;
  background: var(--gold-light);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  box-shadow: 1px 2px 4px 0px rgb(0 0 0 / 12%);
}
.why-choose-us h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.25rem;
}
.wcu-divider {
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}
.why-choose-us .subtitle {
  color: var(--text-light);
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 1.125rem;
}
.wcu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}
@media (min-width: 992px) {
  .wcu-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}
.wcu-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: var(--main-transition);
  position: relative;
}
@media (max-width: 767.98px) {
  .wcu-card {
    padding: 1rem;
  }
}
.wcu-card::after,
.wcu-card::before {
  content: "";
  position: absolute;
  height: 0px;
  background-color: var(--primary-color);
  transition: 1s;
}
.wcu-card::before {
  bottom: 50%;
  transform: translateY(50%);
  right: 0px;
}
.wcu-card::after {
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
}
.wcu-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}
.wcu-card:hover::after,
.wcu-card:hover::before {
  height: calc(100% - 16px);
  width: 2px;
}
.wcu-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.wcu-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.wcu-card p {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
  text-align: center;
}
.contact-us {
  background-color: var(--white);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.4rem 0 0.5rem;
}
.contact-us .subtitle {
  font-weight: 500;
  font-size: 1.125rem;
  margin: 1rem 0;
  color: var(--text-light);
}
.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  transition: var(--main-transition);
  box-shadow:
    1px 4px 4px 0px rgb(0 0 0 / 12%),
    0px 4px 14px 1px rgb(0 0 0 / 13%);
}
.contact-cta-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(24, 41, 89, 0.25);
}
.contact-cta-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 1rem;
}
.contact-cta-detail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  direction: ltr;
  transition: var(--main-transition);
}
.contact-cta-detail i {
  color: var(--secondary-color);
  font-size: 16px;
}
.contact-cta-detail:hover {
  color: var(--secondary-color);
}
@media (max-width: 575.98px) {
  .contact-cta {
    flex-direction: column;
    text-align: center;
  }
  .contact-cta-details {
    justify-content: center;
  }
}

footer {
  background-color: var(--cream);
  color: var(--primary-color);
  direction: rtl;
  padding-top: 4rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  position: relative;
  bottom: 0;
  font-weight: 500;
}
@media (max-width: 767.98px) {
  footer {
    text-align: center;
  }
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px;
}
footer h3 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}
footer .social {
  display: flex;
  gap: 10px;
  padding-right: 0;
}
@media (max-width: 767.98px) {
  footer .box .social {
    justify-content: center;
  }
}
footer .social li {
  padding: 10px;
  background-color: #2e2e2e;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .social a {
  color: white;
  transition: var(--main-transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
footer .social a .svg-inline--fa {
  font-size: 20px;
}
footer .social li.instagram:hover {
  background-color: rgb(251, 31, 155);
}
footer .social li.facebook:hover {
  background-color: rgb(24, 119, 242);
}
footer .social li.twitter:hover {
  background-color: rgb(29, 161, 242);
}
footer .social li.tiktok:hover {
  background-color: rgb(219, 20, 2);
}
footer .text {
  line-height: 2;
  margin: 15px 0 40px;
  color: var(--text);
}

footer .links li {
  direction: rtl;
  padding-bottom: 15px;
  transition: var(--main-transition);
}
footer .links li:not(:first-child) {
  padding-top: 15px;
}
footer .links li:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}
footer .links li:hover {
  padding-right: 10px;
}
footer .links li a {
  direction: rtl;
  color: var(--muted);
  transition: var(--main-transition);
}
footer .links li:hover a {
  color: var(--primary-color);
}
footer .links li a::before {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 900;
  margin-left: 10px;
  color: var(--primary-color);
  transform: translateX(180px);
}
footer .line {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  color: var(--text);
}
footer .line .svg-inline--fa {
  color: var(--primary-color);
  margin-left: 5px;
  padding-left: 5px;
  font-size: 1.5rem;
}
footer .line .info span {
  display: block;
  padding-bottom: 10px;
}
@media (max-width: 767.98px) {
  .footer-gallery {
    padding-bottom: 1rem;
  }
  footer .box .line {
    flex-direction: column;
  }
  footer .line .svg-inline--fa {
    padding-bottom: 20px;
  }
}
.footer-gallery img {
  border: 15px solid white;
  box-shadow:
    0px 12px 20px 0px rgb(0 0 0 / 13%),
    0px 2px 4px 0px rgb(0 0 0 / 12%);
}

footer .footer-gallery img {
  width: 78px;
  border: 3px solid white;
  margin: 2px;
}
.copyright {
  text-align: center;
  padding: 25px;
  color: var(--primary-color);
  font-size: 16px;
  border-top: 1px solid var(--border-color);
}
/* ── Lightbox ─────────────────────────────────── */
.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: lb-fade-in 0.25s ease forwards;
}

.lightbox.is-open {
  display: flex;
}

.lightbox #lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  animation: lb-zoom-in 0.3s cubic-bezier(0.34, 1.15, 0.64, 1) forwards;
}

.lightbox-close,
.lightbox-download {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  transition: 0.2s;
  z-index: 10000;
  text-decoration: none;
}

.lightbox-close {
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-download {
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1.1rem;
  background: var(--secondary-color);
  color: var(--cream);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.lightbox-download:hover {
  background: #fff;
  color: var(--primary-color);
}

@keyframes lb-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lb-zoom-in {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bouncing-arrow {
  0%,
  10%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }

  40%,
  60% {
    transform: translateX(-8px);
  }
}
@keyframes flashing {
  0%,
  40% {
    opacity: 1;
  }

  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* ===== Clients Section ===== */
.clients-section {
  padding: 5rem 0;
  background-color: var(--cream);
}

.clients-header {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
}
.clients-header .subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.clients-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--main-transition);
}

.clients-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.clients-card-label {
  background-color: var(--primary-color);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clients-img {
  width: 100%;
  display: block;
  object-fit: cover;
}
