/* ================= OUR SERVICES SECTION (CSS) ================= */
.services {
  --ink: #111;
  --bg: #fff;
  --divider: rgba(0, 0, 0, 1); /* solid black for visible lines */
  --banner-bg: #000;
  --banner-ink: #fff;

  display: block;
  background: var(--bg);
  color: var(--ink);
}

.services-hero,
.services-viewport { width: 100%; justify-self: stretch; }

/* Black banner with tall display headline */
.services-hero {
  /* background: var(--banner-bg); */
  background: linear-gradient(135deg, #000428, #004e92);
  color: var(--banner-ink);
  padding: clamp(56px, 12vw, 128px) 2rem;
  text-align: center;
}
.services-title {
  margin: 0;
  font-family: "Six Caps", sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(44px, 11vw, 120px);
  line-height: 0.9;
  font-weight: 300;   /* Add this line */
}



/* Horizontal rail */
.services-viewport {
  position: relative;
  overflow: hidden;
  border-top: 0.5px solid var(--divider);
  border-bottom: 0.5px solid var(--divider);
  height: clamp(360px, 56vh, 520px);
  background: var(--bg);
}

.services-track {
  position: absolute; top: 0; left: 0;
  display: flex; align-items: stretch; height: 100%;
  will-change: transform;
}

/* Cards */
.service-card {
  position: relative;
  flex: 0 0 min(380px, 30vw);
  height: 100%;
  background: #fff;
  border-left: 0.5px solid var(--divider);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(20px, 3.2vw, 40px);
}
.service-card:first-child { border-left: none; }

.service-card:first-child { border-left: none; }

.service-head {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0em;
  line-height: 1.4em;
}

/* ===== CTA row at bottom ===== */
.service-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

/* Text starts hidden; appears on hover */
.cta-text {
  font-size: 14px;
  letter-spacing: .12em;
  opacity: 0;
  transform: translateX(-8px);
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  transition: opacity .25s ease, transform .25s ease, max-width .25s ease;
}

/* Circle with arrow */
.cta-circle {
  width: 64px; height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
  display: grid; place-items: center;
  background: transparent;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.cta-circle .arrow {
  width: 18px; height: 18px;
  border-right: 2px solid #222; border-bottom: 2px solid #222;
  transform: rotate(-45deg);
  display: inline-block;
}

/* Hover animation: circle nudges right; text reveals */
.service-card:hover .cta-circle {
  transform: translateX(12px);
  background: #f5f5f5;
  border-color: rgba(0,0,0,0.35);
}
.service-card:hover .cta-text {
  opacity: 1;
  transform: translateX(0);
  max-width: 140px; /* enough room for "READ MORE" */
}

/* Mobile: wider cards */
@media (max-width: 768px) { .service-card { flex-basis: 78vw; } }

/* ================= CUSTOM CURSOR (SPOTLIGHT) =================
   White circle + mix-blend-mode:difference:
   - over white card → black circle & underlying text inside turns white
   - over black banner → appears white */
.cursor-circle {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px; /* default small size */
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, transform .12s ease;
  z-index: 5000;
}
.cursor-circle.big { width: 240px; height: 240px; }

/* Hide on touch */
@media (max-width: 768px) { .cursor-circle { display: none; } }
/* ================= END OUR SERVICES SECTION (CSS) ================= */
