:root {
  --container-pad: 100px;
  --container-max: 1200px; /* you already use 1200px */
  --nav-h: 110px;
  --divider-h: 70vh;
}

*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
/* .image-reveal,
.image-divider {
  overflow: visible !important;
  transform: none !important;
  filter: none !important;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden !important;
}
body {
  font-family: "Sora", sans-serif;
  background-color: white;
  color: black;
}
body::-webkit-scrollbar {
  display: none;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;

  display: flex;
  align-items: center;
  justify-content: space-between; /* ✅ */
  gap: 24px; /* ✅ small safe gap */
  padding: 0 5%; /* ✅ responsive padding */

  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  z-index: 1000;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}
.navbar-container.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}
.about-team-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.about-team-card::before,
.about-team-card::after {
  pointer-events: none;
}
.abt-what__gridbg,
.abt-mission-row__gridbg,
.hero-section2::after {
  pointer-events: none;
}
/**/
.menu-options {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  flex: 1; /* ✅ lets menu take the middle space */
  min-width: 0; /* ✅ prevents weird overflow issues */
}
.start-project {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  font-size: 15px;
  font-weight: 600;
  color: black;

  background: #c1d83c;
  /* padding: 12px 35px; */
  height: 50px;
  width: 200px;

  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.start-project:hover {
  background: #ffffff;
  transform: translateY(-2px);
}
.logo-container {
  flex: 0 0 auto; /* ✅ don't shrink weirdly */
  height: 80px; /* control logo height here */
  max-width: 260px; /* prevents it from getting too wide */
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.logo-container img {
  height: 80px; /* fill container height */
  width: auto; /* keep aspect ratio */
  object-fit: contain; /* never crop logo */
}

.nav-item {
  text-decoration: none;
  color: white;
  font-size: clamp(12px, 1vw, 12px); /* ✅ scales */
  letter-spacing: 1px;
  padding: clamp(6px, 0.8vw, 8px) clamp(10px, 1vw, 14px); /* ✅ scales */
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: nowrap; /* ✅ prevents two-line wrap */
}
.navbar-container,
.start-project {
  flex: 0 0 auto; /* ✅ keep button readable */
}

/* 🌟 Hover glow for NON-active items */
.nav-item:hover:not(.active) {
  color: #c1d83c;
  text-shadow:
    0 0 5px #c1d83c,
    0 0 10px #c1d83c;
}

/* 🟢 Active page = yellow-green border */
.nav-item.active {
  color: black;
  background-color: #c1d83c;
  border: 2px solid #c1d83c;
}

/*Hamburger menu*/
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-menu span {
  width: 28px;
  height: 3px;
  background-color: #c1d83c;
  border-radius: 2px;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.6) 20%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0.6) 80%,
      rgba(0, 0, 0, 1) 100%
    ),
    url("./assets/Ruizarch – Architecture WordPress Theme/imgi_28_photo-3.jpg");

  /* ✅ IMPORTANT: size each layer correctly */
  background-size:
    100% 100%,
    /* gradient 1 */ 100% 100%,
    /* gradient 2 */ cover; /* image */

  /* ✅ IMPORTANT: position each layer correctly */
  background-position:
    center,
    center,
    0% 60%;

  background-repeat: no-repeat;
  color: white;
}
.hero-inner {
  min-height: 100vh; /* full hero */
  padding-top: 160px; /* space for nav */

  padding-right: 5%;
  padding-left: 6.5%;
  padding-bottom: 0px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 6vw, 120px);
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}
.hero-text p {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: clamp(42px, 5vw, 50px); /* scales down before 1024 */
  line-height: 1.1;
  font-weight: 800;
  max-width: 600px;
}
.hero-section2 {
  position: relative;
  width: 100%;
  height: 500px; /* fixed banner height */
  overflow: hidden;
}
.hero-section2 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ fills banner */
  object-position: center; /* ✅ pushes image down so faces are lower */
  display: block;
}
/* Overlay */
.hero-section2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* adjust darkness */
  z-index: 1;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: rgb(255, 255, 255);
  text-align: center;
  top: 70%;
  left: 14%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  padding: 0 14% 0 14%;
}
/* lock the image itself */
.hero-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-content3 {
  display: flex;
  flex-direction: column;
  justify-content: left;
  position: absolute;
  z-index: 2;
  color: rgb(255, 255, 255);
  text-align: left;
  gap: 20px;
  top: 40%;
  left: 3.5%;
  height: 250px;
  width: 850px;
  padding: 0 20px 0 20px;
  margin-left: 30px;
}
.hero-content3 h1 {
  font-size: 32px; /* scales down before 1024 */
  font-weight: 800;
  line-height: 1.1;
  max-width: 800px;
}
.hero-content3 p2 {
  font-size: 45px;
  line-height: 1.1;
  font-weight: 800;
  max-width: 600px;
  padding: 40px 0 10px 0;
}

.hero-text p {
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(42px, 5vw, 50px); /* scales down before 1024 */
  line-height: 1.1;
  font-weight: 800;
  max-width: 600px;
  text-align: left;
}

.highlight {
  color: #c1d83c;
}
.view-product-section {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  gap: 10px;
}
.arrow-holder {
  background-color: #c1d83c;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 20px 0;
}
.view-product-section img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.arrow-holder:hover {
  background-color: #c1d83c;
  transition: 0.3s ease;
}
.btn2-text {
  display: flex;
  align-items: center;
  height: 50px;
  width: 200px;
  justify-content: center;
  gap: 5px;
  animation: swing 0.6s ease-in-out infinite alternate;
}

@keyframes swing {
  0% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(4px);
  }
}
.arrow-holder3 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.btn2-text {
  display: flex;
  flex-direction: row;
  align-items: left;
  height: 50px;
  width: 200px;
  justify-content: left;
  gap: 5px;
  animation: swing 0.6s ease-in-out infinite alternate;
}
.arrow-holder3 {
  background-color: #c1d83c;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0px 0;
}
@keyframes swing {
  0% {
    transform: translateX(-4px);
  }
  100% {
    transform: translateX(4px);
  }
}
.arrow-holder3 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.infographics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);

  width: min(800px, 100%);
}
.infographic-item {
  border: 5px solid rgba(209, 255, 69, 0.45);
  border-image-source: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 1px,
    rgba(209, 255, 69, 0.45) 1px,
    rgba(255, 255, 255, 0.2) 3px
  );
  border-image-slice: 5;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  padding: 30px;
  min-height: 120px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}
.infographic-number {
  display: flex;
  align-items: baseline; /* aligns Over nicely with 100 */
  gap: 6px;
  flex-shrink: 0; /* prevents number from shrinking */
}

.infographic-number h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 0;
}

.infographic-number h2 {
  font-size: 20px; /* adjust to match your theme */
  margin: 0;
}
.infographic-item h2 {
  color: #c1d83c;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 800;
}
.infographic-item h3 {
  color: #c1d83c;
  font-size: 20px;
}

.infographic-item p {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.9;
}
.infographic-item:hover {
  border-color: #c1d83c;
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.sec-section {
  padding: 40px 0;
  overflow: hidden;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 25s linear infinite;
  transform: translate3d(0, 0, 0);
}

.carousel-set {
  display: flex;
  align-items: center;
}

.carousel-inner {
  display: flex;
  width: max-content;
}

.carousel-item {
  flex: 0 0 auto;
  margin-right: 60px;

  width: 180px; /* same width */
  height: 100px; /* same height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 60px;
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* keeps proportions */
  display: block;
}
.word-carousel {
  display: flex;
  flex-direction: row;
  background-color: #000000;
  height: 120px;
  width: 100%;
  overflow: hidden;
}
.word-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.word-track:hover {
  animation-play-state: paused;
}
.word-item {
  flex: 0 0 auto;
  margin-right: 90px;
  font-size: 70px;
  font-weight: 600;
  color: #ffffff;
}
.word-item:nth-child(even) {
  color: #c1d83c;
  font-weight: 600;
}

@keyframes marquee {
  0% {
    transform: translateX(0%); /* start with logos visible */
  }
  100% {
    transform: translateX(
      -50%
    ); /* move by half the track width for seamless loop */
  }
}
/* second carousel wrapper */
.word-carousel--three {
  background: #000000;
  height: 120px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* IMPORTANT: group keeps words together */
.word-group {
  display: flex;
  align-items: center;
  gap: 140px; /* spacing between words */
  padding-right: 140px; /* spacing between the two groups */
  flex: 0 0 auto;
  white-space: nowrap;
}

/* track animation */
.word-track--three {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marqueeThree 16s linear infinite;
}

/* pause on hover */
.word-track--three:hover {
  animation-play-state: paused;
}

/* spacing tuned for fewer words */
.word-carousel--three .word-item {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 70px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #e7e7e7;
}

/* alternate lime */
/* FIRST GROUP → even word is lime */
.word-group:first-child .word-item:nth-child(even) {
  color: #c1d83c;
}

/* SECOND GROUP → odd word is lime */
.word-group:last-child .word-item:nth-child(odd) {
  color: #c1d83c;
}

/* seamless loop distance */
@keyframes marqueeThree {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.mobile-menu {
  position: fixed;
  top: 110px;
  left: 0;
  width: 100%;
  background: #c1d83c;
  z-index: 999;

  display: flex; /* ✅ always flex so it can animate */
  flex-direction: column;
  align-items: center;
  padding: 22px 0;

  /* hidden state */
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;

  transition:
    transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 220ms ease,
    visibility 0s linear 320ms;
}

/* open state */
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 220ms ease,
    visibility 0s;
}

.mobile-menu a {
  color: black;
  text-decoration: none;
  font-size: 20px;
  margin: 12px 0;
}
.mobile-menu a.active {
  color: #ffffff;
  background-color: #0a1012;
  height: 40px;
  width: 50%;
  text-align: center;
  border-radius: 4px;
  padding-top: 10px;
}

.section3-land {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
  height: fit-content;
  width: auto;
  box-sizing: border-box;
}
.sticker {
  width: 40px;
  height: 40px;
  border: 2px solid #c1d83c;
}
.section3-wording {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 430px;
  margin-top: auto;
  background-color: #0a1012;
}
footer p {
  color: white;
}

.loc h2 {
  font-size: 14px;
  padding-bottom: 15px;
}

.about-section-land {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 100px;
  background-color: #ffffff;

  padding: 10% 10.2%;
  max-width: 1650px;
  margin: 0 auto;
  box-sizing: border-box;
}
.image-container-about {
  position: relative;
  flex: 1;
  width: 50%;
  height: 600px;

  background-size: cover;
  background-position: center;
}
.image-container-about img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  box-sizing: border-box;
  border-radius: 18px;
}
.about-hero-text {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.about-hero-text h2 {
  font-size: 50px;
}

.btn-text {
  display: flex;
  align-items: center;
  height: 50px;
  width: 200px;
  justify-content: left;
  gap: 10px;
}
.arrow-holder2 {
  background-color: #c1d83c;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0px 0;
}
.arrow-holder2 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.btn3 {
  display: inline-block;
  text-decoration: none;
  color: #000;
}
.btn3-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50px;
  width: 200px;
  justify-content: left;
  gap: 5px;
  animation: swing 0.6s ease-in-out infinite alternate;
  padding-top: 50px;
}
.secondary-about-hero-overlay {
  position: absolute;
  bottom: 0;
  right: 0;

  width: 200px;
  height: 200px;
  background: #fff;
  padding: 60px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-top-left-radius: 12px;

  z-index: 2;
  isolation: isolate;
}
.secondary-about-hero-overlay::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;

  width: 100%;
  height: 100%;

  border: 8px solid rgba(184, 230, 48, 0.45);
  border-image-source: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(209, 255, 69, 0.6) 2px,
    rgba(0, 0, 0, 0.25) 6px
  );
  border-top: none;
  border-left: none;
  border-image-slice: 8;
  border-image-width: 1;
  z-index: -1; /* ✅ behind the white box */
}

.secondary-about-hero-overlay h2 {
  margin: 0;
  font-size: 50px;
  line-height: 1;
  font-weight: 800;
}
.secondary-about-hero-overlay p {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.decor-line, .decor-line4 {
  width: 105px;
  height: 6px;
  margin: 0 0 40px 0;
  border: 5px solid rgba(184, 230, 48, 0.45);
  border-image-source: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 1px,
    rgba(209, 255, 69, 0.45) 1px,
    rgba(0, 0, 0, 0.2) 3px
  );
  border-image-slice: 5;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 2s ease,
    transform 2s ease;
  will-change: opacity, transform;
}

.scroll-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}
.topographic-section {
  position: relative;
  width: 100%;
  height: 700px;
  background-color: #f4f4f4; /* base color */
  overflow: hidden;
}
.topographic-section::before {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("./assets/14340.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.03; /* 5% visible pattern */
  z-index: 0;
}
.topography-container1 {
  position: relative; /* keep text above pattern */
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 60px;
  font-size: 20px;
  font-weight: 600;
  gap: 5px;
}
.topography-container2 {
  position: relative; /* keep text above pattern */
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 20px;
  font-weight: 600;
  gap: 10px;
}
.topography-container3 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px 100px;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  align-items: start;
}
.topography-container1 p1 {
  text-transform: uppercase;
  font-weight: 800;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 600px;
  color: white;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  height: 30px;
  gap: 30px;
}
.footer-menu a {
  color: white;
}
.spacer {
  background-color: #0a1012;
  height: 110px;
}

:root {
  --nav-h: 110px;
  --divider-h: calc(100vh - var(--nav-h));
}

/* This creates the scrolling "space" */
.image-reveal {
  position: relative;
  height: 220vh;
}

/* This stays stuck under the navbar */
.image-divider {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h)); /* ✅ no dependency on --divider-h */
  width: 100%;
  overflow: hidden;
  background: #000;
  z-index: 5;

  /* ✅ make clip-path always valid */
  --clipBottom: 0%;
  clip-path: inset(0 0 var(--clipBottom) 0);
  will-change: clip-path;
}

/* image stays full while we clip the container */
.image-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: var(--fade, 1);
  transform: scale(var(--zoom, 1.05));
  filter: blur(var(--blur, 0px));
  will-change: opacity, transform, filter;
}

/* overlay stays on top */
.image-divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: var(--fade, 1);
  pointer-events: none;
  z-index: 1;
}
.image-divider img {
  position: relative;
  z-index: 0;
}
.image-reveal {
  overflow: visible;
} /* ok */
.image-divider {
  overflow: hidden;
} /* must be hidden */
/* ✅ THIS is the key: bring next section up behind the divider */

.team-section {
  margin-top: calc(-1 * var(--divider-h));
  padding-top: calc(var(--divider-h) + 160px); /* was 80px */
  position: relative;
  z-index: 1;
  background: #fff;
}

.scroll-progress {
  position: fixed;
  right: 0px;
  top: 0;
  height: 100vh;
  width: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 9999;
}

.scroll-progress-line {
  position: absolute;
  top: 0; /* starts from top */
  left: 0;
  width: 100%;
  height: 0%;
  background: #c1d83c; /* your lime green */
  transition: height 0.1s linear;
}
.scroll-progress-line {
  box-shadow:
    0 0 10px #c1d83c,
    0 0 20px #c1d83c;
}
.btn2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 6px;

  color: #000000;

  text-decoration: none; /* removes underline */
  border: 1px solid rgba(209, 255, 69, 0.35);

  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;

  transition: all 0.25s ease;
}
.btn2:hover {
  color: #0a1012;
  transform: translateY(-2px);
}

/* starting state before animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(70px);
  will-change: transform, opacity;
}

/* prevents jitter during animation */
.project-wording1 {
  overflow: hidden;
}

/*Services Home Page Section*/
/*Services Home Page Section*/
.services-home {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  height: 600px;
  width: 1250px;
  margin: 0 auto;
  gap: 100px;
}
.services-home-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 50%;
  height: auto;
}
.services-home-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 50%;
  height: auto;
}
.services-home-left p {
  font-size: 12px;
  letter-spacing: 2px;
}
/* Make each service row: dot + text in one line */
.services-home-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.services-home-dot {
  width: 8px;
  height: 8px;
  background-color: #c1d83c;
  border-radius: 50%;
  margin-top: 6px; /* adjust so it aligns nicely with the h3 */
  flex: 0 0 8px;

  animation: dotGlow 2.2s ease-in-out infinite;
}
@keyframes dotGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 0px rgba(146, 199, 81, 0.4);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(146, 199, 81, 0.9);
  }

  100% {
    opacity: 0.6;
    transform: scale(1);
    box-shadow: 0 0 0px rgba(146, 199, 81, 0.4);
  }
}
.services-home-text h3 {
  margin: 0;
}

.services-home-text p {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 2px;
}
.services-home-item:nth-child(2) .services-home-dot {
  animation-delay: 0.4s;
}

.services-home-item:nth-child(3) .services-home-dot {
  animation-delay: 0.8s;
}

.services-home-item:nth-child(4) .services-home-dot {
  animation-delay: 1.2s;
}
/* Services Section */
/* --- WHAT WE DO: premium tiles --- */
.svc-whatwedo {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

/* subtle animated background blob (very light) */
.svc-whatwedo::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -180px;
  top: 20px;
  background: radial-gradient(
    circle,
    rgba(209, 255, 69, 0.18),
    transparent 60%
  );
  filter: blur(2px);
  transform: translate3d(0, 0, 0);
  animation: svcFloat 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes svcFloat {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate(60px, 40px);
    opacity: 0.7;
  }
}

.svc-inner, .svc-inner3 {
  max-width: 100%;
  margin: 10px 5% 10px 6.1%;
}

.svc-head {
  text-align: left;
}
.svc-kicker {
  margin: 0 0 10px;
  letter-spacing: 2px;
  font-size: 20px;
  opacity: 0.7;
}
.svc-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: 1px;
}
.svc-sub {
  margin: 10px auto 0;
  max-width: 720px;
  font-size: 18px;
  opacity: 0.75;
  line-height: 1.6;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 60px;
  align-items: start;
  margin-top: 34px;
}

.svc-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* tile */
.svc-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;

  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  overflow: hidden;
  --x: 50%;
  --y: 50%;
}
.svc-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    180px circle at var(--x) var(--y),
    rgba(209, 255, 69, 0.18),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.svc-tile:hover::before {
  opacity: 1;
}
/* hover sheen */
.svc-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(82, 184, 72, 0.18),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.svc-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 255, 69, 0.55);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}
.svc-tile:hover::after {
  transform: translateX(120%);
}

.svc-label {
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.3;
}

/* dot + pulse */
.svc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
  background: #c1d83c;
  box-shadow: 0 0 0 rgba(209, 255, 69, 0);
  animation: svcDotGlow 2.4s ease-in-out infinite;
}
@keyframes svcDotGlow {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
    box-shadow: 0 0 0 rgba(209, 255, 69, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 14px rgba(209, 255, 69, 0.55);
  }
}

/* arrow */
.svc-arrow {
  margin-left: auto;
  opacity: 0.35;
  transform: translateX(0);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  font-size: 16px;
}
.svc-tile:hover .svc-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* CTA */
.svc-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: #c1d83c;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.svc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(209, 255, 69, 0.25);
}
.svc-btn-arrow {
  transform: translateX(0);
  transition: transform 0.25s ease;
}
.svc-btn:hover .svc-btn-arrow {
  transform: translateX(4px);
}

/* ============================
   RESPONSIVE (Desktop-first)
   Put this at the END of styles.css
============================ */

.mobile-menu.is-open {
  display: flex !important;
}

/* =========================
   TBP PARALLAX (CLEAN)
========================= */

:root {
  --tbp2-nav: 110px;
}

.tbp2 {
  position: relative;
  height: 220vh;
  background: #fff;
}

.tbp2__stage {
  position: relative; /* NOT sticky */
  height: calc(100vh - var(--tbp2-nav));
  overflow: hidden; /* clipping */
  background: #000;
  clip-path: inset(0 0 var(--tbp2-clip, 0%) 0);
  will-change: clip-path;
}

.tbp2__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--tbp2-fade, 1);
  transform: scale(var(--tbp2-zoom, 1.06));
  filter: blur(var(--tbp2-blur, 0px));
  will-change: opacity, transform, filter;
}

.tbp2__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: var(--tbp2-fade, 1);
  pointer-events: none;
}

.navbar-container {
  z-index: 9999;
}

/* Burger Menu Animations */
/* Hamburger */
.burger-menu {
  display: none; /* you already control this in media queries */
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  position: relative;

  align-items: center;
  justify-content: center;

  /* nice tap feel */
  transition: transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.burger-menu:active {
  transform: scale(0.96);
}

/* lines */
.burger-menu span {
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: #c1d83c;
  border-radius: 999px;
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 180ms ease,
    top 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

/* place lines */
.burger-menu span:nth-child(1) {
  top: 14px;
}
.burger-menu span:nth-child(2) {
  top: 20.5px;
}
.burger-menu span:nth-child(3) {
  top: 27px;
}

/* OPEN state */
.burger-menu.is-open span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}
.burger-menu.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.burger-menu.is-open span:nth-child(3) {
  top: 20.5px;
  transform: rotate(-45deg);
}

/* little “pop” when open */
.burger-menu.is-open {
  animation: burgerPop 260ms ease;
}
@keyframes burgerPop {
  0% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* ============================
   HOME QS (isolated)
   No :root edits, no shared class names
============================ */
.home-qs {
  /* local variables ONLY for this block */
  --qs-ink: #0a1012;
  --qs-lime: #c1d83c;
  --qs-m: #0a1012b3; /* muted */
  --qs-line: #0a10121a; /*border  */
  --qs-card: rgba(165, 165, 165, 0.78);

  position: relative;
  padding: clamp(70px, 6vw, 110px) 16px;
  background: #999898;
  overflow: hidden;
}

/* subtle “architectural” background that won’t clash */
.home-qs::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      900px circle at 20% 15%,
      rgba(209, 255, 69, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px circle at 80% 70%,
      rgba(0, 0, 0, 0.06),
      transparent 60%
    );
  opacity: 0.55;
  pointer-events: none;
}

.home-qs__inner {
  position: relative;
  z-index: 1;
  padding-top: 50px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 520px);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  border: 1px solid var(--qs-line);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.home-qs__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
}

.home-qs__kicker {
  display: none;
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.75;
  color: var(--qs-ink);
}

.home-qs__title {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.02;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 850;
  color: var(--qs-ink);
}

.home-qs__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px clamp(18px, 3vw, 46px);
  width: 100%;
  max-width: 1150px;
}

.home-qs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.home-qs__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.25;
}

.home-qs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c1d83c;
  box-shadow: 0 0 14px rgba(82, 184, 72, 0.35);
}

.home-qs__list a {
  text-decoration: none;
  color: rgba(10, 16, 18, 0.88);
  font-weight: 750;
  font-size: 18px;
  letter-spacing: 0.2px;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
  display: inline-block;
}

.home-qs__list a:hover {
  color: var(--qs-ink);
  transform: translateX(4px);
}

.home-qs__cta {
  margin-top: 22px;
}

.home-qs__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0a1012;
  color: #c1d83c;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.home-qs__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(10, 16, 18, 0.18);
}

/* media panel */
.home-qs__media {
  overflow: hidden;
  min-height: 520px;
  background: #0a1012;
  position: relative;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-radius: 18px;
}

.home-qs__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.03);
}

/* overlay for premium feel */
.home-qs__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(82, 184, 72, 0.1),
    rgba(0, 0, 0, 0.2)
  );
  pointer-events: none;
}
