:root {
  /* Colors */
  --color-primary: #1A237E;
  /* Deep navy blue from logo text */
  --color-primary-light: #283593;
  /* Hover states, secondary dark panels */
  --color-accent: #9C27B0;
  /* Vibrant magenta/purple from logo text */
  --color-bg-soft: #F3E5F5;
  /* Light purple-gray section backgrounds */
  --color-bg-white: #FFFFFF;
  /* Cards, main background */
  --color-text-heading: #111111;
  /* Headings - Black */
  --color-text-body: #333333;
  /* Paragraph text - Dark Grey/Black */
  --color-text-muted: #5A6870;
  /* Muted text - WCAG AA compliant on white */
  --color-border: #D5DFE2;
  /* Card borders, dividers */
  --color-success: #2E7D32;
  /* Stat highlights - Green from spine */

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Radius & Shadow */
  --radius-card: 16px;
  --radius-button: 999px;
  /* pill-shaped buttons */
  --shadow-soft: 0 8px 24px rgba(15, 43, 59, 0.08);
  --shadow-float: 0 20px 40px rgba(15, 43, 59, 0.12);
}



body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  line-height: 1.6;
}

html,
body {
  overflow-x: hidden;
  /* Prevents horizontal scrolling on mobile */
  width: 100%;
}

.top-padding {
  padding-top: 150px !important;
}

/* Mobile & Tablet General Responsive Fixes */
@media (max-width: 991.98px) {
  .hero-section .row.min-vh-100 {
    min-height: auto !important;
    padding-top: 120px !important;
    /* Offset for fixed navbar */
    padding-bottom: 60px;
    align-items: flex-start !important;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-row {
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .floating-stat {
    width: 100% !important;
    max-width: 300px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
}

h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {
  font-style: italic;
  color: var(--color-accent);
}

.font-heading {
  font-family: var(--font-heading) !important;
}

/* Utilities */
.bg-primary {
  background-color: var(--color-primary) !important;
}

.bg-soft {
  background-color: var(--color-bg-soft) !important;
}

.bg-accent {
  background-color: var(--color-accent) !important;
}

.bg-accent-light {
  background-color: rgba(74, 144, 164, 0.1) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-accent {
  color: var(--color-accent) !important;
}

.link-accent {
  color: var(--color-accent);
}

.link-accent:hover {
  color: var(--color-primary);
}

.text-muted {
  color: var(--color-text-muted) !important;
}

.text-dark {
  color: var(--color-text-heading) !important;
}

.rounded-custom {
  border-radius: var(--radius-card) !important;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--color-accent);
  border-radius: 50px;
  margin-bottom: 16px;
}

.gemini-icon {
  width: 16px;
  height: 16px;
}

.section-label i {
  font-size: 13px;
  line-height: 1;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
}

/* Base button styles */
.btn-primary-custom,
.btn-outline-custom {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  /* adjusted padding to account for inset border */
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none !important;
}

/* Base Colors */
.btn-outline-custom {
  background-color: transparent !important;
  color: var(--color-primary) !important;
}

.btn-primary-custom {
  background-color: var(--color-primary) !important;
  color: #fff !important;
}

/* Hover States (Enforcing over Bootstrap) */
.btn-outline-custom:hover {
  color: #fff !important;
  background-color: transparent !important;
}

.btn-primary-custom:hover {
  color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}

/* Persistent Border via ::after */
.btn-primary-custom::after,
.btn-outline-custom::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: inherit;
  /* Inherit border-radius to support rounded-pill */
  z-index: 0;
  pointer-events: none;
  border: none;
}

/* Hover Animation via ::before */
.btn-primary-custom:before,
.btn-outline-custom:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 400%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  transition: all 0.7s;
  top: 100%;
  left: 100%;
}

/* Hover Animation Colors */
.btn-outline-custom:before {
  background: var(--color-primary);
}

.btn-primary-custom:before {
  background: #fff;
}

/* Hover Animation Positions */
.btn-primary-custom:hover:before,
.btn-outline-custom:hover:before {
  top: -150%;
  left: -150%;
}

.btn-primary-custom:active:before,
.btn-outline-custom:active:before {
  transition: background 0s;
}

/* Icon Box Centering Fix */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

/* Doctor Social Icons */
.doctor-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-bg-soft);
  color: var(--color-primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.doctor-social-icon:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Navbar Styles */
.navbar-custom {
  background-color: var(--color-bg-white);
  padding: 16px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar-custom.scrolled {
  box-shadow: var(--shadow-soft);
  padding: 10px 0;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-custom .brand-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.navbar-custom .brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 24px;
  margin: 0;
}

.navbar-custom .nav-link {
  color: var(--color-text-heading);
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--color-accent);
}

.navbar-custom .dropdown-menu {
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 8px;
  margin-top: 10px;
}

.navbar-custom .dropdown-item {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--color-text-heading);
  transition: all 0.3s ease;
}

.navbar-custom .dropdown-item:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-accent);
}

.padding-top {
  padding-top: 150px !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  background: url('../images/neuro_bg.png') center center/cover no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.90);
  z-index: 0;
}

.hero-section>.container {
  position: relative;
  z-index: 2;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background-color: rgba(74, 144, 164, 0.15);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background-color: rgba(74, 144, 164, 0.1);
  bottom: -50px;
  left: -50px;
}

.relative-z {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-bg-soft);
  border: 1px solid rgba(74, 144, 164, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 144, 164, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(74, 144, 164, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(74, 144, 164, 0);
  }
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-body);
  max-width: 500px;
}

.patient-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}

.patient-avatars img:first-child {
  margin-left: 0;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-img {
  border-radius: 40px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.floating-stat {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  box-shadow: var(--shadow-float);
}

.floating-stat .stat-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-bg-soft);
  color: var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.floating-stat .stat-value {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-heading);
  line-height: 1;
}

.floating-stat .stat-label {
  font-size: 12px;
  color: var(--color-text-body);
  font-weight: 500;
  margin-top: 4px;
}

.stat-1 {
  top: 10%;
  left: -20px;
}

.stat-2 {
  top: 33%;
  right: -20px;
  transform: translateY(-50%);
}

.stat-3 {
  bottom: 10%;
  left: -10px;
}

@media (max-width: 991.98px) {
  .floating-stat {
    position: relative;
    margin: 10px auto;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: max-content;
  }

  .hero-img {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Creative Cards */
.creative-card {
  background-color: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.creative-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-float);
}

.treatments-preview-section {
  background: linear-gradient(135deg, #f8fbfb 0%, #eef5f6 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.treatments-preview-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 164, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.treatments-preview-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(15, 43, 59, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.treatments-preview-section .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .treatments-preview-section {
    padding: 60px 0;
  }
}

.treatment-card {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(15, 43, 59, 0.04);
  overflow: hidden;
}


.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(74, 144, 164, 0.18);
  border-color: var(--color-accent);
  background: #ffffff;
}


.treatment-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-bg-soft) 0%, #ffffff 100%);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.05), -4px -4px 10px rgba(255, 255, 255, 0.8);
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, color 0.4s ease;
}

.treatment-card:hover .treatment-icon-badge {
  transform: scale(1.1) rotate(5deg);
  color: var(--color-accent);
}

.treatment-arrow {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-body);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.treatment-card:hover .treatment-arrow {
  background: var(--color-accent);
  color: #fff;
  transform: translate(6px, -6px) rotate(45deg);
}

.treatment-card h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-heading);
}

.treatment-card p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  margin: 0;
  line-height: 1.6;
}

/* Meet the Doctor Section */
.doctor-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.doctor-social-icon:hover {
  background: var(--color-accent);
  color: white;
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
  border-radius: 12px !important;
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text-heading);
  padding: 20px;
  background: white;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--color-accent);
  background: var(--color-bg-soft);
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  transition: transform 0.3s ease;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235B6B70'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234A90A4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-body {
  padding: 0 20px 20px 20px;
  color: var(--color-text-body);
  font-size: 0.95rem;
}

/* Site Footer */
.site-footer {
  background-color: var(--color-bg-white);
  color: var(--color-text-body);
  padding: 64px 0 24px 0;
  border-top: 1px solid var(--color-border);
}

.site-footer h6 {
  color: var(--color-text-heading);
  margin-bottom: 20px;
  font-weight: 600;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--color-text-body);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.site-footer a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-white);
  display: block;
  text-align: center;
  line-height: 40px;
  color: var(--color-primary);
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.footer-social-icon:hover {
  background: var(--color-accent);
  color: white;
}

.footer-social-icon i {
  line-height: 40px;
  font-size: 1.25rem;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

.footer-social-icon:hover {
  background: var(--color-accent);
  color: white;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

@media (max-width: 768px) {
  .site-footer .row>div {
    text-align: left;
    margin-bottom: 24px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Floating Contact Button */
.floating-contact-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.floating-contact-btn:hover {
  transform: scale(1.1) !important;
}

/* About Page Specific Styles */
.page-hero-banner {
  text-align: center;
}

.bio-section {
  position: relative;
  z-index: 10;
  background-color: var(--color-bg-white) !important;
}

.timeline-container {
  position: relative;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  content: '';
  position: absolute;
  left: -26px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid white;
  z-index: 1;
}

.gallery-section img {
  border-radius: 16px;
  transition: transform 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-img-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-img-wrapper:hover img {
  transform: scale(1.05);
}

.video-placeholder {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.play-btn-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.treatment-hero-overlay {
  position: absolute;
  inset: 0;
  background: #435058b3;
}

.treatment-hero .container {
  position: relative;
  z-index: 2;
}

.symptom-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 auto 16px auto;
  position: relative;
  z-index: 2;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: var(--color-border);
  display: none;
  z-index: 1;
}

@media (min-width: 992px) {
  .step-item:not(:last-child)::after {
    display: block;
  }
}

/* Testimonials Page Styles */
.testimonial-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.testimonial-filter-tabs .filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-filter-tabs .filter-btn.active,
.testimonial-filter-tabs .filter-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.testimonial-item .fst-italic {
  color: var(--color-text-body);
  line-height: 1.7;
  font-size: 0.95rem;
}

.testimonial-item h6 {
  color: var(--color-text-heading);
}

.testimonial-item small {
  color: var(--color-text-muted);
}

.play-btn-circle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Treatment Page Specific Styles */
.treatment-hero {
  position: relative;
  background-size: cover;
  background-position: center;
}

.testimonial-col.hidden-by-filter {
  display: none !important;
}

/* Treated Cases Page Styles */
.case-card {
  display: flex;
  flex-direction: column;
}

.case-category-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--color-bg-soft);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 16px;
  align-self: flex-start;
}

.case-outcome-box {
  background: var(--color-bg-soft);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.85rem;
  margin-top: 16px;
  margin-bottom: 16px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.case-outcome-box strong {
  color: var(--color-text-heading);
}

.case-patient-info {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.case-card h5 {
  color: var(--color-text-heading);
  font-size: 1.1rem;
  line-height: 1.4;
}

.case-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.case-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.case-filter-tabs .filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-filter-tabs .filter-btn.active,
.case-filter-tabs .filter-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.case-col.hidden-by-filter {
  display: none !important;
}

/* Blogs Page Styles */
.blog-filter-section {
  margin-bottom: 0;
}

.blog-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.blog-filter-tabs .filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter-tabs .filter-btn.active,
.blog-filter-tabs .filter-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.featured-blog-card {
  overflow: hidden;
  border-radius: 24px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.featured-blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card {
  border-radius: 16px;
  border: none;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.read-more-link {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
  text-decoration: none;
}

.read-more-link:hover {
  gap: 10px;
  color: var(--color-accent);
}

/* Metrics section on treated cases */
.metrics-strip-section h2 {
  color: white;
}

.metrics-strip-section p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Video testimonial section */
.video-testimonial-card h5 {
  color: var(--color-text-heading);
}

.video-testimonial-card p {
  color: var(--color-text-muted);
}

.newsletter-section .form-control {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 14px 20px;
  box-shadow: none;
}

.newsletter-section .form-control:focus {
  outline: none;
  box-shadow: none;
}

.newsletter-section .btn {
  border-radius: 0 50px 50px 0;
  background: white;
  color: var(--color-primary);
  font-weight: 600;
  padding: 14px 24px;
  transition: all 0.3s ease;
}

.newsletter-section .btn:hover {
  background: var(--color-bg-soft);
}

.blog-col.hidden-by-filter {
  display: none !important;
}

/* Footer Logo Filter removed for light theme */
.footer-logo {
  /* no filter needed */
}

/* Why Choose Section */
.why-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.why-feature-item {
  padding: 0 16px;
}

@media (min-width: 992px) {
  .why-feature-item:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }
}

@media (max-width: 991px) {
  .why-feature-item {
    padding: 0 8px;
  }
}

/* Responsive Logos */
.brand-logo,
.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  border-radius: 8px;
}

@media (max-width: 991.98px) {
  .brand-logo {
    height: 50px;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    height: 40px;
  }

  .footer-logo {
    height: 55px;
  }
}
/* ==========================================================================
   Premium Design Utilities & Components (Added for about.html redesign)
   ========================================================================== */

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}
.hover-lift:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-float) !important;
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

.glass-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.image-hover-scale {
  position: relative;
  overflow: hidden;
}
.image-hover-scale img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.image-hover-scale:hover img {
  transform: scale(1.08);
}

.premium-card {
  background: var(--color-bg-white);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 10px 30px rgba(15, 43, 59, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}
.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 35, 126, 0.12);
  border-color: rgba(156, 39, 176, 0.2);
}
.card-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(156, 39, 176, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.premium-card:hover .card-bg-overlay {
  opacity: 1;
}

.play-btn-glass {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}
.play-btn-glass:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.3) !important;
}

.video-premium-placeholder:hover .scale-on-hover {
  transform: scale(1.05);
}

/* Responsive Floating Cards for About/Index */
.floating-stat-right {
  bottom: -20px;
  right: -20px;
}
.floating-stat-left {
  top: 38px;
  left: -78px;
}

@media (max-width: 991px) {
  .floating-stat-right {
    bottom: -10px;
    right: 10px;
  }
  .floating-stat-left {
    top: 50px;
    left: 10px;
  }
}
@media (max-width: 767px) {
  .floating-stat-right,
  .floating-stat-left {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: 15px;
    margin-bottom: 0px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    justify-content: center !important;
  }
}


/* Responsive Play Button */
.responsive-play-btn {
  width: 84px;
  height: 84px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease;
}
.responsive-play-btn:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.3);
}
.responsive-play-icon {
  width: 34px;
  height: 34px;
}

@media (max-width: 768px) {
  .responsive-play-btn {
    width: 50px;
    height: 50px;
  }
  .responsive-play-icon {
    width: 20px;
    height: 20px;
  }
}

/* Responsive Button Text Fix */
.btn-primary-custom,
.btn-outline-custom {
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 576px) {
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
  }
}


/* Responsive Padding for Treatment Heroes */
@media (max-width: 768px) {
  .treatment-hero {
    padding: 130px 0 40px 0 !important;
  }
}


/* Fix Social Icons disappearing on hover */
.footer-social-icon:hover i,
.doctor-social-icon:hover i {
  color: #ffffff !important;
}

