/* ══════════════════════════════════════════════════════════════
   CLIENTS PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-section {
  background-color: #f6f8f3;
  position: relative;
  padding: 60px 40px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* ── Back pill — matches .abpg-back ──────────────────────────── */
.btn-impact {
  position: absolute;
  top: 40px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid #b0c4a8;
  border-radius: 50px;
  background: transparent;
  color: #1a1a1a;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  width: fit-content;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn-impact:hover {
  background: rgba(46, 125, 50, 0.07);
  border-color: #2e7d32;
}

/* ── Center text ──────────────────────────────────────────────── */
.text-content {
  text-align: center;
  max-width: 800px;
  margin-top: 60px;
  margin-bottom: 50px;
  z-index: 2;
}

/* Heading — matches .abpg-title */
.text-content h1 {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 800;
  color: #0c2d18;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.text-dark { color: #0c2d18; }

.text-light {
  background: linear-gradient(100deg, #6abf2a 0%, #9ed01e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Paragraph — matches .abpg-intro */
.subtitle {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.75;
  color: #1a3a20;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Collage Layout ───────────────────────────────────────────── */
.collage-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1400px;
}

.collage-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.img-box {
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  background-color: #e2e8f0;
}

.col-1 { transform: translateY(-20px); opacity: 0.6; }
.col-1 .img-box { width: 100px; height: 120px; }

.col-2 { transform: translateY(15px); }
.col-2 .img-box { width: 110px; height: 130px; }

.col-3 { transform: translateY(0px); }
.col-3 .img-box { width: 120px; height: 140px; }

.col-4 { transform: translateY(30px); }
.col-4 .img-box { width: 110px; height: 130px; }

.col-5 { transform: translateY(45px); }
.col-5 .img-box { width: 120px; height: 140px; }

.col-6 { transform: translateY(20px); }
.col-6 .img-box { width: 100px; height: 150px; }

.col-7 { transform: translateY(0px); }
.col-7 .img-box { width: 120px; height: 140px; }

.col-8 { transform: translateY(20px); }
.col-8 .img-box { width: 110px; height: 130px; }

.col-9 { transform: translateY(-10px); opacity: 0.6; }
.col-9 .img-box { width: 100px; height: 120px; }


/* ══════════════════════════════════════════════════════════════
   TRUSTED LOGOS SECTION
   ══════════════════════════════════════════════════════════════ */
.cli-trusted {
  background: #eef6e3;
  padding: 0 80px 100px;
}

.cli-trusted-inner {
  background: radial-gradient(ellipse at 70% 30%, #1e5c36 0%, #0b2c1a 55%);
  border-radius: 26px;
  padding: 64px 80px 72px;
  text-align: center;
  max-width: 1469px;
  margin: 0 auto;
}

.cli-trusted-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0 0 56px;
}

/* ── Logo rows ── */
.cli-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.cli-logos-row--3 { margin-bottom: 56px; }

.cli-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  opacity: 0.55;
  transition: opacity 0.25s;
}

.cli-logo-item:hover { opacity: 0.85; }

.cli-logo-item img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  -webkit-user-drag: none;
}

.cli-logo-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ── Bottom description ── */
.cli-trusted-desc {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.72;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════════════════════ */
.cli-cta {
  position: relative;
  background: #0b2416;
  overflow: hidden;
  padding: 120px 40px;
  text-align: center;
}

/* Diagonal grid texture overlay */
.cli-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(45deg,  rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Soft radial glow center-left */
.cli-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 35% 55%, rgba(30,100,55,0.55) 0%, transparent 65%);
  pointer-events: none;
}

.cli-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.cli-cta-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 48px;
}

.cli-cta-hl {
  color: #b8f04a;
}

.cli-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cli-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.cli-cta-btn--primary {
  background: #c8f135;
  color: #1a1a1a;
  border: none;
}
.cli-cta-btn--primary:hover {
  background: #d4ff4a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(180,240,40,0.30);
}

.cli-cta-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.cli-cta-btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   PROJECTS SLIDER SECTION
   ══════════════════════════════════════════════════════════════ */
.cli-proj {
  background: radial-gradient(ellipse at 60% 40%, #1e5c36 0%, #0b2416 60%);
  padding: 80px 0 100px 80px;
  overflow: hidden;
}

/* ── Top bar: title + arrows ── */
.cli-proj-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-right: 80px;
  margin-bottom: 56px;
}

.cli-proj-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0;
}

.cli-proj-arrows {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

.cli-proj-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.cli-proj-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: scale(1.06);
}

.cli-proj-btn:disabled {
  opacity: 0.28;
  cursor: default;
  transform: none;
}

/* ── Track ── */
.cli-proj-track-wrap {
  overflow: hidden;
}

.cli-proj-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.42, 0, 0.2, 1);
  will-change: transform;
}

/* ── Cards ── */
.cli-proj-card {
  flex: 0 0 380px;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #0d2e1a;
}

.cli-proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
  -webkit-user-drag: none;
}

.cli-proj-card:hover .cli-proj-img {
  transform: scale(1.04);
}

/* ── Info panel (bottom white card) ── */
.cli-proj-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 22px 24px;
}

/* Category tag */
.cli-proj-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #b8d970;
  border-radius: 50px;
  padding: 5px 14px 5px 10px;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #4a8c1c;
  margin-bottom: 20px;
  white-space: nowrap;
}

.cli-proj-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ec62a;
  flex-shrink: 0;
}

/* Card title */
.cli-proj-card-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   WHO WE SERVE SECTION
   ══════════════════════════════════════════════════════════════ */
.cli-serve {
  background: #fff;
  padding: 100px 80px 120px;
}

.cli-serve-inner {
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Header ── */
.cli-serve-header {
  text-align: center;
  margin-bottom: 80px;
}

.cli-serve-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  font-weight: 800;
  color: #111;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  line-height: 1.1;
}

.cli-serve-hl {
  color: #1a5c38;
}

.cli-serve-rule {
  width: 52px;
  height: 2px;
  background: #888;
  margin: 0 auto;
}

/* ── Cards grid ── */
.cli-serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Stagger: cards 1 & 3 sit higher, card 2 drops down */
.cli-serve-card:nth-child(1) { margin-top: 0; }
.cli-serve-card:nth-child(2) { margin-top: 80px; }
.cli-serve-card:nth-child(3) { margin-top: 0; }
.cli-serve-card:nth-child(4) { margin-top: 60px; }

.cli-serve-card {
  background: #f4f4f4;
  border-radius: 20px;
  padding: 36px 28px 40px;
}

.cli-serve-card--active {
  background: #c8f135;
}

/* Number */
.cli-serve-num {
  display: block;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 800;
  color: #111;
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -2px;
}

/* Card title */
.cli-serve-card-title {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  margin: 0 0 20px;
}

/* Bullet list */
.cli-serve-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cli-serve-list li {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 400;
  color: #444;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.cli-serve-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #666;
}

.cli-serve-card--active .cli-serve-list li,
.cli-serve-card--active .cli-serve-list li::before {
  color: #2a4a10;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cli-trusted { padding: 0 40px 80px; }
  .cli-trusted-inner { padding: 52px 48px 60px; }
  .cli-logo-item { padding: 0 32px; }
  .cli-serve { padding: 80px 40px 100px; }
  .cli-serve-grid { gap: 14px; }
  .collage-wrapper { gap: 10px; }
  .img-box { width: 80px !important; height: 100px !important; }
}

@media (max-width: 860px) {
  /* Hero */
  .hero-section { padding: 40px 20px; }
  .btn-impact { position: relative; top: 0; left: 0; margin-bottom: 20px; }
  .collage-wrapper { flex-wrap: wrap; gap: 12px; margin-top: 40px; }
  .collage-col { transform: translateY(0) !important; opacity: 1 !important; }
  .text-content h1 { font-size: 2.5rem; }

  /* Trusted */
  .cli-trusted { padding: 0 24px 64px; }
  .cli-trusted-inner { padding: 44px 28px 52px; border-radius: 20px; }
  .cli-logos-row--4 { flex-wrap: wrap; gap: 24px 0; }
  .cli-logos-row--4 .cli-logo-divider:nth-child(6) { display: none; }
  .cli-logo-item { padding: 0 24px; }
  .img-box { width: 70px !important; height: 85px !important; }

  /* Who We Serve */
  .cli-serve { padding: 64px 24px 80px; }
  .cli-serve-grid { grid-template-columns: 1fr 1fr; }
  .cli-serve-card:nth-child(2) { margin-top: 0; }
  .cli-serve-card:nth-child(4) { margin-top: 0; }

  /* Projects slider */
  .cli-proj { padding: 64px 0 80px 24px; }
  .cli-proj-top { padding-right: 24px; }
  .cli-proj-card { flex: 0 0 300px; height: 420px; }
}

@media (max-width: 540px) {
  /* Hero — compact on small phones */
  .hero-section {
    padding: 60px 16px 40px;
    min-height: auto;
  }
  .text-content h1 { font-size: 2rem; }
  .collage-wrapper { gap: 8px; }

  /* Who We Serve — single column */
  .cli-serve-grid { grid-template-columns: 1fr; }
  .cli-serve-card:nth-child(n) { margin-top: 0; }
}
