/* =========================================================
   VAANYA CLINIC — HAIR TRANSPLANT PAGE STYLES (FINAL VERSION)
   ========================================================= */

/* ---------- Theme Variables ---------- */
:root{
  --bg: #ffffff;
  --text: #101828;
  --muted: #667085;
  --brand: #0ea5e9;
  --brand-dark: #075985;
  --ring: rgba(14,165,233,0.35);
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(2,6,23,0.08);
  --radius: 16px;
  --container: 1200px;
  --section-y: 64px;
  --gold: #eab308;
  --gold-deep: #b45309;
  --soft-ink: #0b1220;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b1220;
    --text: #ecf0f5;
    --muted: #94a3b8;
    --brand: #22d3ee;
    --brand-dark: #06b6d4;
    --card: #0d1726;
    --shadow: 0 10px 40px rgba(0,0,0,0.35);
    --soft-ink: #eaf2fa;
  }
}

/* ---------- Base ---------- */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img{ max-width: 100%; height: auto; display: block; }

.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

section{ padding-block: var(--section-y); }
p{ margin: 0 0 12px; color: var(--muted); }
h1,h2,h3{ margin: 0 0 10px; line-height: 1.2; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-light{
  color: var(--soft-ink);
  background: #fff;
  border-color: rgba(2,6,23,0.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.btn-light:hover{ background: #f8fafc; border-color: rgba(2,6,23,0.16); }
.btn:active{ transform: translateY(1px); }
.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 6px var(--ring);
}

/* =========================================================
   HERO COLLAGE (2 Rows Seamless Left→Right Motion)
========================================================= */
.hero-collage {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg);
}

/* 2 rows setup */
.hero-collage .collage {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  height: 360px;
  margin-bottom: 40px;
}

/* Seamless motion for each row */
.hero-collage .row {
  display: flex;
  width: max-content;
  animation: scrollRow 35s linear infinite;
}
.hero-collage .row:nth-child(2) {
  animation-direction: reverse;
}

/* Images — no gap */
.hero-collage .row img {
  width: 320px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
  filter: brightness(0.95) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero-collage .row img:hover {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.1);
}

/* Continuous smooth animation (seamless loop) */
@keyframes scrollRow {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pause motion on hover */
.hero-collage:hover .row {
  animation-play-state: paused;
}

/* Text below collage */
.hero-text {
  text-align: center;
  padding: 20px 16px 0;
  color: var(--text);
}
.hero-text h1 {
  font-size: clamp(24px, 4.6vw, 44px);
  line-height: 1.2;
  max-width: 980px;
  margin: 0 auto 10px;
}
.hero-text h1 span { color: var(--brand); }
.hero-text p {
  max-width: 880px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(14.5px, 2vw, 17px);
  line-height: 1.6;
}

/* =========================================================
   REASONS
========================================================= */
.reasons{
  display: grid; gap: 16px;
}
.reason{
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  align-items: center; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
  transition: transform .1s ease, box-shadow .2s ease;
}
.reason:hover{ transform: translateY(-3px); }
.reason img{
  width: 120px; height: 120px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 6px 16px rgba(2,6,23,0.08);
}
.reason p{ margin: 0; font-size: 15px; }

/* =========================================================
   WHAT IS A HAIR TRANSPLANT
========================================================= */
.what h2{ font-size: clamp(22px, 3.2vw, 32px); }
.what p{ font-size: 15.5px; }

/* =========================================================
   CONDITIONS
========================================================= */
.conditions{
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; align-items: center;
}
.cond-left img{
  border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}
.cond-right h2{ font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.cond-right span{ color: var(--brand); font-weight: 700; }
.cond-right ul{
  margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px;
}
.cond-right li{
  position: relative; padding-left: 28px; font-size: 15.2px; color: var(--muted);
}
.cond-right li::before{
  content:"✔"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 700;
}

/* =========================================================
   COST BANNER (gold)
========================================================= */
.cost-banner{
  background:
    radial-gradient(1000px 300px at 10% -10%, rgba(234,179,8,0.22), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.02));
  padding-block: calc(var(--section-y) - 8px);
}
.cost-wrap{
  display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: center;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  border-radius: 20px; padding: 16px; color: #111827;
  box-shadow: 0 20px 50px rgba(180,83,9,0.35);
}
.cost-img img{
  width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.cost-text h2{
  color: #111827; font-size: clamp(22px, 3.2vw, 30px); margin-bottom: 6px;
}
.cost-text p{ color: #111827; opacity: .9; }
.cost-text span{ font-weight: 700; }
.cost-text .btn{ margin-top: 10px; }
.cost-text .btn-light{
  background: #111827; color: #fff; border-color: transparent;
}
.cost-text .btn-light:hover{ background: #0f172a; }

/* =========================================================
   HOW (FUE / DHI)
========================================================= */
.how h2{ font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 8px; }
.how-row{
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; margin-top: 12px; transition: transform .1s ease, box-shadow .2s ease;
}
.how-row:hover{ transform: translateY(-3px); }
.how-row h3{ margin: 0 0 6px; font-size: 18px; color: var(--text); }

/* =========================================================
   FUE, DENSE, TECHNIQUE, BENEFITS
========================================================= */
.fue-detail, .dense, .technique{
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center;
}
.fue-img img, .dense-img img, .tech-img img{
  border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover;
}
.fue-copy h2, .dense-copy h2, .tech-copy h2{
  font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px;
}
.tech-copy span{ color: var(--brand); font-weight: 700; }

/* =========================================================
   BENEFITS
========================================================= */
.benefits{
  background:
    radial-gradient(900px 280px at 90% -10%, rgba(234,179,8,0.22), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.02));
}
.benefits h2{
  text-align: center; font-size: clamp(22px, 3.2vw, 32px); margin-bottom: 14px;
}
.benefit-grid{
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
}
.benefit{
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; text-align: center; transition: transform .1s ease, box-shadow .2s ease;
}
.benefit:hover{ transform: translateY(-3px); }
.benefit img{
  width: 64px; height: 64px; object-fit: cover; margin: 0 auto 8px; border-radius: 12px;
}
.benefit p{ margin: 0; font-weight: 600; color: var(--text); }

/* =========================================================
   TEAM SECTION (Full-Width Images)
========================================================= */
.team-section {
  padding-block: var(--section-y);
  background: var(--bg);
  text-align: center;
}

.team-section .section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 10px;
  color: var(--text);
}

.team-section .section-desc {
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

/* 🔥 Full-width responsive image gallery */
.team-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.team-img {
  flex: 1 1 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ✅ Full Image Styling */
.team-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.5s ease, filter 0.4s ease;
}

.team-img img:hover {
  transform: scale(1.05);
  filter: brightness(1.05) contrast(1.1);
}

/* Responsive */
@media (max-width: 980px){
  .conditions{ grid-template-columns: 1fr; }
  .cost-wrap{ grid-template-columns: 1fr; text-align: left; }
  .fue-detail, .dense, .technique{ grid-template-columns: 1fr; }
  .benefit-grid{ grid-template-columns: repeat(2, 1fr); }
  .reason{ grid-template-columns: 100px 1fr; }
  .reason img{ width: 100px; height: 100px; }
}

@media (max-width: 520px){
  .benefit-grid{ grid-template-columns: 1fr; }
  .reason{ grid-template-columns: 80px 1fr; }
  .reason img{ width: 80px; height: 80px; }
  .hero-collage .row img{ width: 220px; height: 140px; }
  .hero-collage .collage{ height: 280px; }
  .team-img { flex: 1 1 100%; }
}
