:root {
  --primary: #572670;
  --primary-light: #9f5afd;
  --secondary: #f3f4f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --bg-gray-50: #f9fafb;
  --bg-white: #ffffff;
  --radius: 0.75rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Grid System */
.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body,
button,
input,
textarea,
select {
  font-family:
    "Outfit",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, #572670, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Utilities */
.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-1 {
  gap: 0.25rem;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.gap-4 {
  gap: 1rem;
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
}

.text-gray-600 {
  color: var(--text-muted);
}

.bg-gray-50 {
  background-color: var(--bg-gray-50);
}

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

.mb-8 {
  margin-bottom: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

/* Extended Utilities */
.items-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Spacing */
.mb-0 {
  margin-bottom: 0;
}

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

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

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

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

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

.mt-12 {
  margin-top: 3rem;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  padding: 0.1rem 0.5rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
}

.rounded-full {
  border-radius: 9999px !important;
}

.rounded-2xl {
  border-radius: 1rem;
}

.shadow-xl {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.overflow-hidden {
  overflow: hidden;
}

.badge-purple {
  background: rgba(87, 38, 112, 0.1);
  color: var(--primary);
  border: 1px solid rgba(87, 38, 112, 0.2);
}

.h-0 {
  height: 0;
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Sizing Utilities */
.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

/* Typography */
.text-left {
  text-align: left;
}

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

.text-purple-500 {
  color: #a855f7;
}

.text-white {
  color: white;
}

.font-bold {
  font-weight: 700;
}

.hover\:underline:hover {
  text-decoration: underline;
}

/* Font Sizes */
.text-sm {
  font-size: 0.875rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
  }
}

.w-full {
  width: 100%;
}

.block {
  display: block;
}

.block {
  display: block;
}

/* Navigation - React Style */
.navbar-react {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(
    135deg,
    rgba(87, 38, 112, 0.9),
    rgba(87, 38, 112, 0.95)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-react.scrolled {
  background: linear-gradient(
    135deg,
    rgba(87, 38, 112, 0.95),
    rgba(87, 38, 112, 1)
  );
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 0.75rem;
}

.navbar-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  transition: height 0.2s;
}

@media (min-width: 640px) {
  .logo-img {
    height: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .logo-img {
    height: 3rem;
  }
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

@media (min-width: 1280px) {
  .desktop-nav {
    display: flex;
    gap: 1rem;
  }
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 14rem;
  background: rgba(255, 255, 255);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown-toggle:focus + .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(87, 38, 112, 0.1);
}

.dropdown-item i {
  color: var(--primary);
  transition: transform 0.2s;
}

.dropdown-item:hover i {
  transform: scale(1.1);
}

/* Phone Buttons */
.phone-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
  white-space: nowrap;
}

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

.phone-icon-only {
  display: flex;
  padding: 0.5rem;
}

.phone-with-text {
  display: none;
}

@media (min-width: 768px) {
  .phone-icon-only {
    display: none;
  }

  .phone-with-text {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .phone-btn {
    padding: 0.625rem;
    font-size: 1rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: none;
  gap: 2rem;
}

.desktop-menu {
  display: none;
}

@media (min-width: 1280px) {
  .desktop-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .desktop-cta {
    display: block;
  }
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  background: white;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: white;
  z-index: 1000;
  transition: var(--transition);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  position: relative;
  border-bottom: 1px solid transparent;
  /* Removed bottom border */
}

.mobile-menu-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.mobile-close-btn {
  position: absolute;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #9ca3af;
}

.mobile-menu-content {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: #1f2937;
  /* Dark gray text */
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.mobile-nav-item i {
  color: #7c3aed;
  /* Purple icons */
  flex-shrink: 0;
}

.mobile-nav-item:hover {
  color: var(--primary);
}

.mobile-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 1rem 0;
}

.mobile-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-section-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(87, 38, 112, 0.3);
}

.btn-gradient {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  color: white;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(87, 38, 112, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
  background: var(--bg-gray-50);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.5rem 2rem;
  font-size: 1.125rem;
}

.desktop-cta {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  margin-top: 2rem;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}

/* Video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #1a0b2e;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1.04);
  filter: saturate(0.85) contrast(1.02);
  animation: heroVideoDrift 24s ease-in-out infinite alternate;
}

@keyframes heroVideoDrift {
  from {
    transform: translate(-50%, -50%) scale(1.04);
  }
  to {
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 40%,
      rgba(87, 38, 112, 0.18),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(20, 8, 40, 0.22) 0%,
      rgba(20, 8, 40, 0.30) 60%,
      rgba(20, 8, 40, 0.38) 100%
    );
}

/* Ensure Lucide SVG icons inside hero render with proper dimensions */
.hero-section .location-badge svg,
.hero-section .btn svg,
.hero-section [data-lucide] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  stroke-width: 2;
}

.hero-section .btn-lg svg,
.hero-section .btn-lg [data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(168, 85, 247, 0.08),
    transparent 45%
  );
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  min-height: 70vh;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.55fr 1fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #ffffff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.location-badge:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  animation: heroPulse 2.4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0.08);
  }
}

.hero-title {
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.025em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-title .gradient-text {
  background: linear-gradient(120deg, #d8b4fe 0%, #ffffff 60%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-style: italic;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Hero Form (glassmorphism) */
.hero-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.form-container {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    rgba(87, 38, 112, 0.7)
  );
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(87, 38, 112, 0.2);
}

.form-container-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  overflow: hidden;
}

.form-container-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.04) 40%,
    rgba(168, 85, 247, 0.45)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-container-inner {
  position: relative;
  z-index: 1;
}

.form-header-glass {
  margin-bottom: 1rem;
  color: #ffffff;
}

.form-header-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.4rem;
}

.form-header-title {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.form-header-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-weight: 400;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.form-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input {
  padding: 1rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(87, 38, 112, 0.1);
  background: white;
}

/* Stats Section */
.stats-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

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

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

.stat-card-small {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-card-small:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.stat-value-small {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label-small {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.section-title-left {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Why Choose Section - React Exact Grid */
.why-choose-grid-react {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .why-choose-grid-react {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(0, 25rem));
    height: 50rem;
  }
}

/* Card 1 - Large Left */
.why-card-large {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  min-height: 20rem;
}

@media (min-width: 1024px) {
  .why-card-large {
    grid-column: span 5;
    grid-row: span 2;
  }
}

/* Card 2 - Top Right */
.why-card-top-right {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  min-height: 18.75rem;
}

@media (min-width: 1024px) {
  .why-card-top-right {
    grid-column: span 7;
    grid-row: span 1;
  }
}

/* Card 3 - Bottom Left */
.why-card-bottom-left {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  min-height: 18.75rem;
}

@media (min-width: 1024px) {
  .why-card-bottom-left {
    grid-column: span 3;
    grid-row: span 1;
  }
}

/* Card 4 - Bottom Right */
.why-card-bottom-right {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  min-height: 18.75rem;
}

@media (min-width: 1024px) {
  .why-card-bottom-right {
    grid-column: span 4;
    grid-row: span 1;
  }
}

.card-overlay-right {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3),
    transparent
  );
}

.card-content-center {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  color: white;
  min-height: 18.75rem;
}

@media (min-width: 1024px) {
  .card-content-center {
    min-height: 0;
  }
}

.card-title-large {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .card-title-large {
    font-size: 2.25rem;
  }
}

.card-text-large {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.card-title-medium {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .card-title-medium {
    font-size: 1.875rem;
  }
}

.card-text-medium {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.card-title-small {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .card-title-small {
    font-size: 1.5rem;
  }
}

.card-text-small {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, minmax(0, 20rem));
  }

  .why-choose-card.large {
    grid-column: span 5;
    grid-row: span 2;
  }

  .why-choose-card:nth-child(2) {
    grid-column: span 7;
  }

  .why-choose-card:nth-child(3),
  .why-choose-card:nth-child(4) {
    grid-column: span 3.5;
  }
}

.why-choose-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  min-height: 20rem;
}

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.why-choose-card:hover .card-image,
.why-card-large:hover .card-image,
.why-card-top-right:hover .card-image,
.why-card-bottom-left:hover .card-image,
.why-card-bottom-right:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.85),
    rgba(17, 24, 39, 0.3)
  );
}

.card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
}

.card-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Conditions Section */
.conditions-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

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

.condition-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  border: 1px solid rgba(243, 244, 246, 0.8);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.condition-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.condition-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Light purple background */
  background-color: #f3e8ff;
  /* Darker purple text */
  color: #572670;
  flex-shrink: 0;
}

.condition-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 0.125rem;
}

.condition-subtitle {
  color: #6b7280;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0;
}

.condition-description {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.condition-snippet {
  color: #374151;
  line-height: 1.6;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  border-left: 3px solid #7e22ce;
  background: #f9f5ff;
}

.condition-badge {
  display: inline-block;
  background: #f3e8ff;
  color: #572670;
  padding: 0.25rem 1rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.bg-blue-50 {
  background: #eff6ff;
}

.bg-purple-50 {
  background: #f3e8ff;
}

.bg-green-50 {
  background: #f0fdf4;
}

.bg-indigo-50 {
  background: #eef2ff;
}

.bg-pink-50 {
  background: #fdf2f8;
}

.bg-orange-50 {
  background: #fff7ed;
}

.text-blue-600 {
  color: #2563eb;
}

.text-purple-600 {
  color: #9333ea;
}

.text-green-600 {
  color: #16a34a;
}

.text-indigo-600 {
  color: #4f46e5;
}

.text-pink-600 {
  color: #db2777;
}

.text-orange-600 {
  color: #ea580c;
}

.text-violet-600 {
  color: #7c3aed;
}

.text-yellow-500 {
  color: #eab308;
}

.fill-yellow-400 {
  fill: #facc15;
}

/* TMS Works Section */
.tms-works-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .tms-works-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tms-works-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  padding: 0.1rem 0.5rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-purple {
  background: rgba(87, 38, 112, 0.1);
  color: var(--primary);
}

.stats-card {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.05),
    rgba(168, 85, 247, 0.05)
  );
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
}

.stats-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stats-card-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.stats-card-subtitle {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.stats-highlight {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.stats-detail {
  color: var(--text-muted);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-gray-50);
  border-radius: 0.75rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.process-step:hover {
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.05);
}

.process-step.success {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.2);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step.success .step-number {
  background: rgba(16, 185, 129, 0.2);
  color: #059669;
}

.step-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonial-container {
  position: relative;
  max-width: 56rem;
  margin: 0 auto 2rem;
}

.testimonial-card {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-location {
  color: var(--primary);
  font-size: 0.875rem;
}

.testimonial-condition {
  font-size: 0.75rem;
  background: var(--bg-gray-50);
  padding: 0.25rem 0.75rem;
  border-radius: 9px;
  color: var(--text-muted);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .testimonial-nav {
    display: flex;
  }
}

.testimonial-nav:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.testimonial-nav.prev {
  left: -4rem;
}

.testimonial-nav.next {
  right: -4rem;
}

.testimonial-thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.testimonial-thumb {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.testimonial-thumb.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Legacy Doctor Section removed - moved to doctor.css */

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

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

.credential-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

.credential-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transform: translateX(4px);
}

.credential-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-title {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.credential-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.bg-violet-50 {
  background: #f5f3ff;
}

.text-violet-600 {
  color: #7c3aed;
}

/* Treatment Timeline */
.treatment-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.timeline-step {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .timeline-step {
    grid-template-columns: auto 1fr;
  }
}

.timeline-step:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.step-icon-wrapper {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.step-heading {
  font-size: 1.5rem;
  font-weight: 700;
}

.step-duration {
  padding: 0.5rem 1rem;
  background: var(--bg-gray-50);
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-gray-50);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-tag i {
  color: #10b981;
}

.cta-box {
  margin-top: 4rem;
  background: var(--primary);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: white;
  box-shadow: 0 20px 40px rgba(87, 38, 112, 0.2);
}

/* Location & Contact */
.location-grid {
  display: grid;
  gap: 2rem;
}

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

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.contact-value:hover {
  color: var(--primary);
}

/* CSS updates will be done after confirming HTML structure */

/* Resources */
.resources-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

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

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

.resource-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

/* Contact Details Section Re-Fresh */
.contact-section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-section-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-details-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
  /* Soft, elevated shadow */
  border: 1px solid rgba(243, 244, 246, 0.6);
}

.contact-details-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #7c3aed;
  /* Purple */
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.location-name {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.location-address,
.location-city {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 2rem 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.method-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #7c3aed;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.method-label {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.method-value {
  color: #6b7280;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
}

.method-sub-value {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.maps-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-card-small {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* Softer shadow */
  border: 1px solid #f3f4f6;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-badge {
  padding: 0.25rem 0.75rem;
  background: var(--bg-gray-50);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resource-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* Legacy Footer Section removed - moved to footer.css */

/* Responsive adjustments */
@media (max-width: 1280px) {
  .floating-stat {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .cta-box {
    padding: 2rem;
  }
}

/* About Page Specific Styles */

/* Hero Section */
.about-hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(
    to bottom right,
    rgba(87, 38, 112, 0.05),
    rgba(168, 85, 247, 0.1)
  );
}

.about-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.about-hero-content {
  max-width: 600px;
}

.about-hero-image {
  position: relative;
}

.about-hero-img-wrapper {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  height: 400px;
}

.about-hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Stats in About Hero */
.about-stat-card {
  position: absolute;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
}

.stat-success {
  bottom: -1.5rem;
  left: -1.5rem;
  border-left: 4px solid var(--primary);
}

.stat-patients {
  top: -1.5rem;
  right: -1.5rem;
  border-left: 4px solid #a855f7;
}

.about-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tabs Section */
.tabs-container {
  padding: 5rem 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 2rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1.125rem;
  background: white;
  border: 1px solid rgba(87, 38, 112, 0.2);
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(87, 38, 112, 0.05);
}

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

.tab-content {
  background: linear-gradient(
    to bottom right,
    rgba(87, 38, 112, 0.05),
    rgba(168, 85, 247, 0.08)
  );
  border-radius: 1.5rem;
  padding: 2.5rem;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .tab-content {
    padding: 4rem;
  }
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

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

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

/* Story Tab */
.story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.story-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.story-text p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.story-mission {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.story-image img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 1.5rem;
  background: #f9fafb;
  padding: 1.5rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

/* Technology Grid */
.tech-grid {
  display: grid;
  gap: 2rem;
}

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

.tech-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.tech-features {
  list-style: none;
  margin-top: 1.5rem;
}

.tech-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Careers Section */
.careers-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff);
}

.careers-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4rem;
}

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

.career-benefit-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1.5rem;
}

/* Final CTA */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary), #9333ea);
  color: white;
  text-align: center;
}

.final-cta h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Doctor Section - React Style */
.doctor-grid-react {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  /* Vertically center align both columns */
  align-items: center;
}

@media (min-width: 1024px) {
  .doctor-grid-react {
    grid-template-columns: 5.5fr 6.5fr;
    gap: 6rem;
  }
}

/* Left Section - Image */
.doctor-image-section {
  position: relative;
  /* Ensure it takes full height of the grid row to allow centering based on percentage */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-image-card {
  position: relative;
  /* Mobile: Use width constraint */
  width: 100%;
  max-width: 500px;
  height: auto;
  aspect-ratio: 3/3;
  margin: 0 auto;

  /* Ensure aspect ratio is maintained or cropped nicely */
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .doctor-image-card {
    /* Desktop: height driven */
    height: 80%;
    width: auto;
    max-width: 100%;
    aspect-ratio: auto;
  }
}

.doctor-photo-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 100%;
  width: 100%;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Center the image within the crop */
  object-position: center top;
  border-radius: 1rem;
  display: block;
}

/* Years Experience Badge */
.years-badge {
  position: absolute;
  top: -3.5rem;
  right: -2.5rem;
  background: linear-gradient(135deg, #572670, #9f5afd);
  color: white;
  padding: 1rem 2rem;
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(87, 38, 112, 0.4);
  z-index: 30;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .years-badge {
    top: -1.5rem;
    right: -0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
  }
}

.years-value {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .years-value {
    font-size: 1.5rem;
  }
}

.years-label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .years-label {
    font-size: 0.75rem;
  }
}

/* Bottom Name Overlay */
.doctor-name-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 10;
  border-radius: 0 0 1rem 1rem;
}

@media (max-width: 768px) {
  .doctor-name-overlay {
    padding: 1rem 1.25rem;
  }
}

.doctor-name-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  /* Dark text */
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .doctor-name-title {
    font-size: 1.25rem;
  }
}

.doctor-subtitle {
  font-size: 0.95rem;
  color: #7c3aed;
  /* Purple text */
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .doctor-subtitle {
    font-size: 0.85rem;
  }
}

.doctor-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* Patients Treated Badge */
.patients-badge {
  position: absolute;
  bottom: -2.5rem;
  left: -1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  z-index: 20;
  min-width: 160px;
}

@media (max-width: 768px) {
  .patients-badge {
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: max-content;
    padding: 0.75rem 1rem;
    width: 90%;
  }
}

.stars-row {
  display: flex;
  gap: 0.25rem;
}

.patients-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
}

/* Right Section - Content */
.doctor-content-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.doctor-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.doctor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.doctor-badge.badge-light {
  background: #f3f4f6;
  color: #572670;
  border: 1px solid #e5e7eb;
}

.doctor-badge.badge-dark {
  background: #111827;
  color: white;
}

.doctor-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .doctor-heading {
    font-size: 3rem;
  }
}

.doctor-description {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.7;
}

.doctor-quote {
  border-left: 4px solid #572670;
  padding-left: 1.5rem;
  font-size: 1.125rem;
  font-style: italic;
  color: #572670;
  margin: 1rem 0;
}

/* Credentials Grid */
.credentials-grid-react {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

.credential-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.credential-box:hover {
  box-shadow: 0 4px 12px rgba(87, 38, 112, 0.1);
  border-color: #572670;
}

.credential-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.credential-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.credential-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Professional Focus Areas */
.focus-areas-section {
  margin-top: 1rem;
}

.focus-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

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

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

.focus-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}

.focus-item:hover {
  background: rgba(87, 38, 112, 0.05);
}

.focus-item i {
  flex-shrink: 0;
}

/* Buttons */
.doctor-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .doctor-buttons {
    flex-direction: row;
  }
}

/* Footer React Style */
.footer-react {
  position: relative;
  background: linear-gradient(135deg, #111827, #1f2937, #111827);
  color: #ffffff;
  padding: 4rem 0 0;
  overflow: hidden;
}

.footer-react::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 256px;
  background: rgba(87, 38, 112, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.footer-react::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background: rgba(147, 51, 234, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.footer-react .container {
  position: relative;
  z-index: 10;
}

.footer-grid-react {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

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

@media (min-width: 1024px) {
  .footer-grid-react {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Company Info Column */
.footer-column-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-invert {
  height: 3.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 1rem;
  max-width: 20rem;
}

.fda-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: rgba(87, 38, 112, 0.2);
  border: 1px solid rgba(87, 38, 112, 0.3);
  border-radius: 9px;
}

.fda-pulse {
  width: 0.5rem;
  height: 0.5rem;
  background: #572670;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

.fda-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #d1d5db;
}

/* Contact Details in Column 1 */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.footer-contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.125rem;
}

.footer-contact-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-value:hover {
  color: #572670;
  transition: color 0.2s;
}

/* Locations Column */
.footer-locations-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.location-card-footer {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(87, 38, 112, 0.2);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}

.location-card-footer:hover {
  border-color: rgba(87, 38, 112, 0.4);
}

.location-flex {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.location-icon-footer {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
  margin-top: 0.125rem;
}

.location-name-footer {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.location-address-footer {
  font-size: 0.75rem;
  color: #d1d5db;
  line-height: 1.5;
}

/* Nav Link Columns */
.footer-nav-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.footer-nav-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  color: #e5e7eb;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #a855f7;
  padding-left: 0.25rem;
}

.footer-nav-link-secondary {
  color: #9ca3af;
}

/* Bottom Bar */
.footer-bottom-react {
  margin-top: 4rem;
  padding: 1.5rem 0;
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(55, 65, 81, 0.5);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-flex {
    flex-direction: row;
  }
}

.copyright-text {
  font-size: 0.875rem;
  color: #9ca3af;
  text-align: center;
}

@media (min-width: 768px) {
  .copyright-text {
    text-align: left;
  }
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom-right {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.certified-text {
  font-size: 0.75rem;
  color: #6b7280;
}

.sitemap-link {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s;
}

.sitemap-link:hover {
  color: #572670;
}

/* Testimonials Section - React Style */
.testimonial-container-react {
  position: relative;
  max-width: 56rem;
  margin: 0 auto 3rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  padding: 3rem 2rem;
}

@media (min-width: 768px) {
  .testimonial-container-react {
    padding: 4rem 3rem;
  }
}

.testimonial-card-react {
  transition: opacity 0.3s ease;
  min-height: 200px;
}

.testimonial-stars-react {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote-react {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4b5563;
  font-style: normal;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-author-react {
  text-align: center;
}

.testimonial-name-react {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.testimonial-location-react {
  font-size: 0.875rem;
  color: #572670;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-condition-react {
  display: inline-block;
  font-size: 0.75rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

/* Navigation Arrows */
.testimonial-nav-react {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.testimonial-nav-react:hover {
  background: #572670;
  color: white;
  border-color: #572670;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-nav-react.prev {
  left: -4rem;
}

.testimonial-nav-react.next {
  right: -4rem;
}

@media (max-width: 1024px) {
  .testimonial-nav-react {
    display: none;
  }
}

/* Pagination Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}

.testimonial-dot.active {
  background: #572670;
  width: 2rem;
  border-radius: 0.25rem;
}

.testimonial-dot:hover {
  background: #9ca3af;
}

/* Thumbnails */
.testimonial-thumbnails-react {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.testimonial-thumb-react {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.testimonial-thumb-react:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border-color: #572670;
  color: #572670;
}

.testimonial-thumb-react.active {
  background: #572670;
  color: white;
  border-color: #572670;
}

/* Treatment Process React Style */

.treatment-section {
  padding: 4rem 0;
  background: linear-gradient(
    to bottom right,
    #f9fafb,
    #ffffff,
    rgba(87, 38, 112, 0.03)
  );
  position: relative;
  overflow: hidden;
}

.treatment-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 256px;
  height: 256px;
  background: rgba(87, 38, 112, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.treatment-section::after {
  content: "";
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 192px;
  height: 192px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  filter: blur(80px);
}

.treatment-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.treatment-steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.treatment-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.5s ease;
  border: none;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .treatment-card {
    flex-direction: row;
    min-height: 200px;
  }
}

.treatment-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Color Panels */
.step-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

@media (min-width: 1024px) {
  .step-panel {
    width: 25%;
  }
}

.step-panel.blue {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(37, 99, 235, 0.15)
  );
}

.step-panel.green {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.1),
    rgba(22, 163, 74, 0.15)
  );
}

.step-panel.purple {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.1),
    rgba(147, 51, 234, 0.15)
  );
}

.step-panel.orange {
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.1),
    rgba(234, 88, 12, 0.15)
  );
}

.step-panel.pink {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.1),
    rgba(219, 39, 119, 0.15)
  );
}

.step-icon-circle {
  width: 4rem;
  height: 4rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.step-icon-circle i {
  width: 2rem;
  height: 2rem;
  color: #572670;
}

.step-number-text {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.step-duration-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

/* Content Area */
.step-content-react {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-title-react {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.treatment-card:hover .step-title-react {
  color: #572670;
}

.step-description-react {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.detail-grid-react {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

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

.detail-item-react {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(249, 250, 251, 0.8);
  border-radius: 0.5rem;
}

.detail-icon-check {
  width: 1rem;
  height: 1rem;
  color: #22c55e;
  flex-shrink: 0;
}

.detail-text-react {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

/* Arrows */
.step-arrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0;
}

.step-arrow-icon {
  width: 2rem;
  height: 2rem;
  color: #572670;
  transform: rotate(90deg);
}

.step-arrow-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(to bottom, #572670, transparent);
}

/* CTA Card */
.treatment-cta-card {
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(to right, #572670, #9333ea);
  border-radius: 1rem;
  color: white;
  text-align: center;
  box-shadow: 0 20px 50px rgba(87, 38, 112, 0.3);
}

.cta-title-react {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text-react {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.btn-cta-react {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  background: white;
  color: #572670;
  border-radius: 9px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-cta-react:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Team Page Styles */
.team-hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.team-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(243, 232, 255, 0.9)
  );
}

/* Team Filters */
.team-filters-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.team-filters-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.team-filters-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.team-filters-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.team-filter-btn {
  position: relative;
  padding: 1rem 2rem;
  height: auto;
  border-radius: 0.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  overflow: hidden;
  min-width: 200px;
}

.team-filter-btn:hover {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: scale(1.05);
}

.team-filter-btn.active {
  border-color: transparent;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

/* Specific Gradient Backgrounds for Active States */
.team-filter-btn.active[data-key="all"] {
  background: linear-gradient(to right, #6366f1, #9333ea);
}

.team-filter-btn.active[data-key="medical"] {
  background: linear-gradient(to right, #3b82f6, #9333ea);
}

.team-filter-btn.active[data-key="administrative"] {
  background: linear-gradient(to right, #22c55e, #0d9488);
}

.filter-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: #4b5563;
  transition: color 0.3s;
}

.team-filter-btn.active .filter-icon {
  color: white;
}

.filter-text-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.1rem;
  transition: color 0.3s;
}

.team-filter-btn.active .filter-label {
  color: white;
}

.filter-subtext {
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 0.3s;
}

.team-filter-btn.active .filter-subtext {
  color: rgba(255, 255, 255, 0.8);
}

.filter-badge {
  margin-left: auto;
  background: #f3f4f6;
  color: #111827;
  padding: 0.25rem 0.75rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
}

.team-filter-btn.active .filter-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Team Cards Refined */
.team-member-card {
  background: white;
  border: 0;
  border-radius: 0.75rem;
  /* radius-xl equivalent usually */
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* shadow-lg */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-member-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  /* shadow-2xl */
}

.member-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member-card:hover .member-image {
  transform: scale(1.1);
}

.member-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0.4;
  transition: opacity 0.5s;
}

.team-member-card:hover .member-overlay {
  opacity: 0.6;
}

/* Badge Top Right */
.category-badge-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.5s;
  z-index: 10;
}

.team-member-card:hover .category-badge-icon {
  transform: scale(1.1);
}

/* Gradient backgrounds for categories */
.bg-gradient-medical {
  background: linear-gradient(to right, #572670, #9333ea);
}

.bg-gradient-administrative {
  background: linear-gradient(to right, #572670, #9333ea);
}

/* Name Overlay Bottom Left */
.member-info-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 10;
  padding-right: 1rem;
}

.member-name {
  font-size: 1.125rem;
  /* text-lg */
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.member-title {
  font-size: 0.875rem;
  color: #e5e7eb;
  /* text-gray-200 */
}

/* Card Content */
.member-content {
  padding: 1.5rem;
  /* p-6 */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* space-y-4 */
  flex-grow: 1;
}

.member-specialization {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.25rem 1rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-align: center;
  transition: opacity 0.3s;
}

.member-specialization:hover {
  opacity: 0.9;
}

.member-bio-preview {
  font-size: 0.875rem;
  /* text-sm */
  color: #4b5563;
  /* text-gray-600 */
  line-height: 1.625;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-link {
  display: inline-block;
  font-size: 0.875rem;
  color: #572670;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.read-more-link:hover {
  color: #9333ea;
  text-decoration: underline;
}

.member-footer {
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  /* text-xs */
  color: #6b7280;
  /* text-gray-500 */
}

.credentials-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding-top: 0.5rem;
}

.credential-tag {
  font-size: 0.75rem;
  /* text-xs */
  padding: 0.125rem 0.5rem;
  border-radius: 9px;
  border: 1px solid rgba(87, 38, 112, 0.3);
  color: #572670;
  font-weight: 600;
}

.credential-more {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9px;
  border: 1px solid #d1d5db;
  color: #6b7280;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 1rem;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.modal-close:hover {
  background: #f3f4f6;
  transform: rotate(90deg);
}

#modal-content-area {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-header-custom {
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  background: #f9fafb;
}

.modal-image-wrapper {
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.modal-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-title-area {
  flex: 1;
  padding-right: 2rem;
}

.modal-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.modal-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.modal-specialization {
  font-size: 0.75rem;
}

.modal-body-custom {
  padding: 2rem;
}

.modal-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.modal-bio {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2rem;
  white-space: pre-wrap;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

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

.modal-info-item {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.75rem;
}

.modal-info-item.full-width {
  grid-column: 1 / -1;
}

.modal-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-value {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.modal-credentials-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ─── Scroll Reveal Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.08s;
}
.fade-up:nth-child(3) {
  transition-delay: 0.16s;
}
.fade-up:nth-child(4) {
  transition-delay: 0.24s;
}
.fade-up:nth-child(5) {
  transition-delay: 0.32s;
}
.fade-up:nth-child(6) {
  transition-delay: 0.4s;
}
.fade-up:nth-child(7) {
  transition-delay: 0.48s;
}
.fade-up:nth-child(8) {
  transition-delay: 0.56s;
}

/* Staggered variant for sibling groups */
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}
.fade-up-delay-4 {
  transition-delay: 0.4s;
}
.fade-up-delay-5 {
  transition-delay: 0.5s;
}

/* Scale-in for cards / reviews */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide-in from left / right for two-column layouts */
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Shimmer pulse for hero / CTA */
@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

.shimmer {
  animation: shimmer 3s ease-in-out infinite;
}

/* Subtle floating animation for icons/badges */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

/* Gradient text reveal */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Contact CTA Refined */
.cta-section-refined {
  background-color: #f8f9fb;
  padding: 5rem 0;
}

.cta-title-refined {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.cta-desc-refined {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons-container {
    flex-direction: row;
  }
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #572670;
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid transparent;
}

.btn-cta-primary:hover {
  background-color: #471f5b;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.btn-cta-outline-refined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: #572670;
  border: 1px solid #572670;
  padding: 0.5rem 2rem;
  border-radius: 9px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-cta-outline-refined:hover {
  background-color: #f9fafb;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* ==========================================================================
   TMS Therapy Page Utilities (Tailwind Polyfill)
   ========================================================================== */

/* Spacing */
.pt-32 {
  padding-top: 8rem;
}

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

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

/* Grid & Flex */
.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.flex-grow {
  flex-grow: 1;
}

/* Responsive */
@media (min-width: 768px) {
  .md\:text-6xl {
    font-size: 3.75rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }

  .lg\:text-left {
    text-align: left;
  }

  .lg\:justify-start {
    justify-content: flex-start;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Typography & Colors */
.text-blue-100 {
  color: #dbeafe;
}

.text-blue-800 {
  color: #1e40af;
}

.bg-blue-100 {
  background-color: #dbeafe;
}

.bg-green-100 {
  background-color: #dcfce7;
}

.text-green-800 {
  color: #166534;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

/* Components */
.rounded-md {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border-2 {
  border-width: 2px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Gradients System */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-purple-100 {
  /* Using solid color for hero background to match React design exactly */
  background-color: #f3e8ff;
  background-image: none !important;
}

.to-violet-100 {
  /* No op for solid background override */
  display: block;
}

/* Original gradients preserved if needed elsewhere */
.bg-gradient-purple-to-violet {
  background-image: linear-gradient(to right, #f3e8ff, #ede9fe);
}

.from-blue-50 {
  --tw-gradient-from: #eff6ff;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(239, 246, 255, 0));
}

.to-purple-50 {
  --tw-gradient-to: #faf5ff;
}

/* Brand Semantic Colors (Replacement for hex values) */
.text-primary-brand {
  color: #572670;
}

.bg-primary-brand {
  background-color: #572670;
}

.border-primary-brand {
  border-color: #572670;
}

.hover\:bg-primary-brand:hover {
  background-color: #572670;
}

.hover\:text-white:hover {
  color: white;
}

.border-transparent {
  border-color: transparent;
}

/* Brand Gradients */
.from-primary-brand {
  --tw-gradient-from: #572670;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(87, 38, 112, 0));
}

.to-purple-600 {
  --tw-gradient-to: #9333ea;
}

.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}

.hover\:from-purple-700:hover {
  --tw-gradient-from: #7e22ce;
  --tw-gradient-stops:
    var(--tw-gradient-from), var(--tw-gradient-to, rgba(126, 34, 206, 0));
}

.hover\:to-primary-brand:hover {
  --tw-gradient-to: #572670;
}

/* Interactive */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.hover\:bg-white\/10:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.hover\:border-primary-brand\/30:hover {
  border-color: rgba(87, 38, 112, 0.3);
}

/* FAQ Specific */
.border-l-4 {
  border-left-width: 4px;
}

.border-l-primary-brand {
  border-left-color: #572670;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-l-purple-200 {
  border-left-color: #e9d5ff;
}

/* ==========================================================================
   TMS Therapy (Semantic Components)
   ========================================================================== */

/* Indication Cards */
.tms-indication-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: white;
  border: 2px solid #f3f4f6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  /* for fade-in */
  animation: fadeInUp 0.6s ease-out forwards;
}

.tms-indication-card:hover {
  border-color: rgba(87, 38, 112, 0.3);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tms-icon-wrapper {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #572670, #9333ea);
  border-radius: 9px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transition: transform 0.3s;
}

.tms-indication-card:hover .tms-icon-wrapper {
  transform: scale(1.1);
}

/* Step Cards */
.tms-step-card {
  background-color: white;
  padding: 2rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.tms-step-card:hover {
  border-color: rgba(87, 38, 112, 0.3);
}

.tms-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #572670, #9333ea);
  border-radius: 9px;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tms-step-icon-large {
  width: 8rem;
  height: 8rem;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #572670, #9333ea);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* FAQ Items */
.tms-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: white;
  overflow: hidden;
  transition: all 0.3s;
  border-left: 4px solid #572670;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.tms-faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tms-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.tms-faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.tms-faq-inner {
  padding: 1rem;
  padding-top: 0;
  color: #4b5563;
  line-height: 1.625;
}

.tms-faq-answer-border {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e9d5ff;
}

/* prTMS Personalized Theme Colors */
.bg-lavender {
  background-color: #f3e8ff;
}

.bg-purple-bright {
  background-color: #8b5cf6;
}

.text-purple-bright {
  color: #8b5cf6;
}

.bg-purple-gradient {
  background: linear-gradient(to right, #591c87, #9333ea);
}

.text-purple-dark {
  color: #591c87;
}

.border-purple-bright {
  border-color: #8b5cf6;
}

.border-purple-light {
  border-color: #f3e8ff;
}

.bg-deep-space {
  background-color: #1f0e42;
}

.bg-deep-surface {
  background-color: #2e1065;
}

.text-purple-soft {
  color: #d8b4fe;
}

.border-deep-purple {
  border-color: #581c87;
}

.text-purple-mid {
  color: #6b21a8;
}

/* prTMS Specific Styles - Replaces Arbitrary Tailwind Values */
.bg-hero-prtms {
  background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
}

.text-deep-purple {
  color: #572670 !important;
}

.bg-deep-purple {
  background-color: #572670 !important;
}

.border-deep-purple-thick {
  border-color: #572670 !important;
}

.text-purple-primary {
  color: #8b5cf6 !important;
}

.bg-purple-primary {
  background-color: #8b5cf6 !important;
}

.border-purple-primary {
  border-color: #8b5cf6 !important;
}

.bg-purple-light-custom {
  background-color: #f3e8ff !important;
}

.bg-purple-soft-bg {
  background-color: #faf5ff !important;
}

.rounded-card {
  border-radius: 20px !important;
}

.shadow-card-xl {
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.text-hero-title {
  font-size: 3.75rem;
  /* text-6xl base */
  line-height: 1.1;
  font-weight: 800;
}

@media (min-width: 768px) {
  .text-hero-title {
    font-size: 4.5rem;
    /* text-7xl */
  }
}

@media (min-width: 1024px) {
  .text-hero-title {
    font-size: 5rem;
  }
}

.btn-gradient-purple {
  background: linear-gradient(90deg, #572670 0%, #8b5cf6 100%);
  color: white;
}

.btn-gradient-purple:hover {
  box-shadow: 0 10px 15px -3px rgba(87, 38, 112, 0.3);
  transform: translateY(-2px);
}

.bg-step-gradient {
  background: linear-gradient(135deg, #572670 0%, #8b5cf6 100%);
}

.border-top-accent {
  border-top-width: 4px;
  border-top-color: #8b5cf6;
}

/* prTMS Semantic Hero Section */
.prtms-hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
}

.prtms-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.5s ease-out;
}

.prtms-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9px;
  background-color: #8b5cf6;
  /* Purple Primary */
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prtms-hero-title {
  font-size: 3.75rem;
  /* text-6xl */
  font-weight: 800;
  margin-bottom: 2rem;
  color: #572670;
  /* Deep Purple */
  letter-spacing: -0.025em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .prtms-hero-title {
    font-size: 4.5rem;
    /* text-7xl */
  }
}

@media (min-width: 1024px) {
  .prtms-hero-title {
    font-size: 5rem;
  }
}

.prtms-hero-description {
  font-size: 1.25rem;
  /* text-xl */
  color: #4b5563;
  /* Gray-600 */
  margin-bottom: 3rem;
  line-height: 1.625;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

@media (min-width: 768px) {
  .prtms-hero-description {
    font-size: 1.5rem;
    /* text-2xl */
  }
}

.prtms-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .prtms-hero-actions {
    flex-direction: row;
  }
}

.prtms-hero-btn {
  background: linear-gradient(90deg, #572670 0%, #8b5cf6 100%);
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1.125rem;
  /* text-lg */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  text-decoration: none;
}

/* prTMS Algorithm Section */
.prtms-algo-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: white;
  position: relative;
  z-index: 10;
}

.prtms-section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.prtms-section-title {
  font-size: 2.25rem;
  /* text-4xl */
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
  /* gray-800 */
}

@media (min-width: 768px) {
  .prtms-section-title {
    font-size: 3rem;
    /* text-5xl */
  }
}

.prtms-title-divider {
  width: 5rem;
  height: 0.375rem;
  background-color: #8b5cf6;
  margin-left: auto;
  margin-right: auto;
  border-radius: 9px;
  margin-bottom: 2rem;
}

.prtms-section-description {
  font-size: 1.25rem;
  /* text-xl */
  color: #4b5563;
  line-height: 1.625;
}

.prtms-algo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .prtms-algo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.prtms-algo-card {
  background-color: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* shadow-xl */
  border: 1px solid #f3e8ff;
  /* purple-50 */
  transition: all 0.3s ease;
  position: relative;
}

.prtms-algo-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.5rem);
}

.prtms-algo-card-highlight {
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #572670 0%, #8b5cf6 100%);
  color: white !important;
}

.prtms-algo-card-highlight:hover {
  transform: translateY(-0.5rem);
}

.prtms-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.prtms-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3e8ff;
  color: #8b5cf6;
  transition: transform 0.3s ease;
}

.prtms-algo-card:hover .prtms-icon-box {
  transform: scale(1.1);
}

.prtms-step-number {
  font-size: 3rem;
  /* text-5xl */
  font-weight: 700;
  color: #f3e8ff;
  /* purple-100 */
  transition: color 0.3s ease;
}

.prtms-algo-card:hover .prtms-step-number {
  color: #e9d5ff;
  /* purple-200 */
}

.prtms-card-title {
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.prtms-algo-card-highlight .prtms-card-title {
  color: white;
}

.prtms-card-text {
  color: #4b5563;
  line-height: 1.625;
  font-size: 1.125rem;
  /* text-lg */
}

.prtms-algo-card-highlight .prtms-card-text {
  color: #f3e8ff;
}

/* Success Rate Banner */
.prtms-success-container {
  margin-top: 5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.prtms-success-banner {
  border-radius: 1.5rem;
  padding: 2rem;
  background-color: #f3e8ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  .prtms-success-banner {
    flex-direction: row;
    padding: 2.5rem;
  }
}

.prtms-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9px;
  background-color: #8b5cf6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.prtms-success-text {
  flex-grow: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .prtms-success-text {
    text-align: left;
  }
}

.prtms-success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #572670;
  margin-bottom: 0.5rem;
}

.prtms-success-desc {
  color: rgba(87, 38, 112, 0.8);
  font-weight: 500;
  font-size: 1.125rem;
}

.prtms-compare-link {
  display: inline-flex;
  align-items: center;
  color: #572670;
  font-weight: 700;
  transition: color 0.3s ease;
  text-decoration: none;
}

.prtms-compare-link:hover {
  color: #8b5cf6;
}

/* Eligibility Section */
.prtms-eligibility-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-color: #faf5ff;
}

.prtms-pill-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9px;
  background-color: #f3e8ff;
  color: #572670;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

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

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

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

.prtms-checklist-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #8b5cf6;
  transition: box-shadow 0.3s ease;
}

.prtms-checklist-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.prtms-checklist-title {
  font-weight: 700;
  color: #572670;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.prtms-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prtms-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.prtms-check-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #dcfce7;
  /* green-100 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.prtms-check-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #16a34a;
  /* green-600 */
}

.prtms-info-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #dbeafe;
  /* blue-100 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.prtms-info-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: #2563eb;
  /* blue-600 */
}

.prtms-check-text {
  color: #374151;
  font-weight: 500;
}

/* FAQ Section */
.prtms-faq-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: white;
}

.prtms-faq-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.prtms-cta-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1f0e42 0%, #3b0764 100%);
}

.prtms-cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.prtms-cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .prtms-cta-title {
    font-size: 3.75rem;
    /* text-6xl */
  }
}

.prtms-cta-desc {
  font-size: 1.25rem;
  color: #e9d5ff;
  /* purple-200 */
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

.prtms-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .prtms-cta-actions {
    flex-direction: row;
  }
}

.prtms-cta-btn-primary {
  background-color: white;
  color: #572670;
  padding: 1.25rem 2.5rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  min-width: 250px;
  text-decoration: none;
}

.prtms-cta-btn-primary:hover {
  background-color: #f3f4f6;
}

.prtms-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 1.5rem;
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.1);
  /* white/10 */
}

.prtms-cta-btn-secondary:hover {
  color: #d8b4fe;
  background-color: rgba(255, 255, 255, 0.05);
  /* white/5 */
}

/* Brain Mapping Page Styles */

/* Utilities */
.bm-text-center {
  text-align: center;
}

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

.bm-mb-8 {
  margin-bottom: 2rem;
}

.bm-mb-6 {
  margin-bottom: 1.5rem;
}

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

.bm-max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.bm-icon-xs {
  width: 1rem;
  height: 1rem;
}

.bm-icon-sm {
  width: 1.25rem;
  height: 1.25rem;
}

.bm-icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.bm-icon-lg {
  width: 2rem;
  height: 2rem;
}

.bm-icon-white {
  color: white;
}

.bm-bg-purple-light {
  background-color: #faf5ff;
}

.bm-space-y-4 > * + * {
  margin-top: 1rem;
}

/* Layout Grids */
.bm-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 80rem;
  /* 7xl */
}

.bm-split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  /* gap-12 */
  align-items: center;
}

@media (min-width: 1024px) {
  .bm-split-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

.bm-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.bm-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

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

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

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

/* Hero Section */
.bm-hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: linear-gradient(to right, #f3e8ff, #ede9fe);
  /* purple-100 to violet-100 */
  position: relative;
}

.bm-hero-content {
  text-align: center;
  max-width: 80rem;
  /* max-w-7xl */
  margin: 0 auto;
  margin-bottom: 4rem;
}

.bm-hero-badge {
  display: inline-block;
  background: linear-gradient(to right, #572670, #8b5cf6);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.bm-hero-title {
  font-size: 3rem;
  /* text-5xl */
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #572670, #9333ea, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

@media (min-width: 1024px) {
  .bm-hero-title {
    font-size: 4.5rem;
    /* text-7xl */
  }
}

.bm-hero-description {
  font-size: 1.25rem;
  /* text-xl */
  color: #4b5563;
  /* gray-600 */
  max-width: 48rem;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.bm-hero-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .bm-hero-actions {
    flex-direction: row;
  }
}

.bm-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #572670, #8b5cf6);
  color: white;
  font-size: 1rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bm-hero-btn:hover {
  background: linear-gradient(to right, #6b21a8, #7c3aed);
}

.bm-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #572670;
  color: #572670;
  background-color: transparent;
  font-size: 1rem;
  padding: 0.5rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bm-outline-btn:hover {
  background-color: #572670;
  color: white !important;
}

/* Sections General */
.bm-section-badge {
  display: inline-block;
  background: linear-gradient(to right, #7c3aed, #9333ea);
  /* violet-600 to purple-600 */
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.bm-section-title {
  font-size: 2.25rem;
  /* text-4xl */
  font-weight: 700;
  color: #111827;
  /* gray-900 */
  margin-bottom: 1.5rem;
}

.bm-section-description {
  font-size: 1.125rem;
  /* text-lg */
  color: #4b5563;
  /* gray-600 */
}

/* Science & Benefits Section */
.bm-science-card {
  background: linear-gradient(to bottom right, white, #faf5ff);
  /* white to purple-50 */
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bm-card-title {
  font-size: 1.25rem;
  /* text-xl */
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.bm-benefit-card {
  background: linear-gradient(to bottom right, white, #faf5ff);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.bm-benefit-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.bm-icon-circle {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem auto;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.bm-benefit-card:hover .bm-icon-circle {
  transform: scale(1.1);
}

.bm-stats-bar {
  background: linear-gradient(
    to right,
    rgba(87, 38, 112, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 4rem;
}

/* Heat Map Gallery */
.bm-gallery-card {
  background: linear-gradient(to bottom right, white, #faf5ff);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3e8ff;
  overflow: hidden;
}

.bm-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #572670;
  color: #572670;
  border-radius: 0.5rem;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.bm-nav-btn:hover {
  background-color: #572670;
  color: white;
}

.bm-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9px;
  background-color: #d1d5db;
  /* gray-300 */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bm-dot.active {
  background-color: #572670;
  transform: scale(1.1);
}

.bg-gradient-purple {
  background: linear-gradient(to right, #572670, #9333ea);
}

/* Report Walkthrough - Tabs */
.bm-tabs-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(
    to right,
    rgba(87, 38, 112, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  border-radius: 0.5rem;
  padding: 0.25rem;
  margin-bottom: 2rem;
}

.bm-tab-trigger {
  background: transparent;
  border: none;
  padding: 0.5rem;
  color: #737373;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

@media (max-width: 640px) {
  .bm-tab-trigger {
    font-size: 0.75rem;
    padding: 0.25rem;
  }
}

.bm-tab-trigger.active {
  background: linear-gradient(to right, #572670, #9333ea);
  color: white;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.bm-tab-content-card {
  background: linear-gradient(to bottom right, white, #faf5ff);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3e8ff;
}

.bm-step-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 9px;
  background: linear-gradient(to right, #572670, #9333ea);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bm-duration-badge {
  display: inline-block;
  background: linear-gradient(to right, #8b5cf6, #a855f7);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9px;
  white-space: nowrap;
}

/* --- Tailwind Utilities Helper (Added for Brain Mapping) --- */

/* Margins & Paddings */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-10 {
  padding: 2.5rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

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

.mb-8 {
  margin-bottom: 2rem;
}

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

.mt-6 {
  margin-top: 1.5rem;
}

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

.mt-auto {
  margin-top: auto;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-5 {
  margin-right: 1.25rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

/* Colors & Backgrounds */
.text-white {
  color: white;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.text-deep-purple {
  color: #572670;
}

.text-transparent {
  color: transparent;
}

.bg-purple-50 {
  background-color: #faf5ff;
}

.bg-purple-primary {
  background-color: #572670;
}

.bg-white {
  background-color: white;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.leading-relaxed {
  line-height: 1.625;
  margin-left: 10px;
}

/* Borders & Layout */
.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-purple-100 {
  border-color: #f3e8ff;
}

.border-purple-primary {
  border-color: #572670;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9px;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-80 {
  height: 20rem;
}

.object-cover {
  object-fit: cover;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-none {
  max-width: none;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.overflow-hidden {
  overflow: hidden;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:p-10 {
    padding: 2.5rem;
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:items-start {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .lg\:h-auto {
    height: auto;
  }
}

/* Icon Gradients */
.bm-gradient-1 {
  background: linear-gradient(to right, #8b5cf6, #a855f7);
}

/* violet-500 to purple-500 */
.bm-gradient-2 {
  background: linear-gradient(to right, #572670, #9333ea);
}

/* primary to purple-600 */
.bm-gradient-3 {
  background: linear-gradient(to right, #a855f7, #9333ea);
}

/* purple-500 to purple-600 */

/* Positioning Utilities */
.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.translate-y-1\/2 {
  transform: translateY(50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

/* prTMS Interactive Sections */

/* Algorithm Step Connectors */
.prtms-step-arrow-right {
  display: none;
  position: absolute;
  top: 50%;
  right: -1.5rem;
  /* adjust based on gap */
  transform: translateY(-50%);
  color: #a855f7;
  /* purple-500 */
  opacity: 0.6;
  z-index: 10;
}

.prtms-step-arrow-down {
  display: none;
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  color: #a855f7;
  opacity: 0.6;
  z-index: 10;
}

@media (min-width: 1024px) {
  .prtms-step-arrow-right {
    display: block;
  }

  /* Show down arrow only on the 3rd item (index 2) */
  .prtms-step-arrow-down-visible {
    display: block;
  }
}

/* Case Study Slider */
.prtms-slider-container {
  position: relative;
  max-width: 64rem;
  /* 6xl */
  margin: 0 auto;
}

.prtms-slider-card {
  background: linear-gradient(to bottom right, white, rgba(250, 245, 255, 0.3));
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

.prtms-slider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
}

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

.prtms-slide-image-wrapper {
  position: relative;
  width: 100%;
  height: 16rem;
  /* 64 */
}

.prtms-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.prtms-slide-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(to right, #572670, #9333ea);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
}

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

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

.prtms-metric-box {
  background: linear-gradient(
    to right,
    rgba(87, 38, 112, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

.prtms-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.prtms-nav-btn {
  border: 1px solid #572670;
  color: #572670;
  background: transparent;
  border-radius: 9px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.prtms-nav-btn:hover {
  background-color: #572670;
  color: white;
}

.prtms-nav-dots {
  display: flex;
  gap: 0.5rem;
}

.prtms-nav-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9px;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.prtms-nav-dot.active {
  background-color: #572670;
  width: 2rem;
}

/* Eligibility Checklist */
.prtms-checklist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.prtms-checklist-card {
  background: linear-gradient(to bottom right, white, rgba(250, 245, 255, 0.3));
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.prtms-checklist-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.prtms-category-number {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(to bottom right, #572670, #9333ea);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  margin-right: 0.75rem;
}

.prtms-checklist-item {
  display: flex;
  align-items: flex-start;
  /* items-start */
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Custom Checkbox Styling */
.prtms-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  background-color: white;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.prtms-checkbox:checked {
  background-color: #572670;
  border-color: #572670;
}

.prtms-checkbox:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 0.875rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.prtms-quiz-box {
  background: linear-gradient(
    to right,
    rgba(87, 38, 112, 0.1),
    rgba(147, 51, 234, 0.1)
  );
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

/* Grid System for Bipolar Page */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

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

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

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

.mt-0\.5 {
  margin-top: 0.125rem;
}

.gap-3 {
  gap: 0.75rem;
}

.text-purple-600 {
  color: #9333ea;
}

.bg-purple-600 {
  background-color: #9333ea;
}

.shadow {
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.p-12 {
  padding: 3rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-semibold {
  font-weight: 600;
}

.inline-block {
  display: inline-block;
}

.text-center {
  text-align: center;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.text-gray-600 {
  color: #4b5563;
}

@media (min-width: 1024px) {
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
}

/* Padding Utilities */
.pb-20 {
  padding-bottom: 5rem;
  /* 80px */
}

.pb-24 {
  padding-bottom: 6rem;
  /* 96px */
}

/* =========================================
   8. Blog Page Styles
   ========================================= */

/* Header & Gradients */
.bg-blog-header {
  background: linear-gradient(
    135deg,
    var(--bg-gray-50),
    #ede9fe,
    var(--bg-gray-50)
  );
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.text-gradient-purple {
  background: linear-gradient(to right, #572670, #7b4d9e, #572670);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Blog Tabs */
.blog-tabs-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--bg-gray-50);
  border-radius: 1rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .blog-tabs-container {
    grid-template-columns: repeat(6, 1fr);
  }
}

.blog-tab-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  width: 100%;
}

.blog-tab-btn:hover {
  background-color: #e5e7eb;
}

.blog-tab-btn.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
  text-decoration: none !important;
  /* Fix for underline */
  color: inherit;
  position: relative;
  top: 0;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(87, 38, 112, 0.3);
}

.blog-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 52.33%;
  /* Aspect Ratio 1200/628 */
  overflow: hidden;
  background-color: #f3f4f6;
}

.blog-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

.blog-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-date {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.2s;
}

.blog-card:hover .blog-read-more {
  transform: translateX(4px);
}

/* Newsletter Section */
.bg-newsletter {
  background: linear-gradient(135deg, var(--bg-gray-50), #ede9fe);
  padding: 4rem 0;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-input-group {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.newsletter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(87, 38, 112, 0.2);
}

/* Animation Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Explicit fix for underlines on all child elements */
.blog-card,
.blog-card * {
  text-decoration: none !important;
}

/* =========================================
   9. TMS Therapy Page Styles
   ========================================= */

/* Utilities */
.badge-green {
  background-color: #dcfce7;
  color: #166534;
  padding: 0.1rem 0.5rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-gray {
  background-color: #f3f4f6;
  color: #1f2937;
  padding: 0.1rem 0.5rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge-blue {
  background-color: #dbeafe;
  color: #1e40af;
  padding: 0.1rem 0.5rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 500;
}

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

/* Indication Cards */
.tms-indication-card {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tms-indication-card:hover {
  border-color: rgba(87, 38, 112, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.tms-icon-wrapper {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #9f5afd);
  color: white;
  border-radius: 9px;
  transition: transform 0.3s ease;
}

.tms-indication-card:hover .tms-icon-wrapper {
  transform: scale(1.1);
}

/* Steps */
.tms-step-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.tms-step-card:hover {
  border-color: rgba(87, 38, 112, 0.3);
}

.tms-step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #9f5afd);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 9px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tms-step-icon-large {
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, var(--primary), #9f5afd);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

/* FAQ */
.tms-faq-item {
  background: white;
  border-radius: 0.75rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.tms-faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tms-faq-trigger {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
}

.tms-faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.tms-faq-inner {
  padding: 0 1.5rem 1.5rem;
}

.tms-faq-answer-border {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Supplemental Utilities for Layout */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.gap-8 {
  gap: 2rem;
}

.w-full {
  width: 100%;
}

@media (min-width: 1024px) {
  .lg\:flex-row {
    flex-direction: row;
  }

  .lg\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .lg\:w-1\/2 {
    width: 50%;
  }
}

/* CTA Styles */
.bg-cta-gradient {
  background: #572670;
  /* Deep purple to violet */
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 2rem;
  border-radius: 9px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.25;
}

.btn-white {
  background-color: white;
  color: #4c1d95;
  /* Dark purple text */
  border: 1px solid white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.btn-ghost-white {
  background-color: transparent;
  color: white;
  border: 1px solid transparent;
}

.btn-ghost-white:hover {
  text-decoration: underline;
  /* Simple text link style hover */
}

/* FAQ Accordion Styles */
.faq-category-card {
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-category-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-icon-box {
  background-color: #dbeafe;
  color: #2563eb;
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.accordion-item {
  border-bottom: 1px solid #f3f4f6;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.accordion-trigger:hover {
  color: #2563eb;
}

.accordion-trigger .question-text {
  font-weight: 600;
  font-size: 1.25rem;
  color: #111827;
  padding-right: 1rem;
  flex: 1;
  text-align: left;
}

.accordion-trigger:hover .question-text {
  color: #2563eb;
}

.accordion-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-trigger.active .question-text {
  color: var(--primary);
}

.accordion-trigger.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 1000px;
  /* Increased from 500px to be safe */
}

.accordion-content-inner {
  padding-bottom: 1rem;
  padding-top: 0;
  text-align: left;
}

.answer-text {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.75;
  text-align: left;
}

/* Footer Maps Section Styles */
.footer-maps-row {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-maps-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  color: #ffffff;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-maps-section-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2), transparent);
  margin-left: 1rem;
}

.footer-maps-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

.footer-map-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.footer-map-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px -15px rgba(168, 85, 247, 0.15);
}

.footer-map-location-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-map-location-name::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #a855f7;
  border-radius: 50%;
}

.footer-map-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(20%) contrast(110%);
  transition: filter 0.3s;
}

.footer-map-card:hover .footer-map-wrapper iframe {
  filter: grayscale(0%) contrast(100%);
}

.footer-map-header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-map-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #a855f7;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-map-address {
  font-size: 0.78rem;
  color: #d1d5db;
  line-height: 1.5;
  margin-top: 0.25rem;
}
