/* ==========================================================================
   ADHYA SKIN AND HAIR TRANSPLANT HOSPITAL - DESIGN SYSTEM (100/100 CONSISTENCY)
   Strict Design Language: Teal & Mint Color Palette, 8px Grid Spacing System
   ========================================================================== */

:root {
  /* 1. COLOR SYSTEM (Sampled from Logo & Recommended Design Guide) */
  --primary-teal: #0A5F65;
  --primary-teal-dark: #07474C;
  --primary-teal-light: #127A82;
  --secondary-teal: #20C4C0;
  --secondary-teal-dark: #149D9A;
  --light-mint: #F2FCFA;
  --light-mint-hover: #E3F8F4;
  
  /* Text Colors */
  --text-primary: #0F2A2E;
  --text-secondary: #5B6B6E;
  --text-muted: #788B8E;
  --text-white: #FFFFFF;
  
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-mint: #F2FCFA;
  --bg-subtle: #F8FDFC;
  
  /* Borders & Shadows */
  --border-color: #D3EFEA;
  --border-subtle: #E6F5F2;
  --shadow-sm: 0 4px 12px rgba(10, 95, 101, 0.04);
  --shadow-card: 0 10px 30px rgba(10, 95, 101, 0.08);
  --shadow-hover: 0 16px 36px rgba(10, 95, 101, 0.14);
  
  /* 2. SPACING SYSTEM (STRICT 8PX GRID) */
  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* 3. BUTTON SYSTEM */
  --btn-radius: 12px;
  --btn-padding: 14px 24px;
  
  /* 4. TYPOGRAPHY */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout Dimensions */
  --max-width: 1240px;
  --header-height: 76px;
  
  /* Transitions & Easing */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* SCROLL READING PROGRESS BAR */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-teal) 0%, var(--secondary-teal) 100%);
  z-index: 2001;
  width: 0%;
  transition: width 0.1s linear;
}

.nobreak {
  white-space: nowrap;
}

/* TYPOGRAPHY HIERARCHY */
h1, .h1-heading {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 700;
  color: var(--primary-teal-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h2, .h2-heading {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--primary-teal-dark);
  line-height: 1.25;
  letter-spacing: -0.3px;
}

h3, .h3-heading {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--primary-teal);
  line-height: 1.3;
}

h4, .h4-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-16);
}

p:last-child {
  margin-bottom: 0;
}

.caption-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-teal);
}

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

/* CONTAINER & SPACING SYSTEM */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.section-padding {
  padding-top: var(--space-80);
  padding-bottom: var(--space-80);
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: var(--space-48);
    padding-bottom: var(--space-48);
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-48) auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-teal);
  background-color: var(--light-mint);
  padding: 6px 14px;
  border-radius: var(--btn-radius);
  margin-bottom: var(--space-16);
  border: 1px solid var(--border-color);
  line-height: 1.5;
  text-align: center;
  max-width: 100%;
}


/* CONSISTENT BUTTON STYLES WITH HOVER SHINE EFFECT */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--btn-padding);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--btn-radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(10, 95, 101, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-teal-dark);
  color: var(--text-white);
  box-shadow: 0 8px 22px rgba(10, 95, 101, 0.32);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--light-mint);
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.btn-secondary:hover {
  background-color: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  color: #FFFFFF;
  border-color: #1DA851;
  transform: translateY(-2px);
}

/* SEAMLESS INFINITE MARQUEE TICKER (TOP BAR) */
.top-bar-light {
  background-color: var(--light-mint);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.top-bar-marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.top-bar-track {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  white-space: nowrap;
  animation: marqueeLoop 28s linear infinite;
  will-change: transform;
}

.top-bar-marquee:hover .top-bar-track {
  animation-play-state: paused;
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.top-bar-item.highlight {
  color: var(--primary-teal);
  font-weight: 700;
}

.top-bar-item a {
  color: var(--primary-teal);
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--secondary-teal-dark);
}

.top-bar-divider {
  color: var(--secondary-teal);
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .top-bar-light {
    display: none;
  }
}

/* HEADER & NAVBAR */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  overflow: hidden;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  border: none;
  outline: none;
  background: transparent;
  flex-shrink: 0;
  margin-right: 8px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: var(--primary-teal-dark);
  line-height: 1.1;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.brand-caption {
  font-family: var(--font-heading);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary-teal-dark);
  line-height: 1;
  white-space: nowrap;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .brand-logo-img {
    height: 30px;
    max-width: 140px;
  }
  .brand-name {
    font-size: 10.5px;
  }
  .brand-caption {
    font-size: 7px;
  }
}


.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--secondary-teal);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  flex-shrink: 0;
  margin-left: 12px;
}

.desktop-cta-wrap {
  display: flex;
  align-items: center;
}


.mobile-drawer-socials {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: var(--light-mint);
  border: 1px solid var(--border-color);
  font-size: 22px;
  color: var(--primary-teal);
  border-radius: 10px;
  cursor: pointer;
  padding: 6px 12px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .desktop-cta-wrap {
    display: none !important;
  }

  .mobile-drawer-socials {
    display: flex !important;
    gap: 8px;
    width: 100%;
    margin-top: 16px;
  }

  .social-drawer-btn {
    flex: 1;
    font-size: 12px;
    padding: 8px 6px;
    text-align: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-32) var(--space-24);
    gap: var(--space-16);
    box-shadow: var(--shadow-card);
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* Hide desktop Book Appointment button on mobile */
  .desktop-cta-wrap {
    display: none;
  }
  /* Resize new wide logo for mobile header - keep it compact */
  .brand-logo img {
    height: 44px;
    max-width: 180px;
    object-fit: contain;
    object-position: left center;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    padding: 6px 10px;
    line-height: 1.5;
  }
}



/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--bg-mint) 100%);
  padding-top: var(--space-48);
  padding-bottom: var(--space-64);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-48);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  margin-bottom: var(--space-24);
}

.hero-title span {
  color: var(--secondary-teal);
}

.hero-description {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: var(--space-32);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.hero-trust-indicators {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding-top: var(--space-24);
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: 0.1px;
}

.trust-item span {
  display: inline-block;
  line-height: 1.5;
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .hero-trust-indicators {
    gap: 14px;
    padding-top: 20px;
    margin-top: 10px;
  }
  .trust-item {
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.15px;
  }
  .trust-item span {
    word-spacing: 0.8px;
  }
}

/* CONSISTENT LINE ICON CONTAINERS WITH FLOATING ANIMATION */
.icon-box-circle {
  width: 44px;
  height: 44px;
  background-color: var(--light-mint);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
  .icon-box-circle {
    width: 40px;
    height: 40px;
  }
}


.icon-box-circle svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8px;
}

.trust-item:hover .icon-box-circle,
.trust-card:hover .icon-box-circle,
.service-category-card:hover .icon-box-circle {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--secondary-teal);
  color: white;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* STANDARDIZED IMAGE FRAME */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--bg-white);
  background-color: var(--bg-mint);
}

.hero-image-wrapper img {
  width: 100%;
  height: clamp(320px, 45vw, 440px);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
    text-align: center;
  }

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

  .hero-trust-indicators {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
}

/* TRUST STRIP */
.trust-strip {
  background-color: var(--bg-white);
  padding: var(--space-48) 0;
  position: relative;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-16);
}

.trust-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 24px 20px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-teal);
}

.trust-card-icon {
  margin-bottom: var(--space-16);
}

.trust-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: var(--space-8);
  line-height: 1.3;
}

.trust-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 1200px) {
  .trust-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-20);
  }
}

@media (max-width: 768px) {
  .trust-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trust-card {
    padding: 14px 16px;
    border-radius: 14px;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
  .trust-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .trust-card-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .trust-card-desc {
    font-size: 13px;
    line-height: 1.45;
  }
}



/* ABOUT SECTION */
.about-section {
  background-color: var(--bg-mint);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-48);
  align-items: center;
}

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

.about-image-shape {
  border-radius: 28px;
  overflow: hidden;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-card);
}

.about-image-shape img {
  width: 100%;
  height: clamp(320px, 40vw, 440px);
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-shape:hover img {
  transform: scale(1.03);
}

.about-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background-color: var(--primary-teal);
  color: var(--text-white);
  padding: 16px 24px;
  border-radius: 18px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: var(--space-16);
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.about-badge-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-teal);
  line-height: 1;
}

.about-badge-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--bg-white);
}

.services-search-bar {
  max-width: 600px;
  margin: -1.5rem auto var(--space-48) auto;
  position: relative;
}

.services-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.services-search-input:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(10, 95, 101, 0.12);
}

.services-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-teal);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.service-category-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--secondary-teal);
  border-radius: 20px;
  padding: var(--space-32) var(--space-24);
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-teal);
}

.service-category-title {
  font-size: 20px;
  color: var(--primary-teal);
  margin-bottom: var(--space-16);
}

.service-item-list {
  margin-bottom: var(--space-24);
  flex-grow: 1;
}

.service-item-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.service-item-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
  font-weight: 700;
}

.services-footer-cta {
  text-align: center;
  margin-top: var(--space-48);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }
}

/* DOCTOR SECTION */
.doctor-section {
  background: linear-gradient(180deg, var(--bg-mint) 0%, var(--bg-white) 100%);
}

.doctor-card {
  background-color: var(--bg-white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.doctor-image-wrapper {
  height: 100%;
  min-height: 380px;
  position: relative;
  background-color: var(--bg-mint);
  overflow: hidden;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-image-wrapper img {
  transform: scale(1.03);
}

.doctor-info-wrapper {
  padding: clamp(24px, 4vw, 48px);
  box-sizing: border-box;
}

.doctor-name {
  font-size: clamp(20px, 3.5vw, 32px);
  color: var(--primary-teal-dark);
  margin-bottom: var(--space-8);
  line-height: 1.3;
}

.doctor-qualifications {
  font-size: 16px;
  color: var(--secondary-teal-dark);
  font-weight: 700;
  margin-bottom: var(--space-16);
  line-height: 1.4;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.specialty-tag {
  background-color: var(--light-mint);
  color: var(--primary-teal);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .doctor-card {
    grid-template-columns: 1fr;
    max-width: 100%;
    overflow: hidden;
  }
  .doctor-image-wrapper {
    height: 300px;
    width: 100%;
  }
  .doctor-info-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

@media (max-width: 576px) {
  .doctor-info-wrapper {
    padding: 20px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .doctor-name {
    font-size: 20px;
    line-height: 1.3;
    word-break: break-word;
  }
  .doctor-qualifications {
    font-size: 13.5px;
    line-height: 1.45;
    word-break: break-word;
  }
  .doctor-bio {
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
  }
  .specialty-tag {
    font-size: 11.5px;
    padding: 5px 9px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }
}




/* WHY CHOOSE ADHYA */
.why-section {
  background-color: var(--bg-mint);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
}

.why-card {
  background-color: var(--bg-white);
  padding: var(--space-24);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-teal);
}

.why-title {
  font-size: 19px;
  color: var(--primary-teal);
  margin-bottom: var(--space-8);
}

.why-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* STATISTICS SECTION */
.stats-section {
  background-color: var(--primary-teal-dark);
  color: var(--text-white);
  padding: var(--space-48) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--secondary-teal);
  line-height: 1;
  margin-bottom: var(--space-8);
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

/* HAIR TRANSPLANT FEATURE */
.hair-feature-section {
  background-color: var(--bg-white);
}

.hair-feature-box {
  background: linear-gradient(135deg, var(--bg-mint) 0%, #E3F8F4 100%);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-32);
  align-items: center;
}

.hair-feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hair-feature-image img {
  width: 100%;
  height: clamp(260px, 35vw, 360px);
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hair-feature-box:hover .hair-feature-image img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .hair-feature-box {
    grid-template-columns: 1fr;
  }
}

/* BEFORE & AFTER COMPARISON SLIDER SECTION */
.before-after-section {
  background-color: var(--bg-subtle);
}

.ba-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--space-48);
}

.ba-tab-btn {
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--primary-teal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.ba-tab-btn.active, .ba-tab-btn:hover {
  background-color: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-32);
}

.ba-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.ba-side-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0F2A2E;
  overflow: hidden;
}

.ba-side-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-label-before, .ba-label-after {
  position: absolute;
  bottom: 12px;
  z-index: 4;
  background-color: rgba(15, 42, 46, 0.85);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ba-label-before {
  left: 12px;
}

.ba-label-after {
  right: 12px;
  background-color: var(--secondary-teal);
}

.ba-details {
  padding: var(--space-24);
  text-align: center;
}

.ba-procedure {
  font-weight: 700;
  color: var(--primary-teal);
  font-size: 17px;
}

@media (max-width: 992px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

/* CLINIC GALLERY */
.gallery-section {
  background-color: var(--bg-white);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-48);
}

.gallery-tab-btn {
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--primary-teal);
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-tab-btn.active, .gallery-tab-btn:hover {
  background-color: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: clamp(220px, 30vw, 280px);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 95, 101, 0.92) 0%, transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-24);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:active .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery-tabs {
    gap: 8px;
  }
  .gallery-tab-btn {
    padding: 8px 14px;
    font-size: 12.5px;
    flex: 1 1 auto;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item {
    height: 240px;
  }
  /* Show captions on mobile touch without hover needed */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 95, 101, 0.88) 0%, transparent 70%);
  }
}

/* REVIEWS CAROUSEL / SLIDER */
.reviews-slider-container {
  position: relative;
  width: 100%;
  margin-top: var(--space-32);
  padding: 0 54px;
  box-sizing: border-box;
}

.reviews-slider-track-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  padding: 12px 4px;
}

.reviews-slider-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: var(--space-24);
  width: max-content;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.reviews-slider-track .review-card {
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  box-sizing: border-box;
}

/* Absolute Positioned Navigation Arrow Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  color: var(--primary-teal);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10, 95, 101, 0.2);
  transition: all 0.2s ease;
  z-index: 50 !important;
  pointer-events: auto !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.slider-arrow.slider-prev {
  left: 2px;
}

.slider-arrow.slider-next {
  right: 2px;
}

.slider-arrow:hover {
  background-color: var(--primary-teal);
  color: var(--text-white);
  border-color: var(--primary-teal);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 8px 24px rgba(10, 95, 101, 0.35);
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
  .reviews-slider-container {
    padding: 0 4px;
  }
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .slider-arrow.slider-prev {
    left: -6px;
  }
  .slider-arrow.slider-next {
    right: -6px;
  }
}





/* Individual Review Card Styling */
.review-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: var(--space-24);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: var(--space-16);
}

.review-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-24);
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-16);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--primary-teal);
  color: var(--text-white);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 15px;
}

.review-source {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Indicator Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-24);
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.review-dot.active {
  background-color: var(--primary-teal);
  width: 28px;
  border-radius: 6px;
}







/* FAQ SECTION */
.faq-section {
  background-color: var(--bg-white);
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: var(--space-16);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background-color: var(--bg-white);
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-teal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
  color: var(--secondary-teal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  background-color: var(--bg-mint);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 16px 24px 24px 24px;
}

/* APPOINTMENT CTA */
.cta-section {
  background-color: var(--primary-teal-dark);
  color: var(--text-white);
  padding: var(--space-80) 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-title {
  color: var(--text-white);
  margin-bottom: var(--space-16);
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-32);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-16);
}

/* CONTACT SECTION */
.contact-section {
  background-color: var(--bg-mint);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
}

.contact-info-card {
  background-color: var(--bg-white);
  padding: var(--space-32);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.contact-text {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.map-container {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER BRAND & LOGO BADGE (WHITE BACKGROUND, NO BLACK LINE) */
.footer {
  background-color: #052F33;
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--space-64);
  padding-bottom: var(--space-32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-32);
  margin-bottom: var(--space-48);
}

.footer-logo-card {
  background-color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-16);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-logo-card img {
  height: 46px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0;
  display: block;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary-teal);
  font-size: 15px;
  margin-bottom: var(--space-16);
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 18px;
  margin-bottom: var(--space-24);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--secondary-teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-24);
  text-align: center;
  font-size: 14px;
}

/* Social media buttons in footer brand column */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.social-icon-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
}

.social-icon-btn.insta-btn:hover {
  background: rgba(228, 64, 95, 0.25);
  border-color: #E4405F;
}

.social-icon-btn.fb-btn:hover {
  background: rgba(24, 119, 242, 0.25);
  border-color: #1877F2;
}

.social-icon-btn.yt-btn:hover {
  background: rgba(255, 0, 0, 0.25);
  border-color: #FF0000;
}

/* Social icons in footer bottom bar */
.footer-bottom-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 10px 0;
}

.footer-bottom-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-bottom-social-link:hover {
  transform: scale(1.1);
}

.footer-bottom-social-link.insta:hover {
  border-color: #E4405F;
  background: rgba(228, 64, 95, 0.25);
}

.footer-bottom-social-link.fb:hover {
  border-color: #1877F2;
  background: rgba(24, 119, 242, 0.25);
}

.footer-bottom-social-link.yt:hover {
  border-color: #FF0000;
  background: rgba(255, 0, 0, 0.25);
}



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

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-32);
  }
}

/* MOBILE STICKY ACTION BAR (<768px) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(10, 95, 101, 0.12);
  z-index: 1000;
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-sticky-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 10px;
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--btn-radius);
  text-align: center;
}

.mobile-action-btn.call {
  background-color: var(--light-mint);
  color: var(--primary-teal);
  border: 1px solid var(--border-color);
}

.mobile-action-btn.whatsapp {
  background-color: #25D366;
  color: white;
}

.mobile-action-btn.book {
  background-color: var(--primary-teal);
  color: white;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 64px;
  }
}

/* MODAL SYSTEM */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 42, 46, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-container {
  background-color: var(--bg-white);
  border-radius: 28px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 36px);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--light-mint);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--primary-teal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

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

.form-group label {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-teal);
}

.form-control {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(10, 95, 101, 0.12);
}

/* ==========================================================================
   VIEWPORT SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */

.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-active {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Stagger Delays for Grid Cards */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
