/* =============================================
   SARVATRA-AI — Design System
   Healthcare × AI — Clean, Modern, Trustworthy
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

:root {
  --navy:        #1a2e4a;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --cyan:        #06b6d4;
  --green:       #10b981;
  --green-dark:  #059669;
  --orange:      #f97316;
  --bg:          #f8faff;
  --white:       #ffffff;
  --text:        #0f172a;
  --muted:       #64748b;
  --border:      #e2e8f0;

  --grad-hero:    linear-gradient(135deg, #0f2444 0%, #1e3a5f 40%, #1d4ed8 75%, #0891b2 100%);
  --grad-section: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  --grad-cta:     linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 100%);
  --grad-green:   linear-gradient(135deg, #065f46 0%, #059669 100%);

  --shadow-sm:   0 1px 4px rgba(15,23,42,.06);
  --shadow-md:   0 4px 20px rgba(15,23,42,.09);
  --shadow-lg:   0 20px 60px rgba(15,23,42,.13);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.18);

  --r:     12px;
  --r-lg:  20px;
  --r-pill:100px;
  --maxw:  1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Poppins', system-ui, sans-serif; line-height: 1.2; }
img  { max-width: 100%; display: block; }
a    { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
hr   { border: none; border-top: 1px solid var(--border); }

/* ── Layout ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-white   { background: var(--white); }
.bg-alt     { background: var(--bg); }
.bg-dark    { background: var(--navy); }
.bg-grad    { background: var(--grad-section); }

/* ── NAVIGATION ── */
nav.site-nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; }
.logo-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--navy); }
.logo-name em { font-style: normal; color: var(--cyan); }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu a {
  display: block; padding: 7px 12px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: var(--text);
  transition: all .18s; text-decoration: none;
}
.nav-menu a:hover { background: var(--blue-light); color: var(--blue); }
.nav-menu a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--blue) !important; color: white !important;
  padding: 8px 18px !important; border-radius: var(--r) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: white !important; }
.ham-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.ham-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r);
  font-weight: 600; font-size: .95rem;
  transition: all .2s; text-decoration: none;
  cursor: pointer; border: 2px solid transparent;
}
.btn-lg  { padding: 14px 32px; font-size: 1rem; }
.btn-sm  { padding: 9px 18px; font-size: .85rem; }

.btn-white   { background: white; color: var(--navy); border-color: white; }
.btn-white:hover { background: #f0f7ff; text-decoration: none; transform: translateY(-1px); }

.btn-blue    { background: var(--blue); color: white; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: white; text-decoration: none; transform: translateY(-1px); }

.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; color: white; text-decoration: none; }

.btn-green   { background: var(--green); color: white; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); color: white; text-decoration: none; transform: translateY(-1px); }

.btn-navy    { background: var(--navy); color: white; border-color: var(--navy); }
.btn-navy:hover { background: #0f1f33; color: white; text-decoration: none; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background: var(--grad-hero);
  padding: 100px 0 90px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(6,182,212,.12) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 20%, rgba(37,99,235,.10) 0%, transparent 45%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 18px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
  margin-bottom: 28px; position: relative; z-index: 1;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; color: white;
  margin-bottom: 22px; position: relative; z-index: 1;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 .hl { color: #7dd3fc; }
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.82);
  max-width: 560px; margin: 0 auto 40px; position: relative; z-index: 1;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-trust {
  margin-top: 52px; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap;
}
.trust-chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill); padding: 5px 16px;
  font-size: .8rem; color: rgba(255,255,255,.85); font-weight: 500;
}
.trust-sep { color: rgba(255,255,255,.3); font-size: .8rem; }

/* ── HERO TWO-COLUMN LAYOUT ── */
.hero-two-col {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; z-index: 1;
}
.hero-left {
  flex: 1 1 55%; text-align: left;
}
.hero-left .hero-badge { display: inline-flex; }
.hero-left h1 { margin-left: 0; margin-right: 0; }
.hero-left p  { margin-left: 0; margin-right: 0; }
.hero-left .hero-btns { justify-content: flex-start; }
.hero-left .hero-trust { justify-content: flex-start; }

.hero-right {
  flex: 0 0 38%; display: flex; justify-content: center;
}
.award-block {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.award-img {
  width: 100%; max-width: 380px;
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
  border: 3px solid rgba(255,255,255,.2);
  object-fit: cover;
}
.award-caption {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  padding: 8px 20px;
  font-size: .88rem; font-weight: 600;
  color: white;
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .hero-two-col { flex-direction: column; text-align: center; }
  .hero-left { text-align: center; }
  .hero-left .hero-btns { justify-content: center; }
  .hero-left .hero-trust { justify-content: center; }
  .hero-right { width: 100%; }
  .award-img { max-width: 320px; }
}

/* ── SECTION HEADER ── */
.sh { text-align: center; margin-bottom: 56px; }
.sh-label {
  display: inline-block; color: var(--cyan); font-weight: 600;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 10px;
}
.sh h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.sh p   { color: var(--muted); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.sh.light .sh-label { color: #7dd3fc; }
.sh.light h2 { color: white; }
.sh.light p  { color: rgba(255,255,255,.75); }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.stat-cell { background: white; padding: 32px 16px; text-align: center; }
.stat-cell .num { font-size: 2.5rem; font-weight: 800; color: var(--blue); font-family: 'Poppins', sans-serif; line-height: 1; }
.stat-cell .lbl { font-size: .75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin-top: 6px; }

/* ── FEATURE CARDS ── */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feat-card {
  background: white; border-radius: var(--r); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .25s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #bfdbfe; }
.feat-icon {
  width: 50px; height: 50px; border-radius: 11px; background: var(--grad-section);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px;
}
.feat-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat-card p  { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ── 2-COL PRODUCT SECTION ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.flip .col-visual { order: -1; }
.col-text .label { color: var(--cyan); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.col-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
.col-text p  { color: var(--muted); margin-bottom: 22px; font-size: .97rem; }
.col-text ul { list-style: none; margin-bottom: 28px; }
.col-text ul li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem;
}
.col-text ul li:last-child { border-bottom: none; }
.col-text ul li .tick { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.col-visual {
  background: var(--grad-section); border-radius: var(--r-lg);
  padding: 36px; min-height: 280px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.visual-card {
  background: white; border-radius: var(--r); padding: 24px;
  box-shadow: var(--shadow-lg); width: 100%; max-width: 340px;
}
.visual-card .vc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.visual-card .vc-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.visual-card .vc-dot.blue { background: #eff6ff; }
.visual-card .vc-dot.green { background: #f0fdf4; }
.visual-card .vc-dot.cyan  { background: #ecfeff; }
.visual-card h4 { font-size: .92rem; margin: 0; }
.visual-card .sub { font-size: .78rem; color: var(--muted); }
.vc-bar { height: 8px; border-radius: 4px; background: var(--border); margin-bottom: 8px; overflow: hidden; }
.vc-bar-fill { height: 100%; border-radius: 4px; }
.vc-tag {
  display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 10px;
  border-radius: var(--r-pill); margin: 3px 2px;
}

/* ── AWARDS STRIP ── */
.awards-strip {
  background: white; padding: 36px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.awards-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.award-chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px 22px; font-size: .85rem; font-weight: 500; color: var(--muted); background: var(--bg);
}
.award-chip .aw-icon { font-size: 1.4rem; }
.award-chip strong { color: var(--text); display: block; font-size: .9rem; }

/* ── TEAM CARDS ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: white; border-radius: var(--r); padding: 32px 24px;
  text-align: center; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .25s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad-section); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  border: 3px solid white; box-shadow: var(--shadow-sm);
}
.team-card h3  { font-size: 1.05rem; margin-bottom: 4px; }
.team-card .role { color: var(--blue); font-size: .85rem; font-weight: 600; margin-bottom: 10px; }
.team-card p   { color: var(--muted); font-size: .87rem; }

/* ── EXAM CHIPS ── */
.exam-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.exam-chip {
  background: white; border: 1.5px solid var(--border); border-radius: var(--r-pill);
  padding: 8px 20px; font-size: .88rem; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.exam-chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 840px; margin: 0 auto; }
.pricing-card {
  background: white; border-radius: var(--r-lg); padding: 40px;
  border: 2px solid var(--border); transition: all .25s; position: relative;
}
.pricing-card.popular { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.popular-badge {
  display: inline-block; background: var(--blue); color: white;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 12px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.pricing-card h3    { font-size: 1.1rem; margin-bottom: 6px; }
.pricing-card .desc { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.price-amount  { font-size: 2.8rem; font-weight: 800; color: var(--navy); font-family: 'Poppins', sans-serif; line-height: 1; }
.price-period  { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .chk { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-info .sub { color: var(--muted); margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px;
  background: var(--grad-section); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item h4 { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text); font-size: .95rem; text-decoration: none; }
.contact-item a:hover { color: var(--blue); }
.contact-form { background: white; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-md); }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-size: .92rem; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--bg); transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--blue); background: white;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── CTA SECTION ── */
.cta-section { background: var(--grad-cta); padding: 80px 0; text-align: center; }
.cta-section h2 { color: white; font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.78); max-width: 500px; margin: 0 auto 36px; font-size: 1.02rem; }
.cta-section.green-cta { background: var(--grad-green); }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--grad-cta); padding: 60px 0; color: white; text-align: center; }
.legal-hero h1 { color: white; font-size: 2.2rem; }
.legal-hero p  { color: rgba(255,255,255,.72); margin-top: 10px; }
.legal-body { max-width: 800px; margin: 0 auto; padding: 64px 24px; }
.legal-body h2 { font-size: 1.25rem; margin-top: 40px; margin-bottom: 12px; color: var(--navy); padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.legal-body h3 { font-size: 1.05rem; margin-top: 22px; margin-bottom: 8px; color: var(--text); }
.legal-body p  { color: var(--muted); margin-bottom: 14px; line-height: 1.78; }
.legal-body ul { color: var(--muted); padding-left: 24px; margin-bottom: 14px; }
.legal-body ul li { margin-bottom: 6px; line-height: 1.72; }
.legal-body a  { color: var(--blue); }

/* ── FOOTER ── */
footer.site-footer { background: #0c1629; color: white; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo-name em { color: var(--cyan); }
.footer-brand > p { color: #64748b; font-size: .875rem; margin-top: 14px; line-height: 1.75; max-width: 260px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 600; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #64748b; font-size: .875rem; text-decoration: none; transition: color .18s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; padding-top: 24px; border-top: 1px solid #1e293b;
}
.footer-bottom p  { color: #475569; font-size: .82rem; }
.footer-legal     { display: flex; gap: 20px; }
.footer-legal a   { color: #475569; font-size: .82rem; text-decoration: none; }
.footer-legal a:hover { color: #94a3b8; }

/* ── INSTITUTION PAGE ── */
.inst-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.inst-card {
  background: white; border-radius: var(--r); padding: 32px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: center; transition: all .25s;
}
.inst-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #bfdbfe; }
.inst-card .ic-num { font-size: 2.4rem; font-weight: 800; color: var(--blue); font-family: 'Poppins', sans-serif; margin-bottom: 8px; }
.inst-card h3 { font-size: 1rem; margin-bottom: 8px; }
.inst-card p  { color: var(--muted); font-size: .88rem; }

/* ── PROCESS STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step-card {
  background: white; border-radius: var(--r); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute; top: -14px; left: 24px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: .8rem; font-weight: 700; font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p  { color: var(--muted); font-size: .88rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .ham-btn  { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: white; padding: 16px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 2px;
  }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .feat-grid, .team-grid, .inst-cards { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.flip .col-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .stats-row    { grid-template-columns: 1fr 1fr; }
  .form-row     { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .feat-grid, .team-grid, .inst-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }
  .awards-inner { gap: 8px; }
}
