/* ═══════════════════════════════════════════
   SERVICES PAGE  –  services.css v8
═══════════════════════════════════════════ */

<link href="https://googleapis.com" rel="stylesheet">

body { font-family: 'Gilroy', 'DM Sans', sans-serif !important; color: #1a1a1a; background: #fff; overflow-x: hidden; }
p {
  font-family: 'DM Sans', sans-serif;
}

/* ──────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────── */
.srv-hero {
  background: #EEF6E3;
background: linear-gradient(180deg,rgba(238, 246, 227, 1) 84%, rgba(87, 199, 133, 0) 100%);
  padding: 140px 80px 80px;
  
  margin: 0 auto;
  box-sizing: border-box;
}

/* Top row: back pill (left col) + heading (right col) */
.srv-hero-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 52px;
}

/* ── Back pill ── */
.srv-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1.5px solid #b8ccb0;
  border-radius: 50px;
  background: transparent;
  color: #1a1a1a;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  margin-top: 14px;
  transition: background 0.28s, border-color 0.28s;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.srv-back:hover {
  background: rgba(46, 125, 50, 0.07);
  border-color: #2e7d32;
}
.srv-back svg { flex-shrink: 0; }

/* ── Hero heading ── */
.srv-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #0B6340;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -0.5px;
}
.srv-hl {
  background: linear-gradient(105deg, #5cb82a 0%, #9ed01e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Description ── */
.srv-hero-desc {
  font-size: 30px;
  line-height: 1.78;
  color: #255F4E;
  font-weight: 400;
  margin: 0 0 64px;
  
}
.srv-brand { font-weight: 800; color: #0c2d18; }
.srv-hero-desc strong { color: #0c2d18; font-weight: 700; }

/* ──────────────────────────────────────────
   5-IMAGE CIRCULAR WHEEL
   ─ Parent rotates as one unit (no individual rotation)
   ─ Overflow hidden shows only the top arc
────────────────────────────────────────── */

/* Clipping viewport — only the top arc is visible */
.srv-wheel-wrap {
  padding-top: 70px;;
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #eef6e3;
}

/* Positioning anchor — places the wheel's center point */
.srv-wheel-positioner {
  position: absolute;
  left: 50%;
  top: 400px; /* y-position of wheel center inside the wrap */
}

/* The wheel: a fixed-size square centered on the positioner */
.srv-wheel {
  width: 760px;
  height: 760px;
  margin-left: -380px; /* center horizontally on positioner */
  margin-top:  -380px; /* center vertically on positioner */
  position: relative;
  /* Single continuous clockwise rotation of the entire wheel */
  animation: srv-spin 25s linear infinite;
  transform-origin: 50% 50%; /* rotates around wheel center */
}

@keyframes srv-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Each card: centered on the wheel, then pushed to circle radius */
.srv-wheel-card {
  position: absolute;
  width: 265px;
  height: 220px;
  top:  50%;
  left: 50%;
  margin-top:  -120px; /* half height */
  margin-left: -140px; /* half width */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}
.srv-wheel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 10;
}

/* 5 cards evenly spaced: 360° / 5 = 72° apart, radius = 280px */
.srv-wheel-card:nth-child(1) { transform: rotate(0deg)    translateY(-280px); }
.srv-wheel-card:nth-child(2) { transform: rotate(72deg)   translateY(-280px); }
.srv-wheel-card:nth-child(3) { transform: rotate(144deg)  translateY(-280px); }
.srv-wheel-card:nth-child(4) { transform: rotate(216deg)  translateY(-280px); }
.srv-wheel-card:nth-child(5) { transform: rotate(288deg)  translateY(-280px); }

/* ── Bottom blur / fade overlay ── */
/* .srv-wheel-blur {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: url('assets/images/blurr.webp') center bottom / 100% 100% no-repeat;
  pointer-events: none;
  z-index: 10;
} */

/* ──────────────────────────────────────────
   SOLUTION DOMAINS SECTION
────────────────────────────────────────── */
.srv-solutions {
  background: #fff;
  padding: 96px 80px;
}

/* Section heading */
.srv-sol-title-wrap {
  text-align: center;
  margin-bottom: 72px;
}
.srv-sol-title {
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  font-weight: 700;
  color: #0c2d18;
  line-height: 1.2;
}
.srv-sol-title em {
  font-style: normal;
  color: #0B6340;
}
.srv-sol-rule {
  width: 48px;
  height: 2px;
  background: #d0d4cc;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ── Item overrides for solutions layout ── */
.srv-sol-item {
  display: block !important; /* override 2-col grid from .svc-item */
  border-bottom: 1px solid #ebebeb;
}
.srv-sol-item:first-of-type {
  border-top: 1px solid #ebebeb;
}

/* Header row: left (number + title) | right (toggle btn) */
.srv-sol-item .svc-header {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  padding: 40px 0;
  gap: 24px;
}

/* Stack number above title */
.srv-sol-hd {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toggle circle button */
.srv-sol-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d4d8d0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #555;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.srv-sol-toggle:hover {
  border-color: #2e7d32;
  color: #2e7d32;
}
.svc-item.is-open .srv-sol-toggle {
  background: #9ed01e;
  border-color: #9ed01e;
  color: #0f1f00;
}

/* Arrow icon switching */
.srv-sol-icon-up { display: none; }
.srv-sol-icon-dn { display: block; }
.svc-item.is-open .srv-sol-icon-up { display: block; }
.svc-item.is-open .srv-sol-icon-dn { display: none; }

/* Body inner: 2-col (image left, content right) */
.srv-sol-item .svc-body-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding-bottom: 52px;
  flex-direction: unset !important;
}

/* Image */
.srv-sol-item .svc-body-img {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 4;
}
.srv-sol-item .svc-body-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right content column */
.srv-sol-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.srv-sol-offer-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7060;
  margin-bottom: -10px; /* tighten gap before pills */
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .srv-hero { padding: 120px 48px 0; }
}

@media (max-width: 860px) {
  .srv-hero        { padding: 110px 28px 0; }
  .srv-hero-top    { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .srv-hero-title  { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .srv-hero-desc   { font-size: 1rem; margin-bottom: 48px; }

  .srv-solutions            { padding: 64px 28px; }
  .srv-sol-item .svc-body-inner { grid-template-columns: 1fr; gap: 28px; }
  .srv-sol-item .svc-header { padding: 28px 0; }

  /* Scale down wheel: smaller cards + tighter radius */
  .srv-wheel-wrap           { height: 320px; }
  .srv-wheel-positioner     { top: 280px; }
  .srv-wheel                { width: 520px; height: 520px; margin-left: -260px; margin-top: -260px; }
  .srv-wheel-card           { width: 200px; height: 175px; margin-top: -87px; margin-left: -100px; border-radius: 14px; }
  .srv-wheel-card:nth-child(1) { transform: rotate(0deg)   translateY(-200px); }
  .srv-wheel-card:nth-child(2) { transform: rotate(72deg)  translateY(-200px); }
  .srv-wheel-card:nth-child(3) { transform: rotate(144deg) translateY(-200px); }
  .srv-wheel-card:nth-child(4) { transform: rotate(216deg) translateY(-200px); }
  .srv-wheel-card:nth-child(5) { transform: rotate(288deg) translateY(-200px); }
}

@media (max-width: 480px) {
  .srv-hero        { padding: 100px 20px 0; }
  .srv-hero-top    { grid-template-columns: 1fr; }
  .srv-solutions   { padding: 48px 20px; }

  .srv-wheel-wrap           { height: 260px; }
  .srv-wheel-positioner     { top: 230px; }
  .srv-wheel                { width: 400px; height: 400px; margin-left: -200px; margin-top: -200px; }
  .srv-wheel-card           { width: 155px; height: 135px; margin-top: -67px; margin-left: -77px; border-radius: 12px; }
  .srv-wheel-card:nth-child(1) { transform: rotate(0deg)   translateY(-155px); }
  .srv-wheel-card:nth-child(2) { transform: rotate(72deg)  translateY(-155px); }
  .srv-wheel-card:nth-child(3) { transform: rotate(144deg) translateY(-155px); }
  .srv-wheel-card:nth-child(4) { transform: rotate(216deg) translateY(-155px); }
  .srv-wheel-card:nth-child(5) { transform: rotate(288deg) translateY(-155px); }
  .srv-wheel-blur  { height: 140px; }
  .srv-how         { padding: 48px 20px; }
  .srv-how-top     { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .srv-how-bottom  { grid-template-columns: 1fr; gap: 32px; }
}

/* ──────────────────────────────────────────
   HOW WE WORK
────────────────────────────────────────── */
.srv-how {
  background: url('assets/images/home-quote.webp') center center / cover no-repeat;
  padding: 96px 80px;
  color: #fff;
}

/* Top row: heading | description */
.srv-how-top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 64px;
}

.srv-how-title {
  font-size: clamp(2.6rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
}
.srv-how-hl { color: #CEFD3E; }

.srv-how-desc {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.76;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 6px;
}

/* Bottom row: slider | list */
.srv-how-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Slider ── */
.srv-how-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0a1f10;
}

.srv-how-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.srv-how-slide {
  min-width: 100%;
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
}
.srv-how-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav buttons — bottom-left of slider */
.srv-how-nav {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.srv-how-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.28s, border-color 0.28s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-tap-highlight-color: transparent;
}
.srv-how-btn:hover {
  background: rgba(158, 208, 30, 0.25);
  border-color: #9ed01e;
  color: #9ed01e;
}

/* ── Approach list ── */
.srv-how-list-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9ed01e;
  margin-bottom: 4px;
}

.srv-how-items {
  list-style: none;
  margin-top: 8px;
}
.srv-how-items li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.srv-how-items li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.srv-how-items li::before {
  content: '◆';
  color: #9ed01e;
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .srv-how         { padding: 64px 28px; }
  .srv-how-top     { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .srv-how-bottom  { grid-template-columns: 1fr; gap: 40px; }
}

/* ──────────────────────────────────────────
   MARQUEE TICKER
────────────────────────────────────────── */
.srv-ticker {
  background: #fff;
  padding: 50px 0;
  margin-bottom: -58px ;
  overflow: hidden;
  border-top: 1px solid #eaede6;
  border-bottom: 1px solid #eaede6;
}

.srv-ticker-track {
  display: flex;
  align-items: baseline;
  width: max-content;
  gap: 0;
  animation: srv-ticker-scroll 28s linear infinite;
  will-change: transform;
}

@keyframes srv-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.srv-ticker-item {
  font-size: clamp(4rem, 7.5vw, 8.5rem);
  font-weight: 800;
  color: rgba(10, 40, 22, 0.09);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
  padding-right: 40px;
}

.srv-ticker-dot {
  font-size: clamp(2rem, 4vw, 4.5rem);
  color: rgba(10, 40, 22, 0.12);
  line-height: 1;
  padding-right: 40px;
  user-select: none;
  flex-shrink: 0;
}
