/* ============================================================
   SERVICES HERO CUSTOM STYLES
   ============================================================ */

/* Video Background */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Adjust overlay if needed for video */
.hero-services .hero-overlay {
  z-index: 1;
  background: 
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

/* Hero Content Alignment */
.hero-services-body {
  position: absolute;
  bottom: 60px; /* Leave space for bottom marquee */
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
  padding-bottom: 2rem;
}

.hero-services-content {
  margin-left: 0;
}

/* Typography for the large text */
.services-heading {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.73rem, 4.31vw, 3.89rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--color-white, #fff);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.services-heading .hero-heading__line {
  display: block;
}

/* Navigation Layout Updates */
.services-navbar .navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services-nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Custom Menu Button */
.services-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  color: var(--color-white, #fff);
  cursor: pointer;
  padding: 0.5rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.services-menu-btn:hover {
  opacity: 0.7;
}

.menu-dots {
  display: flex;
  gap: 3px;
}

.menu-dots span {
  display: block;
  width: 4px;
  height: 4px;
  background-color: var(--color-white, #fff);
  border-radius: 50%;
}

/* WORK WITH US button is already styled via btn btn--primary btn--sm, but in screenshot it looks outlined.
   Let's check if there's an outline variant, else override it. */
.services-navbar .navbar__cta {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white, #fff);
  border-radius: 2rem; /* Make it pill-shaped like screenshot */
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.services-navbar .navbar__cta:hover {
  background: var(--color-white, #fff);
  color: var(--color-black, #000);
}

/* Bottom Marquee */
.hero-bottom-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 10;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-bottom-marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 100%; /* Start off-screen */
}

.hero-bottom-marquee__item {
  display: inline-block;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  padding-right: 2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ============================================================
   TECH OPERATIONS SECTION
   ============================================================ */
.tech-operations {
  padding: 6rem 0;
  background-color: var(--color-white, #fff);
  color: var(--color-black, #111);
}

.tech-operations__heading {
  text-align: center;
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.73rem, 3.45vw, 3.45rem);
  line-height: 0.95;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.tech-operations__heading .muted {
  color: #a3a3a3;
}

.tech-operations__heading .dark {
  color: #111;
}

.tech-operations__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.tech-operations__intro-inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}

.tech-operations__desc {
  text-align: center;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.tech-operations__scroll-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Grid & Lines */
.tech-operations__grid-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.tech-operations__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #eaeaea;
  position: relative;
}

/* Vertical lines */
.tech-operations__col {
  padding: 3rem;
  border-left: 1px solid #eaeaea;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-operations__col:last-child {
  border-right: 1px solid #eaeaea;
}

.tech-operations__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Grid Dots */
.grid-dot {
  position: absolute;
  top: -2px; /* Center dot on border */
  width: 4px;
  height: 4px;
  background-color: #333;
  border-radius: 50%;
  transform: translateX(-50%);
}

.dot-1 {
  left: 0;
}

.dot-2 {
  left: 50%;
}

.dot-3 {
  left: 100%;
}

@media (max-width: 900px) {
  .tech-operations__intro-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .tech-operations__grid {
    grid-template-columns: 1fr;
  }
  
  .tech-operations__col {
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
  }
  
  .dot-2 {
    display: none;
  }
  
  .dot-3 {
    left: 100%;
  }
}



/* ============================================================
   DISPATCH SERVICES SECTION
   ============================================================ */
.dispatch-services {
  background-color: var(--color-white, #fff);
  padding: 8rem 0;
  color: var(--color-black, #111);
}

.dispatch-services__header {
  text-align: center;
  margin-bottom: 5rem;
}

.dispatch-label {
  display: block;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
}

.dispatch-heading {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: clamp(1.55rem, 3.02vw, 3.02rem);
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.dispatch-heading .dark {
  color: #111;
}

.dispatch-heading .muted {
  color: #a3a3a3;
}

.dispatch-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.dispatch-card {
  background: #f9f9f9;
  border: 1px solid #eaeaea;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dispatch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.dispatch-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.dispatch-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dispatch-card:hover .dispatch-card__img-wrap img {
  transform: scale(1.05);
}

.dispatch-card__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dispatch-card__title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.dispatch-card__title .muted {
  color: #999;
  margin-right: 0.25rem;
}

.dispatch-card__desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  font-weight: 500;
}
