/* ============================================================
   SIDRA DPT — Pediatric Physiotherapy Website
   CSS — Modern Healthcare Design
   ============================================================ */

/* ─── VARIABLES ─── */
:root {
  --sage:     #6b9e7f;
  --sage-lt:  #a8c9b5;
  --sage-dk:  #3d6b50;
  --peach:    #f4a07a;
  --peach-lt: #fce4d3;
  --sky:      #7ab8d4;
  --sky-lt:   #d4ecf7;
  --lilac:    #b8a6d4;
  --lilac-lt: #ede8f7;
  --cream:    #faf8f3;
  --white:    #ffffff;
  --ink:      #1a1a2e;
  --ink-lt:   #3d3d5c;
  --muted:    #7a7a99;
  --border:   rgba(0,0,0,.07);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:    16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

  --max:       1200px;
  --pad:       clamp(20px, 5vw, 80px);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CUSTOM CURSOR ─── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
}
.cursor-dot  { width: 6px; height: 6px; background: var(--sage); }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--sage);
  opacity: .4;
  transition: transform .12s ease, opacity .3s;
}
body:hover .cursor-dot, body:hover .cursor-ring { opacity: 1; }

/* ─── CONTAINER ─── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ─── PAGE SWITCHING ─── */
.page { display: none; }
.page.active { display: block; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px var(--pad);
  background: rgba(250,248,243,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  cursor: pointer;
}
.nav-logo em { color: var(--sage); font-style: italic; }
.logo-icon { color: var(--sage); font-size: 1rem; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: .9rem; font-weight: 500;
  color: var(--ink-lt);
  transition: color .2s;
  cursor: pointer;
}
.nav-links a:hover { color: var(--sage); }
.nav-links .nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  transition: background .2s !important;
}
.nav-links .nav-cta:hover { background: var(--sage) !important; color: #fff !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: .3s;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  letter-spacing: .01em;
}
.btn-primary:hover {
  background: var(--sage-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,158,127,.35);
}
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(0,0,0,.2);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-link {
  background: none; border: none;
  color: var(--sage);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: letter-spacing .2s, opacity .2s;
}
.btn-link:hover { opacity: .7; letter-spacing: .04em; }
.btn-full { width: 100%; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ─── SECTION LABELS ─── */
.section-tag {
  display: inline-block;
  background: var(--peach-lt);
  color: var(--peach);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header h2 em { color: var(--sage); font-style: italic; }
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--pad) 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}
.blob-1 { width: 600px; height: 600px; background: var(--sage-lt); top: -150px; right: -100px; animation: blobMove1 12s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: var(--peach-lt); bottom: -100px; left: -80px; animation: blobMove2 15s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; background: var(--sky-lt); top: 40%; left: 40%; animation: blobMove3 10s ease-in-out infinite; }
.blob-4 { width: 500px; height: 500px; background: var(--lilac-lt); top: -50px; left: -150px; animation: blobMove1 14s ease-in-out infinite reverse; }

@keyframes blobMove1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.08); } }
@keyframes blobMove2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,30px) scale(1.05); } }
@keyframes blobMove3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,20px) scale(0.95); } }

.float-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}
.fs-1 { width: 80px; height: 80px; background: var(--sage); top: 20%; right: 15%; animation: floatShift 7s ease-in-out infinite; }
.fs-2 { width: 50px; height: 50px; background: var(--peach); bottom: 30%; right: 25%; animation: floatShift 9s ease-in-out infinite reverse; }
.fs-3 { width: 120px; height: 120px; background: var(--lilac); top: 60%; left: 10%; animation: floatShift 11s ease-in-out infinite; }

@keyframes floatShift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.hero-content {
  position: relative; z-index: 1;
  max-width: 740px;
}
.hero-badge {
  display: inline-block;
  background: var(--white);
  color: var(--sage-dk);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--sage-lt);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-title em {
  color: var(--sage);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-lt);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: var(--pad);
  display: flex; align-items: center; gap: 12px;
  z-index: 1;
  opacity: .5;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-line {
  width: 50px; height: 1px;
  background: var(--muted);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--sage);
  animation: scrollLineMove 2s ease-in-out infinite;
}
@keyframes scrollLineMove { 0% { left: -100%; } 100% { left: 100%; } }

/* ─── MARQUEE RIBBON ─── */
.ribbon-wrap {
  overflow: hidden;
  background: var(--ink);
  padding: 14px 0;
}
.ribbon {
  display: flex; align-items: center; gap: 24px;
  white-space: nowrap;
  animation: ribbonScroll 30s linear infinite;
  width: max-content;
}
.ribbon span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--sage-lt);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ribbon .dot { color: var(--peach); font-size: .5rem; }
@keyframes ribbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── INTRO STATEMENT ─── */
.intro-statement { padding: 100px 0; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 22px;
}
.intro-text h2 em { color: var(--sage); font-style: italic; }
.intro-text p { color: var(--ink-lt); margin-bottom: 16px; font-size: 1.02rem; line-height: 1.75; }
.intro-text strong { color: var(--sage-dk); }
.intro-text .btn-link { margin-top: 12px; font-size: 1rem; }

.intro-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visual-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.visual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.vc-1 { background: linear-gradient(135deg, #e8f5ee, #fff); }
.vc-2 { background: linear-gradient(135deg, #fce4d3, #fff); }
.vc-3 { background: linear-gradient(135deg, #fffde7, #fff); }
.vc-4 { background: linear-gradient(135deg, #d4ecf7, #fff); }
.vc-icon { font-size: 2rem; margin-bottom: 10px; }
.vc-label { font-size: .85rem; font-weight: 600; color: var(--ink-lt); }

/* ─── STATS SECTION ─── */
.stats-section {
  padding: 100px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: var(--sage);
  border-radius: 50%;
  filter: blur(100px);
  opacity: .06;
  top: -100px; right: -100px;
}
.stats-section .section-header h2 { color: var(--white); }
.stats-section .section-header p { color: rgba(255,255,255,.5); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: background .3s, transform .3s;
}
.stat-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--sage-lt);
  line-height: 1;
}
.stat-unit { font-size: 1rem; color: var(--peach); font-weight: 600; margin-bottom: 10px; }
.stat-label { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.5; margin-bottom: 20px; }
.stat-bar {
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.stat-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--sage), var(--sage-lt));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease .5s;
}
.stat-fill.animated { transform: scaleX(1); }

/* ─── PAKISTAN STATS ─── */
.pakistan-stats {
  padding: 100px 0;
  background: var(--cream);
}
.pk-badge {
  display: inline-block;
  background: var(--peach-lt);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 16px;
  color: #c0602a;
}
.pk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pk-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.pk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pk-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pk-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
}
.pk-unit { font-size: 1rem; font-weight: 700; color: var(--peach); margin-bottom: 10px; }
.pk-desc { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.pk-note {
  background: linear-gradient(135deg, #fff8f3, #fffde7);
  border: 1px solid #f4d9b0;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.pk-note p { font-size: .9rem; color: #7a5230; line-height: 1.7; }

/* ─── EARLY SECTION ─── */
.early-section { padding: 100px 0; background: var(--white); }
.early-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.early-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8f5ee, #d4ecf7);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.early-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 70%, rgba(107,158,127,.2), transparent 60%);
}
.eip-content { text-align: center; z-index: 1; }
.eip-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.eip-text { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--sage-dk); }
.eip-sub { display: block; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.early-card-float {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 600;
  margin-top: 16px;
  width: fit-content;
}
.ecf-icon {
  width: 28px; height: 28px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
}
.early-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.early-text h2 em { color: var(--sage); font-style: italic; }
.early-text p { color: var(--ink-lt); margin-bottom: 24px; line-height: 1.75; }
.early-list { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.early-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; color: var(--ink-lt);
}
.el-dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── QUOTE STRIP ─── */
.quote-strip {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8f5ee, #fce4d3);
}
.qs-inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.qs-mark {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--sage);
  line-height: .5;
  opacity: .3;
  margin-bottom: 10px;
}
blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 16px;
}
.qs-attr { font-size: .85rem; color: var(--muted); }

/* ─── CTA STRIP ─── */
.cta-strip {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
}
.ctas-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
}
.ctas-inner p { color: rgba(255,255,255,.55); font-size: 1.05rem; margin-bottom: 36px; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 160px var(--pad) 80px;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex; align-items: center;
}
.ph-bg { position: absolute; inset: 0; z-index: 0; }
.ph-content { position: relative; z-index: 1; max-width: 700px; }
.ph-tag {
  display: inline-block;
  background: rgba(107,158,127,.15);
  color: var(--sage-dk);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 em { color: var(--sage); font-style: italic; }
.page-hero p { font-size: 1.1rem; color: var(--ink-lt); max-width: 500px; }

/* ─── ABOUT ─── */
.profile-section { padding: 80px 0 60px; background: var(--white); }
.profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.profile-photo {
  position: sticky; top: 100px;
}
.pp-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #e8f5ee, #d4ecf7);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.pp-placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 70%, rgba(107,158,127,.2), transparent 60%);
}
.pp-icon { font-size: 4rem; }
.pp-text { font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.4; }
.pp-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: var(--sage);
  color: #fff;
  font-weight: 700; font-size: .9rem;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: .06em;
}
.profile-quick {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.pq-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--ink-lt);
}
.pq-item span:first-child { font-size: 1.1rem; }
.profile-text-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.profile-text-col h2 em { color: var(--sage); font-style: italic; }
.profile-text-col p { color: var(--ink-lt); line-height: 1.75; margin-bottom: 16px; }
.mission-card {
  background: linear-gradient(135deg, #e8f5ee, #fce4d3);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 32px;
  border-left: 4px solid var(--sage);
}
.mc-icon { font-size: 1.5rem; margin-bottom: 10px; }
.mission-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 10px; }
.mission-card p { font-style: italic; color: var(--ink-lt); font-size: .95rem; line-height: 1.7; margin: 0; }

/* ─── TIMELINE ─── */
.timeline-section { padding: 80px 0; background: var(--cream); }
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage-lt), var(--peach-lt));
  transform: translateX(-50%);
}
.tl-item {
  display: flex;
  margin-bottom: 48px;
  position: relative;
}
.tl-item.left { justify-content: flex-start; padding-right: calc(50% + 40px); }
.tl-item.right { justify-content: flex-end; padding-left: calc(50% + 40px); }
.tl-dot {
  position: absolute;
  left: 50%; top: 28px;
  width: 14px; height: 14px;
  background: var(--white);
  border: 3px solid var(--sage-lt);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.tl-dot.active {
  background: var(--sage);
  border-color: var(--sage);
  box-shadow: 0 0 0 6px rgba(107,158,127,.2);
}
.tl-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
  flex: 1;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-card.active { border-left: 3px solid var(--sage); }
.tl-year {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}
.tl-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.tl-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ─── SKILLS ─── */
.skills-section { padding: 80px 0 100px; background: var(--white); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.skill-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all .3s;
}
.skill-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: var(--sage-lt);
}
.sk-icon { font-size: 2rem; margin-bottom: 14px; }
.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.skill-card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ─── CONDITIONS ─── */
.conditions-section { padding: 80px 0 100px; }
.cond-grid { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin: 0 auto; }
.cond-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .3s;
}
.cond-card:hover { box-shadow: var(--shadow-md); }
.cc-header {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px;
  cursor: pointer;
  user-select: none;
  transition: background .2s;
}
.cc-header:hover { background: var(--cream); }
.cc-icon { font-size: 2rem; flex-shrink: 0; }
.cc-title { flex: 1; }
.cc-title h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.cc-tag {
  display: inline-block;
  background: var(--peach-lt);
  color: #c0602a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.cc-arrow {
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform .3s;
}
.cc-header.open .cc-arrow { transform: rotate(180deg); }
.cc-body {
  display: none;
  padding: 0 32px 32px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cc-body.open {
  display: grid;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.cc-desc, .cc-symptoms, .cc-physio { }
.cc-body h4 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-dk);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--sage-lt);
}
.cc-body p { font-size: .9rem; color: var(--ink-lt); line-height: 1.65; }
.cc-symptoms ul { padding-left: 0; display: flex; flex-direction: column; gap: 6px; }
.cc-symptoms li {
  font-size: .88rem; color: var(--ink-lt);
  padding-left: 16px;
  position: relative;
}
.cc-symptoms li::before {
  content: '•';
  position: absolute; left: 0;
  color: var(--sage);
}

/* ─── ARTICLES ─── */
.articles-section { padding: 60px 0 100px; }
.articles-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 48px;
}
.af-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-lt);
  cursor: pointer;
  transition: all .2s;
}
.af-btn:hover, .af-btn.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.article-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.article-card.hidden { display: none; }
.ac-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.ac-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8f5ee, #d4ecf7);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  font-size: 2.5rem;
}
.atp-label { font-size: .75rem; color: var(--muted); }
.ac-cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--sage);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}
.ac-cat-badge.cp { background: #c0602a; }
.ac-cat-badge.ds { background: var(--lilac); }
.ac-cat-badge.ms { background: var(--sky); }
.ac-body { padding: 24px; }
.ac-meta {
  display: flex; gap: 12px;
  font-size: .78rem; color: var(--muted);
  margin-bottom: 12px;
}
.ac-meta span { display: flex; align-items: center; gap: 4px; }
.ac-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
.ac-body p { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.article-read-more {
  background: none; border: none;
  color: var(--sage); font-family: var(--font-body);
  font-weight: 600; font-size: .88rem;
  cursor: pointer;
  transition: letter-spacing .2s;
}
.article-read-more:hover { letter-spacing: .04em; }
.articles-coming {
  background: var(--cream);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.ac-inner {
  display: flex; align-items: center; gap: 24px;
  max-width: 600px; margin: 0 auto;
}
.aci-icon { font-size: 2.5rem; flex-shrink: 0; }
.ac-inner h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.ac-inner p { font-size: .9rem; color: var(--muted); }

/* ─── CONTACT ─── */
.contact-section { padding: 80px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.ci-message { margin-bottom: 40px; }
.ci-message h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.ci-message p { color: var(--ink-lt); line-height: 1.75; }
.ci-cards { display: flex; flex-direction: column; gap: 16px; }
.cic-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.cic-icon { font-size: 1.4rem; flex-shrink: 0; }
.cic-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cic-val { font-size: .9rem; color: var(--ink-lt); }
.cic-val em { color: var(--muted); font-style: italic; font-size: .82rem; }
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-lt);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,158,127,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  text-align: center;
  padding: 60px 40px;
}
.fs-icon {
  width: 60px; height: 60px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}
.form-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin-bottom: 24px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; color: var(--white); }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.65; margin-bottom: 20px; }
.footer-assoc { font-size: .82rem; }
.footer-assoc span { color: rgba(255,255,255,.35); }
.footer-assoc strong { display: block; color: var(--sage-lt); margin-top: 4px; }
.footer-links h4, .footer-conditions h4, .footer-note h4 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--sage-lt);
  margin-bottom: 16px;
}
.footer-links ul, .footer-conditions ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a, .footer-conditions li {
  font-size: .88rem; color: rgba(255,255,255,.45);
  transition: color .2s; cursor: pointer;
}
.footer-links li a:hover { color: var(--white); }
.footer-note p { font-size: .82rem; color: rgba(255,255,255,.35); line-height: 1.65; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ─── AOS OVERRIDES ─── */
[data-aos] { transition-duration: .8s !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pk-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .early-inner { grid-template-columns: 1fr; gap: 48px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { position: static; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 20px; position: absolute; top: 100%; left: 0; right: 0; background: rgba(250,248,243,.97); backdrop-filter: blur(14px); padding: 28px var(--pad); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pk-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .cc-body { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .tl-item.left, .tl-item.right { justify-content: flex-start; padding-left: 50px; padding-right: 0; }
  .tl-dot { left: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cursor-dot, .cursor-ring { display: none; }
  .contact-form-wrap { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .pk-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { text-align: center; }
}
