/* =========================================================
   AL-RAFI PRIME CO. — SITE STYLES
   Design tokens derived from the brand mark: deep purple body,
   brand-green accent, logo green for the chevron motif.
   ========================================================= */

:root {
  /* Color — Al-Rafi Prime Co. brand palette (from logo) */
  --navy-deep:     #3a1461;   /* deep purple — primary dark surfaces */
  --navy-mid:      #4a1c78;   /* mid purple — client strip, stat strip */
  --navy-soft:     #5c2c8f;   /* soft purple — gradient endpoints */
  --steel:         #8f76b8;   /* muted lavender — secondary gradient tone */
  --amber:         #57a83a;   /* brand green — primary accent */
  --amber-dark:    #418a2b;   /* darker green — hover state */
  --brand-green:   #57a83a;   /* chevron / eyebrow accent, same green */
  --brand-purple:  #3a1461;   /* same as navy-deep, kept for reference */
  --off-white:     #f4f6f8;
  --paper:         #ffffff;
  --ink:           #10161f;
  --ink-soft:      #4a5568;

  /* Type */
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Work Sans', sans-serif;

  /* Layout */
  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(58, 20, 97, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
}

a { text-decoration: none; }

::selection { background: var(--amber); color: var(--navy-deep); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Eyebrow / chevron motif ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
}
.eyebrow .chev { color: var(--brand-green); font-weight: 700; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfd8e3;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(6.75rem, 3vw, 1.75rem);
  padding: 0.45rem 0;
  flex-wrap: nowrap;           /* never drop to a 2nd line and open a gap */
  overflow-x: auto;            /* if content still can't fit, scroll instead of wrapping */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;       /* hide scrollbar (Firefox) */
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.5rem;
}
.topbar-inner::-webkit-scrollbar { display: none; }  /* hide scrollbar (Chrome/Safari) */

.topbar-item {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(0.72rem, 2.4vw, 0.85rem);
}
.topbar-item i { color: var(--amber); margin-right: 0.35rem; }
.topbar-item a { color: #cfd8e3; }
.topbar-item a:hover { color: var(--amber); }
.topbar-item--right { margin-left: auto; }

@media (max-width: 360px) {
  .topbar-inner { gap: 0.6rem; }
  .topbar-item { font-size: 0.7rem; }
  .topbar-item i { margin-right: 0.25rem; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--paper);
  box-shadow: 0 2px 14px rgba(13,26,48,0.08);
  z-index: 1030;
}
.brand-logo { height: 56px; width: auto; }
/* .navbar { padding: 0.6rem 0; } */

.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--navy-deep) !important;
  padding: 0.6rem 1rem !important;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.3rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--amber-dark) !important; }

.btn-quote {
  background: var(--amber);
  color: var(--navy-deep) !important;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-quote:hover { background: var(--amber-dark); color: #fff !important; transform: translateY(-1px); }

/* ---------- Buttons (general) ---------- */
.btn-primary-cta {
  background: var(--amber);
  border: none;
  color: var(--navy-deep);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.btn-primary-cta:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-light-cta {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.8rem 2rem;
  border-radius: 3px;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-outline-light-cta:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-carousel .carousel-item {
  min-height: 530px;
  height: 530px; /* ADD THIS — guarantees percentage-height children resolve correctly */
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden; /* ADD THIS — safety net so video can never spill outside the box */
}
.hero-carousel .slide-overlay {
  position: absolute;
  inset: 0;
/* background: linear-gradient(120deg, rgba(13,26,48,0.94) 0%, rgba(20,40,74,0.88) 55%, rgba(28,51,87,0.82) 100%); */
}
.hero-carousel .carousel-item .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 540px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 72px;
  opacity: 1;
  z-index: 3;
}
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 46px;
  height: 46px;
  background-color: rgba(232,149,47,0.88);
  border-radius: 50%;
  background-size: 20px 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--amber-dark);
  transform: scale(1.06);
}
.hero-carousel .carousel-indicators {
  bottom: 1.4rem;
  z-index: 3;
  margin-bottom: 0;
}
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none;
  margin: 0 5px;
  opacity: 1;
}
.hero-carousel .carousel-indicators .active {
  background-color: var(--amber);
  width: 22px;
  border-radius: 5px;
  transition: width 0.25s ease;
}

/* Stats strip sits below the sliding hero, stays constant across slides */
.hero-stats-strip {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  margin: 1rem 0 1.25rem;
}
.hero h1 .accent { color: var(--amber); }
.hero-lead {
  color: #cfd8e3;
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0; }

/* ---------- Hero stats carousel ---------- */
.hero-stats-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.hero-stats-track {
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
  width: max-content;
  animation: hero-stats-scroll 18s linear infinite;
}
.hero-stats-carousel:hover .hero-stats-track,
.hero-stats-carousel:focus-within .hero-stats-track {
  animation-play-state: paused;
}
.hero-stat-item {
  flex: 0 0 auto;
  min-width: 140px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
}
.hero-stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a9b7c8;
  white-space: nowrap;
}
@keyframes hero-stats-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stats-track { animation: none; }
}

/* ---------- Section basics ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--off-white); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ---------- About photo + floating badge ---------- */
.about-photo-frame { position: relative; margin-top: 2rem; max-width: 460px; }
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-photo img { width: 100%; height: 370px; object-fit: cover; object-position: center 20%; display: block; }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,26,48,0.55) 0%, transparent 45%);
}
.about-photo-caption {
  position: absolute;
  left: 1.3rem; bottom: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}
.about-badge {
  position: absolute;
  top: -1.5rem;
  right: -1.25rem;
  background: var(--navy-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 3px solid var(--paper);
  min-width: 140px;
  text-align: center;
  z-index: 2;
}
.about-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.about-badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cfd8e3;
  line-height: 1.3;
}

/* ---------- About value cards ---------- */
.value-grid-panel {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.value-card {
  position: relative;
  background: var(--paper);
  border: 1px solid #e7ebf0;
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem;
  height: 100%;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.value-card.accent-amber { border-left-color: var(--amber); }
.value-card.accent-green { border-left-color: var(--brand-green); }
.value-card-num {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: #eef1f5;
  line-height: 1;
  z-index: 0;
}
.value-card i {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  color: var(--amber);
  background: var(--navy-deep);
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}
.value-card.accent-green i { color: var(--brand-green); }
.value-card h5 { position: relative; z-index: 1; font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { position: relative; z-index: 1; color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- About mini stats row ---------- */
.about-mini-stats {
  display: flex;
  gap: 2.4rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
.about-mini-stat {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.about-mini-stat i {
  font-size: 1.3rem;
  color: var(--amber);
  background: var(--off-white);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-mini-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.1;
}
.about-mini-stat .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

@media (max-width: 575.98px) {
  .about-photo-frame { max-width: 100%; margin-top: 2.5rem; }
  .about-badge { top: -1.75rem; right: 0.75rem; padding: 0.9rem 1.1rem; min-width: 120px; }
  .value-grid-panel { padding: 1.1rem; }
}

/* Project card with real photo */
.project-card .project-media.has-photo {
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-card .project-media.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,26,48,0.1) 0%, rgba(13,26,48,0.55) 100%);
}

/* ---------- Services showcase carousel ---------- */
.services-carousel-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 3.5rem;
}
.services-carousel .carousel-item {
  height: 440px;
  position: relative;
}
.services-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-carousel .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,26,48,0.1) 0%, rgba(13,26,48,0.55) 55%, rgba(13,26,48,0.88) 100%);
}
.services-carousel .carousel-caption {
  text-align: left;
  left: 2rem;
  right: 2rem;
  bottom: 2.4rem;
  padding: 0;
}
.services-carousel .carousel-caption .eyebrow { margin-bottom: 0.6rem; }
.services-carousel .carousel-caption h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}
.services-carousel .carousel-caption p {
  color: #cfd8e3;
  max-width: 560px;
  font-size: 0.96rem;
  margin: 0;
}
.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
  width: 64px;
  opacity: 1;
}
.services-carousel .carousel-control-prev-icon,
.services-carousel .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(232,149,47,0.88);
  border-radius: 50%;
  background-size: 20px 20px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.services-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.services-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--amber-dark);
  transform: scale(1.06);
}
.services-carousel .carousel-indicators {
  bottom: 1.1rem;
  margin-bottom: 0;
}
.services-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none;
  margin: 0 5px;
  opacity: 1;
}
.services-carousel .carousel-indicators .active {
  background-color: var(--amber);
  width: 22px;
  border-radius: 5px;
  transition: width 0.25s ease;
}
@media (max-width: 767.98px) {
  .services-carousel .carousel-item { height: 360px; }
  .services-carousel .carousel-caption { left: 1.25rem; right: 1.25rem; bottom: 1.8rem; }
  .services-carousel .carousel-control-prev,
  .services-carousel .carousel-control-next { width: 44px; }
}

/* ---------- Services photo card grid ---------- */
.service-photo-card {
  display: block;
  background: var(--paper);
  border: 1px solid #e7ebf0;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.service-photo-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 32px rgba(58,20,97,0.18);
  border-color: transparent;
}
.spc-media {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid), var(--steel));
  background-size: cover;
  background-position: center;
}
.spc-media.has-photo { background-color: var(--navy-mid); }
.spc-media::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-image: inherit;
  transition: transform 0.5s ease;
}
.service-photo-card:hover .spc-media::before { transform: scale(1.1); }
.spc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,20,97,0.05) 30%, rgba(58,20,97,0.75) 100%);
  transition: background 0.35s ease;
  z-index: 1;
}
.service-photo-card:hover .spc-overlay { background: linear-gradient(180deg, rgba(58,20,97,0.15) 20%, rgba(87,168,58,0.55) 100%); }
.spc-icon {
  position: absolute;
  left: 1rem; bottom: 0.9rem;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(3px);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.service-photo-card:hover .spc-icon {
  transform: scale(1.12) rotate(-6deg);
  background: var(--amber);
  color: var(--navy-deep);
}
.spc-body { position: relative; padding: 1.1rem 1.2rem 1.3rem; }
.spc-body h5 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
}
.service-photo-card:hover .spc-body h5 { color: var(--amber-dark); }
.spc-desc {
  color: var(--ink-soft);
  font-size: 0.90rem;
  margin: 0;
  max-height: 4.6em;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.spc-arrow {
  position: absolute;
  right: 1.2rem; bottom: 1.3rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.service-photo-card:hover .spc-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--amber);
  color: var(--navy-deep);
}

/* ---------- Services (icon grid — used on services.php) ---------- */
.service-card {
  position: relative;
  background: var(--navy-deep);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  height: 100%;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-5px); }
.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; height: 3px; width: 0;
  background: var(--amber);
  transition: width 0.3s ease;
}
.service-card:hover::after { width: 100%; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(232,149,47,0.14);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}
.service-card h5 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6rem; }
.service-card p { color: #aab7c8; font-size: 0.88rem; margin: 0; }

/* ---------- Our Clients panel (full-width logo wall) ---------- */
.clients-section {
  background: var(--paper);
  padding: 5.5rem 0;
}

.clients-panel {
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 94% 92%, rgba(13,26,48,0.22), transparent 48%),
    linear-gradient(155deg, var(--amber) 0%, var(--amber-dark) 60%, #2c5c1c 100%);
  width: 100%;
  padding: 3.6rem 0 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(58,20,97,0.18), inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Faint blueprint grid texture, fading toward the edges */
.clients-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.clients-panel::after {
  content: ">>>";
  position: absolute;
  right: -0.5rem;
  bottom: -1.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7rem;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.08);
  pointer-events: none;
}
.clients-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.clients-glow-blob.blob-1 { width: 260px; height: 260px; top: -90px; left: -70px; background: var(--navy-deep); opacity: 0.32; }
.clients-glow-blob.blob-2 { width: 220px; height: 220px; bottom: -90px; right: -50px; background: #ffffff; opacity: 0.22; }

/* Heading/stat row stays in a readable centered column */
.clients-panel-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  position: relative;
  z-index: 1;
}

.clients-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.clients-panel-head .eyebrow-light { color: rgba(13,26,48,0.72); }
.clients-panel-head .eyebrow-light .chev { color: var(--navy-deep); }
.clients-title {
  color: var(--navy-deep);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 0.35rem 0 0.6rem;
}
.clients-sub {
  color: rgba(13,26,48,0.68);
  font-size: 0.94rem;
  max-width: 420px;
  margin: 0;
}
.clients-panel-side {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}
.clients-stat-badge {
  background: rgba(13,26,48,0.16);
  border: 1px solid rgba(13,26,48,0.18);
  border-radius: 16px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.clients-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy-deep);
  line-height: 1;
}
.clients-stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(13,26,48,0.72);
  line-height: 1.3;
}
.clients-panel-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.clients-panel-brand .brand-chev {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy-deep);
  letter-spacing: -0.05em;
}
.clients-panel-brand .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.15;
  color: var(--navy-deep);
  text-align: left;
}
.clients-panel-brand .brand-text span { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; }

/* Marquee runs edge-to-edge across the full panel width, not the padded column */
.clients-marquee-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.clients-marquee-wrap::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 4vw, 3.5rem);
  right: clamp(1.5rem, 4vw, 3.5rem);
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateY(-0.875rem);
}
.clients-marquee-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.clients-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  width: max-content;
  animation: clients-scroll-ltr 34s linear infinite;
}
.clients-marquee-track.track-reverse {
  animation-name: clients-scroll-rtl;
  animation-duration: 38s;
}
.clients-marquee-row:hover .clients-marquee-track,
.clients-marquee-row:focus-within .clients-marquee-track {
  animation-play-state: paused;
}
@keyframes clients-scroll-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes clients-scroll-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee-track { animation: none; }
}

/* ---- Logo badges: bigger, rounded-square (not circle) so wide/tall
   logos all get room instead of being cropped into a tiny circle ---- */
.client-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
  width: clamp(128px, 13vw, 172px);
  height: clamp(88px, 8.5vw, 112px);
  padding: 16px 22px;
  box-shadow: 0 12px 26px rgba(13,26,48,0.2), inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}
.client-pill:hover {
  transform: translateY(-7px) scale(1.045);
  box-shadow: 0 22px 40px rgba(13,26,48,0.32), 0 0 24px rgba(255,255,255,0.35);
}
.client-pill img {
  max-width: 133%;
  max-height: 133%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .clients-section { padding: 4rem 0; }
  .clients-panel { padding: 2.8rem 0 3.2rem; }
  .clients-panel-head { align-items: flex-start; }
  .clients-panel-side { width: 100%; justify-content: space-between; }
  .client-pill {
    width: clamp(96px, 26vw, 130px);
    height: clamp(72px, 18vw, 92px);
    padding: 12px 16px;
  }
  .clients-marquee-wrap::before,
  .clients-marquee-track { padding-left: 1.25rem; padding-right: 1.25rem; }
  .clients-marquee-wrap::before { left: 1.25rem; right: 1.25rem; }
}
/* ---------- Why choose us ---------- */
.why-row { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid #e7ebf0; }
.why-row:last-child { border-bottom: none; }
.why-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--brand-green);
  min-width: 46px;
}
.why-row h5 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.why-row p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ">>>";
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8rem;
  color: rgba(232,149,47,0.08);
  right: -1rem; top: 50%;
  transform: translateY(-50%);
  letter-spacing: -0.05em;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: #b9c4d3; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #a9b7c8;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(87,168,58,0.15) 45%, rgba(87,168,58,0.15) 55%, var(--amber) 100%);
}
.footer-chevrons {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-green);
  transform: translateY(-50%);
  gap: 2px;
  padding-left: 2.2rem;
  z-index: 2;
}

/* decorative layer behind the glass cards */
.footer-bg-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.footer-grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 20% 0%, #000 0%, transparent 65%);
}
.footer-watermark {
  position: absolute;
  right: 2.5rem;
  bottom: -1.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.045);
  white-space: nowrap;
  text-transform: uppercase;
}
.footer-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.footer-glow.blob-a { width: 320px; height: 320px; top: -130px; left: -90px; background: var(--amber); opacity: 0.18; }
.footer-glow.blob-b { width: 260px; height: 260px; bottom: -110px; right: 12%; background: #ffffff; opacity: 0.06; }

/* glass card wrapper used for every footer info block */
.footer-glass-card {
  position: relative;
  z-index: 1;
  height: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 1.9rem 1.7rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  transition: transform 0.35s cubic-bezier(.16,.84,.44,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.footer-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(87,168,58,0.4);
  box-shadow: 0 24px 50px rgba(0,0,0,0.32), 0 0 0 1px rgba(87,168,58,0.15);
}
.footer-brand-card { display: flex; flex-direction: column; }

.footer-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin-bottom: 1.2rem;
}
.footer-logo-plate {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #f2eef9 55%, #e6ddf1 100%);
  box-shadow: 0 14px 30px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(87,168,58,0.45);
  z-index: 0;
}
.footer-logo-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,168,58,0.32), transparent 70%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}
.footer-logo {
  position: relative;
  z-index: 1;
  width: 72%;
  height: 72%;
  object-fit: contain;
  display: block;
}
.footer-about { font-size: 0.88rem; line-height: 1.7; margin: 0; }
.footer-socials { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: #cfd8e3;
  transition: all 0.2s ease;
}
.footer-socials a:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); transform: translateY(-3px); }

.footer-heading {
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.3rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { color: #a9b7c8; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--amber); padding-left: 4px; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact i { color: var(--amber); margin-top: 0.2rem; }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3.2rem;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.back-to-top {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
  color: #cfd8e3;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.back-to-top:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); transform: translateY(-3px); }

@media (max-width: 767.98px) {
  .footer-glass-card { padding: 1.5rem 1.4rem; }
  .footer-watermark { display: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero entrance animation (replays on every slide change) ---------- */
.hero-carousel .carousel-item .eyebrow,
.hero-carousel .carousel-item h1,
.hero-carousel .carousel-item .hero-lead,
.hero-carousel .carousel-item .hero-ctas {
  opacity: 0;
}
.hero-carousel .carousel-item.hero-animate .eyebrow {
  animation: hero-fade-up 0.7s cubic-bezier(.16,.84,.44,1) forwards 0.1s;
}
.hero-carousel .carousel-item.hero-animate h1 {
  animation: hero-fade-up 0.75s cubic-bezier(.16,.84,.44,1) forwards 0.25s;
}
.hero-carousel .carousel-item.hero-animate .hero-lead {
  animation: hero-fade-up 0.75s cubic-bezier(.16,.84,.44,1) forwards 0.4s;
}
.hero-carousel .carousel-item.hero-animate .hero-ctas {
  animation: hero-fade-up 0.75s cubic-bezier(.16,.84,.44,1) forwards 0.55s;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .carousel-item .eyebrow,
  .hero-carousel .carousel-item h1,
  .hero-carousel .carousel-item .hero-lead,
  .hero-carousel .carousel-item .hero-ctas { opacity: 1; }
}

/* ---------- Eyebrow chevron pulse ---------- */
.eyebrow .chev { display: inline-block; animation: chev-pulse 1.8s ease-in-out infinite; }
@keyframes chev-pulse {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}

/* ---------- Button shine sweep ---------- */
.btn-primary-cta, .btn-quote {
  position: relative;
  overflow: hidden;
}
.btn-primary-cta::before, .btn-quote::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary-cta:hover::before, .btn-quote:hover::before { left: 130%; }

/* ---------- Header scroll state ---------- */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 22px rgba(13,26,48,0.14); }
.site-header .navbar-brand span { display: inline-block; transition: transform 0.3s ease; }
.site-header.scrolled .navbar-brand span { transform: scale(0.94); }

/* ---------- About photo + badge micro-motion ---------- */
.about-photo img { transition: transform 0.7s ease; }
.about-photo-frame:hover .about-photo img { transform: scale(1.06); }
.about-badge { animation: badge-float 4.5s ease-in-out infinite; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- Value card icon hover ---------- */
.value-card i { transition: transform 0.35s ease, background 0.3s ease; }
.value-card:hover i { transform: rotate(-8deg) scale(1.08); }

/* ---------- Project media zoom on hover ---------- */
.project-card { transition: box-shadow 0.3s ease; }
.project-card:hover { box-shadow: var(--shadow-soft); }
.project-card .project-media.has-photo,
.project-card .project-media { transition: transform 0.6s ease; }
.project-card:hover .project-media.has-photo,
.project-card:hover .project-media { transform: scale(1.06); }

/* ---------- CTA banner chevrons drift ---------- */
.cta-banner::before { animation: chev-drift 6s ease-in-out infinite; }
@keyframes chev-drift {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%      { transform: translateY(-50%) translateX(-14px); }
}
.topbar-icon-link {
  display: inline-flex !important;
  align-items: center;
  color: inherit;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 767.98px) {
  .topbar-item--right {
    margin-left: 0 !important; /* stop it from pushing siblings off-screen */
  }
  .topbar-icon-link {
    display: inline-flex !important;
  }
}
/* ---------- Floating back-to-top ---------- */
.floating-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
  z-index: 1040;
}
.floating-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-top:hover { background: var(--amber-dark); color: #fff; transform: translateY(-4px); }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .topbar-item--right { display: none; }
  .navbar-collapse {
    background: var(--paper);
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-top: 1px solid #eee;
    max-height: calc(100vh - 110px); /* adjust 110px to your actual topbar+navbar height */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 575.98px) {
  .hero-carousel .carousel-item,
  .hero-carousel .carousel-item .container { 
    min-height: 730px; 
    height: 730px; /* ADD THIS to match */
  }
}

/* ===== Team Section ===== */
.team-section {
  overflow: hidden;
}
.team-header {
  background: #fff;
  padding: 4rem 0 5.5rem; /* extra bottom padding = room for circles to overlap down into navy */
}
.team-body {
  background: var(--navy-deep);
  padding: 0 0 3rem;
  margin-top: -4.5rem; /* pulls navy block up so circles straddle the seam */
}

.team-member {
  text-align: center;
}

/* the ring is what makes the photo read as "designed" rather than a raw crop */
.team-photo-ring {
  width: 218px;
  height: 241px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  position: relative;
}
.team-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top; /* keeps every face framed the same way regardless of source crop */
  display: block;
}

.team-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}
.team-role {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.team-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.team-back-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  text-decoration: none;
}
.team-back-link:hover {
  color: #fff;
}
.team-next-arrow {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--amber);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}
.team-next-arrow:hover {
  transform: translateX(3px);
  background: #fff;
}

/* =========================================================
   AL-RAFI PRIME CO. — PREMIUM ENHANCEMENT LAYER
   Adds only:
     1) A fixed, full-page parallax background w/ Ken Burns zoom
     2) The new "Professional Cleaning Services" showcase section
     3) Glass treatment for existing light sections so they read
        well over the new background
   Nothing above this point has been touched.
   ========================================================= */

/* ---------- 1. Page-wide fixed parallax background ---------- */
.page-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(13, 20, 33, 0.68) 0%, rgba(13, 20, 33, 0.62) 50%, rgba(13, 20, 33, 0.72) 100%),
    url('../IMAGES/background1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: bg-ken-burns 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes bg-ken-burns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .page-bg-fixed { animation: none; }
}

/* background-attachment:fixed is unreliable on iOS Safari — this keeps
   the layer visually pinned there without hurting scroll performance */
@supports (-webkit-touch-callout: none) {
  .page-bg-fixed {
    background-attachment: scroll;
    position: fixed;
  }
}

/* ---------- 2. Cleaning Services showcase section ---------- */
.cleaning-showcase {
  position: relative;
  padding: 6.5rem 0;
  overflow: hidden;
  isolation: isolate; /* keeps the watermark + glow effects contained to this section */
}

.cleaning-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 14vw, 13rem);
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 0.06;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  text-transform: uppercase;
  user-select: none;
}

.cleaning-showcase .eyebrow-onbg { color: rgba(255, 255, 255, 0.85); }
.cleaning-showcase .eyebrow-onbg .chev { color: var(--amber); }

.cs-title { color: #fff; }
.cs-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.cs-card {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 2.6rem 2rem 2.4rem;
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(.16,.84,.44,1), box-shadow 0.4s ease, border-color 0.4s ease;
  animation: cs-float 5.5s ease-in-out infinite;
}
.cs-card:nth-child(2) { animation-delay: 0.6s; }
.cs-card:nth-child(3) { animation-delay: 1.2s; }

.cs-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(87, 168, 58, 0.4);
  border-color: rgba(87, 168, 58, 0.55);
  animation-play-state: paused;
}

.cs-card-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--amber);
  background: rgba(87, 168, 58, 0.14);
  border: 1px solid rgba(87, 168, 58, 0.35);
  transition: transform 0.4s ease, background 0.3s ease, color 0.3s ease;
}
.cs-card:hover .cs-card-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--amber);
  color: var(--navy-deep);
}

.cs-card h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}
.cs-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

/* animated gradient border glow on hover */
.cs-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--amber), transparent 40%, transparent 60%, var(--amber));
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}
.cs-card:hover .cs-card-glow { opacity: 1; }

@keyframes cs-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .cs-card { animation: none; }
}

@media (max-width: 767.98px) {
  .cleaning-showcase { padding: 4.5rem 0; }
  .cleaning-watermark { font-size: clamp(2.6rem, 20vw, 6rem); }
}

/* ---------- 3. Glass-ify existing light sections ---------- */
html, body { background: transparent !important; }

#about,
#services,
#projects,
.section.section-alt {
  background: rgba(13, 20, 33, 0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#about .section-title,
#services .section-title,
#projects .section-title,
.section.section-alt .section-title {
  color: #fff !important;
}

#about .section-sub,
#services .section-sub,
#projects .section-sub,
.section.section-alt .section-sub {
  color: rgba(255, 255, 255, 0.78) !important;
}

/* ---- About / "Who We Are" cards ---- */
.value-card {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.value-card h5 { color: #fff !important; }
.value-card p  { color: rgba(255, 255, 255, 0.75) !important; }
.value-card-num { color: rgb(255 255 255 / 50%) !important }
.value-card i { background: rgba(255, 255, 255, 0.12) !important; }

.about-mini-stat .num   { color: #fff !important; }
.about-mini-stat .label { color: rgba(255, 255, 255, 0.75) !important; }
.about-mini-stat i      { background: rgba(255, 255, 255, 0.14) !important; }

.about-photo {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ---- Services grid cards ---- */
.service-photo-card {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.spc-body h5 { color: #fff !important; }
.spc-desc    { color: rgba(255, 255, 255, 0.72) !important; }
.service-photo-card:hover .spc-body h5 { color: var(--amber) !important; }
.spc-arrow { background: rgba(255, 255, 255, 0.12) !important; color: #fff !important; }

/* ---- Featured Projects cards ---- */
.project-card {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.project-card h5 { color: #fff !important; }
.project-card p  { color: rgba(255, 255, 255, 0.72) !important; }
.project-card .project-tag { color: var(--amber) !important; }

/* ---- Why Choose Us rows ---- */
.section.section-alt .why-row {
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}
.section.section-alt .why-row h5 { color: #fff !important; }
.section.section-alt .why-row p  { color: rgba(255, 255, 255, 0.72) !important; }
.section.section-alt .why-num    { color: var(--brand-green) !important; }