/* 
  Theme: Dr. Bhupesh Kumar - Modern Medical Portfolio
  Stack: Raw CSS3 (Custom)
  Author: Antigravity
*/

:root {
  /* Color Palette */
  --primary: #0F766E;
  /* Deep Teal - Trust/Science */
  --primary-dark: #0D665E;
  --secondary: #FB7185;
  /* Soft Coral */
  --secondary-hover: #F43F5E;
  --background: #F8FAFC;
  /* Slate-50 */
  --surface: #FFFFFF;
  --text-main: #0F172A;
  /* Slate-900 */
  --text-muted: #64748B;
  /* Slate-500 */
  --border: #E2E8F0;
  /* Slate-200 */
  --primary-light: #2DD4BF;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);

  /* Typography */
  --font-heading: 'Clash Display', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  /* Prevent horizontal scroll from blob */
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  /* Smaller padding */
  border-radius: 50px;
  /* Pill Shape globally */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  font-size: 0.9rem;
  /* Smaller Font */
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  /* Reduced from 1rem */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  /* For absolute path of mobile menu */
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  white-space: nowrap;
  margin-right: 40px;
  min-width: 250px;
  /* Reserve space for logo */
}

.nav-logo img {
  height: 55px;
  width: auto;
}

/* Mobile Menu (Default Hidden) */
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  gap: 1.5rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.nav-links.nav-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Nav Links Base (Mobile) */
.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary);
}

/* Active Indicator (Desktop only usually, but added globally for now) */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: none;
  /* Hidden on mobile by default */
}

/* Specific styling for Navbar Button */
.nav-cta .btn-primary {
  font-size: 0.85rem;
  /* Slightly smaller text */
  font-weight: 500;
  padding: 6px 12px;
  /* Trimmed padding: was 6px 20px */
  border-radius: 50px;
  /* Pill Shape */
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(15, 118, 110, 0.2);
}

.nav-cta .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(15, 118, 110, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 4rem 0 2rem;
  /* Reduced bottom padding */
  display: grid;
  gap: 2rem;
  /* Reduced gap */
  align-items: center;
}

.hero-content {
  max-width: 600px;
  /* Mobile Alignment */
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #E0F2F1;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  background: transparent;
  animation: none;
}


/* Decorative Blob Background */
.hero-image::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  background-color: #F0FDFA;
  /* Very light teal */
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: none;
}

.hero-image img {
  width: auto;
  /* Mobile Restriction */
  max-height: 350px;
  /* Reduced from 400px */
  object-fit: contain;
  /* Color Grading & Sharpening */
  /* Increased contrast slightly to 'sharpen' visually */
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15)) saturate(0.9) contrast(1.15) brightness(1.02);
  image-rendering: -webkit-optimize-contrast;
  /* Webkit specific sharpening */
  animation: none;
  transition: all 0.3s ease;
}

.hero-image img:hover {
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.2)) saturate(1) contrast(1.1);
  transform: scale(1.02);
  /* Subtle zoom on hover */
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes blob-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  33% {
    transform: translate(-50%, -50%) scale(1.1);
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }

  66% {
    transform: translate(-50%, -50%) scale(0.9);
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Clinic Integration */
.clinic-section {
  padding: 4rem 0;
}

.clinic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.clinic-card h2 {
  font-size: 1.75rem;
}

/* Services - Bento Grid */
.services-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.bento-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(15, 118, 110, 0.2);
}

.bento-icon {
  width: 48px;
  height: 48px;
  background-color: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.bento-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.bento-card p {
  color: var(--text-muted);
}

/* BENTO LAYOUT (Desktop) */
/* TABLET LAYOUT (Content Structure) */
@media (min-width: 768px) {

  /* Hero & Grid Adjustments for Tablet+ */
  .hero {
    grid-template-columns: 1.2fr 1fr;
    padding: 6rem 0;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  /* Restore Desktop Alignment */
  .hero-content {
    text-align: left;
    margin: 0;
  }

  /* Restore Desktop Image Size */
  .hero-image img {
    max-height: 400px;
    /* Reduced from 500px */
  }

  .clinic-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .bento-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }
}

/* DESKTOP LAYOUT (Navigation Reset) */
/* Only show full horizontal menu on large screens */
@media (min-width: 1024px) {

  /* Ensure the container distributes space nicely on desktop */
  .nav-container {
    justify-content: flex-start;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    gap: 32px;
    /* Explicit 32px gap as requested */
    align-items: center;

    /* Reset Animation Props */
    opacity: 1;
    transform: none;
    pointer-events: auto;
    margin-left: 20px;
    /* Push menu away from logo */
  }

  .nav-links a {
    font-size: 15px;
    /* Elegant Size on Desktop */
    font-weight: 500;
  }

  .nav-cta {
    display: block;
    margin-left: 3rem;
    /* Increase gap between links and button */
  }

  /* Specific override for desktop if needed */
  .menu-toggle {
    display: none;
  }
}

/* TABLET/MOBILE SPECIFIC (Max Width 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    /* Hide links by default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
  }

  .nav-links.nav-active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Footer structure was kept consistent in php, so existing styling applies correctly */
/* Footer */
footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Specialization Section */
.spec-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, #f8fafc);
}

.spec-header {
  text-align: center;
  margin-bottom: 3rem;
}

.spec-header span {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.spec-header h2 {
  font-size: 2.5rem;
  font-family: var(--font-heading);
}

/* SPG Video Section */
.spg-video-section {
  padding: 4rem 0;
  background-color: var(--surface);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  background: #000;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption {
  padding: 1.5rem;
  text-align: center;
  text-align: center;
}

/* FAQ Section */
.faq-section {
  padding: 1rem 0 4rem 0;
  background-color: #F8FAFC;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.accordion-header {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  padding-right: 1rem;
}

.accordion-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item[open] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item[open] .accordion-content {
  max-height: 500px;
  /* Safe max-height for animation */
  padding: 0 1.5rem 1.5rem 1.5rem;
  opacity: 1;
}

/* Using details/summary for FAQ */
details.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s ease;
}

details.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

details.faq-item summary {
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  /* Hide default marker */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item[open] summary {
  padding-bottom: 0.5rem;
  color: var(--primary);
}

details.faq-item .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.video-caption h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.video-caption p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    /* Row gap, Col gap */
  }
}

.spec-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.spec-icon {
  min-width: 56px;
  height: 56px;
  color: var(--primary);
  background: #F0FDFA;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: all 0.3s ease;
}

.spec-card:hover .spec-icon {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(15, 118, 110, 0.3);
}

.spec-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.spec-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Social Icons */
.social-icon {
  color: rgba(0, 0, 0, 0.6);
  /* Default dark grey for light background, check theme */
  transition: all 0.3s ease;
}

/* Footer specific override if footer is dark, but based on .text-muted above, it seems light theme footer? 
   Wait, .footer-bottom has color: var(--text-muted). 
   Let's assume light theme footer based on 'text-muted' usually being grey on white.
   But if it's dark, I should check.
   Let's check footer background.
*/

.footer-col .social-icon {
  /* If footer is dark background, use whiteish. If light, use dark.
       Let's check line 618.
    */
  color: var(--text-muted);
}

.social-links a:hover .social-icon {
  color: var(--primary);
  transform: translateY(-3px);
}

/* Floating Social Sidebar */
.floating-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: white;
  padding: 15px 10px;
  border-radius: 0 12px 12px 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  z-index: 999;
  border: 1px solid var(--border);
  border-left: none;
}

.floating-social a {
  color: var(--text-muted);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-social a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .floating-social {
    display: none;
  }
}

/* ABOUT SECTION STYLES */
.about-section {
  padding: 6rem 0;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

/* About Image */
.doctor-profile-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-profile-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
  z-index: 1;
}

/* Credentials Bar */
.credentials-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #F1F5F9;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.credential-badge.harvard {
  background-color: #A51C30;
  /* Harvard Crimson */
  color: white;
  border-color: #A51C30;
}

/* Quote/Philosophy */
.philosophy-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-main);
  background: #F0FDF4;
  /* Light Teal Tint */
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
}

/* Timeline */
.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  background-color: white;
  border: 4px solid var(--primary);
  border-radius: 50%;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.timeline p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Research Card */
.research-card {
  background: var(--text-main);
  /* Dark Slate */
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.research-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, var(--primary) 0%, transparent 70%);
  opacity: 0.4;
}

.research-card h3 {
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.patent-list li {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
}

.patent-icon {
  color: var(--primary-light);
  /* Lighter teal for contrast */
}

/* STROKE CARE SECTION */
.stroke-section {
  padding: 6rem 0;
  background-color: var(--background);
}

/* FAST Grid */
.fast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.fast-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.fast-card:hover {
  transform: translateY(-5px);
}

.fast-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.fast-icon svg {
  width: 100%;
  height: 100%;
}

.fast-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.fast-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Urgent / Red Icon */
.icon-urgent {
  color: var(--secondary);
  animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(225, 29, 72, 0.4));
  }

  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(225, 29, 72, 0.7));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(225, 29, 72, 0.4));
  }
}

/* Accordion (Types of Stroke) */
.stroke-types {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.stroke-accordion {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.stroke-accordion summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
  list-style: none;
  font-size: 1.125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.stroke-accordion summary:hover {
  background-color: #F8FAFC;
}

.stroke-accordion summary::-webkit-details-marker {
  display: none;
}

.stroke-accordion summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.stroke-accordion[open] summary::after {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* Risk Calculator CTA */
.risk-cta {
  background-color: #1E293B;
  /* Slate-800 */
  color: white;
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.risk-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.risk-cta p {
  color: #94A3B8;
  /* Slate-400 */
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-dark {
  background: var(--secondary);
  color: white;
  padding: 0.75rem 1.5rem;
  /* Reduced from 1rem 2rem */
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  /* Ensure it respects padding */
}

/* RISK CALCULATOR STYLES */
.calculator-section {
  padding: 6rem 0;
  background-color: var(--background);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator-card {
  background: white;
  width: 100%;
  max-width: 700px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}

.calc-progress {
  height: 8px;
  background-color: #E2E8F0;
  width: 100%;
}

.calc-progress-bar {
  height: 100%;
  background-color: var(--primary);
  width: 0%;
  transition: width 0.3s ease;
}

.calc-content {
  padding: 3rem;
  text-align: center;
}

.calc-question-count {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.calc-question-text {
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  color: var(--text-main);
  line-height: 1.3;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .calc-options {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-option {
  padding: 1rem 2.5rem;
  border: 2px solid var(--border);
  background: white;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.btn-option:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: #F0FDF4;
}

.btn-option:active {
  transform: scale(0.98);
}

/* Result Screen */
.result-box {
  display: none;
  /* Hidden by default */
  animation: fadeIn 0.5s ease;
}

.result-score {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.risk-level {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
}

.risk-low {
  color: #10B981;
  background: #ECFDF5;
}

.risk-moderate {
  color: #F59E0B;
  background: #FFFBEB;
}

.risk-high {
  color: #EF4444;
  background: #FEF2F2;
}

.result-message {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* STATS COUNTER SECTION */
.stats-section {
  background-color: var(--primary);
  color: white;
  padding: 2.5rem 0;
  /* Reduced from 4rem */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

/* SPG THERAPY PAGE STYLES */

/* SPG Intro */
.spg-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8rem 0 6rem;
  /* Increased padding */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.spg-hero h1 {
  font-size: 3.5rem;
  /* Larger */
  margin-bottom: 1.5rem;
  color: white;
}

.spg-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* Feature Grid */
.spg-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.spg-feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.spg-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.spg-icon {
  width: 64px;
  height: 64px;
  background-color: #FFFBEB;
  /* Soft Amber Light */
  color: #F59E0B;
  /* Amber/Gold */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.spg-icon svg {
  width: 32px;
  height: 32px;
}

.spg-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Comparison Table */
.comparison-section {
  padding: 4rem 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: white;
  min-width: 600px;
  /* Ensure scrolling on small mobile */
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background-color: #F8FAFC;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--text-main);
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Highlight SPG Column */
.comparison-table .col-spg {
  background-color: #F0FDF4;
  /* Light Green/Teal tint */
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  position: relative;
}

.comparison-table th.col-spg {
  background-color: var(--primary);
  color: white;
  border-top: 4px solid var(--primary-dark);
}

.comparison-table td.col-spg {
  color: #065F46;
  /* Dark Green Text */
  font-weight: 600;
}

/* Checklist */
.checklist-box {
  background: var(--surface);
  border: 1px dashed var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
}

.checklist-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
}

.check-icon {
  color: #10B981;
  width: 20px;
  height: 20px;
}

/* Pain Slider */
.pain-slider-container {
  max-width: 600px;
  margin: 4rem auto;
  text-align: center;
  background: #FEF2F2;
  /* Very light red */
  padding: 2rem;
  border-radius: 16px;
  transition: background-color 0.5s ease;
}

.slider-label {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(to right, #10B981 0%, #EF4444 100%);
  outline: none;
  margin-bottom: 1rem;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--text-main);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* CHATBOT WIDGET */
.chatbot-toggler {
  position: fixed;
  bottom: 30px;
  right: 30px;
  outline: none;
  border: none;
  height: 60px;
  width: 60px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(15, 118, 110, 0.4);
  transition: all 0.2s ease;
  z-index: 9999;
}

.chatbot-toggler:hover {
  transform: scale(1.1);
}

.chatbot-toggler span {
  color: #fff;
  position: absolute;
}

.chatbot-toggler span:last-child,
.body-show-chatbot .chatbot-toggler span:first-child {
  opacity: 0;
}

.body-show-chatbot .chatbot-toggler span:last-child {
  opacity: 1;
}

.chatbot {
  position: fixed;
  right: 35px;
  bottom: 90px;
  width: 420px;
  max-width: 90vw;
  /* Responsive constraint */
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom right;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
  z-index: 9998;
}

.body-show-chatbot .chatbot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chatbot header {
  padding: 16px 0;
  position: relative;
  text-align: center;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot header span {
  position: absolute;
  right: 15px;
  top: 50%;
  display: none;
  cursor: pointer;
  transform: translateY(-50%);
  color: white;
  /* Fix contrast */
}

.chatbot header h2 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  margin: 0;
  color: white;
  /* Fix contrast */
  /* Reset default margin */
}

.chatbox {
  overflow-y: auto;
  height: 400px;
  padding: 30px 20px 100px;
}

.chatbox .chat {
  display: flex;
  list-style: none;
  margin-bottom: 20px;
}

.chatbox .outgoing {
  margin: 20px 0;
  justify-content: flex-end;
}

.chatbox .chat p {
  white-space: pre-wrap;
  padding: 12px 16px;
  border-radius: 10px 10px 0 10px;
  max-width: 75%;
  color: #fff;
  font-size: 0.95rem;
  background: var(--primary);
}

.chatbox .incoming p {
  border-radius: 10px 10px 10px 0;
  color: #000;
  background: #f2f2f2;
}

.chatbox .incoming span {
  width: 32px;
  height: 32px;
  color: #fff;
  cursor: default;
  display: flex;
  /* Flex for SVG centering */
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  background: var(--primary);
  border-radius: 4px;
  margin: 0 10px 7px 0;
}

.chat-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 3px 20px;
  border-top: 1px solid #ddd;
}

.chat-input textarea {
  height: 55px;
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  max-height: 180px;
  padding: 15px 15px 15px 0;
  font-size: 0.95rem;
  font-family: var(--font-body);
}

.chat-input span {
  align-self: flex-end;
  color: var(--primary);
  cursor: pointer;
  height: 55px;
  display: flex;
  align-items: center;
  visibility: hidden;
  font-size: 1.35rem;
}

.chat-input textarea:valid~span {
  visibility: visible;
}

@media (max-width: 490px) {
  .chatbot {
    right: 0;
    bottom: 0;
    height: 100%;
    border-radius: 0;
    width: 100%;
  }

  .chatbot .chatbox {
    height: 90%;
    padding: 25px 15px 100px;
  }

  .chatbot .chat-input {
    padding: 5px 15px;
  }

  .chatbot header span {
    display: block;
  }
}

/* CONTACT PAGE STYLES */
.contact-hero {
  text-align: center;
  padding: 6rem 0 2rem;
  background-color: var(--background);
}

.contact-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-fork-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .contact-fork-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-option-card {
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-option-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.contact-option-card.primary {
  border: 2px solid var(--primary);
  background: white;
}

.contact-option-card.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
}

.contact-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-main-section {
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr 1.5fr;
  }
}

.info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: fit-content;
}

.info-item {
  margin-bottom: 2rem;
}

.info-item h4 {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-item p {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
}

.info-item a {
  border-bottom: 1px dashed var(--border);
}

.form-box {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s;
  background-color: #F8FAFC;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* REVIEWS SECTION */
.reviews-section {
  padding: 4rem 0;
  /* Reduced */
  background-color: white;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
  /* Reduced */
}

.google-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #5F6368;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  /* Smaller brand text */
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  /* Reduced gap */
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--background);
  padding: 1.5rem;
  /* Reduced padding */
  border-radius: 12px;
  /* Slightly tighter radius */
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* Reduced gap */
  transition: transform 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  /* Smaller avatar */
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.9rem;
  /* Smaller name */
  margin: 0;
  line-height: 1.2;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: #F59E0B;
  /* Gold */
  font-size: 1rem;
  /* Smaller stars */
  letter-spacing: 1px;
}

.review-text {
  color: var(--text-main);
  font-size: 0.9rem;
  /* Compact text */
  line-height: 1.5;
  flex-grow: 1;
}

.google-icon-small {
  width: 18px;
  height: 18px;
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* Section A: Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media(min-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.philosophy-content blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-main);
  margin: 2rem 0;
}

/* Section B: Timeline */
.timeline-section {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
  border-left: 2px solid #E2E8F0;
  /* Slate-200 */
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
}

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 1px var(--primary);
}

.timeline-date {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Section C: Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.credential-card {
  background: white;
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 4px solid #F59E0B;
  /* Amber/Gold */
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  height: 100%;
}

.credential-card:hover {
  transform: translateY(-5px);
}

.credential-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.credential-school {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Section D: Research */
.research-section {
  background-color: #0F766E;
  /* Dark Teal */
  color: white;
  padding: 5rem 0;
}

.research-section h2 {
  color: white;
  margin-bottom: 3rem;
}

.research-list {
  list-style: none;
  padding: 0;
}

.research-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.research-icon {
  font-size: 1.5rem;
}

.research-title {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.research-meta {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Refactored Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.section-padding {
  padding: 4rem 1rem;
}

.btn-lg {
  font-size: 1.25rem;
  padding: 1rem 3rem;
}

.bg-surface-border {
  background: var(--background);
  border-top: 1px solid var(--border);
}

.text-lg-muted {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Stroke Page Refactor */
.stroke-hero {
  background: var(--primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.stroke-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.stroke-lead {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.calc-header {
  text-align: center;
  padding: 2.5rem 2rem 2rem;
}

.btn-restart {
  margin-top: 1rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* SPG Page Refactor */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.pain-slider-container {
  padding: 1rem 0;
}

.pain-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pain-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cursor-grab {
  cursor: grab;
}

.slide-hint {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  animation: bounce 2s infinite;
}

/* Contact Page Refactor */
.contact-hero-text {
  font-size: 1.25rem;
}

.contact-h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.book-online-btn {
  width: 100%;
  padding: 1rem;
}

.contact-link-underline {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.btn-outline-secondary {
  width: 100%;
  padding: 1rem;
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.info-card-header {
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.success-box {
  background: #ECFDF5;
  color: #065F46;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #6EE7B7;
}

.error-box {
  background: #FEF2F2;
  color: #991B1B;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #FECACA;
}

.map-frame-wrapper {
  box-shadow: var(--shadow-lg);
}

/* Hazy Effect for About Image */
.hazy-effect {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
}