.top-slider {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 12px 0;
}

.top-slider__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Stacked avatar group */
.top-slider__avatars {
  display: flex;
  align-items: center;
}

.top-slider__avatars .avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid white;
  object-fit: cover;
  margin-left: -8px;
  background-color: #ccc; /* fallback while image loads */
}

.top-slider__avatars .avatar:first-child {
  margin-left: 0;
}

/* Text */
.top-slider__text {
  font-size: 15px;
  font-weight: 400;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.5px;
}

/* Stars */
.top-slider__stars {
  display: flex;
  gap: 4px;
  color: #ffa500;
  font-size: 14px;
}

.services-trigger[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}
.chevron-icon {
  transition: transform 0.25s ease;
}

/* Invisible bridge: fills the gap between nav button and panel so cursor doesn't lose hover */
.mega-menu-wrapper::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Custom scrollbar for the mega panel */
.mega-scroll::-webkit-scrollbar {
  width: 4px;
}
.mega-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.mega-scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

/* Sidebar tab active/hover indicator */
.service-tab.is-active {
  background-color: #f5f5f5;
}
.service-tab:not(.is-active):hover {
  background-color: #f5f5f5;
}

/* Service content panel transition */
.service-content {
  display: none;
}
.service-content.is-active {
  display: flex;
}

/* WYSIWYG Details styling */
.wysiwyg-details {
  space-y: 0.5rem;
}

.wysiwyg-details ul,
.wysiwyg-details ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wysiwyg-details li {
  margin-bottom: 0.5rem;
}

.wysiwyg-details a {
  display: flex;
  width: fit-content;
  flex-direction: row;
  gap: 0.5rem;
  font-weight: 500;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #000000;
  text-decoration: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: color 0.2s ease;
  position: relative;
}

.wysiwyg-details a:hover {
  color: #013b24;
}

.wysiwyg-details a::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #000000;
  transition: transform 0.2s ease;
  margin-left: 0.5rem;
}

.wysiwyg-details a:hover::after {
  color: #013b24;
  transform: translateX(0.25rem);
}

/* Add arrow-like Unicode character to links */
.wysiwyg-details a::before {
  content: "→";
  font-size: 12px;
  margin-right: 0.25rem;
  display: inline-block;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.wysiwyg-details a:hover::before {
  opacity: 1;
  transform: translateX(0.25rem);
}

/* Body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* Smooth mega menu appearance */
.mega-menu-wrapper {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}
.mega-menu-wrapper.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#mega-menu {
  display: none;
}

#mega-menu.is-open {
  display: block;
}

.mega-menu {
  display: none;
}

.mega-menu.is-open {
  display: block;
}

/*===================    HERO SECTION CSS ======================  */
/*==============================================================  */

.hero-bg-text {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  padding: 0;
  line-height: 88%;
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 170px;
  font-style: italic;
  text-align: center;
  padding: 0%;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

/* ─── HERO SECTION ───────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;

  /* pushes below navbar – adjust if your nav height differs */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* anchor content to bottom like screenshot */
  justify-content: flex-end;
}

/* ─── VIDEO ──────────────────────────────────── */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  /* object-position: center top; */
}

@media (max-width: 767.98px) {
  .hero-video {
    height: 90vh;
    object-fit: cover;
  }
  .hero-section {
    height: 90vh;
  }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* dark tint so text is readable */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

/* ─── CONTENT ────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

/* Tall enough that the grid fills nicely */

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
}

/* ─── AVATAR STACK ───────────────────────────── */
.hero-avatars {
  gap: 0.75rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ─── CTA BUTTON ─────────────────────────────── */
.hero-cta-col {
  padding-bottom: 0.5rem;
}

.btn-enquire {
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  background: white;
  border-radius: 8px;
  color: #000000;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 12px 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}

.btn-enquire:hover {
  background: #a8dd35;
  color: var(--dark);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #000000;
  color: white;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-icon svg {
  display: block;
}

/* ═══ LOGO TICKER ══════════════════════════════ */
.logo-ticker-wrap {
  background: var(--white);
  /* border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07); */
  overflow: hidden;
  padding: 0.85rem 0;
}

.logo-ticker {
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.logo-ticker::before,
.logo-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.logo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  /* Total width = 2× all items; animation shifts by 50% for seamless loop */
  animation: ticker-scroll 28s linear infinite;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.6rem;
  border-right: 1px solid rgba(0, 0, 0, 0.09);
  height: 44px;
  flex-shrink: 0;
}

.ticker-item:last-child {
  border-right: none;
}

.ticker-logo {
  height: 26px;
  width: auto;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 82vw;
    align-items: flex-end;
  }

  .hero-content .row {
    min-height: unset;
  }

  .hero-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .hero-cta-col {
    justify-content: flex-start !important;
    padding-top: 1rem;
  }

  .hero-bg-text {
    font-size: clamp(3.5rem, 16vw, 6rem);
    -webkit-text-stroke-width: 1.5px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 90vw;
  }
  .ticker-item {
    padding: 0 1.5rem;
  }
}

.divider {
  height: 1px;
  background-color: #000;
  opacity: 0.1;
}

.scrolling-banner {
  background: #013b24;
  overflow: hidden;
  padding: 24px 0;
}

.scroll-content {
  display: flex;
  gap: 32px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Apply animations based on direction class */
.scroll-content.scroll-right-to-left {
  animation: scroll 30s linear infinite;
}

.scroll-content.scroll-left-to-right {
  animation: scroll-reverse 30s linear infinite;
}

.scroll-item {
  color: #a8dd35;
  font-family: "Degular", sans-serif;
  font-size: 25px;
  font-weight: 600;
  flex-shrink: 0;
}

.font-degular {
  font-family: "Degular", sans-serif;
}

.service-number {
  font-family: "Degular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.service-title {
  font-family: "Degular", sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.48px;
  line-height: 1.1;
}

@media screen and (max-width: 940px) {
  .service-title {
    font-size: 30px;
  }
}

.checkmark {
  width: 8px;
  height: 8px;
  background: #64ba4f;
  border-radius: 50%;
}

.proj-heading {
  text-align: center;
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 600;
  margin: 0 0 3rem;
  letter-spacing: -2px;
  color: #0a0a0a;
  line-height: 1;
}
.proj-track-wrap {
  overflow: hidden;
  position: relative;
  padding-left: 20px;
}
.proj-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.proj-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 0;
}
.proj-card img {
  width: 100%;
  aspect-ratio: 432 / 512;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

.proj-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
}
.proj-counter {
  font-size: 15px;
  font-weight: 500;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  gap: 16px;
}
.proj-progress {
  height: 2px;
  background: #e0e0e0;
  position: relative;
  border-radius: 2px;
}
.proj-progress-fill {
  height: 100%;
  width: 25%;
  background: #a3d64a;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.proj-nav {
  display: flex;
  gap: 8px;
}
.proj-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #0a0a0a;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.proj-btn:hover {
  background: #0a0a0a;
  color: #fff;
}
.proj-view-all {
  font-size: 14px;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .proj-card {
    flex: 0 0 85%;
  }
}

.testi-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.testi-title {
  font-size: 40px;
  font-weight: 500;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.2px;
}


.testi-nav {
  display: flex;
  gap: 10px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.2s;
}
.testi-btn--active {
  background: #0d4f3c;
  border-color: #0d4f3c;
  color: #fff;
}
.testi-btn:hover:not(.testi-btn--active) {
  border-color: #0d4f3c;
  color: #0d4f3c;
}
.testi-track-wrap {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-card {
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  box-sizing: border-box;
}
.testi-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.testi-quote {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.45;
  color: #0a2a2a;
  margin: 0;
  flex: 1;
  font-family: Degular, sans-serif;
}
.testi-mark {
  font-size: 64px;
  font-weight: 700;
  line-height: 0.8;
  flex-shrink: 0;
  margin-top: 4px;
  font-style: normal;
}
.testi-author {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testi-author strong {
  font-size: 15px;
  font-weight: 700;
  color: #0a0a0a;
}
.testi-author span {
  font-size: 13px;
  color: #555;
  font-weight: 400;
}
@media (max-width: 640px) {
  .testi-card {
    flex: 0 0 88%;
  }
}
/* Base (already defined) */
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 32px;
  font-weight: 500;
  color: #000;
  padding: 6px 0;
  font-family: Degular, sans-serif;
}
.form-input::placeholder {
  font-size: 32px;
  color: #999;
}

/* Large desktops (1280px+) */
@media (min-width: 1280px) {
  .form-input,
  .form-input::placeholder {
    font-size: 40px;
  }
}

/* Tablets (768px–1279px) */
@media (max-width: 1279px) and (min-width: 768px) {
  .form-input,
  .form-input::placeholder {
    font-size: 28px;
  }
}

/* Mobile landscape / small tablets (480px–767px) */
@media (max-width: 767px) and (min-width: 480px) {
  .form-input,
  .form-input::placeholder {
    font-size: 24px;
    padding: 5px 0;
  }
}

/* Mobile portrait (below 480px) */
@media (max-width: 479px) {
  .form-input,
  .form-input::placeholder {
    font-size: 16px;
    padding: 4px 0;
  }
}

/* Background watermark logo */
.ft-bg-logo {
  position: absolute;
  right: 280px;
  top: 50%;
  transform: translateY(-50%);
  /* opacity: 0.07; */
  pointer-events: none;
  width: 320px;
  height: 320px;
}

.button-primary {
  background-color: #a8dd35;
  border-radius: 8px;
  font-size: 16px;
  font-family: "DM sans";
}

.button-primary:hover {
  background-color: #64ba4f;
}


@media screen and (max-width: 940px) {
  .testi-title {
    font-size: 30px;
  }
  .testi-btn {
    width: 35px;
    height: 35px;
  }
  .testi-card {
    min-width: 0;
    padding: 1.5rem;
    min-height: 240px;
  }
  .testi-quote {
  	font-size: 25px;
  }
  .testi-mark {
  font-size: 34px;
}
}