/* ============================================
   VAANYA CLINIC — ABOUT PAGE STYLES
   File: /css/about.css
   ============================================ */

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

@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);
  }
}

/* ---------- 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; border: 0; }

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

.container.narrow{
  max-width: 900px;
}

/* ---------- Sections ---------- */
.about-page section.section{
  padding-block: var(--section-y);
}

.about-page section.section.alt{
  background:
    radial-gradient(900px 260px at 12% -10%, rgba(34,211,238,0.10), transparent 70%),
    linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0.02));
}

/* ============================================
   HERO
============================================ */
.about-page .hero{
  position: relative;
  padding-block: clamp(72px, 12vw, 140px);
  background:
    radial-gradient(1200px 340px at 10% -10%, rgba(34,211,238,0.14), transparent 66%),
    linear-gradient(180deg, rgba(2,6,23,0.04), rgba(2,6,23,0.04)),
    url('/img/banner.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.about-page .hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(2,6,23,0.55), rgba(2,6,23,0.55));
  backdrop-filter: saturate(110%) blur(1px);
}

.about-page .hero .container{ position: relative; z-index: 1; }

.about-page .hero h1{
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.15;
  text-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

.about-page .hero .lead{
  margin: 6px 0 18px;
  color: rgba(255,255,255,0.92);
  font-size: clamp(15px, 2.1vw, 18px);
  max-width: 900px;
}

.hero-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .06s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary{
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-dark));
  box-shadow: 0 6px 16px rgba(14,165,233,0.35);
}
.btn-primary:hover{ filter: saturate(112%); box-shadow: 0 8px 22px rgba(14,165,233,0.45); }
.btn-primary:active{ transform: translateY(1px); }

.btn-outline{
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover{ background: rgba(255,255,255,0.08); border-color:#fff; }
.btn-outline:active{ transform: translateY(1px); }

/* For non-hero areas where background is light */
.section .btn-outline{
  color: var(--text);
  border-color: rgba(2,6,23,0.16);
}
.section .btn-outline:hover{
  background: rgba(2,6,23,0.04);
  border-color: rgba(2,6,23,0.32);
}

/* Focus rings for a11y */
.btn:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 6px var(--ring);
}

/* ============================================
   TYPOGRAPHY & UTILITIES
============================================ */
.section-title{
  text-align: center;
  font-size: clamp(22px, 3.2vw, 32px);
  margin: 0 0 16px;
}

p.narrow{
  max-width: 880px;
  margin: 8px auto 0;
  text-align: center;
}

/* ============================================
   GRID LAYOUTS
============================================ */
.grid-2{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

@media (max-width: 980px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

/* ============================================
   CARDS & FEATURES
============================================ */
.card, .mini-card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  transition: transform .1s ease, box-shadow .2s ease;
}
.card:hover, .mini-card:hover{ transform: translateY(-3px); }

.card h3, .mini-card h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.card p, .mini-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14.8px;
}

/* Feature line items in technology section */
.feature{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  transition: transform .1s ease, box-shadow .2s ease;
}
.feature:hover{ transform: translateY(-3px); }

.pill{
  display: inline-block;
  padding: 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--brand-dark);
  background: rgba(14,165,233,0.12);
  border: 1px solid rgba(14,165,233,0.30);
  border-radius: 999px;
}

/* CTA row */
.cta-row{
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ============================================
   CHECKLIST
============================================ */
.checklist{
  list-style: none;
  padding-left: 0;
  margin: 10px auto 0;
  max-width: 860px;
  display: grid;
  gap: 10px;
}
.checklist li{
  position: relative;
  padding-left: 32px;
  font-size: 15.2px;
  color: var(--muted);
}
.checklist li::before{
  content: "✔";
  position: absolute;
  left: 0; top: 0;
  transform: translateY(1px);
  font-weight: 700;
  color: var(--brand);
}

/* ============================================
   ACCESSIBILITY & REDUCED MOTION
============================================ */
a:focus-visible, .card:focus-visible, .mini-card:focus-visible, .feature:focus-visible, .pill:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 6px var(--ring);
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

/* ============================================
   RESPONSIVE TWEAKS
============================================ */
@media (max-width: 1024px){
  .about-page .hero{ padding-block: 96px; }
}

@media (max-width: 760px){
  .about-page section.section{ padding-block: 44px; }
  .hero-cta .btn{ width: 100%; max-width: 260px; }
}
