/* =========================================
   HERO SECTION
========================================= */
.hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  padding-top: 44px;
  padding-bottom: 44px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 -100px;
  background: radial-gradient(ellipse at 75% 45%, #e7f4ff 0, #f6fbff 35%, #fff 72%);
}

.hero-copy { max-width: 560px; padding: 14px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 30px;
  color: #0566df;
  background: #e5f2ff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}

.hero h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -1.7px; margin: 18px 0 18px; }
.hero h1 span { color: var(--blue); display: block; }
.hero-copy > p { max-width: 510px; color: var(--text); font-size: 15px; line-height: 1.8; margin: 0 0 24px; }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 25px; color: #6a80a5; font-size: 11px; }
.proof-dot { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e2f3ff; color: var(--blue); font-weight: 800; }

/* Hero Art / Map Illustration */
.hero-art { min-height: 330px; position: relative; isolation: isolate; display: grid; place-items: center; }
.orb { position: absolute; z-index: -1; border-radius: 48% 52% 60% 40%; background: linear-gradient(145deg, #d9ecff, #9ccaff); }
.orb-one { width: 90%; height: 72%; right: -7%; top: 10%; transform: rotate(-14deg); }
.orb-two { width: 45%; height: 48%; left: 2%; bottom: 0; opacity: .8; transform: rotate(25deg); }

.map-dots {
  position: absolute; inset: 10% 2%; opacity: .38;
  background-image: radial-gradient(#6daeff 1.2px, transparent 1.4px);
  background-size: 9px 9px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}

.connection-lines { position: absolute; width: 100%; height: 100%; fill: none; stroke: #7bb8ff; stroke-width: 2; stroke-dasharray: 5 6; }

.client-avatar {
  position: absolute; z-index: 2; width: 72px; height: 72px; display: grid; place-items: center;
  border: 5px solid white; border-radius: 50%; background: linear-gradient(145deg,#e9f5ff,#c8e4ff);
  box-shadow: 0 7px 20px #5c9fe533; font-size: 32px;
}
.avatar-one { top: 12%; left: 12%; }
.avatar-two { top: 10%; right: 12%; }
.avatar-three { bottom: 14%; left: 9%; }
.avatar-four { bottom: 13%; right: 10%; }

.trusted-card {
  position: relative; z-index: 3; text-align: center; min-width: 205px; padding: 24px 30px;
  border: 1px solid #e3f0ff; border-radius: 22px; background: rgba(255,255,255,.94); box-shadow: var(--shadow);
}
.trusted-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; color: var(--blue); font-size: 25px; border-radius: 50%; background: #e5f3ff; }
.trusted-card p { margin: 0 0 4px; color: var(--text); font-size: 12px; }
.trusted-card strong { font-size: 22px; line-height: 1.35; color: var(--blue); }

.art-spark { position: absolute; color: #2688ff; font-size: 24px; }
.spark-one { top: 5%; right: 35%; }
.spark-two { bottom: 10%; left: 43%; }


/* =========================================
   LOGO GRID SECTION
========================================= */
.logo-section { margin-top: 8px; margin-bottom: 26px; padding: 30px 28px 24px; border-radius: 18px; background: linear-gradient(120deg, #f4faff, #f8fcff); }
.section-heading { text-align: center; }
.section-heading h2 { margin: 12px 0 10px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.8px; line-height: 1.2; }
.section-heading p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.75; }

.logo-row { display: grid; grid-template-columns: repeat(7, 1fr); align-items: center; margin-top: 30px; }
.client-logo {
  min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #3b5886; font-size: clamp(13px, 1.4vw, 19px); font-weight: 700; border-right: 1px solid #d9eaff; white-space: nowrap;
}
.client-logo:last-child { border-right: 0; }
.infosys { font-weight: 500; letter-spacing: -1px; }
.cognizant { font-size: clamp(11px, 1.15vw, 16px); }
.hcl { font-style: italic; font-weight: 800; }
.wipro { color: #294c85; }
.accenture { font-size: clamp(11px, 1.2vw, 16px); }

.ms-mark { display: grid; grid-template-columns: 8px 8px; grid-template-rows: 8px 8px; gap: 2px; }
.ms-mark i { background: #41689f; }
.tata-mark { width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid #41689f; border-radius: 50%; font-size: 13px; }
.wipro-dots { font-size: 22px; color: #438bca; }
.accent-mark { position: relative; top: -7px; color: #5a9cff; }

.demo-note { margin: 18px 0 0; text-align: center; color: #8799b5; font-size: 10px; }


/* =========================================
   STATS SECTION
========================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; padding: 26px 18px; border-radius: 18px; background: linear-gradient(110deg,#f2f9ff,#f8fcff); }
.stat { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -5px; top: 14px; height: 76%; width: 1px; background: #cfe4ff; }
.stat-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 10px; background: #e0f0ff; color: var(--blue); font-size: 27px; font-weight: 800; }
.stat strong { font-size: 25px; letter-spacing: -.5px; color: var(--navy);}
.stat span:last-child { margin-top: 6px; color: var(--text); font-size: 12px; }


/* =========================================
   WHY CHOOSE ZAPO GRID
========================================= */
.why { padding-top: 58px; padding-bottom: 56px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }

.feature-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 24px; min-height: 218px;
  background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: #a6ceff; box-shadow: var(--shadow); }

.feature-icon {
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: #e9f5ff; color: var(--blue); font-size: 28px; margin-bottom: 15px;
}
.feature-card h3 { margin: 0 0 10px; font-size: 15px; }
.feature-card p { color: var(--text); line-height: 1.7; font-size: 12px; max-width: 290px; margin: 0 0 15px; }
.feature-card a { color: var(--blue); font-size: 12px; font-weight: 700; }
.feature-card a span { margin-left: 7px; font-size: 16px; transition: transform 0.2s;}
.feature-card a:hover span { transform: translateX(3px); display: inline-block;}


/* =========================================
   TESTIMONIALS SLIDER SECTION
========================================= */
.testimonials-section { background: linear-gradient(120deg,#f2f9ff,#f8fcff); padding: 54px 0; overflow: hidden; margin-top: 25px;}
.testimonials { display: grid; grid-template-columns: .75fr 2fr; align-items: center; gap: 32px; }
.testimonial-intro h2 { font-size: 29px; margin-top: 10px; margin-bottom: 8px; letter-spacing: -0.8px;}
.testimonial-intro p { color: var(--text); font-size: 13px; line-height: 1.7; max-width: 260px; }

.slider-controls { display: flex; gap: 12px; margin-top: 22px; }
.slider-controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #b9d9ff;
  background: white; color: var(--blue); font-size: 20px; cursor: pointer; transition: background .2s, color .2s;
}
.slider-controls button:hover { background: var(--blue); color: white; }

.testimonial-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.testimonial-card {
  position: relative; padding: 22px 20px 18px; border: 1px solid #dcecff;
  border-radius: 12px; background: rgba(255,255,255,.92); min-height: 230px;
  box-shadow: 0 6px 20px rgba(20,95,180,.04);
}

.quote-mark { color: var(--blue); font-size: 34px; line-height: .8; font-weight: 800; }
.testimonial-card > p { min-height: 82px; color: #52688d; font-size: 11px; line-height: 1.65; margin: 8px 0 16px; }

.person { display: flex; gap: 10px; align-items: center; }
.person-avatar {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-dark); color: white; font-size: 10px; font-weight: 800;
}
.person strong { display: block; font-size: 10px; color: var(--navy); }
.person small { display: block; margin-top: 3px; color: #6c82a5; font-size: 9px; line-height: 1.4; }
.stars { color: #f5ad18; font-size: 13px; letter-spacing: 1px; margin: 10px 0 0 44px; }


/* =========================================
   CTA SECTION
========================================= */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 50px; margin-bottom: 50px; padding: 28px 7%; color: white;
  border-radius: 13px; background: radial-gradient(circle at 0% 100%, #348cff 0, transparent 18%), radial-gradient(circle at 100% 0%, #3289ff 0, transparent 22%), linear-gradient(105deg,#0877ff,#0753bb);
  box-shadow: 0 10px 25px rgba(0,90,200,.13);
}

.cta-kicker { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #d6e4ff;}
.cta h2 { margin: 9px 0 7px; font-size: clamp(22px, 2.4vw, 29px); }
.cta p { margin: 0; font-size: 12px; line-height: 1.65; color: #e1efff; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 190px; }
.cta-actions > a:last-child { font-size: 11px; font-weight: 600; color: #e5f1ff; }


/* =========================================
   RESPONSIVE (CLIENTS SPECIFICS)
========================================= */
@media (max-width: 1000px) {
  .hero { gap: 20px; }
  .hero-art { transform: scale(.94); }
  .hero h1 { font-size: 39px; }
  .client-logo { font-size: 12px; }
  .feature-card { padding: 20px; }
  
  .testimonials { grid-template-columns: 1fr; }
  .testimonial-intro { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .testimonial-intro .eyebrow, .testimonial-intro h2, .testimonial-intro p { grid-column: 1; }
  .slider-controls { grid-column: 2; grid-row: 2 / span 2; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 30px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(34px, 8vw, 46px); }
  .hero-copy > p { font-size: 14px; }
  .hero-art { min-height: 300px; transform: none; }
  
  .logo-section { padding: 26px 18px 20px; }
  .logo-row { grid-template-columns: repeat(4,1fr); gap: 12px 0; }
  .client-logo { border-right: 0; font-size: 13px; min-height: 36px; }
  .client-logo:nth-child(4n) { border-right: 0; }
  .demo-note { line-height: 1.5; }
  
  .stats { grid-template-columns: repeat(2,1fr); padding: 22px 10px; row-gap: 25px; }
  .stat:nth-child(2)::after { display: none; }
  .stat:not(:last-child)::after { height: 70%; }
  .stat:nth-child(3)::after { display: block; }
  
  .why { padding-top: 44px; padding-bottom: 42px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .feature-card { padding: 17px; min-height: 220px; }
  .feature-card h3 { font-size: 13px; }
  .feature-card p { font-size: 11px; }
  .feature-icon { width: 48px; height: 48px; font-size: 24px; }
  
  .testimonial-track { grid-template-columns: 1fr; }
  .testimonial-card { min-height: auto; }
  .testimonial-card > p { min-height: 0; }
  .testimonial-card:not(:first-child) { display: none; }
  .testimonial-intro { display: block; }
  .slider-controls { margin-top: 14px; }
  
  .cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  .cta-actions { align-items: flex-start; }
}

@media (max-width: 430px) {
  .hero h1 { letter-spacing: -1px; }
  .hero-art { min-height: 255px; }
  .client-avatar { width: 55px; height: 55px; font-size: 25px; border-width: 3px; }
  .trusted-card { min-width: 170px; padding: 18px; }
  .trusted-card strong { font-size: 18px; }
  .trusted-icon { width: 42px; height: 42px; }
  
  .desktop-only { display: none; }
  .logo-row { grid-template-columns: repeat(2,1fr); }
  .client-logo { border-right: 0; }
  
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  
  .stats .stat-icon { width: 45px; height: 45px; }
  .stat strong { font-size: 22px; }
  .stat span:last-child { font-size: 11px; }
}