/* ==========================================================================
   Dr. Rajesh Reddy Neurosurgery - Main Stylesheet
   Design System, Typography, Layouts & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-blue: #0066cc;
  --primary-blue-hover: #0052a3;
  --primary-blue-light: #eff6ff;
  --accent-yellow: #f59e0b;
  --accent-yellow-dark: #d97706;
  --dark-bg: #0b0f19;
  --dark-surface: #0f172a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --border-radius-pill: 9999px;
}

/* Reset & Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button Utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-pill);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-pill);
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary-blue-light);
  transform: translateY(-2px);
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-secondary-link:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

/* ==========================================================================
   1. Top Announcement Bar
   ========================================================================== */
.header-sticky-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-bar {
  background-color: #000000;
  color: #a3a3a3;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  max-height: 60px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              padding 0.35s ease;
}

.top-bar.top-bar-hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.top-bar-links a {
  color: #d4d4d4;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.top-bar-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   2. Main Header / Navigation
   ========================================================================== */
.main-header {
  position: relative;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: #ffffff;
  min-width: 220px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
}

.dropdown-menu a:hover {
  background-color: var(--primary-blue-light);
  color: var(--primary-blue);
}

/* ==========================================================================
   Mega Menu Styling for Header
   ========================================================================== */
.mega-dropdown {
  position: relative;
}

.mega-menu-container {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.75rem;
  background: #ffffff;
  width: 680px;
  max-width: 90vw;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.25rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  text-align: left;
}

.mega-dropdown:hover .mega-menu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-menu-header {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f4f8;
}

.mega-pillar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1d1d1f;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-pillar-title:hover {
  color: #0066cc;
}

.pillar-badge {
  background-color: #e6f0fa;
  color: #0066cc;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-menu-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-menu-list li a i {
  font-size: 0.65rem;
  color: #a0a0a0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mega-menu-list li a:hover {
  background-color: #f4f8fc;
  color: #0066cc;
}

.mega-menu-list li a:hover i {
  color: #0066cc;
  transform: translateX(3px);
}

.mega-menu-list li a.active {
  background-color: #e6f0fa;
  color: #0066cc !important;
  font-weight: 700;
}

.mega-menu-list li a.active i {
  color: #0066cc !important;
}

.mega-pillar-title.active {
  color: #0066cc !important;
  font-weight: 800;
}

.nav-link.active {
  color: #0066cc !important;
}

.top-bar-links a.active {
  color: #ffffff !important;
  font-weight: 600;
}

/* ==========================================================================
   Mobile Off-Canvas Navigation Drawer
   ========================================================================== */
.mobile-only-link,
.mobile-only-btn,
.mobile-menu-header,
.mobile-toggle,
.mobile-top-bar-content,
.mobile-helpline-btn {
  display: none;
}

.nav-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .desktop-only-btn,
  .desktop-only-top-links,
  .logo-brand-text {
    display: none !important;
  }

  .top-bar {
    display: block !important;
    background-color: #000000 !important;
    padding: 10px 0 !important;
  }

  .mobile-top-bar-content {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-top-brand {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
  }

  .logo-brand-text {
    font-family: 'Montserrat', sans-serif;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff !important;
    cursor: pointer;
    padding: 0;
    line-height: 1;
  }

  .main-header {
    background-color: #ffffff !important;
    padding: 8px 0 !important;
  }

  .main-header .logo-img {
    height: 48px !important;
  }

  .mobile-helpline-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: #0066cc;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.3rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-container.active {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
  }

  .mobile-close-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #666;
    cursor: pointer;
  }

  .mobile-only-link,
  .mobile-only-btn {
    display: block;
  }

  .nav-menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-menu-list > li > a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
  }

  .nav-menu-list > li > a:hover {
    background-color: #f4f8fc;
    color: #0066cc;
  }

  .mega-dropdown .mega-menu-container {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 0 12px !important;
    margin-top: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
  }

  .mega-dropdown.open .mega-menu-container {
    display: block !important;
  }

  #iTreatToggle {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
  }

  #iTreatToggle .dropdown-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .mega-dropdown.open #iTreatToggle .dropdown-arrow {
    transform: rotate(180deg);
  }

  .mega-menu-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   3. Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  background: #ffffff;
}

.hero-content {
  max-width: 1050px;
  margin: 0 auto 2.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-image-wrapper {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08)) brightness(1.04) contrast(1.02);
  mix-blend-mode: multiply;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-img:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   4. Specialized Treatments Section
   ========================================================================== */
.treatments-section {
  padding: 4.5rem 0;
  background-color: var(--bg-white);
  text-align: center;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.treatment-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: left;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 102, 204, 0.3);
}

.treatment-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-blue);
  font-size: 1.5rem;
}

.treatment-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.treatment-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.treatment-link {
  font-weight: 600;
  color: var(--primary-blue);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.treatment-link:hover {
  gap: 0.6rem;
}

.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--text-main);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   5. Excellence in Neurosurgery (Doctor Profile Section)
   ========================================================================== */
.excellence-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.excellence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.excellence-content h2 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.excellence-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.checklist {
  list-style: none;
  margin: 2rem 0 2.5rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.checklist-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue-light);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.doctor-card-wrapper {
  display: flex;
  justify-content: center;
}

.doctor-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}

.doctor-img-container {
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: #f8fafc;
  padding: 0.75rem;
}

.doctor-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top center;
}

.doctor-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.doctor-title {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   6. Patient Stories Section (Yellow Banner)
   ========================================================================== */
.stories-section {
  background-color: var(--accent-yellow);
  padding: 5rem 0;
  color: #0f172a;
  text-align: center;
}

.stories-section .section-title {
  color: #0f172a;
}

.stories-section .section-subtitle {
  color: rgba(15, 23, 42, 0.8);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.story-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: left;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.story-thumb-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.story-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.story-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
}

.story-content {
  padding: 1.25rem 1.5rem;
}

.story-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.story-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stories-section .carousel-dot {
  background-color: rgba(255, 255, 255, 0.5);
}

.stories-section .carousel-dot.active {
  background-color: #ffffff;
}

/* ==========================================================================
   7. Reviews Section
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 2.5rem;
}

.review-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.star-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.975rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.reviewer-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.reviewer-status {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.review-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.review-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition);
}

.review-nav-btn.active,
.review-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ==========================================================================
   8. Frequently Asked Questions (FAQ) Section
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background-color: #ffffff;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-blue);
}

/* SVG icon wrapper (used on faq.php and home page) */
.faq-icon-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.faq-item.active .faq-icon-wrapper {
  background-color: rgba(0, 102, 204, 0.08);
  transform: rotate(45deg);
}

.faq-item.active .faq-icon-wrapper svg path {
  stroke: #0066cc;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer-content {
  padding: 0 0 0.75rem;
  color: #333333;
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================================================
   9. The Patient App Section
   ========================================================================== */
.app-section {
  background: linear-gradient(135deg, #0284c7 0%, #0066cc 100%);
  color: #ffffff;
  padding: 2rem 0 0;
  overflow: visible;
  position: relative;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: flex-end;
}

.app-content {
  padding: 2rem 0 2.5rem;
}

.app-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.app-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
}

.app-store-btns {
  display: flex;
  align-items: center;
  gap: 1rem;

}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.app-badge-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.app-badge-btn i {
  font-size: 1.5rem;
}

.app-badge-text span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.phone-mockup {
  width: 280px;
  background: #ffffff;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 1.5rem 1.25rem 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
  border: 4px solid #000000;
  border-bottom: none;
  text-align: center;
}

.phone-notch {
  width: 90px;
  height: 18px;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 1.5rem;
}

.qr-box {
  background: #f8fafc;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.qr-img {
  width: 160px;
  height: 160px;
  margin: 0 auto 1rem;
}

.qr-btn {
  background: #0f172a;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ==========================================================================
   10. Call To Action (CTA) Banner
   ========================================================================== */
.cta-banner {
  background-color: #0b0e14;
  color: #ffffff;
  padding: 3.5rem 0;
}

.cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.cta-subtitle {
  color: #94a3b8;
  font-size: 1rem;
}

/* ==========================================================================
   11. Footer Section
   ========================================================================== */
.main-footer {
  background-color: #f8fafc;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo-img {
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--primary-blue);
}

/* ==========================================================================
   Modal Dialog Style
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
    white-space: normal;
  }

  .treatments-grid,
  .stories-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excellence-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-store-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .treatments-grid,
  .stories-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-flex {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-page {
  padding: 4rem 0 6rem;
  background-color: #ffffff;
}

.contact-hero {
  max-width: 800px;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #737373;
  line-height: 1.6;
}

.preference-section {
  margin-bottom: 4rem;
}

.preference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.preference-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #171717;
}

.preference-tag {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #e0f2fe;
  color: #0369a1;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.contact-card.border-blue {
  border: 1px solid #bfdbfe;
}

.contact-card.border-green {
  border: 1px solid #bbf7d0;
}

.card-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.blue-text {
  color: #2563eb;
}

.green-text {
  color: #16a34a;
}

.card-number {
  font-size: 2rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #525252;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #22c55e;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #16a34a;
}

.contact-app-banner {
  background: #0066cc;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  overflow: visible;
  position: relative;
  margin-top: 25px;
  margin-bottom: 25px;
}

.app-banner-content {
  padding: 2.25rem 2.5rem;
  color: #ffffff;
  z-index: 2;
}

.app-banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.app-banner-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.app-features-list li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.app-features-list li i {
  margin-top: 0.2rem;
}

.app-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #171717;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.app-banner-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.phone-mockup-contact {
  width: 220px;
  background: #ffffff;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 1rem 1rem 0;
  border: 4px solid #171717;
  border-bottom: none;
  box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.2);
}

.phone-notch {
  width: 70px;
  height: 12px;
  background: #171717;
  border-radius: 6px;
  margin: 0 auto 1rem;
}

.qr-box-contact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.qr-img-contact {
  width: 100%;
  height: auto;
  margin-bottom: 0.5rem;
}

.qr-btn-contact {
  background: #171717;
  color: #ffffff;
  font-size: 0.65rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.email-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 2.5rem;
}

.form-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.location-info-block {
  margin-bottom: 1.5rem;
}

.location-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: #737373;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.location-text {
  font-size: 0.95rem;
  color: #171717;
  line-height: 1.5;
}

@media (max-width: 992px) {

  .contact-cards-grid,
  .email-location-grid,
  .contact-app-banner {
    grid-template-columns: 1fr;
  }

  .app-banner-image {
    display: none;
  }
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.about-page {
  padding: 4rem 0 6rem;
  background-color: #fafafa;
}

.about-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid #e5e5e5;
}

.profile-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  overflow: hidden;
  border: 3px solid #f1f5f9;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.2rem;
}

.profile-title {
  font-size: 0.825rem;
  color: #737373;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.5rem 0.4rem;
  border: 1px solid #e2e8f0;
}

.stat-full {
  grid-column: 1 / -1;
}

.stat-num {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.stat-label {
  font-size: 0.7rem;
  color: #525252;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.profile-card .btn-primary {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  margin-top: 0.5rem !important;
}

.about-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.about-section {
  margin-bottom: 4rem;
}

.about-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: #525252;
  line-height: 1.7;
}

.specialties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.specialty-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.specialty-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.5rem;
}

.specialty-desc {
  font-size: 0.85rem;
  color: #737373;
  line-height: 1.5;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 0.6rem;
  transform: translateX(-3px);
}

.timeline-content {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.timeline-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.25rem;
}

.timeline-subtitle {
  font-size: 0.9rem;
  color: #525252;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.timeline-desc {
  font-size: 0.9rem;
  color: #737373;
  line-height: 1.5;
}

.honors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.honor-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fdfbf7;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #fef08a;
}

.honor-icon {
  color: #eab308;
  font-size: 1.5rem;
}

.honor-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.5rem;
}

.honor-desc {
  font-size: 0.85rem;
  color: #737373;
  line-height: 1.5;
}

.research-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
}

.filter-btn {
  background: #f1f5f9;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #525252;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.search-box {
  position: relative;
  width: 300px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.research-search {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  outline: none;
}

.research-search:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.research-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.research-title {
  font-size: 1rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.5rem;
}

.research-meta {
  font-size: 0.85rem;
  color: #737373;
}

.about-app-banner {
  background: #0066cc;
  padding: 2rem 0 0;
  overflow: visible;
  position: relative;
}

.app-banner-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  gap: 4rem;
}

.app-banner-text {
  color: #ffffff;
  padding: 2rem 0 2.5rem;
}


.app-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.app-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.app-btns {
  display: flex;
  gap: 1rem;
}

.app-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #171717;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.about-cta {
  background: #171717;
  padding: 4rem 0;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-text p {
  font-size: 1.1rem;
  color: #a3a3a3;
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .profile-card {
    position: static;
  }

  .specialties-grid,
  .honors-grid {
    grid-template-columns: 1fr;
  }

  .app-banner-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-btns {
    justify-content: center;
  }

  .app-banner-visual {
    display: none;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* ==========================================================================
   Gallery Page Styles
   ========================================================================== */
.gallery-page {
  padding: 4rem 0 6rem;
  background-color: #ffffff;
}

.gallery-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 1rem;
}

.gallery-subtitle {
  font-size: 1.1rem;
  color: #737373;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.gallery-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.gallery-img-wrap {
  width: 100%;
  height: 250px;
  background: #f1f5f9;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  color: #0284c7;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.gallery-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #171717;
  margin-bottom: 0.75rem;
}

.gallery-card-desc {
  font-size: 0.9rem;
  color: #525252;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.app-phone-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  transform: translateY(-35%);
  z-index: 10;
  position: relative;
  margin: 0 auto;
}

.app-phone-img-contact {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ==========================================================================
   Patient Education Page Styles
   ========================================================================== */

.page-content {
  padding: 60px 0;
  background-color: #fafafc;
}

.education-header {
  text-align: center;
  margin-bottom: 40px;
}

.education-header .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1d1d1f;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: none;
  padding-bottom: 0;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  color: #8e8e93;
  font-size: 0.9rem;
  pointer-events: none;
}

.search-box .search-input {
  width: 100%;
  padding: 8px 16px 8px 38px;
  background-color: #f5f5f7;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #1d1d1f;
  outline: none;
  transition: all 0.2s ease;
}

.search-box .search-input:focus {
  background-color: #ffffff;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.filter-pill {
  background-color: #f5f5f7;
  border: 1px solid #e5e5e5;
  color: #525252;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background-color: #e5e5e5;
}

.filter-pill.active {
  background-color: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

/* Article Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.article-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-img-wrap {
  height: 160px;
  overflow: hidden;
}

.article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 20px;
  flex-grow: 1;
}

.category-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #1d1d1f;
}

.article-content p {
  font-size: 0.85rem;
  color: #7a7a7a;
  line-height: 1.5;
  margin-bottom: 0;
}

.article-footer {
  padding: 16px 20px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-time {
  font-size: 0.75rem;
  color: #7a7a7a;
}

.read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
}

.read-link:hover {
  text-decoration: underline;
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-pills {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* App Download Section */
.app-download-section {
  background-color: #0066cc;
  color: #ffffff;
  padding: 60px 0 0 0;
  /* No bottom padding because image overlaps */
  overflow: hidden;
}

.app-download-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.app-download-text {
  width: 50%;
  padding-bottom: 60px;
}

.app-download-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.app-download-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.app-buttons {
  display: flex;
  gap: 16px;
}

.btn-app-store,
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #1d1d1f;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-app-store:hover,
.btn-google-play:hover {
  background-color: #f5f5f7;
}

.app-download-mockup {
  width: 40%;
  position: relative;
  top: 20px;
  /* Overlap effect */
  display: flex;
  justify-content: center;
}

.app-download-mockup img {
  max-width: 100%;
  height: auto;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .app-download-container {
    flex-direction: column;
    text-align: center;
  }

  .app-download-text {
    width: 100%;
    padding-bottom: 40px;
  }

  .app-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .app-download-mockup {
    width: 80%;
  }
}

/* Pre-Footer CTA */
.pre-footer-cta {
  background-color: #1d1d1f;
  color: #ffffff;
  padding: 60px 0;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.cta-text p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 0;
}

.pre-footer-cta .btn-primary {
  background-color: #0066cc;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.pre-footer-cta .btn-primary:hover {
  background-color: #005bb5;
}

@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

/* ==========================================================================
   Patient Stories Page Styles
   ========================================================================== */

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: box-shadow 0.2s ease;
}

.video-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.video-thumbnail {
  background-color: #1d1d1f;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-play-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, transform 0.2s ease;
}

.video-thumbnail:hover .video-play-icon {
  color: #ffffff;
  transform: scale(1.05);
}

.video-content {
  padding: 20px;
}

.video-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  line-height: 1.3;
}

.video-content p {
  font-size: 0.85rem;
  color: #7a7a7a;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.review-card {
  background-color: #f5f5f7;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.review-stars,
.review-stars-small {
  color: #fac20e;
  margin-bottom: 12px;
}

.review-stars i {
  font-size: 1.1rem;
}

.review-stars-small i {
  font-size: 0.8rem;
  margin-right: 2px;
}

.review-text {
  font-size: 0.9rem;
  color: #333333;
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.verified-label {
  font-size: 0.7rem;
  color: #7a7a7a;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
}

.reviewer-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
}

.review-source {
  font-size: 0.75rem;
  color: #7a7a7a;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.carousel-dots .dot {
  width: 16px;
  height: 6px;
  border-radius: 3px;
  background-color: #cccccc;
  display: inline-block;
  transition: background-color 0.2s ease, width 0.2s ease;
}

.carousel-dots .dot.active {
  background-color: #7a7a7a;
  width: 24px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {

  .video-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .video-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   New Specialized Treatments Carousel Styles
   ========================================================================== */

.treatments-carousel-wrapper {
  overflow: hidden;
  margin-bottom: 32px;
  padding: 10px;
  /* To prevent shadow clipping */
}

.treatments-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease-in-out;
}

.treatment-card-new {
  flex: 0 0 calc(33.333% - 16px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.treatment-icon-img {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}

.treatment-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* Slightly round the thumbnail if needed */
}

.treatment-card-new h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.treatment-card-new p {
  font-size: 0.95rem;
  color: #525252;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.treatment-link-blue {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0066cc;
  text-decoration: none;
  align-self: flex-start;
}

.treatment-link-blue:hover {
  text-decoration: underline;
}

/* Pagination Indicators (Pill) */
.carousel-indicators-wrapper {
  display: flex;
  justify-content: center;
}

.carousel-indicators-pill {
  background-color: #f5f5f7;
  border-radius: 20px;
  padding: 8px 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot-new {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot-new.active {
  background-color: #7a7a7a;
  width: 20px;
  border-radius: 4px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .treatment-card-new {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .treatment-card-new {
    flex: 0 0 100%;
  }
}

/* ==========================================================================
   New Patient Stories Section Styles
   ========================================================================== */

.story-card-new {
  flex: 0 0 calc(33.333% - 16px);
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-thumb-new {
  position: relative;
  width: 100%;
  height: 200px;
}

.story-thumb-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn-new {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-btn-new:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.6);
}

.story-content-new {
  padding: 24px;
  text-align: left;
  background: #ffffff;
}

.story-title-new {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2b3a4a;
  margin-bottom: 8px;
}

.story-sub-new {
  font-size: 0.9rem;
  color: #8c96a3;
  font-weight: 400;
}

.stories-pagination-pill {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 6px 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.story-dot-new {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-dot-new.active {
  background-color: #ffffff;
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .story-card-new {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .story-card-new {
    flex: 0 0 100%;
  }
}
/* ==========================================================================
   Pillar Page Specific Styles (e.g., Brain Tumor Removal)
   ========================================================================== */

/* Hero Section */
.pillar-hero {
  position: relative;
  background-color: #f5f5f7;
  padding: 40px 0;
  overflow: hidden;
}

.pillar-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.pillar-hero-content {
  flex: 1;
  max-width: 600px;
}

.pillar-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.2;
  margin-bottom: 16px;
}

.pillar-hero-subtitle {
  font-size: 1.1rem;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 24px;
}

.pillar-hero-desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.pillar-hero-image {
  flex: 1;
  position: relative;
}

.pillar-hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Stats Bar */
.pillar-stats-bar {
  background-color: #f0f4f8;
  border-top: 1px solid #e0e6ed;
  border-bottom: 1px solid #e0e6ed;
  padding: 20px 0;
}

.pillar-stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pillar-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pillar-stat-icon {
  font-size: 1.5rem;
  color: #0066cc;
}

.pillar-stat-text {
  font-weight: 600;
  color: #1d1d1f;
  font-size: 0.9rem;
}

/* Page Layout */
.pillar-main-content {
  padding: 60px 0;
}

.pillar-layout {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 24px;
  max-width: 1600px;
}

@media (max-width: 991px) {
  .pillar-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Sidebar Navigation */
.pillar-sidebar {
  position: sticky;
  top: 145px;
  align-self: start;
}

.pillar-sidebar-nav {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  border: none;
}

.pillar-sidebar-nav h3 {
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #7a7a7a;
  padding-bottom: 0;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.pillar-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 3px 0 3px 8px;
  color: #2c2c2e;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.35;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border-radius: 0;
  background-color: transparent;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.pillar-sidebar-nav a:hover {
  color: #0066cc;
  background-color: transparent;
}

.pillar-sidebar-nav a.active {
  background-color: transparent;
  color: #0066cc;
  border-left: 3px solid #0066cc;
  font-weight: 600;
}

/* Right Sidebar Navigation */
.pillar-content {
  min-width: 0;
  width: 100%;
}

.pillar-right-sidebar {
  position: sticky;
  top: 145px;
  align-self: start;
}

/* Global Sticky Sidebar Header Clearance */
aside[style*="sticky"] {
  top: 145px !important;
}

.guidance-card {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.guidance-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.guidance-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 20px;
}

.guidance-card .guidance-phone {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0066cc;
  text-decoration: none;
  margin-bottom: 16px;
}

.guidance-card .guidance-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #0066cc;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s;
}

.guidance-card .guidance-btn:hover {
  background-color: #0052a3;
}

/* Content Sections */
.pillar-section, section[id] {
  margin-bottom: 60px;
  scroll-margin-top: 145px;
}

.pillar-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.pillar-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: #1d1d1f;
}

.pillar-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}

.pillar-section img {
  max-width: 100%;
  height: auto;
}

.pillar-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.pillar-section li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 8px;
}

/* Callout / Alert Box */
.pillar-callout {
  background-color: #f8fbff;
  border-left: 4px solid #0066cc;
  padding: 24px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}

.pillar-callout h4 {
  color: #0066cc;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* Tables */
.pillar-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pillar-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
}

.pillar-table th {
  background-color: #f5f5f7;
  color: #1d1d1f;
  font-weight: 600;
  text-align: left;
  padding: 16px;
  border-bottom: 2px solid #eaeaea;
}

.pillar-table td {
  padding: 16px;
  border-bottom: 1px solid #eaeaea;
  color: #444;
  font-size: 0.95rem;
  vertical-align: top;
}

.pillar-table tr:last-child td {
  border-bottom: none;
}

/* Accordion FAQ */
.pillar-faq-item {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pillar-faq-q {
  background-color: #fff;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1d1d1f;
  transition: background-color 0.2s;
}

.pillar-faq-q:hover {
  background-color: #f9f9f9;
}

.pillar-faq-q i {
  transition: transform 0.3s ease;
  color: #0066cc;
}

.pillar-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fafafa;
}

.pillar-faq-a-content {
  padding: 20px;
  color: #444;
  line-height: 1.6;
}

/* Action Cards */
.pillar-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .pillar-action-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-action-card {
  background-color: #1d1d1f;
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s;
}

.pillar-action-card:hover {
  transform: translateY(-5px);
}

.pillar-action-icon {
  font-size: 2.5rem;
  color: #0066cc;
  margin-bottom: 16px;
}

.pillar-action-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

.pillar-action-card p {
  font-size: 0.95rem;
  color: #aaa;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pillar-action-btn {
  display: inline-block;
  background-color: #0066cc;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.pillar-action-btn:hover {
  background-color: #005bb5;
}

.pillar-action-card.darker {
  background-color: #111;
}

/* ==========================================================================
   Mobile Floating Action Buttons & Off-Canvas Drawers for Pillar Pages
   ========================================================================== */

.mobile-float-triggers,
.mobile-drawer-header {
  display: none;
}

@media (max-width: 991px) {
  .mobile-float-triggers {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1050;
    pointer-events: none;
  }

  .mobile-float-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px;
    border-radius: 24px;
    border: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-float-btn:active {
    transform: scale(0.94);
  }

  .mobile-float-btn.float-left {
    background-color: #ffffff;
    color: #0066cc;
    border: 1px solid #dcdcdc;
  }

  .mobile-float-btn.float-right {
    background-color: #0066cc;
    color: #ffffff;
  }

  .mobile-float-btn i {
    font-size: 1.05rem;
  }

  .mobile-float-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-float-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Hide default inline position of sidebars on mobile */
  .pillar-sidebar,
  .pillar-right-sidebar {
    display: none;
  }

  /* When drawer is activated via click */
  .pillar-sidebar.mobile-open,
  .pillar-right-sidebar.mobile-open {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 1100 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 20px 32px !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25) !important;
    animation: drawerSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .pillar-sidebar-nav,
  .guidance-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
  }

  .mobile-drawer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0;
  }

  .mobile-drawer-close {
    background: #f5f5f7;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@keyframes drawerSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Blog Detail Pages Responsive Improvements
   ========================================================================== */

@media (max-width: 991px) {
  .article-container {
    padding: 24px 16px 60px !important;
  }

  .article-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .featured-banner-container {
    height: auto !important;
    max-height: 280px !important;
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .article-badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
    margin-bottom: 12px !important;
  }

  .article-header {
    margin-bottom: 20px !important;
  }

  .article-meta {
    flex-wrap: wrap !important;
    gap: 8px 12px !important;
    font-size: 13px !important;
    padding-bottom: 16px !important;
  }

  .breadcrumb {
    flex-wrap: wrap !important;
    font-size: 12px !important;
    gap: 4px 6px !important;
    margin-bottom: 16px !important;
  }

  .body-lead {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  .article-body h2 {
    font-size: 20px !important;
    margin: 28px 0 12px !important;
  }

  .article-body h3 {
    font-size: 17px !important;
    margin: 20px 0 10px !important;
  }

  .article-body p,
  .article-body li {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  .article-body img {
    max-width: 100% !important;
    height: auto !important;
  }

  .article-body table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
  }

  .sidebar-widget {
    padding: 16px !important;
    margin-bottom: 20px !important;
  }

  .sidebar-author-card {
    padding: 16px 14px !important;
  }

  .sidebar-author-stats {
    gap: 8px !important;
  }

  .sidebar-stat-box {
    padding: 6px 8px !important;
  }

  .sidebar-stat-value {
    font-size: 14px !important;
  }

  .sidebar-stat-label {
    font-size: 9px !important;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }

  .featured-banner-container {
    max-height: 200px !important;
  }
}

/* ==========================================================================
   Pillar Page (Brain Tumor) Mobile Responsive Overrides
   ========================================================================== */

@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .pillar-hero {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pillar-hero h1 {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }

  .pillar-hero .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .pillar-main-content {
    padding: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .pillar-layout {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pillar-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .app-section {
    margin-top: 50px !important;
    background-color: #0066cc !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .app-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    padding: 36px 20px 0 20px !important;
    text-align: left !important;
  }

  .app-content {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .app-title {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
    color: #ffffff !important;
  }

  .app-subtitle {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
  }

  .app-store-btns {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: stretch !important;
  }

  .app-badge-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #1d1d1f !important;
    padding: 13px 16px !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  .phone-mockup-wrapper {
    display: flex !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
    margin-top: 32px !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
  }

  .app-phone-img {
    display: block !important;
    width: 82% !important;
    max-width: 320px !important;
    height: auto !important;
    position: relative !important;
    bottom: -15px !important;
    right: auto !important;
    left: auto !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  .pillar-hero h1 {
    font-size: 1.4rem !important;
  }

  .pillar-section {
    margin-bottom: 36px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .pillar-section-title {
    font-size: 1.35rem !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    word-wrap: break-word !important;
  }

  .pillar-section h3 {
    font-size: 1.15rem !important;
    margin: 20px 0 10px !important;
    word-wrap: break-word !important;
  }

  .pillar-section p,
  .pillar-section li {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
  }

  .pillar-callout {
    padding: 16px !important;
    margin: 20px 0 !important;
    box-sizing: border-box !important;
  }

  .pillar-table-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 20px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
  }

  .pillar-table {
    width: 100% !important;
    min-width: 580px !important;
    table-layout: auto !important;
  }

  .pillar-table th,
  .pillar-table td {
    padding: 10px 12px !important;
    font-size: 0.85rem !important;
    white-space: normal !important;
  }

  .pillar-action-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 36px !important;
    margin-bottom: 36px !important;
  }

  .pillar-action-card {
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }

  .pillar-faq-q {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
  }

  .pillar-faq-a-content {
    padding: 14px 16px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
  }

  .pre-footer-cta .cta-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }

  .pre-footer-cta h2 {
    font-size: 1.2rem !important;
  }

  /* About Page Responsiveness */
  .about-page {
    padding: 20px 0 40px !important;
  }

  .about-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .about-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .profile-card {
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }

  .about-content {
    padding: 24px 16px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .specialties-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .honors-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .research-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .filter-tabs {
    width: 100% !important;
    display: flex !important;
  }

  .filter-btn {
    flex: 1 !important;
    text-align: center !important;
  }

  .search-box {
    width: 100% !important;
  }

  .about-cta .cta-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.25rem !important;
    margin-bottom: 1rem !important;
  }
}

/* ==========================================================================
   Patient Success Stories Page Styles & Responsiveness
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-play-icon {
  font-size: 40px;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, color 0.25s ease;
}

.video-card:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.15);
  color: var(--primary-blue, #0066cc);
}

.video-content {
  padding: 16px 20px;
}

.video-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-content p {
  font-size: 0.85rem;
  color: #7a7a7a;
  line-height: 1.5;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.review-stars-small {
  color: #fac20e;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: #1d1d1f;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
  flex-grow: 1;
}

.verified-label {
  display: inline-block;
  font-size: 0.75rem;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
  font-size: 0.85rem;
}

.reviewer-name {
  font-weight: 700;
  color: #1d1d1f;
}

.review-source {
  color: #7a7a7a;
  font-size: 0.8rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d2d2d7;
}

.carousel-dots .dot.active {
  background-color: #0066cc;
  width: 24px;
  border-radius: 12px;
}

@media (max-width: 991px) {
  .page-content {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
  }

  .page-content .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .stories-header {
    margin-bottom: 24px !important;
  }

  .stories-header .page-title {
    font-size: 1.6rem !important;
    margin-bottom: 12px !important;
  }

  .section-title-centered h2 {
    font-size: 1.6rem !important;
  }

  .section-title-centered p {
    font-size: 0.95rem !important;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .reviews-section {
    margin-top: 48px !important;
    margin-bottom: 40px !important;
  }

  .reviews-header h2 {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 640px) {
  .video-grid,
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .video-card .video-thumbnail {
    height: 180px !important;
  }

  .review-card {
    padding: 20px 16px !important;
  }
}

/* ==========================================================================
   Gallery Page Styles & Responsiveness
   ========================================================================== */
.gallery-page {
  padding: 3rem 0 5rem;
  background-color: #fafafa;
}

.gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.gallery-subtitle {
  font-size: 1.1rem;
  color: #6e6e73;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0066cc;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.gallery-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 10px;
  line-height: 1.35;
}

.gallery-card-desc {
  font-size: 0.92rem;
  color: #6e6e73;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 991px) {
  .gallery-page {
    padding: 20px 0 40px !important;
  }

  .gallery-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .gallery-header {
    margin-bottom: 24px !important;
  }

  .gallery-title {
    font-size: 1.8rem !important;
  }

  .gallery-subtitle {
    font-size: 0.95rem !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .gallery-img-wrap {
    height: 200px !important;
  }

  .gallery-content {
    padding: 16px !important;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .gallery-img-wrap {
    height: 220px !important;
  }

  .gallery-card-title {
    font-size: 1.05rem !important;
  }

  .gallery-card-desc {
    font-size: 0.88rem !important;
  }
}

/* ==========================================================================
   Contact Page Styles & Responsiveness
   ========================================================================== */
.contact-page {
  padding: 3rem 0 5rem;
  background-color: #fafafa;
}

.contact-hero {
  max-width: 720px;
  margin-bottom: 3rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: #6e6e73;
  line-height: 1.6;
}

.preference-section {
  margin-bottom: 3.5rem;
}

.preference-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.preference-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1d1f;
}

.preference-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0066cc;
  background-color: #e6f0fa;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
}

.border-blue {
  border-top: 4px solid #0066cc;
}

.border-green {
  border-top: 4px solid #25d366;
}

.blue-text {
  color: #0066cc;
}

.green-text {
  color: #25d366;
}

.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.card-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.92rem;
  color: #6e6e73;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-whatsapp {
  display: inline-block;
  background-color: #25d366;
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1eb954;
}

.contact-app-banner {
  background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
  border-radius: 20px;
  padding: 3rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.app-banner-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-banner-desc {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-features-list li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1d1d1f;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.app-btn-white:hover {
  transform: translateY(-2px);
}

.app-phone-img-contact {
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  max-width: none;
  height: auto;
  display: block;
  z-index: 10;
}

.email-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0066cc;
}

.location-details {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.location-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0066cc;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.location-text {
  font-size: 0.95rem;
  color: #1d1d1f;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .contact-page {
    padding: 20px 0 40px !important;
  }

  .contact-page .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }

  .contact-hero {
    margin-bottom: 24px !important;
  }

  .contact-title {
    font-size: 1.8rem !important;
  }

  .contact-subtitle {
    font-size: 0.95rem !important;
  }

  .preference-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .contact-card {
    padding: 20px 16px !important;
  }

  .card-number {
    font-size: 1.4rem !important;
  }

  .contact-app-banner {
    grid-template-columns: 1fr !important;
    padding: 24px 16px !important;
    gap: 20px !important;
  }

  .app-banner-image {
    display: none !important;
  }

  .app-store-btns {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .email-location-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-form-card,
  .location-details {
    padding: 20px 16px !important;
  }
}

/* Pagination Styling */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
}

.page-btn.active {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.25);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-color);
}

/* Global Lazy Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Specialization Vertical Tabs */
.spec-tabs-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
  text-align: left;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .spec-tabs-container {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 6px 20px;
    align-items: start;
  }
}

.spec-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 8px 12px;
  text-align: left;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark, #1d1d1f);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .spec-tab-btn {
    grid-column: 1;
  }
}

.spec-tab-btn .icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted, #86868b);
}

.spec-tab-btn.active .icon {
  color: #ffffff;
}

.spec-tab-btn:hover {
  border-color: var(--primary-blue, #0066cc);
  color: var(--primary-blue, #0066cc);
}

.spec-tab-btn.active {
  background: var(--primary-blue, #0066cc);
  color: #ffffff;
  border-color: var(--primary-blue, #0066cc);
}

.spec-tab-panel {
  display: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -4px;
}

@media (min-width: 768px) {
  .spec-tab-panel {
    grid-column: 2;
    grid-row: 1 / span 10;
    align-self: start;
    margin-top: 0;
    padding: 24px;
  }
}

.spec-tab-panel.active {
  display: block;
}

.spec-tab-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark, #1d1d1f);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-muted, #424245);
  line-height: 1.5;
}

.spec-list li::before {
  content: "•";
  color: var(--primary-blue, #0066cc);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
}

.spec-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Image Lightbox & Zoom Modal Styles for Cluster / Pillar Pages
   ========================================================================== */
.pillar-page img,
.pillar-hero img,
.pillar-content img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-page img:hover,
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background-color: var(--primary-blue-light);
}

.page-btn.active {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.25);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-color);
}

/* Global Lazy Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Specialization Vertical Tabs */
.spec-tabs-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
  text-align: left;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .spec-tabs-container {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 6px 20px;
    align-items: start;
  }
}

.spec-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 8px 12px;
  text-align: left;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark, #1d1d1f);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .spec-tab-btn {
    grid-column: 1;
  }
}

.spec-tab-btn .icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted, #86868b);
}

.spec-tab-btn.active .icon {
  color: #ffffff;
}

.spec-tab-btn:hover {
  border-color: var(--primary-blue, #0066cc);
  color: var(--primary-blue, #0066cc);
}

.spec-tab-btn.active {
  background: var(--primary-blue, #0066cc);
  color: #ffffff;
  border-color: var(--primary-blue, #0066cc);
}

.spec-tab-panel {
  display: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: -4px;
}

@media (min-width: 768px) {
  .spec-tab-panel {
    grid-column: 2;
    grid-row: 1 / span 10;
    align-self: start;
    margin-top: 0;
    padding: 24px;
  }
}

.spec-tab-panel.active {
  display: block;
}

.spec-tab-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark, #1d1d1f);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-muted, #424245);
  line-height: 1.5;
}

.spec-list li::before {
  content: "•";
  color: var(--primary-blue, #0066cc);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.4;
}

.spec-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Image Lightbox & Zoom Modal Styles for Cluster / Pillar Pages
   ========================================================================== */
.pillar-page img,
.pillar-hero img,
.pillar-content img {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-page img:hover,
.pillar-hero img:hover,
.pillar-content img:hover {
  opacity: 0.96;
}

/* Modal Overlay */
.image-zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  user-select: none;
}

.image-zoom-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Toolbar Controls */
.image-zoom-toolbar {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100000;
}

.image-zoom-btn,
.image-zoom-modal-close {
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #ffffff;
  font-size: 15px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-zoom-modal-close {
  font-size: 22px;
  line-height: 1;
}

.image-zoom-btn:hover,
.image-zoom-modal-close:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: scale(1.1);
}

.image-zoom-container {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.image-zoom-modal-content {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
  transform-origin: center center;
}

.image-zoom-modal-caption {
  margin-top: 12px;
  color: #e5e5e7;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
  line-height: 1.4;
}

/* ==========================================================================
   Stats Banner & Counter Loading Animation Styles
   ========================================================================== */

.stats-banner-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 36px 32px;
  border-radius: 20px;
  border: 1px solid rgba(0, 102, 204, 0.14);
  margin-bottom: 80px;
  text-align: center;
  box-shadow: 0 10px 30px -5px rgba(0, 102, 204, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc 0%, #3b82f6 50%, #f59e0b 100%);
}

.stats-banner-section .stat-card,
.profile-stats .stat-box,
.sidebar-stat-box {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 20px 16px;
  border-radius: 14px;
  background: transparent;
  position: relative;
}

.stats-banner-section .stat-card:hover,
.profile-stats .stat-box:hover {
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 102, 204, 0.08);
  transform: translateY(-4px) scale(1.02);
}

.stats-banner-section.in-view .stat-card,
.profile-stats.in-view .stat-box,
.sidebar-stat-box.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-banner-section.in-view .stat-card:nth-child(1),
.profile-stats.in-view .stat-box:nth-child(1) { transition-delay: 0.05s; }
.stats-banner-section.in-view .stat-card:nth-child(2),
.profile-stats.in-view .stat-box:nth-child(2) { transition-delay: 0.15s; }
.stats-banner-section.in-view .stat-card:nth-child(3),
.profile-stats.in-view .stat-box:nth-child(3) { transition-delay: 0.25s; }
.stats-banner-section.in-view .stat-card:nth-child(4),
.profile-stats.in-view .stat-box:nth-child(4) { transition-delay: 0.35s; }

.stat-number,
.stat-num,
.sidebar-stat-value {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #0066cc;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.stat-number.counter-done,
.stat-num.counter-done,
.sidebar-stat-value.counter-done {
  animation: statPulse 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes statPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: #004499; }
  100% { transform: scale(1); color: #0066cc; }
}

.stat-label,
.sidebar-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.3;
}

