/* ═══ DR. FURQAN SATTAR — SHARED STYLES ═══ */

:root {
  --midnight: #0f1724;
  --slate: #1a2332;
  --steel: #2d3a4a;
  --mist: #8b95a5;
  --silver: #b8c0cc;
  --pearl: #e8eaee;
  --snow: #f6f7f9;
  --white: #ffffff;
  --teal: #0d9488;
  --teal-dark: #0a7a70;
  --teal-glow: #14b8a6;
  --teal-pale: #ccfbf1;
  --teal-mist: #f0fdfa;
  --copper: #c2956a;
  --copper-light: #d4ab82;
  --copper-pale: #faf3ec;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--slate);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Instrument Serif', serif; }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.06); }
nav.dark-nav {
  background: rgba(15,23,36,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; justify-content: space-between; align-items: center; height: 72px;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.5rem; font-weight: 400; color: var(--midnight); letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo em { font-style: italic; color: var(--teal); }
nav.dark-nav .nav-logo { color: var(--white); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--mist); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.3s; position: relative;
  padding: 0.4rem 0;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 2px;
}
nav.dark-nav .nav-links a { color: var(--silver); }
nav.dark-nav .nav-links a:hover { color: var(--teal-glow); }
nav.dark-nav .nav-links a.active { color: var(--teal-glow); }
nav.dark-nav .nav-links a.active::after { background: var(--teal-glow); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.nav-hamburger span { width: 22px; height: 1.5px; background: var(--midnight); transition: all 0.3s; border-radius: 2px; }
nav.dark-nav .nav-hamburger span { background: var(--white); }

/* ═══ PAGE HEADER ═══ */
.page-header {
  padding: 10rem 2.5rem 5rem;
  background: var(--midnight);
  position: relative; overflow: hidden;
}
.page-header-noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.page-header-gradient {
  position: absolute; bottom: -50%; right: -15%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
}
.page-header-inner {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 1;
}
.page-header .section-label { color: var(--teal-glow); }
.page-header .section-label::before { background: var(--teal-glow); }
.page-header .section-title { color: var(--white); font-size: clamp(2.5rem, 5vw, 3.8rem); }
.page-header .section-subtitle { color: var(--silver); margin-bottom: 0; }

/* ═══ SECTIONS ═══ */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-label::before {
  content: ''; width: 20px; height: 1.5px; background: var(--teal);
}

.section-title {
  font-family: 'Instrument Serif', serif; font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400; color: var(--midnight); letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.02rem; color: var(--mist); font-weight: 400;
  max-width: 560px; line-height: 1.75; margin-bottom: 3.5rem;
}

/* ═══ BUTTONS ═══ */
.btn-teal {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: white; padding: 0.9rem 2.2rem; border-radius: 8px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all 0.35s; border: 2px solid var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark); border-color: var(--teal-dark);
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,148,136,0.25);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--silver); padding: 0.9rem 2.2rem; border-radius: 8px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1.5px solid rgba(255,255,255,0.15); transition: all 0.35s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4); color: white; transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--teal); padding: 0.9rem 2.2rem; border-radius: 8px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em;
  border: 2px solid var(--teal); transition: all 0.35s;
}
.btn-outline:hover {
  background: var(--teal); color: white; transform: translateY(-2px);
}

/* ═══ HERO (home only) ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 72px;
  background: var(--midnight);
}
.hero-noise {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.hero-gradient {
  position: absolute; bottom: -40%; right: -20%;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
}
.hero-gradient-2 {
  position: absolute; top: -30%; left: -15%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,149,106,0.08) 0%, transparent 70%);
}
.hero-lines { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-lines::before, .hero-lines::after {
  content: ''; position: absolute; border: 1px solid rgba(255,255,255,0.03); border-radius: 50%;
}
.hero-lines::before { width: 600px; height: 600px; top: 10%; right: -5%; }
.hero-lines::after { width: 400px; height: 400px; top: 25%; right: 5%; }

.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 5rem 2.5rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem;
  align-items: center; position: relative; z-index: 1;
}
.hero-content { animation: fadeUp 1s ease 0.2s both; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(13,148,136,0.12); border: 1px solid rgba(13,148,136,0.2);
  color: var(--teal-glow);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.55rem 1.3rem; border-radius: 100px; margin-bottom: 2rem;
}
.hero-tag::before {
  content: ''; width: 7px; height: 7px; background: var(--teal-glow); border-radius: 50%;
  box-shadow: 0 0 10px rgba(20,184,166,0.4);
}
.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 5.5vw, 4.5rem); font-weight: 400;
  color: var(--white); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.hero h1 em { font-style: italic; color: var(--teal-glow); }
.hero-credentials {
  font-size: 0.95rem; color: var(--silver); font-weight: 400;
  letter-spacing: 0.04em; margin-bottom: 1.6rem;
}
.hero-desc {
  font-size: 1.05rem; color: var(--mist); line-height: 1.85;
  max-width: 520px; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo */
.hero-photo-wrapper {
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 1s ease 0.5s both; position: relative;
}
.hero-photo-frame { position: relative; width: 380px; height: 460px; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 24px; box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-photo-accent {
  position: absolute; inset: -3px; border-radius: 26px;
  border: 1.5px solid rgba(13,148,136,0.25); z-index: -1;
}
.hero-photo-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--white); border-radius: 16px; padding: 1.2rem 1.6rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  display: flex; align-items: center; gap: 0.8rem;
  animation: fadeUp 1s ease 0.9s both;
}
.badge-dot {
  width: 10px; height: 10px; background: var(--teal-glow); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
  animation: pulse 2s ease infinite;
}
.badge-text { font-size: 0.82rem; font-weight: 600; color: var(--midnight); }
.badge-sub { font-size: 0.72rem; color: var(--mist); font-weight: 400; }

/* ═══ MARQUEE ═══ */
.marquee-strip {
  background: var(--teal); color: white; padding: 0.8rem 0;
  overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; animation: marquee 30s linear infinite; width: max-content;
}
.marquee-item {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; padding: 0 2.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.marquee-item::before { content: '◆'; font-size: 0.5rem; opacity: 0.5; }

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.about-text p {
  font-size: 1rem; line-height: 1.9; color: var(--steel); margin-bottom: 1.6rem; font-weight: 400;
}
.about-text strong { font-weight: 600; color: var(--midnight); }

.credentials-grid { display: grid; gap: 0.9rem; }
.credential-card {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 14px;
  padding: 1.3rem 1.5rem; transition: all 0.35s;
  display: flex; align-items: flex-start; gap: 1rem;
}
.credential-card:hover {
  border-color: var(--teal); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,148,136,0.08);
}
.cred-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cred-icon.teal { background: var(--teal-mist); }
.cred-icon.copper { background: var(--copper-pale); }
.cred-icon svg { width: 20px; height: 20px; }
.cred-title { font-weight: 700; font-size: 0.88rem; color: var(--midnight); margin-bottom: 0.15rem; }
.cred-detail { font-size: 0.78rem; color: var(--mist); font-weight: 400; line-height: 1.5; }

.languages-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }
.lang-pill {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 100px;
  padding: 0.5rem 1.2rem; font-size: 0.82rem; font-weight: 500; color: var(--steel);
  transition: all 0.3s;
}
.lang-pill:hover { border-color: var(--teal); background: var(--teal-mist); color: var(--teal-dark); }
.lang-pill span { font-weight: 400; color: var(--mist); margin-left: 0.3rem; font-size: 0.75rem; }

/* ═══ SPECIALISMS ═══ */
.specialisms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.spec-card {
  background: var(--snow); border: 1px solid transparent; border-radius: 18px;
  padding: 2.2rem 1.8rem; transition: all 0.4s; cursor: default;
}
.spec-card:hover {
  background: var(--white); border-color: var(--pearl);
  transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.spec-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.spec-icon svg { width: 26px; height: 26px; }
.spec-icon.s1 { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.spec-icon.s2 { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.spec-icon.s3 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.spec-icon.s4 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.spec-icon.s5 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.spec-icon.s6 { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.spec-name {
  font-family: 'Instrument Serif', serif; font-size: 1.3rem; font-weight: 400;
  color: var(--midnight); margin-bottom: 0.6rem;
}
.spec-desc { font-size: 0.86rem; color: var(--mist); line-height: 1.7; font-weight: 400; }

/* ═══ TIMELINE ═══ */
.timeline { position: relative; max-width: 760px; z-index: 1; }
.timeline::before {
  content: ''; position: absolute; left: 15px; top: 5px; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--teal), rgba(13,148,136,0.1));
}
.tl-item { padding-left: 3rem; padding-bottom: 2.8rem; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 10px; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--teal);
}
.tl-item.dark::before { background: var(--midnight); box-shadow: 0 0 0 4px var(--midnight); }
.tl-item.light::before { background: var(--white); box-shadow: 0 0 0 4px var(--white); }
.tl-year {
  font-size: 0.7rem; font-weight: 700; color: var(--teal-glow);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.tl-title {
  font-family: 'Instrument Serif', serif; font-size: 1.2rem; font-weight: 400;
  color: var(--white); margin-bottom: 0.15rem;
}
.tl-place { font-size: 0.82rem; color: var(--silver); font-weight: 400; margin-bottom: 0.4rem; }
.tl-desc { font-size: 0.82rem; color: var(--mist); font-weight: 300; line-height: 1.65; }
/* Light theme timeline */
.timeline-light .tl-title { color: var(--midnight); }
.timeline-light .tl-place { color: var(--stone, var(--mist)); }
.timeline-light .tl-desc { color: var(--steel); }
.timeline-light .tl-year { color: var(--teal); }

/* ═══ EDUCATION HUB ═══ */
.edu-banner {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 24px;
  padding: 3.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem;
  align-items: center; position: relative; overflow: hidden;
}
.edu-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
}
.edu-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.edu-banner h3 {
  font-family: 'Instrument Serif', serif; font-size: 2rem; font-weight: 400;
  color: var(--midnight); line-height: 1.2; margin-bottom: 1rem;
}
.edu-banner p { font-size: 0.95rem; color: var(--mist); font-weight: 400; line-height: 1.75; margin-bottom: 1.5rem; }

.edu-topics { display: grid; gap: 0.8rem; }
.edu-topic {
  background: var(--snow); border: 1px solid var(--pearl); border-radius: 14px;
  padding: 1.1rem 1.4rem; display: flex; align-items: center; gap: 0.9rem;
  transition: all 0.3s; cursor: default;
}
.edu-topic:hover { border-color: var(--teal); background: var(--teal-mist); transform: translateX(4px); }
.edu-icon {
  width: 38px; height: 38px; border-radius: 10px; background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.edu-icon svg { width: 18px; height: 18px; color: var(--teal); }
.edu-topic-text { font-size: 0.86rem; font-weight: 600; color: var(--midnight); }
.edu-topic-sub { font-size: 0.74rem; color: var(--mist); font-weight: 400; }

/* ═══ BLOG ═══ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--snow); border: 1px solid transparent; border-radius: 18px;
  overflow: hidden; transition: all 0.4s; cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.06); border-color: var(--pearl);
}
.blog-thumb { height: 180px; position: relative; overflow: hidden; }
.blog-thumb-inner {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.blog-thumb.t1 { background: linear-gradient(135deg, #0d9488, #0a7a70); }
.blog-thumb.t2 { background: linear-gradient(135deg, #c2956a, #a17a52); }
.blog-thumb.t3 { background: linear-gradient(135deg, #1a2332, #2d3a4a); }
.blog-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 0.3rem 0.8rem; border-radius: 6px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--midnight);
}
.blog-body { padding: 1.6rem; }
.blog-date { font-size: 0.72rem; color: var(--mist); font-weight: 500; margin-bottom: 0.5rem; }
.blog-title {
  font-family: 'Instrument Serif', serif; font-size: 1.2rem; font-weight: 400;
  color: var(--midnight); line-height: 1.35; margin-bottom: 0.6rem;
}
.blog-excerpt { font-size: 0.84rem; color: var(--mist); line-height: 1.6; font-weight: 400; }

/* ═══ CONTACT ═══ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 1.6rem; display: flex; align-items: center; gap: 1.2rem;
  transition: all 0.3s;
}
.contact-card:hover { background: rgba(255,255,255,0.07); transform: translateX(4px); }
.contact-icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(13,148,136,0.12); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon-box svg { width: 20px; height: 20px; color: var(--teal-glow); }
.contact-card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 0.2rem; }
.contact-card-value { font-size: 0.92rem; color: rgba(255,255,255,0.85); font-weight: 400; }
.contact-card-value a { color: rgba(255,255,255,0.85); text-decoration: none; transition: color 0.3s; }
.contact-card-value a:hover { color: var(--teal-glow); }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.social-btn {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; cursor: pointer; text-decoration: none;
}
.social-btn:hover { background: rgba(13,148,136,0.15); border-color: var(--teal); transform: translateY(-3px); }
.social-btn svg { width: 20px; height: 20px; color: var(--silver); }
.social-btn:hover svg { color: var(--teal-glow); }

.contact-form { display: grid; gap: 1rem; }
.form-group { display: grid; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
  font-size: 0.75rem; font-weight: 600; color: var(--silver);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-input, .form-textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 0.85rem 1rem;
  color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem; font-weight: 400; outline: none; transition: all 0.3s;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--teal); background: rgba(13,148,136,0.05);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--mist); opacity: 0.5; }
.form-textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: var(--teal); color: white; padding: 0.9rem 2rem; border-radius: 10px;
  border: none; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.35s; width: 100%;
}
.btn-submit:hover {
  background: var(--teal-dark); transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13,148,136,0.25);
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--midnight); border-top: 1px solid rgba(255,255,255,0.04);
  padding: 2.5rem; text-align: center;
}
footer p { font-size: 0.75rem; color: rgba(255,255,255,0.25); font-weight: 400; }
footer a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--teal-glow); }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(13,148,136,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(13,148,136,0.05); }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reveal {
  opacity: 0; transform: translateY(35px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-photo-wrapper { order: -1; }
  .hero-photo-frame { width: 280px; height: 340px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .specialisms-grid { grid-template-columns: 1fr 1fr; }
  .edu-banner { grid-template-columns: 1fr; padding: 2.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--pearl); padding: 1.5rem 2.5rem; gap: 1.2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  }
  nav.dark-nav .nav-links.open {
    background: var(--midnight); border-bottom-color: rgba(255,255,255,0.05);
  }
}

@media (max-width: 600px) {
  section { padding: 4.5rem 1.5rem; }
  .page-header { padding: 8rem 1.5rem 3.5rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-photo-frame { width: 240px; height: 300px; }
  .hero-photo-badge { display: none; }
  .specialisms-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-teal, .btn-ghost, .btn-outline { text-align: center; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══ BOOK NOW NAV BUTTON ═══ */
.nav-book {
  background: var(--teal) !important;
  color: white !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 6px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  transition: all 0.3s !important;
}
.nav-book:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 15px rgba(13,148,136,0.3) !important;
}
nav.dark-nav .nav-book {
  background: var(--teal) !important;
  color: white !important;
}

/* ═══ FIBROMYALGIA CYCLES ═══ */
.cycles-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}

.cycle-card {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 24px;
  overflow: hidden; transition: all 0.4s;
}
.cycle-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.cycle-header {
  padding: 2rem 2rem 1rem; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.4rem;
}
.cycle-header h3 {
  font-family: 'Instrument Serif', serif; font-size: 1.5rem; font-weight: 400;
  margin-top: 0.3rem;
}
.cycle-header p {
  font-size: 0.84rem; color: var(--mist); font-weight: 400;
}
.cycle-header.pain { color: #dc2626; }
.cycle-header.pain h3 { color: #b91c1c; }
.cycle-header.care { color: #0d9488; }
.cycle-header.care h3 { color: #047857; }

.cycle-diagram {
  padding: 1rem 2rem; display: flex; justify-content: center;
}
.cycle-svg { width: 100%; max-width: 360px; height: auto; }

.cycle-node { opacity: 0; animation: nodeAppear 0.5s ease forwards; animation-delay: var(--delay); }

.cycle-arrow {
  animation: rotateArrow 8s linear infinite;
  transform-origin: 200px 200px;
}

.cycle-footer {
  padding: 1rem 2rem 2rem; text-align: center;
}
.cycle-footer p {
  font-size: 0.86rem; color: var(--mist); line-height: 1.7; font-weight: 400;
  max-width: 380px; margin: 0 auto;
}

/* Resources list */
.resources-coming {
  background: var(--snow); border: 1px solid var(--pearl); border-radius: 20px;
  padding: 2.5rem;
}
.resources-coming .section-label { margin-bottom: 1.5rem; }

.resources-list { display: grid; gap: 0.8rem; }

.resource-item {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 14px;
  padding: 1.2rem 1.5rem; display: flex; align-items: center; gap: 1rem;
  transition: all 0.3s;
}
.resource-item:hover {
  border-color: var(--teal); transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(13,148,136,0.06);
}
.resource-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--teal);
}
.resource-title { font-weight: 700; font-size: 0.9rem; color: var(--midnight); margin-bottom: 0.1rem; }
.resource-sub { font-size: 0.78rem; color: var(--mist); font-weight: 400; }

@keyframes nodeAppear {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes rotateArrow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .cycles-grid { grid-template-columns: 1fr; }
}

/* ═══ FORM EMBED ═══ */
.form-embed-section { width: 100%; }

.form-embed-card {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 24px;
  overflow: hidden;
}

.form-embed-header {
  padding: 2rem 2.5rem; display: flex; align-items: flex-start; gap: 1.2rem;
  border-bottom: 1px solid var(--pearl); background: var(--teal-mist);
}
.form-embed-header h3 {
  font-family: 'Instrument Serif', serif; font-size: 1.4rem; font-weight: 400;
  color: var(--midnight); margin-bottom: 0.3rem;
}
.form-embed-header p {
  font-size: 0.88rem; color: var(--mist); font-weight: 400; line-height: 1.6;
}
.form-embed-header svg { flex-shrink: 0; margin-top: 0.2rem; }

.form-embed-body { padding: 1.5rem; }
.form-embed-body iframe { width: 100%; min-height: 800px; border: none; }


/* ═══ DROPDOWN NAV ═══ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.3s;
}
.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: 12px;
  padding: 0.6rem 0;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  z-index: 100;
  margin-top: 0.5rem;
}
nav.dark-nav .dropdown-menu {
  background: var(--slate);
  border-color: rgba(255,255,255,0.08);
}
.nav-dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.2rem !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  color: var(--steel) !important;
  transition: all 0.2s;
  white-space: nowrap;
}
nav.dark-nav .dropdown-menu a {
  color: var(--silver) !important;
}
.dropdown-menu a:hover {
  background: var(--teal-mist) !important;
  color: var(--teal) !important;
}
nav.dark-nav .dropdown-menu a:hover {
  background: rgba(13,148,136,0.1) !important;
  color: var(--teal-glow) !important;
}
.dropdown-menu a::after { display: none !important; }
.dropdown-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dropdown-icon svg { width: 16px; height: 16px; }
.dropdown-icon.di-teal { background: var(--teal-mist); color: var(--teal); }
.dropdown-icon.di-copper { background: var(--copper-pale); color: var(--copper); }
.dropdown-icon.di-purple { background: #ede9fe; color: #7c3aed; }
.dropdown-icon.di-pink { background: #fce7f3; color: #db2777; }

/* Mobile dropdown */
@media (max-width: 1024px) {
  .dropdown-menu {
    position: static; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 0.3rem 0 0.3rem 1rem;
    display: none; margin-top: 0;
  }
  nav.dark-nav .dropdown-menu { background: transparent; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 0.5rem 0.8rem !important; }
}

/* ═══ RESOURCE CARDS ═══ */
.resource-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.resource-section-card {
  background: var(--white); border: 1px solid var(--pearl); border-radius: 20px;
  padding: 2rem; transition: all 0.4s; text-decoration: none;
  display: block; position: relative; overflow: hidden;
}
.resource-section-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.resource-section-card:hover::before { transform: scaleX(1); }
.resource-section-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 50px rgba(0,0,0,0.07);
  border-color: transparent;
}
.resource-section-card.rc-teal::before { background: var(--teal); }
.resource-section-card.rc-copper::before { background: var(--copper); }
.resource-section-card.rc-purple::before { background: #7c3aed; }
.resource-section-card.rc-pink::before { background: #db2777; }

.rc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.rc-icon svg { width: 28px; height: 28px; }
.rc-icon.ri-teal { background: var(--teal-mist); color: var(--teal); }
.rc-icon.ri-copper { background: var(--copper-pale); color: var(--copper); }
.rc-icon.ri-purple { background: #ede9fe; color: #7c3aed; }
.rc-icon.ri-pink { background: #fce7f3; color: #db2777; }

.rc-title {
  font-family: 'Instrument Serif', serif; font-size: 1.35rem; font-weight: 400;
  color: var(--midnight); margin-bottom: 0.5rem;
}
.rc-desc { font-size: 0.86rem; color: var(--mist); line-height: 1.7; margin-bottom: 1rem; }
.rc-items { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rc-chip {
  background: var(--snow); border: 1px solid var(--pearl); border-radius: 100px;
  padding: 0.3rem 0.8rem; font-size: 0.72rem; font-weight: 600; color: var(--steel);
}

/* Fibro sub-sections */
.fibro-sections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }

.fibro-card {
  background: var(--snow); border: 1px solid var(--pearl); border-radius: 16px;
  padding: 1.5rem; transition: all 0.35s; text-decoration: none; display: block;
  cursor: pointer;
}
.fibro-card:hover {
  background: var(--white); border-color: var(--teal);
  transform: translateY(-3px); box-shadow: 0 10px 30px rgba(13,148,136,0.08);
}
.fibro-card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--teal-mist);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem; color: var(--teal);
}
.fibro-card-icon svg { width: 20px; height: 20px; }
.fibro-card-title {
  font-weight: 700; font-size: 0.92rem; color: var(--midnight); margin-bottom: 0.2rem;
}
.fibro-card-sub { font-size: 0.78rem; color: var(--mist); line-height: 1.5; }

@media (max-width: 700px) {
  .resource-sections { grid-template-columns: 1fr; }
  .fibro-sections { grid-template-columns: 1fr; }
}
