/* Color & Metric Variables */
:root {
  --brand-color: #22adc2;
  --active-color: #337ab7;
  --gray-bg: rgba(241, 245, 249, 1);
  --gray-bg-sticky: rgba(241, 245, 249, 0.2);
  --dark-bg: #0f172a;

  --btn-first-bg: #22adc2;
  --btn-first-text: #ffffff;
  --btn-second-bg: #ffffff;
  --btn-second-text: #22adc2;
  --hero-dark-overlay: rgba(15, 23, 42, 0.72);
}

/* Global layout safety */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base Body Setup */
body {
  margin: 0;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
}

/* ================= CONTACT BANNER ================= */
.contact-banner {
  background-color: #0f172a;
  color: #ffffff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}
.contact-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.contact-banner-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.contact-banner-info::-webkit-scrollbar {
  display: none;
}
.contact-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.contact-banner-item:hover {
  color: #22adc2;
}
.contact-banner-icon {
  width: 18px;
  height: 18px;
  fill: #22adc2;
  flex-shrink: 0;
}
.contact-banner-location {
  color: #94a3b8;
}
.contact-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: #22adc2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-banner-btn:hover {
  background-color: #1a8798;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .contact-banner-inner {
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 0.5rem 1rem;
  }
  .contact-banner-info {
    gap: 1rem;
    flex: 1 1 auto;
  }
  .contact-banner-item {
    font-size: 0.85rem;
  }
  .contact-banner-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 480px) {
  .contact-banner-inner {
    padding: 0.4rem 0.75rem;
    gap: 0.75rem;
  }
  .contact-banner-info {
    gap: 0.75rem;
  }
  .contact-banner-item {
    font-size: 0.8rem;
  }
  .contact-banner-icon {
    width: 16px;
    height: 16px;
  }
  .contact-banner-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }
}

/* ================= HEADER STYLES ================= */
.site-header {
  position: sticky;
  top: 48px;
  width: 100%;
  z-index: 1000;
  background-color: var(--gray-bg);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
}

.site-header.sticky {
  max-height: 7vh;
  background-color: var(--gray-bg-sticky);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-color);
  text-decoration: none;
  letter-spacing: 1px;
}

.brand-title .brand-word {
  display: inline-block;
}

.site-header.sticky .brand-title {
  font-size: 1.4rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--brand-color);
  fill: var(--brand-color);
  transition: all 0.2s ease;
}

.menu-icon {
  width: 24px;
  height: 24px;
}

.link-text {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2px;
}

.site-header.sticky .link-text {
  display: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--active-color) !important;
  fill: var(--active-color) !important;
}

/* Dropdown Sub-menus */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-radius: 6px;
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background-color: #f1f5f9;
  color: var(--active-color);
}

.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  display: block;
}

.hamburger-btn, .close-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  fill: var(--brand-color);
}

.hamburger-btn svg { width: 32px; height: 32px; }

/* Responsive Mobile Header Curtain */
@media (max-width: 900px) {
  .hamburger-btn { display: inline-block; }
  
  .menu-section {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: var(--gray-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 2000;
    display: flex;
  }

  .menu-section.open { transform: translateY(0); }

  .close-btn {
    display: block;
    position: absolute;
    top: 20px; right: 25px;
    font-size: 2.5rem;
    color: var(--brand-color);
  }

  .nav-list { flex-direction: column; gap: 1.5rem; }
  .site-header.sticky .link-text { display: inline-block; }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
    padding: 0.25rem 0 0;
    margin-top: 0.3rem;
  }
  .dropdown-menu a {
    padding: 0.45rem 0.8rem;
  }
  .nav-item.dropdown.open > .nav-link {
    color: var(--active-color);
  }
  .brand-title {
    font-size: 1.4rem;
    gap: 0.38rem;
    letter-spacing: 0.16em;
  }
}

/* ================= FOOTER STYLES ================= */
.site-footer {
  margin-top: 5vh;
  padding-bottom: 5vh;
  background-color: var(--gray-bg-sticky);
  color: #94a3b8;
  border-top: 3px solid var(--brand-color);
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 1rem 2rem;
}

/* Responsive Footer Flex Stack */
@media (max-width: 850px) {
  .footer-container {
    flex-direction: column;
  }
}

.footer-section {
  flex: 1;
}

/* Section Title Headers */
.section-title {
  color: var(--dark-bg);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--brand-color);
}

/* Contact Form */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 4px;
  border: 1px solid #334155;
  background-color: #b4caee;
  color: #ffffff;
  box-sizing: border-box;
}

.footer-form input:focus,
.footer-form textarea:focus {
  outline: 1px solid var(--brand-color);
}

.form-send-btn {
  background-color: var(--brand-color);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-send-btn:hover {
  background-color: var(--active-color);
}

/* Plain Text Links Section */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #352d2d;
}

/* Social Media App Icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #1e293b;
  border-radius: 50%;
  fill: var(--brand-color);
  transition: all 0.2s ease;
}

.social-icons a svg {
  width: 18px;
  height: 18px;
}

.social-icons a:hover {
  background-color: var(--brand-color);
  fill: #ffffff;
  transform: translateY(-2px);
}

/* Contact Action Links */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-item:hover {
  color: #5a5858;
}

/* Bottom Bar and Tooltip */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-copyright {
  color: #94a3b8;
  text-align: center;
}
.footer-attribution {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #94a3b8;
  text-align: right;
  width: 100%;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .footer-bottom-inner {
    gap: 0.5rem;
  }
  .footer-attribution {
    justify-content: center;
    text-align: center;
  }
}

.tooltip-trigger-wrapper{
    position:relative;
    display:inline-flex;
    align-items:center;
}

.designer-name-btn {
  background: none;
  border: none;
  color: #22adc2; /* Core Theme Accent */
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Tooltip Container - Pure Class Toggled Visibility */
.designer-tooltip-card {
    position: absolute;

    left: 50%;
    bottom: calc(100% + 12px);

    transform: translateX(-50%);
    width: 360px;

    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 20px;

    display: flex;

    opacity: 0;
    visibility: hidden;

    transition: opacity .2s ease,
                transform .2s ease;

    z-index: 99999;
}

/* Single Active Trigger state used uniformly on ALL screen sizes */
.designer-tooltip-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%);
}

/* Universal Close Box Button */
.tooltip-close-btn {
  position: absolute;
  top: 8px; 
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.tooltip-close-btn:hover {
  color: #ffffff;
}

/* Left Image Frame Area */
.tooltip-image-frame {
  width: 38%;
  flex-shrink: 0;
  position: relative;
}

.tooltip-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Content Context Area */
.tooltip-content-side {
  width: 62%;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  text-align: left;
}

.designer-profile-name {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
}

.designer-bio {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.designer-mission {
  color: #22adc2;
  font-style: italic;
  font-size: 0.8rem;
  line-height: 1.3;
  margin: 0;
}

.designer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #0d9488;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.2rem;
  transition: color 0.2s;
}

.designer-phone-link:hover {
  color: #22adc2;
}

.phone-svg-icon {
  width: 14px; 
  height: 14px;
  fill: currentColor;
}

/* Small Screen Modal Fallback */
@media (max-width: 480px) {
  .designer-tooltip-card {
    position: fixed;
    bottom: 20px; 
    left: 20px; 
    right: 20px;
    width: auto;
    transform: translateY(100px);
  }
  .designer-tooltip-card.is-active {
    transform: translateY(0);
  }
}


/* ==== Start of index hero section style ===== */

/* Custom Hero Color Scheme Variables */

/* Base Hero Layout */
.home-hero-section,
.home-herp-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  padding: 2rem 0;
  width: 100%;
  max-width: 100%;
}

/* 1. Background Slideshow (100% full width & height) */
.home-hero-section .slideshow-backdrop,
.home-herp-section .slideshow-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.home-hero-section .slide,
.home-herp-section .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.home-hero-section .slide.active,
.home-herp-section .slide.active {
  opacity: 1;
}

/* Dark Overlay to protect visual focus on cards & text */
.home-hero-section .slideshow-overlay,
.home-herp-section .slideshow-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--hero-dark-overlay);
  backdrop-filter: blur(2px);
  z-index: 2;
}

/* Hero Content Flex Grid */
.home-hero-section .hero-container,
.home-herp-section .hero-container {
    position: relative;
    z-index: 10;

    width: min(1200px, calc(100% - 2rem));
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: clamp(1.25rem, 3vw, 3rem);

    padding-block: clamp(2rem, 4vw, 5rem);
}

/* Left Column (60% Desktop) */
.home-hero-section .hero-content,
.home-herp-section .hero-content {
    flex: 1 1 600px;
    max-width: 650px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 2rem;
}

.home-hero-section .hero-title,
.home-herp-section .hero-title {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.home-hero-section .hero-subtitle,
.home-herp-section .hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  margin-top: 1rem;
  color: #e2e8f0;
}

/* Enticing Action Buttons Row */
.home-hero-section .hero-buttons-row,
.home-herp-section .hero-buttons-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.home-hero-section .btn-hero,
.home-herp-section .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.home-hero-section .btn-hero svg,
.home-herp-section .btn-hero svg {
  width: 20px; height: 20px;
  transition: transform 0.3s ease;
}

/* Button 1 Color Logic */
.home-hero-section .btn-first,
.home-herp-section .btn-first {
  background-color: var(--btn-first-bg);
  color: var(--btn-first-text);
  fill: var(--btn-first-text);
}

/* Button 2 Color Logic (Inverted) */
.home-hero-section .btn-second,
.home-herp-section .btn-second {
  background-color: var(--btn-second-bg);
  color: var(--btn-second-text);
  fill: var(--btn-second-text);
}

/* Interactive Hover & Click Effects */
.home-hero-section .btn-hero:hover,
.home-herp-section .btn-hero:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}

.home-hero-section .btn-hero:hover svg,
.home-herp-section .btn-hero:hover svg {
  transform: translateX(5px);
}

.home-hero-section .btn-hero:active,
.home-herp-section .btn-hero:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

/* Right Column (40% Desktop): Card Deck */
.home-hero-section .hero-cards-wrapper,
.home-herp-section .hero-cards-wrapper {
    flex: 0 1 420px;
    max-width: 420px;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.home-hero-section .cards-deck,
.home-herp-section .cards-deck {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Base Card Styling */
.home-hero-section .value-card,
.home-herp-section .value-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);

  /* Transitions for animated card deck */
  opacity: 0;
  transform: translateX(100px) scale(0.9);
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

/* Card Themes (Modern Distinct Gradient Shades) */
.home-hero-section .card-theme-1,
.home-herp-section .card-theme-1 { background: linear-gradient(135deg, #22adc2, #0284c7); }
.home-hero-section .card-theme-2,
.home-herp-section .card-theme-2 { background: linear-gradient(135deg, #0d9488, #059669); }
.home-hero-section .card-theme-3,
.home-herp-section .card-theme-3 { background: linear-gradient(135deg, #4f46e5, #2563eb); }
.home-hero-section .card-theme-4,
.home-herp-section .card-theme-4 { background: linear-gradient(135deg, #0284c7, #1d4ed8); }

.home-hero-section .card-heading,
.home-herp-section .card-heading {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home-hero-section .card-icon,
.home-herp-section .card-icon {
  width: 60px; height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-section .card-icon svg,
.home-herp-section .card-icon svg {
  width: 32px; height: 32px;
  fill: #ffffff;
}

.home-hero-section .card-text,
.home-herp-section .card-text {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
}

/* Card Animation States */
.home-hero-section .value-card.active,
.home-herp-section .value-card.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 5;
}

.home-hero-section .value-card.exit-up,
.home-herp-section .value-card.exit-up {
  opacity: 0;
  transform: translateY(-80px) scale(0.95);
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* ================= MOBILE & SMALL SCREEN RESPONSIVE (<= 850px) ================= */
@media (max-width: 900px) {

    .home-hero-section{
      background-color: #0f172a;
    }

    .home-hero-section,
    .home-herp-section {
        min-height:auto;
        padding:4rem 0;
    }

    .home-hero-section .slideshow-backdrop,
    .home-herp-section .slideshow-backdrop {
        display:none;
    }

    .home-hero-section .hero-container,
    .home-herp-section .hero-container {
        width:min(700px, calc(100% - 2rem));
        flex-direction:column;
        text-align:center;
        gap:3rem;
    }

    .home-hero-section .hero-content,
    .home-herp-section .hero-content {
        max-width:100%;
        align-items:center;
    }

    .home-hero-section .hero-title,
    .home-herp-section .hero-title {
        max-width:100%;
    }

    .home-hero-section .hero-subtitle,
    .home-herp-section .hero-subtitle {
        max-width:38ch;
    }

    .home-hero-section .hero-buttons-row,
    .home-herp-section .hero-buttons-row {
        justify-content:center;
    }

    .home-hero-section .hero-cards-wrapper,
    .home-herp-section .hero-cards-wrapper {
        width:100%;
        max-width:600px;
        height:auto;
    }

    .home-hero-section .cards-deck,
    .home-herp-section .cards-deck {
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:1rem;
        height:auto;
    }

    .home-hero-section .value-card,
    .home-herp-section .value-card {
        position:relative;
        opacity:1 !important;
        transform:none !important;
        pointer-events:auto;

        border-radius:18px;
        min-height:210px;
    }
}

@media (max-width:600px){

    .home-hero-section .hero-container,
    .home-herp-section .hero-container {
        width:calc(100% - 1.5rem);
    }

    .home-hero-section .hero-title,
    .home-herp-section .hero-title {
        font-size:2.2rem;
    }

    .home-hero-section .hero-buttons-row,
    .home-herp-section .hero-buttons-row {
        flex-direction:column;
        width:100%;
    }

    .home-hero-section .btn-hero,
    .home-herp-section .btn-hero {
        width:100%;
    }

    .home-hero-section .cards-deck,
    .home-herp-section .cards-deck {
        grid-template-columns:1fr;
    }

    .home-hero-section .hero-cards-wrapper,
    .home-herp-section .hero-cards-wrapper {
        max-width:420px;
    }
}




/* ================= MEET THE DOCTORS SECTION ================= */
.doctors-section {
  padding: 5rem 1.5rem;
  background-color: #f8fafc;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Flexbox Layout for Doctor Cards */
.doctors-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2.5rem;
  width: 100%;
}

/* Rounded Doctor Card */
.doctor-card {
  flex: 1;
  max-width: 500px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden; /* Ensures full-bleed top image respects card's rounded top corners */
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(34, 173, 194, 0.18);
  border-color: #22adc2;
}

/* 100% Width Full-Bleed Top Image */
.doctor-image-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  background-color: #e2e8f0;
}

.doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image {
  transform: scale(1.05);
}

/* Card Content Body (Padded) */
.doctor-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-grow: 1;
}

/* Capslock Bold Doctor Name */
.doctor-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Italicized Description */
.doctor-desc {
  font-size: 1.05rem;
  font-style: italic;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Read More Action Link */
.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #22adc2;
  text-decoration: none;
  width: fit-content;
  transition: color 0.3s ease;
}

.doctor-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #22adc2;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.doctor-link:hover {
  color: #0f172a;
}

.doctor-link:hover svg {
  stroke: #0f172a;
  transform: translateX(6px);
}

.doctor-email-link {
  color: #0f172a;
  margin-top: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.doctor-email-link svg {
  fill: #0f172a;
  stroke: none;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.doctor-email-link:hover {
  color: #22adc2;
}
.doctor-email-link:hover svg {
  fill: #22adc2;
}

.doctor-view-back .doctor-email-link {
  margin-top: 0.5rem;
}

/* ================= RESPONSIVE (Small Screens) ================= */
@media (max-width: 850px) {
  .doctors-grid {
    flex-direction: column;
    align-items: center;
  }

  .doctor-card {
    width: 100%;
    max-width: 100%;
  }

  .doctor-image-wrapper {
    height: 280px;
  }
}


/* ================= SERVICES SECTION ================= */
.services-section {
  padding: 5rem 1.5rem;
  background-color: #ffffff;
}

.services-container {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.services-main-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.5px;
}

.services-main-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Equal Dimensions Grid System */
.index-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  align-items: stretch;
}

/* Standardized Service Card */
.index-service-card {
  background-color: #ffffff;
  border: 2px solid #cbd5e1; /* 2px border specified */
  border-radius: 16px;
  padding: 2.2rem 1.5rem; /* Padding is well above the 3px minimum requirement */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  box-sizing: border-box;
  height: 100%; /* Ensures uniform height across all cards in the grid */
  transition: all 0.35s ease;
}

.index-service-card:hover {
  border-color: #22adc2;
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(34, 173, 194, 0.15);
}

/* Card Elements */
.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  line-height: 1.3;
}

.service-icon {
  width: 100%;
  height: 200px;
  margin-bottom: 1.25rem;
  display: block;
  flex-shrink: 0;
  overflow: hidden;
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
  margin-top: auto;
}

/* ================= BREAKPOINTS & RESPONSIVENESS ================= */

/* Tablet Mode (Two cards per row) */
@media (max-width: 1024px) {
  .index-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* Mobile Mode (Horizontal scrolling cards) */
@media (max-width: 640px) {
  .index-services-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .index-services-grid::-webkit-scrollbar {
    height: 6px;
  }

  .index-services-grid::-webkit-scrollbar-thumb {
    background-color: rgba(34, 173, 194, 0.4);
    border-radius: 999px;
  }

  .index-service-card {
    flex: 0 0 min(82%, 280px);
    min-width: min(82%, 280px);
    scroll-snap-align: start;
  }
}


/* ================= FAQ ACCORDION SECTION ================= */
.faq-section {
  padding: 5rem 1.5rem;
  background-color: #f8fafc;
}

.faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-main-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.5px;
}

.faq-main-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
}

/* Accordion List Wrapper */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.faq-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centers the narrower answer container under the wider question button */
  width: 100%;
}

/* Question Banner (Top of T-Shape: 100% Width) */
.faq-question-btn {
  width: 100%;
  background-color: #ffffff;
  color: #0f172a;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.faq-question-btn:hover {
  /* border-color: #22adc294; */
  color: #22adc2;
  box-shadow: 0 6px 16px rgba(34, 173, 194, 0.12);
}

.faq-question-btn:hover .faq-arrow-icon {
  fill: #22adc2;
}

/* Arrow SVG Icon */
.faq-arrow-icon {
  width: 28px;
  height: 28px;
  fill: #0f172a;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), fill 0.3s ease;
}

/* Open State Styling */
.faq-item.active .faq-question-btn {
  background-color: #ffffff;
  /* border-color: #22adc2; */
  color: #22adc2;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 2px solid transparent; /* Merges seamlessly into answer box */
}

.faq-item.active .faq-arrow-icon {
  transform: rotate(180deg); /* Arrow points UP when open */
  fill: #22adc2;
}

/* Answer Drawer (Stem of T-Shape: 92% Width & Darker Shaded Background) */
.faq-answer-wrapper {
  width: 92%; /* Creates the T-shape layout relative to the 100% question row */
  max-height: 0;
  overflow: hidden;
  background-color: #f1f5f9; /* Darker white-gray shade */
  border: 2px solid transparent;
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), border-color 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer-wrapper {
  border-color: #22adc2;
  max-height: 1000px; /* Expands smoothly */
  transition: max-height 0.6s ease-in-out;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.faq-answer-content {
  padding: 1.5rem 2rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-answer-content p {
  margin: 0 0 1rem 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.faq-answer-content li {
  margin-bottom: 0.5rem;
}

/* Contact Follow-up Callout Bar */
.faq-contact-bar {
  margin-top: 3.5rem;
  padding: 1.75rem 2rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.contact-prompt-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.faq-contact-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background-color: #f1f5f9;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.faq-contact-btn svg {
  width: 18px;
  height: 18px;
  fill: #22adc2;
  transition: transform 0.3s ease;
}

.faq-contact-btn:hover {
  background-color: #22adc2;
  color: #ffffff;
  transform: translateY(-2px);
}

.faq-contact-btn:hover svg {
  fill: #ffffff;
}

.faq-contact-btn.btn-highlight {
  background-color: #22adc2;
  color: #ffffff;
}

.faq-contact-btn.btn-highlight svg {
  fill: #ffffff;
}

.faq-contact-btn.btn-highlight:hover {
  background-color: #0f172a;
}

/* Responsive Scaling for Small Screens */
@media (max-width: 768px) {
  .faq-answer-wrapper {
    width: 98%; /* Slightly wider on small mobile screens to maximize reading space */
  }

  .faq-contact-bar {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .faq-contact-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .faq-contact-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* ================= CLINIC OVERVIEW SECTION ================= */
.clinic-overview-section {
  padding: 5rem 1.5rem;
  background-color: #ffffff;
}

.overview-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; /* Triggers the adaptive container layout flow */
  gap: 3rem;
  justify-content: space-between;
}

/* Common Card Base Layout */
.overview-card {
  flex: 1 1 450px; /* Automatically forces a line-break when a card has less than 450px spatial clearance */
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
}

.overview-card-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2rem 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.overview-card-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 45px; height: 3px;
  background-color: #22adc2;
  border-radius: 2px;
}

/* --- Timetable CSS Styles --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.day-row {
  border-bottom: 1px solid #e2e8f0; /* Only horizontal borders */
}

.day-row:last-child {
  border-bottom: none;
}

.day-row td {
  padding: 1.1rem 0.5rem;
  font-size: 1.05rem;
  color: #475569;
}

.day-name {
  font-weight: 600;
  color: #0f172a;
}

.day-time {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Highlighting Logic for the Live detected Row */
/* Ensure the active row acts as the anchor for the centering */
.day-row.today-highlight {
  background-color: rgba(34, 173, 194, 0.04);
  position: relative; /* Adds positioning context */
}

.day-row.today-highlight .day-name {
  color: #22adc2;
  font-weight: 800;
  font-style: italic;
}

/* Updated Live Status Container - Clean, centered, and sits beneath the text */
.live-status-container {
  grid-column: 1 / span 2; /* If grid is preferred, but for tables we use absolute alignment */
  width: 100%;
  text-align: center;
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  clear: both;
}

/* This style guarantees that the text forces a new visual line within the row */
.live-status-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}

.status-tag-open {
  color: #0d9488; /* Emerald Green */
}

.status-tag-closed {
  color: #ef4444; /* Alert Crimson */
}

/* --- Location List Elements --- */
.location-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.location-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 0;
}

.location-icon {
  width: 50px; height: 50px;
  background-color: rgba(34, 173, 194, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-icon svg {
  width: 26px; height: 26px;
  fill: #22adc2;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.location-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 700;
}

.location-value {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0f172a;
}

/* Screen Helper for accessibility screen-readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Max Mobile Cleanup */
@media (max-width: 500px) {
  .overview-card {
    padding: 1.5rem;
  }
  .day-row td {
    font-size: 0.95rem;
  }
  .location-value {
    font-size: 1rem;
  }
}


/* ================= SERVICES SLIDER VIEWPORT ================= */
.services-slider-section {
  padding: 6rem 1.5rem 2rem 1.5rem;
  background-color: #f8fafc;
  overflow-x: hidden; /* Crucial: Prevents card offsets from generating page layout scrolls */
  position: relative;
}

.slider-viewport-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Deck Container Setup */
.services-deck {
  position: relative;
  min-height: 520px; /* Stabilizes jumping layouts across card changes */
  width: 100%;
}

/* Card States & Sliding System Animations */
.service-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
  
  /* Defaults: Hidden far off-screen to the right */
  opacity: 0;
  visibility: hidden;
  transform: translateX(150vw); 
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease, visibility 0.6s;
}

/* Active State Card In-view */
.service-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  position: relative; /* Forces container wrapper to scale heights perfectly */
}

/* Left-exit state placeholder */
.service-card.exit-left {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-150vw);
}

/* Right-exit state placeholder */
.service-card.exit-right {
  opacity: 0;
  visibility: hidden;
  transform: translateX(150vw);
}

/* Typography Layout Rules within Cards */
.service-card-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 0 0 2rem 0;
}

.service-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 2.5rem;
}

.treatment-plan-wrapper {
  background-color: rgba(34, 173, 194, 0.03);
  border: 1px dashed rgba(34, 173, 194, 0.3);
  border-radius: 12px;
  padding: 2rem;
}

.treatment-plan-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
}

/* Customized Treatment ordered list style rules */
.treatment-steps-list {
  margin: 0;
  padding-left: 1.25rem;
}

.treatment-steps-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 0.85rem;
  text-align: left;
}
.treatment-steps-list li:last-child {
  margin-bottom: 0;
}

/* --- Navigation Button Mechanics --- */
.deck-controls-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
}

.deck-nav-btn {
  flex: 1;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.prev-btn { text-align: left; align-items: flex-start; }
.next-btn { text-align: right; align-items: flex-end; }

.deck-nav-btn:hover:not(:disabled) {
  border-color: #22adc2;
  box-shadow: 0 4px 12px rgba(34, 173, 194, 0.1);
}

.deck-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.nav-direction {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.nav-target-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #22adc2;
  display: block;
}

/* --- Static Bottom Contact CTA Matrix --- */
.services-contact-cta {
  background-color: #ffffff;
  padding: 5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.cta-inner-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner-container h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

.cta-inner-container p {
  color: #64748b;
  margin: 0 0 3rem 0;
}

.cta-actions-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-card {
  flex: 1 1 250px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.cta-card:hover {
  transform: translateY(-4px);
  border-color: #22adc2;
}

.cta-icon-box {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-card h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.cta-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

/* Mobile Adaptation Breakpoints */
@media (max-width: 600px) {
  .service-card { padding: 1.5rem; }
  .service-card-title { font-size: 1.75rem; }
  .deck-controls-wrapper { gap: 0.75rem; }
  .nav-target-title { font-size: 0.95rem; }
}


/* ================= ABOUT PAGE CORE GLOBAL LAYOUTS ================= */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.text-center { text-align: center; }
.section-tag {
  display: inline-block;
  background-color: rgba(34, 173, 194, 0.08);
  color: #22adc2;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

/* Bento Identity Layout */
.identity-bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
.identity-hero-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.02);
}
.identity-hero-card h2 {
  font-size: 2.2rem;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.identity-hero-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
}
.identity-details-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.capability-block {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  flex: 1;
}
.capability-block h3 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.capability-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.about-mission-strip {
  background-color: #0f172a;
  background-image: url('https://images.unsplash.com/photo-1584515979956-d9f6e5d09982?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.about-mission-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 1;
  pointer-events: none;
}
.mission-accent-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.mission-tag {
  color: #22adc2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}
.mission-quote {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1rem;
  color: #f1f5f9;
  position: relative;
  z-index: 2;
}

/* ================= DOCTORS SLIDER ROW FRAMING (OPTION 2) ================= */
.about-doctors-section {
  background-color: #f8fafc;
}
.doctors-flex-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 3rem;
}

/* The frame boundary hiding everything outside the current viewport panel */
.doctor-profile-frame {
  flex: 1;
  min-width: 300px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden; /* Drops the biography out of view */
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.04);
}

/* The dual-width tray housing both panels side-by-side */
.doctor-card-slider-wrapper {
  display: flex;
  width: 200%; /* Spans two full widths of parent frame container */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(0);
}

/* Slide action layout shift triggering when toggled active */
.doctor-profile-frame.slid-active .doctor-card-slider-wrapper {
  transform: translateX(-50%);
}

/* Individual view panel profiles */
.doctor-view-side {
  width: 50%; /* Each takes up exactly half of the 200% tracking tray */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Front View Customization */
.doctor-view-front {
  background-color: #ffffff;
}
.doctor-avatar-placeholder {
  height: 300px; /* Fixed height tracking anchor */
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.doctor-avatar-placeholder {
  overflow: hidden; /* Ensure images do not overflow into adjacent text */
}
.doctor-avatar-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keep full image visible while fitting inside frame */
  display: block;
}
.doctor-meta-footer {
  padding: 2rem;
  text-align: center;
}
.doctor-meta-footer h3 {
  font-size: 10px; /* Reduced per request */
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}
.doctor-subtitle {
  color: #22adc2;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  font-size: 0.95rem;
}

/* Back View Customization */
.doctor-view-back {
  background-color: #ffffff;
  padding: 2rem;
  height: 460px;
  display: flex;
  flex-direction: column;
}
.doctor-bio-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.doctor-bio-header h3 {
  margin: 0; font-size: 1.3rem; color: #0f172a;
}
.doctor-bio-header p {
  margin: 0.25rem 0 0 0; font-size: 0.9rem; color: #22adc2; font-weight: 600;
}

/* Scrollable Container with Hidden Scrollbars */
.doctor-bio-scrollable {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
  
  /* Hides standard scrollbar indicators across browser engine ecosystems */
  -ms-overflow-style: none;  /* Internet Explorer/Edge */
  scrollbar-width: none;  /* Firefox */
}
.doctor-bio-scrollable::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.doctor-bio-scrollable p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 1rem 0;
}

/* Action Trigger Elements */
.doctor-toggle-btn {
  background: none;
  border: 1px solid #22adc2;
  color: #22adc2;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}
.doctor-toggle-btn:hover {
  background-color: #22adc2;
  color: #ffffff;
}
.hide-bio-btn {
  margin-top: auto; /* Pins returning elements firmly to base footer */
  border-color: #64748b;
  color: #64748b;
}
.hide-bio-btn:hover {
  background-color: #64748b;
  color: #ffffff;
}

/* ================= FACILITY CARD MASONRY ================= */
.about-facility-section {
  background-color: #ffffff;
}
.facility-grid-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.facility-narrative-card h2 {
  font-size: 2.2rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.facility-narrative-card p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.25rem;
}
.facility-spec-badge {
  background-color: rgba(34, 173, 194, 0.03);
  border: 1px dashed rgba(34, 173, 194, 0.25);
  border-radius: 20px;
  padding: 2.5rem;
}
.facility-spec-badge h4 {
  font-size: 1.2rem;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  font-weight: 700;
}
.clean-bullet-list {
  list-style: none;
  padding: 0; margin: 0;
}
.clean-bullet-list li {
  font-size: 1.05rem;
  color: #334155;
  margin-bottom: 1rem;
  font-weight: 500;
}
.clean-bullet-list li:last-child { margin-bottom: 0; }

/* ================= CONTACTS & MAP SPLIT SEGMENT ================= */
.about-contact-map-section {
  border-top: 1px solid #e2e8f0;
  background-color: #f8fafc;
}
.contact-map-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 550px;
}
.contact-credentials-card {
  padding: 5rem 3rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-credentials-card h3 {
  font-size: 1.8rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}
.card-intro-p {
  color: #64748b;
  margin: 0 0 2.5rem 0;
  font-size: 1rem;
}
.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 3rem;
}
.method-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.method-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.method-details h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.05rem;
  color: #0f172a;
  font-weight: 700;
}
.method-details p, .method-details a {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  text-decoration: none;
}
.method-details a:hover { color: #22adc2; }

/* Social Matrix Alignment Rules */
.social-channels-block h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 1px;
  margin: 0 0 1rem 0;
}
.social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.social-anchor {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-anchor:hover {
  border-color: #22adc2;
  color: #22adc2;
  transform: translateY(-2px);
}

/* Map IFrame Integration Container */
.map-embed-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.map-embed-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Responsive Adaptive Fallbacks */
@media (max-width: 960px) {
  .identity-bento-grid, 
  .facility-grid-wrapper, 
  .contact-map-grid-container {
    grid-template-columns: 1fr;
  }
  
  .doctors-flex-row {
    flex-direction: column;
    gap: 3rem;
  }

  .doctor-profile-frame {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  .contact-credentials-card {
    padding: 4rem 1.5rem;
  }
  
  .map-embed-wrapper {
    height: 350px;
  }
}


/* ================= APPOINTMENT LAYOUT ARCHITECTURE ================= */
.booking-section {
  padding: 20px 0;
  background-color: #d6d9ff;
}
.grid-two-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

/* Checklist Display Framing */
.booking-checklist-card {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 16px;
  border-left: 4px solid #22adc2;
  margin: 2rem 0;
}
.booking-checklist-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #0f172a;
}
.guide-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.guide-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
}
.guide-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22adc2;
  font-weight: bold;
}

/* Alternative Communications */
.communication-channels h3 {
  font-size: 1rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.channels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.channel-btn:hover {
  transform: translateY(-2px);
}
.call-btn { background-color: #e2f6f8; color: #1a8798; }
.whatsapp-btn { background-color: #e6f7ed; color: #1e7e43; }
.email-btn { background-color: #f1f5f9; color: #475569; }

/* The Form Container */
.booking-form-card {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}
.booking-form-card h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.4rem;
  color: #0f172a;
}
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background-color: #ffffff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #22adc2;
  box-shadow: 0 0 0 4px rgba(34, 173, 194, 0.1);
}

/* Validations Errors */
.field-error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
}
.form-group.invalid-entry input,
.form-group.invalid-entry select {
  border-color: #ef4444;
  background-color: #fef2f2;
}
.form-group.invalid-entry .field-error-msg {
  display: block;
}

.submit-booking-btn {
  width: 100%;
  padding: 0.85rem;
  background-color: #22adc2;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.submit-booking-btn:hover { background-color: #1a8798; }

/* ================= HORIZONTAL INSURANCE CAROUSEL ================= */
.insurance-row-section {
  padding: 4rem 0 6rem 0;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.insurance-explanatory-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}
.insurance-explanatory-header h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}
.insurance-explanatory-header p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Hidden Scrollbar Container Tray */
.insurance-scroll-tray {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  
  /* Strip default bar viewports */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.insurance-scroll-tray::-webkit-scrollbar {
  display: none;
}

/* Insurance Card Panels */
.insurance-vendor-card {
  flex: 0 0 200px; /* Locks structural width firmly to stop compressed shrinking */
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.vendor-img-frame {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.vendor-img-frame img {
  max-height: 100%;
  max-width: 85%;
  object-fit: contain;
  filter: grayscale(20%);
}
.text-logo-fallback {
  font-weight: 800;
  color: #64748b;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.insurance-vendor-card h4 {
  margin: 0;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.3;
}

/* ================= LAYOUT MEDIA BREAKPOINTS ================= */
@media (max-width: 960px) {
  .grid-two-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .booking-form-card {
    padding: 1.75rem;
  }
}

