/* ==========================================================================
   NEURO ROBOTIC PHYSIOTHERAPY - FERNVALE MODERN THEME
   Recreated with high-end luxury dark styling, smooth animations & precision
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Typography */
  --font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Primary Colors (Modern Clean Light Theme) */
  --flat-color--black-900: #ffffff;            /* Base HTML/Body background */
  --flat-color--black-800: #f8fafc;            /* Alternate section background */
  --flat-color--black-700: #f1f5f9;            /* Subtle card/badge background */
  --flat-color--smooth-black-700: #f1f5f9;     /* Control pill / chip background */
  --flat-color--card-bg: #ffffff;              /* Standard card background */
  --flat-color--card-hover: #f8fafc;           /* Card hover background */
  
  /* Accents */
  --flat-color--primary-500: #0284c7;          /* High contrast primary medical blue */
  --flat-color--primary-glow: rgba(2, 132, 199, 0.16);
  --flat-color--light-primary-400: #0369a1;    /* Deep sky blue for hover / accents */
  --flat-color--cyan-accent: #0284c7;          /* Accent blue/cyan */
  --flat-color--emerald-accent: #059669;       /* Deep emerald green */
  
  /* Whites & Grays (High-Contrast Inverted Palette) */
  --flat-color--white-100: #0f172a;            /* Headings, titles, brand text (Deep Navy Slate) */
  --flat-color--white-smoke-200: #1e293b;      /* Primary body text, menu links */
  --flat-color--light-grey-300: #334155;       /* Subheadings, secondary labels */
  --flat-color--grey-650: #475569;             /* Paragraphs, descriptions */
  --flat-color--grey-800: #64748b;             /* Muted text, timestamps */
  
  /* Transparencies & Borders */
  --transparent-color--white-5: rgba(0, 0, 0, 0.02);
  --transparent-color--white-10: rgba(0, 0, 0, 0.04);
  --transparent-color--white-20: rgba(0, 0, 0, 0.08);
  --transparent-color--white-50: rgba(0, 0, 0, 0.5);
  --transparent-color--black-25: rgba(0, 0, 0, 0.04);
  --transparent-color--black-50: rgba(0, 0, 0, 0.08);
  --transparent-color--black-80: rgba(0, 0, 0, 0.12);
  --transparent-color--border: rgba(0, 0, 0, 0.08);
  --transparent-color--border-hover: rgba(2, 132, 199, 0.35);

  /* Spacing & Sizes */
  --_layout---size--tiny: 0.5rem;
  --_layout---size--very-small: 0.75rem;
  --_layout---size--extra-small: 1rem;
  --_layout---size--small: 1.5rem;
  --_layout---size--regular: 2rem;
  --_layout---size--medium: 3rem;
  --_layout---size--semi-large: 4rem;
  --_layout---size--large: 5rem;
  --_layout---size--extra-large: 6rem;
  
  /* Radii */
  --_radius---small: 0.5rem;
  --_radius---medium: 1.25rem;
  --_radius---large: 1.75rem;
  --_radius---extra-large: 9999px;
  --_radius---circle: 50%;
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--flat-color--white-smoke-200);
  background-color: var(--flat-color--black-900);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  background-color: var(--flat-color--black-900);
  color: var(--flat-color--white-smoke-200);
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

.main-wrapper {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

section, header, footer {
  max-width: 100% !important;
}

img, iframe, video, svg, object, embed {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, .heading-hero, .heading-title, .hero-title-main {
  overflow-wrap: break-word;
  word-break: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  color: var(--flat-color--white-100);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

p {
  color: var(--flat-color--grey-650);
  line-height: 1.65;
  font-weight: 400;
}

/* Containers */
.container-large {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

.container-medium {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

.padding-section-hero {
  padding-top: 140px;
  padding-bottom: 90px;
}

.padding-section-medium {
  padding-top: 100px;
  padding-bottom: 100px;
}

.padding-section_footer {
  padding-top: 80px;
  padding-bottom: 40px;
}

/* Subtitle Badge */
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--flat-color--primary-500);
  background: rgba(72, 161, 233, 0.08);
  border: 1px solid rgba(72, 161, 233, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: var(--_radius---extra-large);
  width: fit-content;
}

.subtitle .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--flat-color--primary-500);
  box-shadow: 0 0 10px var(--flat-color--primary-500);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.subtitle.text-color-white {
  color: var(--flat-color--white-100);
  background: var(--transparent-color--white-10);
  border-color: var(--transparent-color--white-20);
}

/* ==========================================================================
   BUTTONS (Fernvale Signature Dual-Text Roll)
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0.85rem 1.75rem;
  border-radius: var(--_radius---extra-large);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
  vertical-align: middle;
}

.button-text-wrapper {
  position: relative;
  height: auto;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.button-text-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
  transition: none !important;
}

.button-text-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: auto;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hide duplicate second line across all screens (desktop, laptop, tablet, mobile) */
.button-text-item:nth-child(n+2),
.button-text-item ~ .button-text-item {
  display: none !important;
}

/* Polished button hover effect for desktop & laptop */
.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

/* Button Variants */
.button-white {
  background-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.button-white:hover {
  background-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.button-secondary {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background-color: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
  transform: translateY(-2px);
}

.button-black {
  background-color: #f1f5f9;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  backdrop-filter: blur(10px);
}

.button-black:hover {
  background-color: #e2e8f0;
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);
}

.button-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.button-outline:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
}

.button-nav {
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  background-color: #0284c7;
  color: #ffffff;
  font-weight: 600;
}

.button-nav:hover {
  background-color: #0369a1;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGATION BAR (Fernvale Floating Glass Pill)
   ========================================================================== */
.navbar,
header.navbar {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

.navbar-wrapper,
.navbar .container-large {
  overflow: visible !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(2, 132, 199, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.navbar-wrapper {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.85rem 0;
  box-shadow: none;
  transition: padding 0.3s ease;
  width: 100%;
  position: relative;
}

.navbar.scrolled .navbar-wrapper {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.7rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 38px;
  width: auto;
}

.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--flat-color--primary-500);
  font-weight: 600;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.link-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--flat-color--white-smoke-200);
  position: relative;
  padding: 0.35rem 0;
  display: inline-flex;
  flex-direction: column;
  transition: color 0.25s ease;
}

.link-text .link-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--flat-color--primary-500);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.link-text:hover {
  color: var(--flat-color--white-100);
}

.link-text:hover .link-line,
.link-text.active .link-line {
  width: 100%;
}

/* ==========================================================================
   MULTI-LEVEL SERVICES DROPDOWN SYSTEM
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  list-style: none;
}

.dropdown-toggle-inner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  margin-top: 1px;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.mobile-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--flat-color--cyan-accent);
}

/* Level 1 Submenu */
.dropdown-menu-l1 {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 14px;
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 0.6rem;
  min-width: 250px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Invisible bridge so mouse does not drop hover */
.dropdown-menu-l1::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-item-dropdown:hover > .dropdown-menu-l1 {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Level 1 Item */
.dropdown-item-has-sub {
  position: relative;
  list-style: none;
}

.dropdown-l1-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  border-radius: 0.65rem;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-l1-link .menu-item-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dropdown-l1-link .menu-cat-icon {
  color: var(--flat-color--primary-500);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.dropdown-l1-link .sub-arrow {
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.dropdown-item-has-sub:hover > .dropdown-l1-link {
  background: #f0f9ff;
  color: #0284c7;
}

.dropdown-item-has-sub:hover > .dropdown-l1-link .menu-cat-icon {
  color: var(--flat-color--cyan-accent);
  transform: scale(1.1);
}

.dropdown-item-has-sub:hover > .dropdown-l1-link .sub-arrow {
  color: var(--flat-color--cyan-accent);
  transform: translateX(3px);
}

/* Level 2 Submenu (Flyout) */
.dropdown-menu-l2 {
  position: absolute;
  top: -6px;
  left: 100%;
  margin-left: 8px;
  background: #ffffff;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 0.6rem;
  min-width: 320px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-6px);
  transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  z-index: 1210;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Bridge to Level 2 */
.dropdown-menu-l2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -12px;
  bottom: 0;
  width: 14px;
  background: transparent;
}

.dropdown-item-has-sub:hover > .dropdown-menu-l2 {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* Level 2 Submenu Items */
.dropdown-menu-l2 li {
  list-style: none;
}

.dropdown-menu-l2 a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dropdown-menu-l2 a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--flat-color--primary-500);
  opacity: 0.5;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dropdown-menu-l2 a:hover {
  background: #f0f9ff;
  color: #0284c7;
  padding-left: 1.15rem;
}

.dropdown-menu-l2 a:hover::before {
  opacity: 1;
  background-color: var(--flat-color--cyan-accent);
  box-shadow: 0 0 8px var(--flat-color--cyan-accent);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--flat-color--primary-500);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  background: rgba(72, 161, 233, 0.1);
  border: 1px solid rgba(72, 161, 233, 0.2);
  transition: all 0.2s ease;
}

.emergency-chip:hover {
  background: rgba(72, 161, 233, 0.2);
}

.menu-button {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.5rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  z-index: 1002;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px;
  height: 40px;
}

.hamburger-block {
  width: 22px;
  height: 2px;
  background: var(--flat-color--white-100);
  margin: 3px 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-radius: 2px;
  pointer-events: none;
}

.menu-button.is-active .hamburger-block:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-button.is-active .hamburger-block:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-button.is-active .hamburger-block:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   IMAGE-ONLY HERO SLIDER (Pure Imagery - 3 Full-Width High-Res Banners)
   ========================================================================== */
.section_hero,
.image-hero-section {
  position: relative;
  width: 100%;
  min-height: auto;
  padding-top: 105px;
  padding-bottom: 2rem;
  background: var(--flat-color--black-900);
  overflow: hidden;
  display: block;
}

@media (max-width: 991px) {
  .section_hero,
  .image-hero-section {
    padding-top: 90px;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .section_hero,
  .image-hero-section {
    padding-top: 80px;
    padding-bottom: 1rem;
  }
}

.hero-slider,
.image-hero-slider {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #080b10;
}

@media (max-width: 1620px) {
  .hero-slider,
  .image-hero-slider {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

.hero-slider .hero-slide,
.image-hero-slider .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  pointer-events: none;
  z-index: 1;
}

.hero-slider .hero-slide.active,
.image-hero-slider .hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-pure-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hero Slider Navigation Arrows */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  padding: 0;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-nav-btn:hover {
  background: rgba(72, 161, 233, 0.4);
  border-color: var(--flat-color--cyan-accent);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(72, 161, 233, 0.5);
}

.hero-prev {
  left: 1.5rem;
}

.hero-next {
  right: 1.5rem;
}

@media (max-width: 991px) {
  .hero-nav-btn {
    width: 42px;
    height: 42px;
  }
  .hero-prev {
    left: 0.75rem;
  }
  .hero-next {
    right: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero-nav-btn {
    display: none;
  }
}

/* Hero Slider Pagination Dots */
.hero-slider-pagination {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 30;
  padding: 0.45rem 0.9rem;
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-slider-dot.active {
  width: 32px;
  border-radius: 999px;
  background: var(--flat-color--cyan-accent);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
}

.wrap_hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.headline_hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.heading_hero {
  max-width: 950px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.heading_hero .highlight {
  background: linear-gradient(135deg, #ffffff 30%, #48a1e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wrap_hero-rate {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.wrap_clients {
  display: flex;
  align-items: center;
}

.image-wrap_client {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--flat-color--black-900);
  margin-left: -12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.image-wrap_client:first-child {
  margin-left: 0;
}

.image_client {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-rate-text {
  display: flex;
  flex-direction: column;
}

.hero-rate-title {
  color: var(--flat-color--white-100);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-rate-sub {
  color: var(--flat-color--grey-650);
  font-size: 0.8125rem;
}

.paragraph-width-medium {
  max-width: 680px;
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.wrap_button {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Floating Stats in Hero */
.hero-floating-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--transparent-color--border);
}

.metric-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.metric-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-number .accent {
  color: var(--flat-color--primary-500);
  font-size: 1.75rem;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--flat-color--grey-650);
  font-weight: 400;
}

/* ==========================================================================
   MARQUEE / TECH PARTNERS (Fernvale Continuous Infinite Loop)
   ========================================================================== */
.section_brand-partner {
  position: relative;
  background-color: var(--flat-color--black-800);
  border-top: 1px solid var(--transparent-color--border);
  border-bottom: 1px solid var(--transparent-color--border);
  padding: 1.75rem 0;
  overflow: hidden;
}

.wrap_partner {
  display: flex;
  width: max-content;
  user-select: none;
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  animation: marqueeScroll 32s linear infinite;
  white-space: nowrap;
}

.wrap_partner:hover .partner-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.marquee-badge:hover {
  color: var(--flat-color--white-100);
  border-color: rgba(72, 161, 233, 0.4);
  background: rgba(72, 161, 233, 0.08);
}

.marquee-badge svg {
  width: 18px;
  height: 18px;
  color: var(--flat-color--primary-500);
}

.overlay-partner-left,
.overlay-partner-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.overlay-partner-left {
  left: 0;
  background: linear-gradient(90deg, var(--flat-color--black-800) 0%, transparent 100%);
}

.overlay-partner-right {
  right: 0;
  background: linear-gradient(-90deg, var(--flat-color--black-800) 0%, transparent 100%);
}

/* ==========================================================================
   ABOUT SECTION (Fernvale Style Headline + Parallax Visual + Stats Card)
   ========================================================================== */
.section_about {
  background-color: var(--flat-color--black-900);
  position: relative;
}

.horizontal-headline-about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.heading-style-h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.25;
  color: var(--flat-color--white-100);
}

.text-size-regular {
  font-size: 1.075rem;
  color: #475569;
  line-height: 1.7;
}

.wrap_about {
  position: relative;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  height: 540px;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-card);
}

.image_about {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  transition: transform 0.8s ease;
}

.wrap_about:hover .image_about {
  transform: scale(1.03);
}

.wrap_about-card {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  gap: 1.25rem;
  z-index: 5;
}

.card_about {
  min-width: 170px;
  padding: 1.75rem 1.5rem;
  border-radius: var(--_radius---medium);
  background: rgba(13, 18, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card_about:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 161, 233, 0.4);
}

.card_about .heading-style-h4 {
  font-size: 2.25rem;
  color: var(--flat-color--white-100);
  font-weight: 700;
  line-height: 1;
}

.card_about .big-text {
  font-size: 0.875rem;
  color: var(--flat-color--light-primary-400);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ==========================================================================
   SERVICES SECTION (Fernvale Card Grid & Animated Diagonal Arrow)
   ========================================================================== */
.section_service {
  background-color: var(--flat-color--black-800);
  position: relative;
  border-top: 1px solid var(--transparent-color--border);
}

.services-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--flat-color--white-100);
  background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
  background: var(--flat-color--white-100);
  color: var(--flat-color--black-900);
  border-color: var(--flat-color--white-100);
}

/* ==========================================================================
   TRANSFORMATIVE THERAPIES - CONTINUOUS INFINITE SCROLL MARQUEE
   ========================================================================== */
.services-marquee-section {
  position: relative;
  overflow: hidden;
}

.services-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 2rem;
}

.services-marquee-overlay-left,
.services-marquee-overlay-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 10;
  pointer-events: none;
}

.services-marquee-overlay-left {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.services-marquee-overlay-right {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 768px) {
  .services-marquee-overlay-left,
  .services-marquee-overlay-right {
    width: 40px;
  }
}

.services-marquee-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.services-marquee-track {
  display: flex;
  width: max-content;
  animation: servicesInfiniteScroll 55s linear infinite;
  will-change: transform;
}

.services-marquee-group {
  display: flex;
  gap: 1.75rem;
  padding-right: 1.75rem;
  flex-shrink: 0;
}

/* Pause on hover, focus, touch-active or when toggled */
.services-marquee-track:hover,
.services-marquee-track:active,
.services-marquee-track.is-paused {
  animation-play-state: paused !important;
}

@keyframes servicesInfiniteScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Card sizing within Infinite Marquee */
.services-marquee-track .service_card {
  flex: 0 0 360px;
  width: 360px;
  height: 480px;
  position: relative;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--flat-color--card-bg);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              opacity 0.35s ease,
              filter 0.35s ease;
}

.services-marquee-track .service_card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(72, 161, 233, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(72, 161, 233, 0.25);
  z-index: 5;
}

/* Dimming effect for non-matching categories */
.services-marquee-track .service_card.is-dimmed {
  opacity: 0.25;
  filter: grayscale(80%);
  transform: scale(0.97);
}

.services-marquee-track .service_card.is-highlighted {
  opacity: 1;
  filter: none;
  border-color: var(--flat-color--cyan-accent);
  box-shadow: 0 10px 30px rgba(72, 161, 233, 0.2);
}

/* Mobile responsive card sizes */
@media (max-width: 991px) {
  .services-marquee-track {
    animation-duration: 45s;
  }
  .services-marquee-group {
    gap: 1.25rem;
    padding-right: 1.25rem;
  }
  .services-marquee-track .service_card {
    flex: 0 0 300px;
    width: 300px;
    height: 420px;
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .services-marquee-track {
    animation-duration: 38s;
  }
  .services-marquee-group {
    gap: 1rem;
    padding-right: 1rem;
  }
  .services-marquee-track .service_card {
    flex: 0 0 260px;
    width: 260px;
    height: 380px;
    padding: 1.25rem;
  }
  .services-marquee-track .service-card-title {
    font-size: 1.15rem;
  }
  .services-marquee-track .service-card-desc {
    font-size: 0.825rem;
    line-height: 1.5;
  }
}

.wrap_service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service_card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service_card:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 161, 233, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(72, 161, 233, 0.2);
}

.image_service {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.service_card:hover .image_service {
  transform: scale(1.08);
}

.overlay_service-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.1) 0%, rgba(7, 7, 7, 0.6) 50%, rgba(7, 7, 7, 0.95) 100%);
  z-index: 2;
  transition: background 0.4s ease;
}

.service_card:hover .overlay_service-card {
  background: linear-gradient(180deg, rgba(7, 7, 7, 0.2) 0%, rgba(7, 7, 7, 0.7) 40%, rgba(13, 20, 30, 0.98) 100%);
}

.service-card-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.service-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(13, 18, 24, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--flat-color--light-primary-400);
}

/* Fernvale Iconic Dual Arrow Loop */
.wrap_arrow-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: var(--flat-color--white-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.icon-wrap_arrow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-wrap_arrow.is-two {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-100%, 100%);
}

.service_card:hover .icon-wrap_arrow:not(.is-two) {
  transform: translate(100%, -100%);
}

.service_card:hover .icon-wrap_arrow.is-two {
  transform: translate(0, 0);
}

.service_card:hover .wrap_arrow-link {
  background: var(--flat-color--primary-500);
}

.service_card:hover .wrap_arrow-link svg {
  color: #ffffff;
}

.service-card-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
  line-height: 1.25;
}

.service-card-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   WHY CHOOSE US (Fernvale Feature Grid)
   ========================================================================== */
.section_why-choose-us {
  background-color: var(--flat-color--black-900);
  position: relative;
}

.wrap_why-choose-us {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.image-wrap_wcu {
  position: relative;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  height: 580px;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-card);
}

.image_wcu {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wcu-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 7, 7, 0.85) 100%);
}

.wcu-image-tag {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(13, 18, 24, 0.9);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--_radius---medium);
  border: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 340px;
}

.wcu-tag-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
}

.wcu-tag-desc {
  font-size: 0.85rem;
  color: var(--flat-color--light-primary-400);
  margin-top: 0.25rem;
}

.wrap_wcu-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card_wcu {
  padding: 2.25rem 2rem;
  border-radius: var(--_radius---medium);
  background-color: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.35s ease;
}

.card_wcu:hover {
  background-color: var(--flat-color--card-hover);
  border-color: rgba(72, 161, 233, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.icon-wrap_wcu {
  width: 52px;
  height: 52px;
  border-radius: var(--_radius---small);
  background: rgba(72, 161, 233, 0.1);
  border: 1px solid rgba(72, 161, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flat-color--primary-500);
}

.card_wcu .heading-style-h4 {
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--flat-color--white-100);
}

.card_wcu p {
  font-size: 0.875rem;
  color: var(--flat-color--grey-650);
  margin-top: 0.5rem;
  line-height: 1.55;
}

/* ==========================================================================
   CASE STUDIES / RECOVERY JOURNEYS (Fernvale Alternating Cards)
   ========================================================================== */
.section_case-study {
  background-color: var(--flat-color--black-800);
  border-top: 1px solid var(--transparent-color--border);
}

.wrap_case-study {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.case-study_card {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: var(--_radius---large);
  background-color: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.case-study_card.reverse {
  grid-template-columns: 0.75fr 1fr;
}

.case-study_card:hover {
  border-color: rgba(72, 161, 233, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.wrap_case-study-image {
  border-radius: var(--_radius---medium);
  overflow: hidden;
  height: 380px;
  position: relative;
}

.case-study-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.case-study_card:hover .case-study-image {
  transform: scale(1.05);
}

.wrap_case-study-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f8fafc !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: var(--_radius---medium);
}

.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-study-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--transparent-color--border);
}

.case-metric-item {
  display: flex;
  flex-direction: column;
}

.case-metric-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--flat-color--cyan-accent);
}

.case-metric-label {
  font-size: 0.75rem;
  color: var(--flat-color--grey-650);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   TESTIMONIALS SLIDER (Fernvale Interactive Slider)
   ========================================================================== */
.section_testimonial {
  background-color: var(--flat-color--black-900);
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.wrap_testimonial {
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---large);
  padding: 3.5rem 3.5rem;
  position: relative;
  box-shadow: var(--shadow-card);
}

.quote-icon-decor {
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(72, 161, 233, 0.25);
  font-family: Georgia, serif;
  margin-bottom: 1.5rem;
}

.text_testimonial {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 400;
  color: var(--flat-color--white-100);
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-bottom: 2.25rem;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--transparent-color--border);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--flat-color--primary-500);
}

.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
}

.author-condition {
  font-size: 0.85rem;
  color: var(--flat-color--primary-500);
}

.stars-rating {
  color: #f59e0b;
  display: flex;
  gap: 3px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--flat-color--smooth-black-700);
  border: 1px solid var(--transparent-color--border);
  color: var(--flat-color--white-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: var(--flat-color--primary-500);
  border-color: var(--flat-color--primary-500);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: var(--flat-color--primary-500);
}

/* ==========================================================================
   QUOTE BANNER (Fernvale Bold Statement)
   ========================================================================== */
.section_quote {
  background: radial-gradient(circle at 50% 50%, rgba(72, 161, 233, 0.15) 0%, transparent 70%),
              var(--flat-color--black-800);
  border-top: 1px solid var(--transparent-color--border);
  border-bottom: 1px solid var(--transparent-color--border);
}

.wrap_quote {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.quote-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.35;
  color: var(--flat-color--white-100);
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   FAQ SECTION (Fernvale Accordion)
   ========================================================================== */
.section_faq {
  background-color: var(--flat-color--black-900);
}

.wrap_faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.faq-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-list {
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  transition: all 0.3s ease;
}

.faq-list:hover {
  border-color: rgba(72, 161, 233, 0.3);
}

.faq-list.active {
  border-color: rgba(72, 161, 233, 0.5);
  background: var(--flat-color--card-hover);
}

.question-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
  user-select: none;
}

.heading-style-h5 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--flat-color--white-100);
  line-height: 1.4;
}

.icon-wrap_faq {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.faq-list.active .icon-wrap_faq {
  transform: rotate(180deg);
  background: var(--flat-color--primary-500);
  color: #ffffff;
}

.answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-list.active .answer-wrapper {
  max-height: 400px;
  opacity: 1;
  padding-top: 1rem;
}

.answer p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT & APPOINTMENT BOOKING (Fernvale Style Split Section)
   ========================================================================== */
.section_contact {
  background-color: var(--flat-color--black-800);
  position: relative;
  border-top: 1px solid var(--transparent-color--border);
}

.wrap_contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(72, 161, 233, 0.1);
  border: 1px solid rgba(72, 161, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--flat-color--primary-500);
  flex-shrink: 0;
}

.contact-meta-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--flat-color--grey-650);
  font-weight: 600;
}

.contact-meta-value {
  font-size: 1.05rem;
  color: var(--flat-color--white-100);
  font-weight: 500;
  margin-top: 0.2rem;
}

.contact-quick-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--flat-color--smooth-black-700);
  border: 1px solid var(--transparent-color--border);
  color: var(--flat-color--white-100);
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.btn-call:hover {
  border-color: var(--flat-color--primary-500);
  color: var(--flat-color--primary-500);
  transform: translateY(-2px);
}

.wrap_contact-form {
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---large);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--flat-color--grey-650);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid.full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.8125rem;
  color: #1e293b;
  font-weight: 500;
}

.text-field {
  width: 100%;
  background: rgba(7, 7, 7, 0.4);
  border: 1px solid var(--transparent-color--border);
  border-radius: 0.75rem;
  padding: 0.9rem 1.15rem;
  color: var(--flat-color--white-100);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.text-field:focus {
  border-color: var(--flat-color--primary-500);
  background: rgba(7, 7, 7, 0.7);
  box-shadow: 0 0 0 3px rgba(72, 161, 233, 0.2);
}

select.text-field {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348a1e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

select.text-field option {
  background-color: var(--flat-color--black-900);
  color: #ffffff;
}

.text-field.text-area {
  min-height: 110px;
  resize: vertical;
}

/* ==========================================================================
   SERVICE PAGES CONTACT & APPOINTMENT FORM SYSTEM
   (Used across all 23+ clinical treatment pages, about.php, faq.php)
   ========================================================================== */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-form-card {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: var(--_radius---large);
  padding: 2.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
}

.contact-form-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  font-size: 0.95rem;
  color: #475569 !important;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.contact-form-card .form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #1e293b !important;
  margin-bottom: 0.4rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-input {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.75rem;
  padding: 0.85rem 1.15rem;
  color: #0f172a !important;
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  color-scheme: light !important;
}

.form-input:focus {
  border-color: #2563eb !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}

.form-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

select.form-input,
.select-wrapper select.form-input {
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #f8fafc !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.15rem center !important;
  background-size: 1.05em !important;
  padding-right: 2.85rem !important;
}

select.form-input option,
.select-wrapper select.form-input option {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 0.65rem 1rem;
}

textarea.form-input {
  min-height: 105px;
  resize: vertical;
  line-height: 1.55;
}

input[type="date"].form-input {
  color-scheme: light !important;
  color: #0f172a !important;
  cursor: pointer;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: none !important;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

input[type="date"].form-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Submit button with high-contrast gradient on white card */
.contact-form-card button[type="submit"],
.contact-form-card .button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35) !important;
  font-weight: 600 !important;
}

.contact-form-card button[type="submit"]:hover,
.contact-form-card .button:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px) !important;
}

.contact-form-card .button-text-item span,
.contact-form-card button span {
  color: #ffffff !important;
}

/* ==========================================================================
   FOOTER (Fernvale Large Variant)
   ========================================================================== */
.section_footer {
  background-color: var(--flat-color--black-900);
  border-top: 1px solid var(--transparent-color--border);
}

.footer_component {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.horizontal-wrap_footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.text_footer {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--flat-color--white-100);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.footer-link-list a {
  font-size: 0.9rem;
  color: #475569;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-link-list a:hover {
  color: var(--flat-color--primary-500);
  transform: translateX(3px);
}

.newsletter-box {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-input {
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.875rem;
  flex: 1;
}

.newsletter-input:focus {
  border-color: var(--flat-color--primary-500);
}

/* ==========================================================================
   BOTTOM FOOTER & DESIGNER CREDIT (Same as tanmayee.rainbowshineinfotech.com)
   ========================================================================== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding-top: 1.75rem !important;
  margin-top: 2.5rem !important;
  width: 100%;
}

.footer-bottom .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}

.footer-bottom .col-md-5 {
  flex: 1 1 320px;
  text-align: left;
}

.footer-bottom .col-md-7 {
  flex: 1 1 360px;
  display: flex;
  justify-content: flex-end;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

.text-white {
  color: #ffffff !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.small {
  font-size: 0.875rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.hover-gold:hover,
.hover-accent:hover {
  color: #48a1e9 !important;
}

.designer-credit-link {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.designer-credit-link .rainbow-shine-badge {
  height: 28px;
  width: auto;
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 5px;
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-block;
  vertical-align: middle;
}

.designer-credit-link:hover .rainbow-shine-badge {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25) !important;
}

.designer-credit-link:hover span {
  color: #48a1e9 !important;
}

@media screen and (max-width: 768px) {
  .footer-bottom .row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 1rem;
  }
  .footer-bottom .col-md-5,
  .footer-bottom .col-md-7 {
    text-align: center !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   CLINIC FACILITY GALLERY (Fernvale Style Interactive Image Grid)
   ========================================================================== */
.section_gallery {
  background-color: var(--flat-color--black-800);
  position: relative;
  border-top: 1px solid var(--transparent-color--border);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
}

@media screen and (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }
}

@media screen and (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
  }
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  cursor: pointer;
  background: #ffffff !important;
  width: 100%;
}

@media screen and (max-width: 991px) {
  .gallery-item {
    height: 250px;
  }
}

@media screen and (max-width: 600px) {
  .gallery-item {
    height: 220px;
    border-radius: 14px;
  }
  .gallery-overlay {
    padding: 1.25rem 1rem !important;
  }
  .gallery-caption {
    font-size: 1rem !important;
    line-height: 1.35;
  }
  .gallery-tag {
    font-size: 0.72rem !important;
  }
}

.gallery-item:hover {
  border-color: rgba(72, 161, 233, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(72, 161, 233, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 7, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--flat-color--cyan-accent);
  letter-spacing: 0.05em;
}

.gallery-caption {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--flat-color--white-100);
  margin-top: 0.2rem;
}

/* ==========================================================================
   MODAL DIALOG (Clinical Details Pop-up)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--flat-color--card-bg);
  border: 1px solid rgba(72, 161, 233, 0.3);
  border-radius: var(--_radius---large);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(72, 161, 233, 0.2);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--transparent-color--border);
  color: var(--flat-color--white-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--flat-color--primary-500);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid var(--flat-color--emerald-accent);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.toast-notice:empty {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.toast-notice.show {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* ==========================================================================
   RESPONSIVE STYLES (UNIVERSAL ALL-SCREEN FRIENDLY ADAPTATIONS)
   Comprehensive cross-device rules: 320px - 1440px+
   ========================================================================== */

/* --- 0. Laptops & Medium Screens Optimization (992px to 1440px / 1366x768 / 1280x800) --- */
@media screen and (min-width: 992px) and (max-width: 1440px) {
  /* Calibrated button sizing and typography for laptop viewing and Windows display scaling */
  .button {
    padding: 0.75rem 1.55rem;
    font-size: 0.875rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
  }

  .button-nav {
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
  }

  .button-text-item {
    font-size: 0.875rem;
    gap: 0.4rem;
    white-space: nowrap;
  }

  /* Robust deduplication: guarantee no second text element displays */
  .button-text-item:nth-child(n+2),
  .button-text-item ~ .button-text-item {
    display: none !important;
  }

  /* Navbar compact layout for laptop screens so menu links, emergency chip, and CTA never crowd */
  .nav-menu-list {
    gap: 1.25rem;
  }

  .link-text {
    font-size: 0.875rem;
  }

  .nav-cta-group {
    gap: 0.75rem;
  }

  .emergency-chip {
    font-size: 0.775rem;
    padding: 0.35rem 0.7rem;
  }

  /* Services section: ensure headline and side-by-side action buttons fit without awkward wrapping */
  .horizontal-headline-about {
    grid-template-columns: 1.15fr 1fr;
    gap: 2.25rem;
  }

  /* Filter buttons on laptops */
  .filter-btn,
  .gallery-filter-btn,
  .blog-filter-btn {
    padding: 0.5rem 1.15rem;
    font-size: 0.825rem;
  }

  .services-filter-bar {
    gap: 0.65rem;
  }

  /* Tab buttons on laptops */
  .tab-nav-btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.925rem;
  }

  /* WhatsApp & Call Action Chips */
  .btn-whatsapp,
  .btn-call {
    padding: 0.7rem 1.25rem;
    font-size: 0.85rem;
  }

  /* Service pages split grid & contact form on laptops */
  .contact-split-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }

  .contact-form-card {
    padding: 2.25rem 2rem;
  }
}

/* --- 1. Large Tablets & Landscape iPads (max-width: 1024px) --- */
@media screen and (max-width: 1024px) {
  .wrap_service {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .horizontal-headline-about,
  .wrap_why-choose-us,
  .wrap_contact,
  .wrap_faq {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .case-study_card,
  .case-study_card.reverse {
    grid-template-columns: 1fr;
  }
  
  .horizontal-wrap_footer {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .hero-floating-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* --- 2. Tablets & Mobile Navigation Drawer Activation (max-width: 991px) --- */
@media screen and (max-width: 991px) {
  .navbar,
  header.navbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    pointer-events: auto !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    z-index: 10000 !important;
  }
  
  .navbar-wrapper {
    padding: 0.7rem 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
  
  .navbar-menu {
    position: fixed !important;
    top: var(--navbar-height, 62px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-bottom: 2px solid rgba(2, 132, 199, 0.25) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem !important;
    max-height: calc(100vh - var(--navbar-height, 62px)) !important;
    overflow-y: auto !important;
    display: none;
    flex-direction: column !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
  }
  
  .navbar-menu.open {
    display: flex !important;
  }
  
  .nav-menu-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .dropdown-menu-l1 {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-top: 0.5rem;
    background: rgba(255, 255, 253, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    display: none;
    width: 100%;
    padding: 0.5rem;
  }

  .nav-item-dropdown.mobile-open > .dropdown-menu-l1 {
    display: flex;
  }

  .dropdown-menu-l2 {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    margin-left: 0;
    margin-top: 0.4rem;
    background: rgba(72, 161, 233, 0.05);
    border: 1px solid rgba(72, 161, 233, 0.15);
    box-shadow: none;
    display: none;
    width: 100%;
    min-width: unset;
    padding: 0.4rem;
  }

  .dropdown-item-has-sub.mobile-open > .dropdown-menu-l2 {
    display: flex;
  }

  .dropdown-item-has-sub .sub-arrow {
    transition: transform 0.25s ease;
  }

  .dropdown-item-has-sub.mobile-open .sub-arrow {
    transform: rotate(90deg);
  }
  
  .nav-cta-group {
    display: none !important;
  }
  
  .menu-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Mobile & Touch Button Optimizations */
  .button {
    min-height: 44px;
    padding: 0.75rem 1.35rem;
    box-sizing: border-box;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
  }

  /* Disable hover translation on mobile */
  .button-text-inner,
  .button:hover .button-text-inner,
  .button:focus .button-text-inner,
  .button:active .button-text-inner {
    transform: none !important;
    transition: none !important;
  }

  /* Free wrapper from tight overflow and fixed height */
  .button-text-wrapper {
    height: auto !important;
    overflow: visible !important;
    max-width: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .button-text-inner {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  /* Primary text item: natural wrapping, no clipped descenders, properly centered */
  .button-text-item {
    height: auto !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    text-align: center !important;
    padding: 0.1rem 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.9rem;
  }

  /* Hide duplicate second text item */
  .button-text-item:nth-child(2) {
    display: none !important;
  }

  /* Pleasant tactile press feedback */
  .button:active {
    transform: scale(0.97) !important;
    opacity: 0.9 !important;
  }

  .contact-live-split,
  .contact-split-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .contact-form-card {
    padding: 2rem 1.5rem;
  }

  .blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .faq-visual-card {
    position: static !important;
    margin-bottom: 2rem;
    max-width: 100%;
  }
}

/* --- 3. Small Tablets & Phones (max-width: 768px) --- */
@media screen and (max-width: 768px) {
  html, body, .main-wrapper, section, footer {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .container-large,
  .container-medium,
  .container-small {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
  }

  .about-mv-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom .row {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .footer-bottom .col-md-5,
  .footer-bottom .col-md-7 {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .card_about {
    min-width: 0 !important;
    width: 100% !important;
  }

  .padding-section-hero {
    padding-top: 105px;
    padding-bottom: 50px;
  }

  .padding-section-large {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .padding-section-medium {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  
  .wrap_service {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .wrap_wcu-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid.full {
    grid-column: span 1;
  }

  .form-row-2,
  .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }
  
  .horizontal-wrap_footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .wrap_about-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1.25rem;
    flex-direction: column;
    width: 100%;
  }
  
  .wrap_about {
    height: 320px;
  }
  
  .wrap_testimonial {
    padding: 1.75rem 1.25rem;
  }

  .modal-dialog {
    padding: 2rem 1.35rem;
    max-width: calc(100vw - 2rem);
    margin: 1rem auto;
    max-height: 90vh;
  }

  .modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
  }

  .contact-map-wrapper {
    min-height: 340px;
  }

  .contact-map-wrapper iframe {
    min-height: 250px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-floating-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.25rem;
    padding-top: 1.5rem;
  }

  .services-filter-bar,
  .gallery-filter-bar,
  .blog-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-filter-bar::-webkit-scrollbar,
  .gallery-filter-bar::-webkit-scrollbar,
  .blog-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn,
  .gallery-filter-btn,
  .blog-filter-btn {
    flex-shrink: 0;
  }
}

/* --- 4. Medium & Small Mobile Screens (max-width: 640px) --- */
@media screen and (max-width: 640px) {
  .button {
    padding: 0.75rem 1.15rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.875rem !important;
  }

  .button-text-wrapper {
    max-width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .button-text-item {
    font-size: 0.85rem !important;
    max-width: 100% !important;
    height: auto !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .button-text-item:nth-child(2) {
    display: none !important;
  }

  select.text-field,
  input.text-field,
  textarea.text-field,
  .form-input {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-form-card {
    padding: 1.5rem 1.15rem !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }
  .section_hero,
  .image-hero-section {
    padding-top: 75px;
    padding-bottom: 1rem;
  }

  .hero-nav-btn {
    display: none;
  }

  .services-marquee-track {
    animation-duration: 38s;
  }

  .services-marquee-group {
    gap: 1rem;
    padding-right: 1rem;
  }

  .services-marquee-track .service_card {
    flex: 0 0 260px;
    width: 260px;
    height: 380px;
    padding: 1.25rem;
  }

  .services-marquee-track .service-card-title {
    font-size: 1.15rem;
  }

  .services-marquee-track .service-card-desc {
    font-size: 0.825rem;
    line-height: 1.5;
  }

  .contact-form-container {
    padding: 1.75rem 1.25rem;
  }

  .contact-info-card {
    padding: 1.75rem 1.25rem;
  }

  .article-cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-full-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 5. Ultra-Small Screens & Narrow Phones (max-width: 480px / 320px-375px) --- */
@media screen and (max-width: 480px) {
  html, body, .main-wrapper, section, footer {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .container-large,
  .container-medium,
  .container-small {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
    margin-top: 1.5rem !important;
  }

  .gallery-item {
    height: 220px !important;
    border-radius: 14px !important;
  }

  .gallery-overlay {
    padding: 1.15rem 0.95rem !important;
  }

  .gallery-caption {
    font-size: 0.95rem !important;
  }

  .gallery-tag {
    font-size: 0.7rem !important;
  }

  .button-text-item {
    font-size: 0.825rem !important;
    height: auto !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .button-text-item:nth-child(2) {
    display: none !important;
  }

  .navbar {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }

  .navbar-wrapper {
    padding: 0.55rem 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .navbar-brand img {
    height: 34px !important;
  }

  .navbar-menu {
    top: var(--navbar-height, 56px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 1.25rem 1.25rem 2rem 1.25rem !important;
    border-radius: 0 !important;
    max-height: calc(100vh - var(--navbar-height, 56px)) !important;
  }

  .nav-menu-list {
    gap: 1rem;
  }

  .link-text {
    font-size: 1rem;
  }

  h1, .heading-hero, .hero-title-main {
    font-size: clamp(1.65rem, 7vw, 2.15rem) !important;
    line-height: 1.22 !important;
  }

  h2, .heading-title {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem) !important;
  }

  p {
    font-size: 0.925rem !important;
    line-height: 1.6 !important;
  }

  .breadcrumb-trail {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    flex-wrap: wrap;
  }

  .button,
  .button-nav,
  .form-submit-btn,
  .tab-nav-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .button-text-wrapper {
    justify-content: center !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .button-text-inner {
    width: 100% !important;
    justify-content: center !important;
    transform: none !important;
  }

  .button-text-item {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  .button-text-item:nth-child(2) {
    display: none !important;
  }

  .hero-floating-metrics {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }

  .metric-box {
    padding: 0.85rem 1rem;
  }

  .metric-number {
    font-size: 2rem !important;
  }

  .services-marquee-track .service_card {
    flex: 0 0 240px !important;
    width: 240px !important;
    height: 350px !important;
    padding: 1rem !important;
  }

  .services-marquee-track .service-card-title {
    font-size: 1.05rem !important;
  }

  .services-marquee-track .service-card-desc {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }

  .filter-btn,
  .gallery-filter-btn,
  .blog-filter-btn,
  .tab-nav-btn {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.85rem !important;
  }

  .contact-map-wrapper {
    min-height: 260px !important;
  }

  .contact-map-wrapper iframe {
    min-height: 190px !important;
  }

  .contact-map-bar {
    padding: 0.75rem 1rem !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
  }

  .contact-form-container {
    padding: 1.35rem 0.95rem !important;
    border-radius: 14px !important;
  }

  .contact-info-card {
    padding: 1.35rem 1rem !important;
    border-radius: 14px !important;
  }

  .contact-card-val {
    font-size: 0.95rem !important;
    word-break: break-all !important;
  }

  .contact-social-pills {
    gap: 0.4rem;
  }

  .contact-social-pill {
    font-size: 0.775rem;
    padding: 0.4rem 0.75rem;
  }

  .modal-dialog {
    padding: 1.25rem 0.85rem !important;
    border-radius: 12px !important;
    width: 95vw !important;
    max-height: 92vh !important;
  }

  .modal-close-btn {
    top: 0.6rem !important;
    right: 0.6rem !important;
    width: 28px !important;
    height: 28px !important;
  }

  .modal-title {
    font-size: 1.15rem !important;
    padding-right: 2rem !important;
  }

  /* Therapy pages grid overrides for mobile */
  .rsd-benefits-grid,
  .benefit-grid,
  .protocol-grid,
  .specs-grid,
  .mechanism-grid,
  .treatment-protocol-grid,
  .features-grid,
  .doctor-timings-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .benefit-card,
  .protocol-step,
  .clinic-feature-card {
    padding: 1.35rem 1rem !important;
  }

  .form-row-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .toast-notice {
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    left: 0.5rem !important;
    max-width: calc(100vw - 1rem) !important;
    font-size: 0.85rem !important;
    padding: 0.85rem 1rem !important;
  }
}

/* ==========================================================================
   ABOUT US PAGE STYLES (MATCHING LIVE NEUROROBOTICPHYSIO.COM)
   ========================================================================== */
.section_inner-hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: var(--flat-color--black-900);
  overflow: hidden;
  border-bottom: 1px solid var(--transparent-color--border);
}

.inner-hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.inner-hero-content {
  position: relative;
  z-index: 3;
}

.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--flat-color--grey-650);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--transparent-color--border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--_radius---extra-large);
  margin-bottom: 1.25rem;
}

.breadcrumb-trail a {
  color: var(--flat-color--primary-500);
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: var(--flat-color--white-100);
}

.breadcrumb-sep {
  opacity: 0.5;
  font-size: 0.75rem;
}

/* About Two-Column Showcase */
.about-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-showcase-grid.reverse {
  direction: rtl;
}

.about-showcase-grid.reverse > * {
  direction: ltr;
}

.about-quote-box {
  background: rgba(72, 161, 233, 0.06);
  border-left: 3px solid var(--flat-color--primary-500);
  padding: 1.35rem 1.6rem;
  border-radius: 0 var(--_radius---small) var(--_radius---small) 0;
  margin: 1.5rem 0;
}

.about-quote-box p {
  color: var(--flat-color--white-smoke-200);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
}

.about-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--transparent-color--border);
  color: var(--flat-color--white-smoke-200);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--_radius---extra-large);
  transition: all 0.25s ease;
}

.about-pill:hover {
  border-color: var(--flat-color--primary-500);
  background: rgba(72, 161, 233, 0.1);
  color: var(--flat-color--white-100);
}

.about-media-frame {
  position: relative;
  border-radius: var(--_radius---medium);
  overflow: hidden;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, border-color 0.4s ease;
  background: var(--flat-color--card-bg);
}

.about-media-frame:hover {
  border-color: var(--transparent-color--border-hover);
  transform: translateY(-4px);
}

.about-media-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-media-frame:hover img {
  transform: scale(1.03);
}

.about-media-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---small);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tabs Component for Mission & Vision */
.tabs-section-wrapper {
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---large);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.tab-nav-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
  border-bottom: 1px solid var(--transparent-color--border);
  padding-bottom: 1.75rem;
}

.tab-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2.25rem;
  background: rgba(255, 255, 253, 0.03);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---extra-large);
  color: var(--flat-color--light-grey-300);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-nav-btn img,
.tab-nav-btn svg {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.tab-nav-btn:hover {
  background: rgba(72, 161, 233, 0.1);
  border-color: var(--flat-color--primary-500);
  color: var(--flat-color--white-100);
}

.tab-nav-btn.active {
  background: var(--flat-color--primary-500);
  border-color: var(--flat-color--primary-500);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--flat-color--primary-glow);
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.tab-panel-image {
  border-radius: var(--_radius---medium);
  overflow: hidden;
  border: 1px solid var(--transparent-color--border);
  box-shadow: var(--shadow-subtle);
  max-height: 420px;
}

.tab-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tab-panel-text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--flat-color--white-100);
  margin-bottom: 1.25rem;
}

.tab-panel-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}

.tab-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tab-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--flat-color--white-smoke-200);
}

.tab-bullet-list li svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--flat-color--cyan-accent);
}

/* Callout Highlight */
.highlight-callout {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(72,161,233,0.12) 0%, rgba(56,189,248,0.04) 100%);
  border: 1px solid rgba(72,161,233,0.3);
  border-radius: var(--_radius---small);
  margin: 1.75rem 0;
}

.highlight-callout p {
  color: var(--flat-color--white-100);
  font-weight: 600;
  font-size: 1.05rem;
}

/* Responsive adjustments for about page */
@media screen and (max-width: 991px) {
  .about-showcase-grid,
  .about-showcase-grid.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
  
  .tab-panel.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-media-frame img {
    height: 360px;
  }
}

@media screen and (max-width: 767px) {
  .section_inner-hero {
    padding-top: 130px;
    padding-bottom: 45px;
  }
  
  .tabs-section-wrapper {
    padding: 1.75rem 1.25rem;
  }
  
  .tab-nav-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .tab-nav-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   FAQ PAGE ENHANCEMENTS
   ========================================================================== */
.faq-visual-card {
  position: sticky;
  top: 6.5rem;
  background: var(--flat-color--card-bg);
  border: 1px solid var(--transparent-color--border);
  border-radius: var(--_radius---medium);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.faq-visual-card img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--_radius---small);
  display: block;
}

.faq-help-box {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(72, 161, 233, 0.08);
  border: 1px solid rgba(72, 161, 233, 0.25);
  border-radius: var(--_radius---small);
  text-align: left;
}

.faq-help-box h4 {
  font-size: 1.05rem;
  color: var(--flat-color--white-100);
  margin-bottom: 0.35rem;
}

.faq-help-box p {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}



/* ==========================================================================
   UNIVERSAL LIGHT THEME HIGH-CONTRAST OVERRIDES
   Ensures complete website-wide light mode consistency, sharp contrast,
   and clean visibility across all pages, components, and service templates.
   ========================================================================== */

/* Alternating dark section inlines -> soft clean slate */
section[style*="background-color: rgba(13, 18, 24"],
section[style*="background-color: rgba(7, 7, 7"],
section[style*="background-color:rgba(13, 18, 24"],
section[style*="background-color:rgba(7, 7, 7"] {
  background-color: #f8fafc !important;
  border-top-color: rgba(0, 0, 0, 0.06) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

/* ==========================================================================
   NON-HOMEPAGE INNER HERO: RICH PHOTOGRAPHY BACKGROUND WITH HIGH-CONTRAST OVERLAY
   ========================================================================== */
.section_inner-hero {
  position: relative !important;
  background-color: #070c18 !important;
  overflow: hidden !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding-top: 160px !important;
  padding-bottom: 85px !important;
}

@media screen and (max-width: 991px) {
  .section_inner-hero {
    padding-top: 125px !important;
    padding-bottom: 50px !important;
  }
}

.section_inner-hero::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.55) 0%, rgba(7, 12, 24, 0.72) 65%, rgba(7, 12, 24, 0.88) 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.inner-hero-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.95 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  z-index: 1 !important;
}

.inner-hero-content {
  position: relative !important;
  z-index: 3 !important;
}

/* Inner Hero Typography Contrast */
.section_inner-hero h1,
.section_inner-hero .heading-style-h1,
.section_inner-hero h1 * {
  color: #ffffff !important;
}

.section_inner-hero .highlight {
  color: #38bdf8 !important;
}

.section_inner-hero p,
.section_inner-hero .hero-desc,
.section_inner-hero p * {
  color: #e2e8f0 !important;
}

.section_inner-hero strong,
.section_inner-hero b {
  color: #ffffff !important;
}

.section_inner-hero .breadcrumb-trail a {
  color: #94a3b8 !important;
}

.section_inner-hero .breadcrumb-trail span {
  color: #ffffff !important;
}

.section_inner-hero .breadcrumb-trail .breadcrumb-sep {
  color: #64748b !important;
}

.section_inner-hero .breadcrumb-trail .breadcrumb-current,
.section_inner-hero .breadcrumb-trail span[style*="cyan"] {
  color: #38bdf8 !important;
}

.section_inner-hero .subtitle,
.section_inner-hero .tag-badge {
  background: rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  color: #38bdf8 !important;
}

.section_inner-hero .tag-badge-dot,
.section_inner-hero .subtitle .dot {
  background-color: #38bdf8 !important;
  box-shadow: 0 0 10px #38bdf8 !important;
}

/* Inner Hero Buttons */
.section_inner-hero .button-white {
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.section_inner-hero .button-white span {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.section_inner-hero .button-white:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

.section_inner-hero .button-white:hover span {
  color: #ffffff !important;
}

.section_inner-hero .button-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
}

.section_inner-hero .button-secondary span {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.section_inner-hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Service page cards & components across all 23+ clinical pages */
.benefit-card,
.clinic-feature-card,
.doctor-card-sidebar,
.sidebar-widget,
.blog-sidebar,
.faq-visual-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.benefit-card h3,
.mechanism-box h4,
.protocol-step h4,
.clinic-feature-card h3,
.sidebar-widget-title,
.blog-card-title,
.gallery-title {
  color: #0f172a !important;
}

.benefit-card p,
.mechanism-box p,
.protocol-step p,
.blog-card-excerpt,
.gallery-desc {
  color: #475569 !important;
}

.mechanism-box {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.indication-item {
  background: rgba(2, 132, 199, 0.06) !important;
  border: 1px solid rgba(2, 132, 199, 0.18) !important;
  color: #0f172a !important;
}

.protocol-step {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.protocol-step-num {
  background: #0284c7 !important;
  color: #ffffff !important;
}

.benefit-number {
  color: rgba(2, 132, 199, 0.45) !important;
}

.benefit-icon-wrap {
  background: rgba(2, 132, 199, 0.08) !important;
  border: 1px solid rgba(2, 132, 199, 0.2) !important;
  color: #0284c7 !important;
}

.benefit-card:hover .benefit-icon-wrap {
  background: #0284c7 !important;
  color: #ffffff !important;
}

/* Service Card Protection: preserve high-contrast text on top of photo gradients */
.service_card .service-card-title {
  color: #ffffff !important;
}

.service_card .service-card-desc {
  color: #f1f5f9 !important;
}

.service_card .service-category-badge {
  background: rgba(15, 23, 42, 0.75) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.service_card .wrap_arrow-link {
  background: #ffffff !important;
  color: #0f172a !important;
}

.service_card .wrap_arrow-link svg {
  color: #0f172a !important;
}

.service_card:hover .wrap_arrow-link {
  background: #0284c7 !important;
}

.service_card:hover .wrap_arrow-link svg {
  color: #ffffff !important;
}

/* Facility Gallery Photo Card protection */
.gallery-overlay .gallery-caption {
  color: #ffffff !important;
}

.gallery-overlay .gallery-tag {
  color: #38bdf8 !important;
}

/* Footer & credit clean styling superseded by luxury night footer below */

.text-white-50 {
  color: #64748b !important;
}

.text-white {
  color: #0f172a !important;
}

/* Filter buttons */
.filter-btn,
.gallery-filter-btn,
.blog-filter-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

.filter-btn:hover,
.gallery-filter-btn:hover,
.blog-filter-btn:hover {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

.filter-btn.active,
.gallery-filter-btn.active,
.blog-filter-btn.active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

/* Universal clean form controls */
.form-input,
.text-field {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.form-input:focus,
.text-field:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}


/* ==========================================================================
   ENHANCED LIGHT THEME COMPONENT POLISH
   ========================================================================== */

/* About Section & WCU Image Badges */
.card_about {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.card_about .heading-style-h4,
.card_about h4,
.card_about div {
  color: #0f172a !important;
}

.card_about .big-text {
  color: #0284c7 !important;
}

.wcu-image-tag {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.wcu-image-tag .wcu-tag-name,
.wcu-image-tag div {
  color: #0f172a !important;
}

.wcu-image-tag .wcu-tag-desc {
  color: #0284c7 !important;
}

/* Contact Us Page Dedicated Components */
.contact-form-container,
.contact-map-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: none !important;
}

/* 3-card info grid on contact-us.php */
.contact-info-grid .contact-info-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 18px !important;
  padding: 2.25rem 2rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: none !important;
}

/* Homepage & Sitewide 2-column Split Contact Section (Left Info Card) */
.wrap_contact {
  display: grid !important;
  grid-template-columns: 0.95fr 1.05fr !important;
  gap: 2.75rem !important;
  align-items: stretch !important;
}

.wrap_contact > .contact-info-card,
.section_contact .contact-info-card {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: var(--_radius---large, 28px) !important;
  padding: 3.25rem 2.75rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  backdrop-filter: none !important;
  box-sizing: border-box !important;
}

/* Laptop & Desktop adjustments (992px to 1440px) */
@media screen and (min-width: 992px) and (max-width: 1440px) {
  .wrap_contact {
    grid-template-columns: 0.95fr 1.05fr !important;
    gap: 2.25rem !important;
  }
  .wrap_contact > .contact-info-card,
  .section_contact .contact-info-card {
    padding: 2.75rem 2.5rem 2.75rem 2.5rem !important;
    border-radius: 24px !important;
  }
  .wrap_contact-form {
    padding: 2.75rem 2.5rem !important;
    border-radius: 24px !important;
  }
}

/* Tablet screens (max-width: 991px) */
@media screen and (max-width: 991px) {
  .wrap_contact {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .wrap_contact > .contact-info-card,
  .section_contact .contact-info-card {
    padding: 2.25rem 2rem !important;
    border-radius: 20px !important;
  }
  .wrap_contact-form {
    padding: 2.25rem 2rem !important;
    border-radius: 20px !important;
  }
}

/* Mobile Screens (max-width: 640px) */
@media screen and (max-width: 640px) {
  .wrap_contact > .contact-info-card,
  .section_contact .contact-info-card {
    padding: 1.75rem 1.25rem !important;
    border-radius: 16px !important;
  }
  .wrap_contact-form {
    padding: 1.75rem 1.25rem !important;
    border-radius: 16px !important;
  }
}

.contact-map-bar {
  background: #f8fafc !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.contact-card-label {
  color: #0284c7 !important;
}

.contact-card-val,
.contact-card-val a {
  color: #0f172a !important;
}

.contact-card-link {
  color: #0284c7 !important;
}

.contact-field-group label {
  color: #1e293b !important;
  font-weight: 600 !important;
}

.contact-input,
.contact-textarea,
.contact-select {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: 10px !important;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  background: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.newsletter-banner-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08) !important;
}

.newsletter-banner-card h3 {
  color: #0f172a !important;
}

.newsletter-banner-card p {
  color: #334155 !important;
}

.newsletter-inline-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.contact-social-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}

.contact-social-pill:hover {
  background: #f0f9ff !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* Gallery Photo Cards */
.gallery-card-overlay .gallery-title,
.gallery-overlay .gallery-caption {
  color: #ffffff !important;
}

.gallery-card-overlay .gallery-desc {
  color: #f1f5f9 !important;
}

.gallery-card-overlay .gallery-tag,
.gallery-overlay .gallery-tag {
  color: #38bdf8 !important;
}

/* Blog Page Polish */
.blog-author-name {
  color: #334155 !important;
}

.sidebar-cat-item {
  color: #334155 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.sidebar-cat-item:hover {
  color: #0284c7 !important;
}

.sidebar-cat-badge {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

.search-input {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Universal Section Headings & Text Contrast Guarantee */
.section_about .text-size-regular {
  color: #475569 !important;
}

.quote-heading {
  color: #0f172a !important;
}

.text_testimonial {
  color: #0f172a !important;
}

.author-name {
  color: #0f172a !important;
}

/* ==========================================================================
   PREMIUM LUXURY NIGHT FOOTER (Deep Midnight Navy with Cyan Accent)
   ========================================================================== */
footer,
.footer,
.section_footer {
  background: linear-gradient(180deg, #0a1122 0%, #060913 100%) !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.25) !important;
  position: relative !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
}

.footer .text_footer,
.section_footer .text_footer,
.footer p,
.section_footer p {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
}

.footer-brand .brand-title,
.footer-brand span,
.section_footer .footer-brand .brand-title,
.section_footer .brand-title,
.footer .brand-title,
footer .brand-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer-brand .brand-subtitle,
.section_footer .brand-subtitle,
.footer .brand-subtitle,
footer .brand-subtitle {
  color: #38bdf8 !important;
}

.footer-col-title,
.footer .footer-col-title,
.section_footer .footer-col-title,
footer .footer-col-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 1.25rem !important;
  position: relative !important;
  display: inline-block !important;
}

.footer-col-title::after {
  content: '' !important;
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  background: #0284c7 !important;
  margin-top: 6px !important;
  border-radius: 2px !important;
}

.footer-link-list li a,
.footer a:not(.button):not(.navbar-brand):not(.footer-brand):not([href*="rainbow"]),
.section_footer a:not(.button):not(.navbar-brand):not(.footer-brand):not([href*="rainbow"]) {
  color: #94a3b8 !important;
  transition: all 0.25s ease !important;
}

.footer-link-list li a:hover,
.footer a:not(.button):not(.navbar-brand):not(.footer-brand):not([href*="rainbow"]):hover,
.section_footer a:not(.button):not(.navbar-brand):not(.footer-brand):not([href*="rainbow"]):hover {
  color: #38bdf8 !important;
  padding-left: 4px !important;
}

.footer .footer-bottom,
.section_footer .footer-bottom,
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-top: 1.75rem !important;
  margin-top: 3rem !important;
}

.footer-bottom p,
.footer-bottom span,
.footer-bottom div {
  color: #64748b !important;
}

.footer-bottom a {
  color: #94a3b8 !important;
}

.footer-bottom a:hover {
  color: #38bdf8 !important;
}

footer [style*="color: var(--flat-color--white-100)"],
.footer [style*="color: var(--flat-color--white-100)"],
.section_footer [style*="color: var(--flat-color--white-100)"],
footer [style*="color:#0f172a"],
footer [style*="color: #0f172a"] {
  color: #ffffff !important;
}

footer [style*="color: #475569"],
.footer [style*="color: #475569"],
.section_footer [style*="color: #475569"],
footer [style*="color: #64748b"],
.footer [style*="color: #64748b"],
.section_footer [style*="color: #64748b"] {
  color: #94a3b8 !important;
}

footer a[href^="tel"],
.footer a[href^="tel"],
.section_footer a[href^="tel"],
footer a[href^="mailto"],
.footer a[href^="mailto"],
.section_footer a[href^="mailto"] {
  color: #ffffff !important;
}

/* Footer Directions Button */
footer .button-secondary,
.footer .button-secondary,
.section_footer .button-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  backdrop-filter: blur(10px) !important;
}

footer .button-secondary:hover,
.footer .button-secondary:hover,
.section_footer .button-secondary:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

footer .button-secondary span,
.footer .button-secondary span,
.section_footer .button-secondary span,
footer .button-secondary svg,
.footer .button-secondary svg,
.section_footer .button-secondary svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  font-weight: 500 !important;
}


/* ==========================================================================
   BUTTON & COMPONENT CONTRAST DEFINITIVE ENFORCEMENT
   ========================================================================== */
/* 1. Primary White/Dark contrast button (Book Session, Consultations, Submits) */
.button-white,
.button-white .button-text-wrapper,
.button-white .button-text-inner,
.button-white .button-text-item,
.button-white span {
  color: #ffffff !important;
}

.button-white {
  background-color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}

.button-white:hover {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

/* 2. Secondary White Card Button (Call, Secondary CTAs) */
.button-secondary,
.button-secondary .button-text-wrapper,
.button-secondary .button-text-inner,
.button-secondary .button-text-item,
.button-secondary span {
  color: #0f172a !important;
}

.button-secondary {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.button-secondary:hover,
.button-secondary:hover .button-text-item,
.button-secondary:hover span {
  background-color: #f8fafc !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* 3. Primary Blue Gradient Button */
.button-primary,
.button-primary .button-text-wrapper,
.button-primary .button-text-inner,
.button-primary .button-text-item,
.button-primary span {
  color: #ffffff !important;
}

.button-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
}

/* 4. Navbar CTA button */
.button-nav,
.button-nav .button-text-wrapper,
.button-nav .button-text-inner,
.button-nav .button-text-item,
.button-nav span {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

.button-nav:hover,
.button-nav:hover .button-text-item,
.button-nav:hover span {
  background-color: #0369a1 !important;
  color: #ffffff !important;
}

/* 5. WhatsApp & Call Quick Action Buttons */
.btn-whatsapp,
.btn-whatsapp span,
.btn-whatsapp svg {
  background-color: #25d366 !important;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background-color: #20ba59 !important;
}

.btn-call,
.btn-call span,
.btn-call svg {
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.btn-call:hover,
.btn-call:hover span,
.btn-call:hover svg {
  background-color: #f8fafc !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* 6. Form Submission Buttons */
button[type="submit"],
.btn-submit,
.contact-form-card button,
.contact-form-container button {
  background-color: #0f172a !important;
  color: #ffffff !important;
}

button[type="submit"]:hover,
.btn-submit:hover,
.contact-form-card button:hover,
.contact-form-container button:hover {
  background-color: #0284c7 !important;
  color: #ffffff !important;
}

/* 7. Ensure High-Contrast Text in all Content Divs, Cards and Paragraphs */
.about-mv-grid .card_wcu h3,
.about-mv-grid h3 {
  color: #0f172a !important;
}

.about-mv-grid .card_wcu p,
.about-mv-grid p {
  color: #334155 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

/* 8. Section Headings and Subheadings */
.heading-style-h3,
.heading-style-h4,
.heading-style-h5,
.quote-heading,
.brand-title {
  color: #0f172a !important;
}

/* 9. Paragraph and Secondary Copy */
p:not(.service-card-desc):not(.gallery-desc) {
  color: #475569;
}


.about-media-badge div,
.about-media-badge span {
  color: #0f172a !important;
}

.about-media-badge div[style*="cyan-accent"],
.about-media-badge div[style*="primary"] {
  color: #0284c7 !important;
}

.about-media-badge div[style*="475569"] {
  color: #475569 !important;
}


/* ==========================================================================
   HOMEPAGE ALTERNATING SECTION BACKGROUNDS
   ========================================================================== */
.section_brand-partner {
  background-color: #f1f5f9 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.section_about {
  background-color: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section_service {
  background-color: #f0f7ff !important;
  border-top: 1px solid rgba(2, 132, 199, 0.12) !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12) !important;
}

.section_gallery {
  background-color: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section_why-choose-us {
  background-color: #f0f7ff !important;
  border-top: 1px solid rgba(2, 132, 199, 0.12) !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12) !important;
}

.section_testimonial {
  background-color: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section_quote {
  background: radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.08) 0%, transparent 70%), #f0f7ff !important;
  border-top: 1px solid rgba(2, 132, 199, 0.15) !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.15) !important;
}

.section_faq {
  background-color: #ffffff !important;
  border-top: none !important;
  border-bottom: none !important;
}

.section_contact {
  background-color: #f0f7ff !important;
  border-top: 1px solid rgba(2, 132, 199, 0.12) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}


/* ==========================================================================
   ENHANCED PLEASANT HEADER & HERO SLIDER
   ========================================================================== */
.navbar {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.12) !important;
  box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04) !important;
  padding: 0.25rem 0 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar .link-text {
  color: #334155 !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 0.92rem !important;
  font-weight: 550 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.navbar .link-text:hover {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.08) !important;
}

.navbar .link-text.active {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.12) !important;
  font-weight: 600 !important;
  box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.2) !important;
}

.navbar .link-line {
  display: none !important;
}

.emergency-chip {
  background: #f0f7ff !important;
  border: 1.5px solid rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
  font-weight: 600 !important;
  padding: 0.45rem 1rem !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.25s ease !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
}

.emergency-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  display: inline-block;
  flex-shrink: 0;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.emergency-chip:hover {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18) !important;
}

.button-nav {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  padding: 0.55rem 1.35rem !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.button-nav:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45) !important;
}

@media (max-width: 1240px) {
  .nav-menu-list {
    gap: 0.65rem !important;
  }
  .navbar .link-text {
    padding: 0.4rem 0.65rem !important;
    font-size: 0.85rem !important;
  }
  .emergency-chip {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
  .button-nav {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.8rem !important;
  }
}

/* Modern Pleasant Hero Slider with Vibrant Medical Gradient */
#hero.section_hero,
.section_hero,
.image-hero-section {
  background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 30%, #38bdf8 65%, #0284c7 100%) !important;
  padding-top: 104px !important;
  padding-bottom: 2.75rem !important;
  border-bottom: 1px solid rgba(2, 132, 199, 0.2) !important;
}

#hero .hero-slider,
.hero-slider,
.image-hero-slider {
  width: calc(100% - 3.5rem) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  border-radius: 24px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 25px 60px -10px rgba(2, 60, 110, 0.45), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
  background: #ffffff !important;
  position: relative !important;
}

@media (max-width: 991px) {
  #hero.section_hero,
  .section_hero,
  .image-hero-section {
    padding-top: 90px !important;
    padding-bottom: 1.75rem !important;
  }
  #hero .hero-slider,
  .hero-slider,
  .image-hero-slider {
    width: calc(100% - 2rem) !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 767px) {
  #hero.section_hero,
  .section_hero,
  .image-hero-section {
    padding-top: 80px !important;
    padding-bottom: 1.25rem !important;
  }
  #hero .hero-slider,
  .hero-slider,
  .image-hero-slider {
    width: calc(100% - 1.25rem) !important;
    border-radius: 14px !important;
  }
}

.hero-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  color: #0369a1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 30 !important;
}

.hero-prev {
  left: 1.25rem !important;
}

.hero-next {
  right: 1.25rem !important;
}

.hero-nav-btn:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45) !important;
}

.hero-slider-pagination {
  position: absolute !important;
  bottom: 1.25rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  z-index: 30 !important;
  padding: 0.45rem 0.95rem !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(2, 132, 199, 0.2) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.12) !important;
}

.hero-slider-dot {
  width: 9px !important;
  height: 9px !important;
  border-radius: 50% !important;
  background: rgba(2, 132, 199, 0.25) !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-slider-dot:hover {
  background: rgba(2, 132, 199, 0.6) !important;
}

.hero-slider-dot.active {
  width: 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #0284c7, #38bdf8) !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.5) !important;
}

@media (max-width: 767px) {
  .section_hero,
  .image-hero-section {
    padding-top: 80px !important;
    padding-bottom: 1.25rem !important;
  }
  .hero-slider,
  .image-hero-slider {
    border-radius: 16px !important;
  }
  .hero-nav-btn {
    display: none !important;
  }
  .hero-slider-pagination {
    bottom: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
  }
  .hero-slider-dot {
    width: 8px !important;
    height: 8px !important;
  }
  .hero-slider-dot.active {
    width: 22px !important;
  }
}
