/* STEM350 — Futuristic Regenerative Medicine Design System */

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

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --primary-light: #60A5FA;
  --primary-glow: rgba(59,130,246,0.4);
  --bg-deep: #030712;
  --bg-dark: #0B1120;
  --bg-card: rgba(15,23,42,0.7);
  --bg-glass: rgba(15,23,42,0.5);
  --text-white: #F8FAFC;
  --text-light: #CBD5E1;
  --text-muted: #64748B;
  --border-subtle: rgba(59,130,246,0.12);
  --border-glow: rgba(59,130,246,0.3);
  --cyan: #06B6D4;
  --purple: #8B5CF6;
  --emerald: #10B981;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-glow: 0 0 40px rgba(59,130,246,0.25);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.4);
  --pink: #FF2D9B;
  --pink-glow: rgba(255,45,155,0.5);
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-light);
  line-height: 1.75;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-white); line-height:1.2; }
a { color: var(--primary-light); text-decoration:none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width:100%; height:auto; display:block; }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }
.section { padding: 100px 0; position:relative; }
.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content:'';
  width: 30px;
  height: 2px;
  background: var(--cyan);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 50px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}
.nav.scrolled {
  background: rgba(3,7,18,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-white);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content:'';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 0 20px var(--primary-glow);
  transition: var(--transition);
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--primary-glow);
}
.nav-cta::after { display:none !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  -webkit-tap-highlight-color: transparent;
  z-index: 1001;
}
.mobile-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s ease;
  transform-origin: center;
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
              var(--bg-deep);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-white);
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 1;
}
.hero-visual-orb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(59,130,246,0.2), rgba(139,92,246,0.1), transparent 70%);
  border: 1px solid var(--border-subtle);
  position: relative;
  animation: float 8s ease-in-out infinite;
}
.hero-visual-orb::before {
  content:'';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(6,182,212,0.3), transparent 70%);
  border: 1px solid rgba(6,182,212,0.15);
  animation: float 6s ease-in-out infinite reverse;
}
.hero-visual-orb::after {
  content:'';
  position: absolute;
  inset: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.5), transparent 70%);
  animation: pulse-orb 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse-orb {
  0%,100% { transform: scale(1); opacity:0.8; }
  50% { transform: scale(1.1); opacity:1; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 30px var(--primary-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--primary-glow);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-glow);
}
.btn-outline:hover {
  background: var(--bg-glass);
  border-color: var(--primary);
  color: var(--text-white);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content:'';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF2D9B, transparent);
  opacity: 0;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity:1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(6,182,212,0.1));
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* ===== PROCESS / HOW IT WORKS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-glow);
  display: block;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-glow); }
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  font-size: 1.05rem;
}
.faq-question svg {
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary);
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}
.testimonial-stars {
  color: #FF2D9B;
  filter: drop-shadow(0 0 5px rgba(255,45,155,0.55));
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.8;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.95rem;
}
.testimonial-location {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08));
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.15), transparent 60%);
}
.cta-box > * { position:relative; z-index:1; }
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 32px;
}
.cta-phone {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem,3vw,2.2rem);
  font-weight: 700;
  color: var(--primary-light);
  display: block;
  margin-bottom: 24px;
}

/* ===== AREAS ===== */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-tag {
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}
.area-tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(59,130,246,0.08);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 16px 0;
  max-width: 300px;
}
.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--text-light);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FOOTER SOCIAL ICONS ===== */
.footer-brand div a {
  background: rgba(255,45,155,0.07) !important;
  border: 1px solid rgba(255,45,155,0.22) !important;
  color: #FF2D9B !important;
  filter: drop-shadow(0 0 6px rgba(255,45,155,0.4));
  transition: all 0.3s ease !important;
}
.footer-brand div a:hover {
  background: rgba(255,45,155,0.16) !important;
  border-color: rgba(255,45,155,0.52) !important;
  color: #FF2D9B !important;
  filter: drop-shadow(0 0 12px rgba(255,45,155,0.95)) drop-shadow(0 0 26px rgba(255,45,155,0.45)) !important;
  transform: translateY(-2px);
}

/* ===== NEON TEXT ===== */
.dr-dot {
  color: #FF2D9B;
  text-shadow: 0 0 4px rgba(255,45,155,1), 0 0 10px rgba(255,45,155,0.9), 0 0 20px rgba(255,45,155,0.6), 0 0 30px rgba(255,45,155,0.3);
}
.neon-phone {
  color: #FF2D9B;
  text-shadow: 0 0 4px rgba(255,45,155,1), 0 0 10px rgba(255,45,155,0.9), 0 0 20px rgba(255,45,155,0.6), 0 0 30px rgba(255,45,155,0.3);
  font-weight: inherit;
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: #FF2D9B;
  color: #fff;
  border-radius: 60px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 30px rgba(255,45,155,0.5);
  transition: var(--transition);
  animation: float-cta 3s ease-in-out infinite;
  text-decoration: none;
}
.floating-cta:hover {
  background: #d4197b;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px rgba(255,45,155,0.7);
  color: #fff;
}
@keyframes float-cta {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body { padding: 28px; }
.blog-card-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,45,155,0.1);
  border: 1px solid rgba(255,45,155,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FF2D9B;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-white);
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--primary-light); }
.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== BLOG POST ===== */
.blog-post { padding-top: 120px; }
.blog-post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}
.blog-post-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-post-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.blog-post-hero-img {
  width: 100%;
  max-width: 900px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto 48px;
  display: block;
  border: 1px solid var(--border-subtle);
}
.blog-post-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}
.blog-post-content h2 {
  font-size: 1.8rem;
  margin: 48px 0 20px;
  background: linear-gradient(135deg, var(--text-white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-post-content h3 {
  font-size: 1.35rem;
  margin: 36px 0 16px;
}
.blog-post-content p { margin-bottom: 20px; color: var(--text-light); }
.blog-post-content ul, .blog-post-content ol {
  margin: 20px 0;
  padding-left: 28px;
  color: var(--text-light);
}
.blog-post-content li { margin-bottom: 10px; }
.blog-post-content blockquote {
  border-left: 3px solid #FF2D9B;
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  color: var(--text-light);
  font-style: italic;
}
.blog-post-content strong { color: var(--text-white); }

/* ===== ABOUT ===== */
.about-hero { padding-top: 120px; }
.doctor-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(10px);
}
.doctor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
}
.doctor-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== SERVICES PAGE ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}
.service-detail h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.service-detail p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.service-detail ul {
  list-style: none;
  margin: 16px 0;
}
.service-detail ul li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-detail ul li::before {
  content:'';
  width: 8px;
  height: 8px;
  background: #FF2D9B;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,45,155,0.7);
}

/* ===== PARTICLES ===== */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: drift linear infinite;
}
@keyframes drift {
  0% { transform: translateY(100vh) translateX(0); opacity:0; }
  10% { opacity:0.3; }
  90% { opacity:0.3; }
  100% { transform: translateY(-100px) translateX(100px); opacity:0; }
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at center top, rgba(59,130,246,0.1), transparent 60%);
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-white), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 100px 0 0;
  font-size: 0.85rem;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary-light); }
.breadcrumbs span { color: var(--text-muted); margin: 0 8px; }
.breadcrumbs .current { color: var(--text-light); }

/* ===== PAGE-SPECIFIC RESPONSIVE GRID CLASSES ===== */
.dr-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}
.about-who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ===== DR. BROOKS HOME SECTION ===== */
.dr-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
}
.dr-home-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dr-home-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(3,7,18,0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.dr-home-badge-dot {
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px #10B981;
  animation: pulse-dot 2s infinite;
}
.dr-home-badge-title {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.9rem;
}
.dr-home-badge-sub {
  color: var(--primary-light);
  font-size: 0.8rem;
}
.dr-home-photo-secondary {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}
.dr-home-photo-secondary-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.dr-home-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dr-home-stat-item {
  background: rgba(59,130,246,0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 24px;
  text-align: center;
  min-width: 110px;
}
.dr-home-stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
}
.dr-home-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.dr-home-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-visual { display:none; }
  .hero-content { max-width: 100%; }
  .doctor-card { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dr-home-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .dr-section-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-who-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-location-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* ---- Mobile Nav ---- */
  .nav { padding: 12px 0; }
  .nav.scrolled { padding: 8px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-logo img { height: 34px !important; }
  .nav-logo span img { height: 50px !important; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3,7,18,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    z-index: 999;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links a::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }

  /* Show CTA inside mobile menu */
  .nav-links .nav-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1.05rem;
  }

  .mobile-toggle { display: flex; z-index: 1001; }

  /* ---- Hero ---- */
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-description { font-size: 1.05rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.78rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-ctas { flex-direction: column; gap: 12px; margin-bottom: 36px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; padding-top: 28px; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.8rem; }

  /* ---- Grids (prevent overflow on small screens) ---- */
  .services-grid,
  .blog-grid,
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

  /* ---- Cards ---- */
  .card { padding: 24px; border-radius: 16px; }
  .card:hover { transform: none; }
  .card-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px; }
  .card-title { font-size: 1.1rem; }
  .card-text { font-size: 0.9rem; }

  .testimonial-card { padding: 24px; }
  .testimonial-text { font-size: 0.95rem; }

  .blog-card-img { height: 180px; }
  .blog-card-body { padding: 20px; }
  .blog-card-title { font-size: 1.1rem; }

  /* ---- Process steps ---- */
  .process-step::before { font-size: 2.5rem; }
  .process-step h3 { font-size: 1rem; }
  .process-step p { font-size: 0.85rem; }

  /* ---- FAQ ---- */
  .faq-question { padding: 18px 20px; font-size: 0.95rem; }
  .faq-answer-inner { padding: 0 20px 18px; font-size: 0.9rem; }

  /* ---- CTA Section ---- */
  .cta-box { padding: 36px 20px; border-radius: 20px; }
  .cta-box h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .cta-box p { font-size: 0.98rem; }
  .cta-phone { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* ---- Section headings ---- */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 14px; }
  .section-subtitle { font-size: 0.98rem; margin-bottom: 32px; }
  .section-label { font-size: 0.72rem; letter-spacing: 2px; }

  /* ---- Areas ---- */
  .areas-grid { gap: 8px; }
  .area-tag { padding: 8px 16px; font-size: 0.82rem; }

  /* ---- Footer ---- */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-brand p { max-width: 100%; }
  .footer h4 { margin-bottom: 14px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; font-size: 0.82rem; }

  /* ---- Floating CTA ---- */
  .floating-cta {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.95rem;
    animation: none;
    box-shadow: 0 -4px 30px rgba(255,45,155,0.4);
  }
  .floating-cta:hover { transform: none; }

  /* Add bottom padding so floating CTA doesn't cover footer */
  body { padding-bottom: 56px; }

  /* ---- Doctor / About ---- */
  .doctor-card { padding: 20px; gap: 24px; border-radius: 16px; }
  .doctor-photo, .doctor-photo-placeholder { aspect-ratio: 4/3; }

  /* ---- Blog post ---- */
  .blog-post { padding-top: 100px; }
  .blog-post-hero-img { height: 200px; border-radius: 12px; }
  .blog-post-meta { flex-wrap: wrap; gap: 10px; justify-content: center; }
  .blog-post-content { font-size: 1rem; }
  .blog-post-content h2 { font-size: 1.4rem; margin: 32px 0 14px; }
  .blog-post-content h3 { font-size: 1.15rem; }

  /* ---- Services page ---- */
  .service-detail { gap: 24px; margin-bottom: 48px; }
  .service-detail-img { height: 220px; border-radius: 14px; }
  .service-detail h3 { font-size: 1.3rem; }

  /* ---- Page header ---- */
  .page-header { padding: 110px 0 40px; }
  .page-header p { font-size: 1rem; }

  /* ---- Breadcrumbs ---- */
  .breadcrumbs { padding-top: 80px; font-size: 0.8rem; }

  /* ---- Dr. Brooks Home Section ---- */
  .dr-home-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .dr-home-badge {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: -1px;
    border-radius: 0 0 14px 14px !important;
    padding: 12px 16px !important;
  }
  .dr-home-stats {
    gap: 10px !important;
    margin-bottom: 24px !important;
  }
  .dr-home-stats > div {
    min-width: 0 !important;
    flex: 1 1 calc(33.33% - 8px);
    padding: 12px 8px !important;
  }
  .dr-home-stats > div > div:first-child {
    font-size: 1.3rem !important;
  }
  .dr-home-stats > div > div:last-child {
    font-size: 0.7rem !important;
  }
  .dr-home-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .dr-home-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }

  /* ---- About grids ---- */
  .dr-section-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-who-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-mission-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-photos-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .about-location-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Extra small devices (iPhone SE etc.) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-description { font-size: 0.95rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 1.3rem; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 28px 16px; }
  .section { padding: 44px 0; }
  .about-photos-grid { grid-template-columns: 1fr; }
}
