@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&family=Graduate&family=Caprasimo&display=swap');

@font-face {
  font-family: 'Digitalt';
  src: url('assets/fonts/Digitalt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* WordPress production layout corrections. */
.scroll-container { height: auto !important; min-height: 0 !important; }
.scroll-content { position: relative !important; inset: auto !important; min-height: 100vh; }
.ui-layer { height: 90px !important; justify-content: flex-start !important; }

header,
header.scrolled {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  transform: none !important;
  height: 82px !important;
  padding: 0 4rem !important;
  background: rgba(8, 9, 12, 0.82) !important;
  border-bottom: 1px solid rgba(226, 139, 52, 0.18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.logo span, .nav-item, .btn-login, .btn-signup {
  font-family: 'Outfit', sans-serif !important;
  text-shadow: none !important;
  transform: none !important;
}

.gallery-container { max-width: 1280px !important; margin-inline: auto !important; overflow: hidden; }
.gallery-deck {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 12px !important;
  height: auto !important;
  width: 100% !important;
  max-width: 1180px !important;
  padding: 12px !important;
  perspective: none !important;
}

.gallery-card, .gallery-card:hover,
.gc-left-outer, .gc-left-mid, .gc-left-inner, .gc-center,
.gc-right-inner, .gc-right-mid, .gc-right-outer,
.gc-left-outer:hover, .gc-left-mid:hover, .gc-left-inner:hover,
.gc-center:hover, .gc-right-inner:hover, .gc-right-mid:hover,
.gc-right-outer:hover {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  transform: none !important;
}

.testimonials-collage {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  height: auto !important;
  width: 100% !important;
  max-width: 1120px !important;
}

.testimonial-card, .testimonial-card:hover,
.tc-1, .tc-2, .tc-3, .tc-4, .tc-5, .tc-6 {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 230px !important;
  transform: none !important;
}

.site-footer { min-height: 0 !important; margin-bottom: 0 !important; }
.focus-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem 1.25rem; margin-top: .75rem; }
.focus-policy-links a { color: inherit; text-underline-offset: 3px; }

@media (max-width: 992px) {
  header, header.scrolled { padding: 0 1.25rem !important; }
  .gallery-deck { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .testimonials-collage { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 576px) {
  header, header.scrolled { padding: 0 .5rem !important; height: 70px !important; }
  .gallery-deck { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .testimonials-collage { grid-template-columns: 1fr !important; gap: 16px !important; }
  .testimonial-card { min-height: 0 !important; }
}

:root {
  --bg-color: #0c0d10;
  --bg-gradient: radial-gradient(circle at center, #1b1d24 0%, #060709 100%);
  --accent-color: #e28b34; /* Custom warm bronze/gold matching Focus Clinic */
  --accent-glow: rgba(226, 139, 52, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --glass-bg: rgba(12, 13, 16, 0.4);
  --glass-border: rgba(255, 255, 255, 0.06);
  --font-family: 'Outfit', sans-serif;
  --mono-family: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body, html {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
  min-height: 100%;
}

/* Scroll Container - height set dynamically by JS to match frames + content */
.scroll-container {
  height: auto;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Fixed Canvas Container */
.animation-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform;
}

canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* Make canvas background blend nicely */
  mix-blend-mode: lighten; 
  opacity: 0.55 !important; /* Lowers opacity to let text stand out with high contrast */
  filter: brightness(0.6) !important; /* Reduces brightness of image frames */
}

/* Ambient glow nodes in viewport background */
.ambient-glow {
  position: fixed;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 139, 52, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-top-right {
  top: -10%;
  right: -10%;
}

.glow-bottom-left {
  bottom: -20%;
  left: -20%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

/* UI Overlay Layer (Fixed in Viewport) */
.ui-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none; /* Let pointer-events pass to sub-elements */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Header Navbar */
header {
  pointer-events: auto; /* Re-enable clicks */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 90px;
  padding: 0 4rem;
  z-index: 9999 !important;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
  transform: translate3d(0, 0, 50px);
  will-change: transform;
}

header.scrolled {
  position: fixed;
  height: 80px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transform: translate3d(0, 0, 50px) !important;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-img {
  height: 44px;
  width: auto;
  min-width: 44px;
  object-fit: contain;
  border-radius: 50%; /* Circle frame */
  border: 1.5px solid rgba(226, 139, 52, 0.35); /* Gold outline */
  background: rgba(255, 255, 255, 0.95); /* Bright white backdrop to show dark logo clearly */
  padding: 4px; /* Prevent emblem touching the edges */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 10px rgba(226, 139, 52, 0.15);
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  background: rgba(18, 20, 26, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  padding: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-item {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item.active {
  background: #1c1d22;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-login {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.3s;
}

.btn-login:hover {
  color: var(--text-primary);
}

.btn-signup {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(226, 139, 52, 0.35);
  background: transparent;
  padding: 0.55rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 12px rgba(226, 139, 52, 0.08);
}

.btn-signup:hover {
  color: #ffffff;
  border-color: rgba(226, 139, 52, 0.7);
  box-shadow: 0 0 20px var(--accent-glow);
  background: rgba(226, 139, 52, 0.05);
}

/* Hero Section (Center of screen) */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 950px;
  margin: auto;
  padding: 0 2rem;
  z-index: 10;
  margin-top: 15vh;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
  color: var(--accent-color);
  text-shadow: 0 0 35px var(--accent-glow);
}

.hero-subtitle {
  font-family: var(--mono-family);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: #ffffff !important;
  margin-top: 1.75rem;
  max-width: 780px;
}

.hero-actions {
  pointer-events: auto; /* Re-enable clicks */
  display: flex;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.btn-hero-primary, .btn-hero-secondary {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 15px rgba(226, 139, 52, 0.15);
}

.btn-hero-primary {
  color: var(--accent-color);
  background: rgba(226, 139, 52, 0.1);
  border: 1.5px solid rgba(226, 139, 52, 0.5);
  box-shadow: 0 0 20px rgba(226, 139, 52, 0.2);
}

.btn-hero-primary:hover {
  background: rgba(226, 139, 52, 0.2);
  border-color: rgba(226, 139, 52, 0.8);
  box-shadow: 0 0 30px var(--accent-glow);
  color: #ffffff;
}

.btn-hero-secondary {
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Fanned Cards Deck (Bottom of Screen) */
.cards-deck {
  pointer-events: auto; /* Re-enable clicks */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 900px;
  height: 250px;
  margin: 0 auto;
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.card {
  position: absolute; /* Absolute positioning is required for fanning translations */
  width: 130px;
  height: 210px;
  border-radius: 16px;
  border: 1px solid rgba(226, 139, 52, 0.3); /* Gold outline border matching the image */
  background: transparent; /* Fully transparent inside, matching the image */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transform-origin: center bottom;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  text-decoration: none;
}

/* Inner glow ring inside card (active on hover) */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: radial-gradient(circle at center, rgba(226, 139, 52, 0.08) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover .card-glow {
  opacity: 1;
}

.card-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s ease;
}

.card-svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.5;
  transition: all 0.3s ease;
}

/* 1. Default closely-packed fanning (overlapping exactly like in the reference image) */
.card-left-outer {
  transform: rotate(-16deg) translateX(-180px) translateY(35px);
  z-index: 1;
}

.card-left-inner {
  transform: rotate(-8deg) translateX(-90px) translateY(10px);
  z-index: 2;
}

.card-center {
  transform: rotate(0deg) scale(1.05);
  z-index: 3;
  border-color: rgba(226, 139, 52, 0.5);
}

.card-right-inner {
  transform: rotate(8deg) translateX(90px) translateY(10px);
  z-index: 2;
}

.card-right-outer {
  transform: rotate(16deg) translateX(180px) translateY(35px);
  z-index: 1;
}

/* 2. Individual Card Hover (Pops up straight, preserves horizontal position, and sits on top) */
.card-left-outer:hover {
  transform: rotate(0deg) translateX(-180px) translateY(-25px) scale(1.15) !important;
}

.card-left-inner:hover {
  transform: rotate(0deg) translateX(-90px) translateY(-25px) scale(1.15) !important;
}

.card-center:hover {
  transform: rotate(0deg) translateX(0px) translateY(-25px) scale(1.15) !important;
}

.card-right-inner:hover {
  transform: rotate(0deg) translateX(90px) translateY(-25px) scale(1.15) !important;
}

.card-right-outer:hover {
  transform: rotate(0deg) translateX(180px) translateY(-25px) scale(1.15) !important;
}

/* Common properties for hovered cards */
.card:hover {
  z-index: 100 !important;
  border-color: rgba(226, 139, 52, 0.95) !important;
  background: transparent !important; /* Fully transparent on hover */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 15px 35px rgba(226, 139, 52, 0.2) !important;
}

.card:hover .card-icon-container {
  color: var(--accent-color);
  transform: scale(1.1);
}

.card:hover .card-svg {
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.card:hover .card-image {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(226, 139, 52, 0.5));
}


/* Tiny indicator for frames */
.frame-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.1em;
  z-index: 10;
}

/* Preloader Screen */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  background-image: var(--bg-gradient);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  background: rgba(18, 20, 26, 0.6);
  border: 1px solid var(--glass-border);
  padding: 3.5rem;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.loader-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(226, 139, 52, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.loader-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.loader-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  letter-spacing: 0.15em;
  font-family: var(--mono-family);
}

.progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-color) 0%, #fcd34d 100%);
  box-shadow: 0 0 15px var(--accent-glow);
  border-radius: 999px;
  transition: width 0.1s ease-out;
}

.progress-text {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--text-primary);
}

.progress-status {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #08090b;
}
::-webkit-scrollbar-thumb {
  background: #23252c;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #32353f;
}

/* Tablet Specific Adjustments */
@media (max-width: 1024px) {
  .cards-deck {
    height: 240px;
  }
  .card {
    width: 110px;
    height: 170px;
  }
  .card-left-outer {
    transform: rotate(-16deg) translateX(-140px) translateY(25px);
  }
  .card-left-inner {
    transform: rotate(-8deg) translateX(-70px) translateY(8px);
  }
  .card-right-inner {
    transform: rotate(8deg) translateX(70px) translateY(8px);
  }
  .card-right-outer {
    transform: rotate(16deg) translateX(140px) translateY(25px);
  }
  .card:hover {
    transform: translateY(-20px) scale(1.1) rotate(0deg) !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 0 2rem;
  }
  .nav-menu {
    display: none; /* Hide middle nav on mobile */
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .cards-deck {
    height: 200px;
  }
  .card {
    width: 90px;
    height: 140px;
  }
  .card-left-outer {
    transform: rotate(-18deg) translateX(-130px) translateY(25px);
  }
  .card-left-inner {
    transform: rotate(-9deg) translateX(-65px) translateY(8px);
  }
  .card-right-inner {
    transform: rotate(9deg) translateX(65px) translateY(8px);
  }
  .card-right-outer {
    transform: rotate(18deg) translateX(130px) translateY(25px);
  }
  .card:hover {
    transform: translateY(-15px) scale(1.1) rotate(0deg) !important;
  }
  .card-svg {
    width: 26px;
    height: 26px;
  }
  
  @media (max-width: 480px) {
    .cards-deck {
      height: 160px;
    }
    .card {
      width: 75px;
      height: 115px;
    }
    .card-left-outer {
      transform: rotate(-18deg) translateX(-95px) translateY(20px);
    }
    .card-left-inner {
      transform: rotate(-9deg) translateX(-48px) translateY(6px);
    }
    .card-right-inner {
      transform: rotate(9deg) translateX(48px) translateY(6px);
    }
    .card-right-outer {
      transform: rotate(18deg) translateX(95px) translateY(20px);
    }
  }
}

/* About Clinic & Specialists Sections styling */
.scroll-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.homepage-section {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 6;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.section-hero {
  height: 100vh;
}

.section-about-clinic {
  min-height: 100vh;
  padding: 120px 4rem 100px 4rem;
  pointer-events: auto; /* Enable interactivity on buttons/cards */
}

.section-specialists {
  min-height: 100vh;
  padding: 100px 4rem 140px 4rem;
  pointer-events: auto; /* Enable interactivity */
}

.section-label {
  display: block;
  font-family: var(--mono-family);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: #ffa048 !important;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* About Clinic Container */
.about-clinic-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}

.about-clinic-text .section-description {
  font-size: 1.35rem; /* Increased size */
  font-weight: 600;   /* Bolder */
  line-height: 1.75;
  color: #ffffff;     /* Pure white for maximum visibility */
  margin-bottom: 2rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.7);
}

.about-clinic-text .section-footnote {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.7;
  color: #ffffff !important;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.5rem;
  font-style: italic;
}

/* Stats cards layout */
.about-clinic-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.stat-card {
  border: 1px solid rgba(226, 139, 52, 0.22);
  background: transparent;
  padding: 2.5rem 1.75rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.stat-card:hover {
  border-color: rgba(226, 139, 52, 0.7);
  box-shadow: 0 15px 35px rgba(226, 139, 52, 0.15);
  transform: translateY(-8px);
  background: transparent;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-color);
  text-shadow: 0 0 20px var(--accent-glow), 0 2px 4px rgba(0,0,0,0.95);
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #ffffff; /* pure white */
  font-weight: 600; /* Bolder */
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}

/* Specialists layout (Detailed qualifications grid) */
.specialists-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.specialists-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.specialists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  width: 100%;
  max-width: 950px;
}

.specialist-card {
  border: 1px solid rgba(226, 139, 52, 0.2);
  background: transparent; /* 100% transparent background */
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  width: 100%;
  text-decoration: none; /* Prevent underline as an anchor link */
}

.specialist-card:hover {
  border-color: rgba(226, 139, 52, 0.7);
  box-shadow: 0 20px 45px rgba(226, 139, 52, 0.12);
  transform: translateY(-8px);
  background: transparent; /* Stay transparent on hover */
}

.specialist-avatar-container {
  width: 90px;
  height: 100px;
  border: 1px solid rgba(226, 139, 52, 0.35);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(226, 139, 52, 0.65);
  margin-bottom: 1.75rem;
  transition: all 0.3s ease;
}

.specialist-card:hover .specialist-avatar-container {
  color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(226, 139, 52, 0.2);
}

.specialist-avatar-svg {
  width: 44px;
  height: 44px;
}

.specialist-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.specialist-card:hover .specialist-avatar-img {
  transform: scale(1.05);
}

.specialist-name {
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px -1px 2px rgba(0, 0, 0, 0.95), 
    -1px 1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.specialist-role {
  font-family: var(--mono-family);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 2.25rem;
  text-transform: uppercase;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px -1px 2px rgba(0, 0, 0, 0.95), 
    -1px 1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.qualifications-box {
  width: 100%;
  background: transparent; /* Transparent sub-box */
  border: 1px solid rgba(255, 255, 255, 0.12); /* Subtle outline */
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.qualifications-title {
  font-family: var(--mono-family);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 0.5rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px -1px 2px rgba(0, 0, 0, 0.95);
}

.qualifications-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.qualifications-list li {
  font-size: 0.95rem; /* Increased size for readability */
  font-weight: 600;   /* Bolder */
  line-height: 1.6;
  color: #ffffff;     /* Pure white */
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px -1px 2px rgba(0, 0, 0, 0.95), 
    -1px 1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.bullet-star {
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-glow);
  font-weight: bold;
}

.btn-more-about {
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-color);
  border: 1.5px solid rgba(226, 139, 52, 0.4);
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 0 15px rgba(226, 139, 52, 0.08);
}

.btn-more-about:hover,
.specialist-card:hover .btn-more-about {
  color: #fff;
  background: rgba(226, 139, 52, 0.15);
  border-color: rgba(226, 139, 52, 0.8);
  box-shadow: 0 0 25px var(--accent-glow);
}

/* Responsive adjustments for added sections */
@media (max-width: 992px) {
  .about-clinic-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .specialists-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 480px;
  }
  .gallery-deck {
    height: 240px;
    margin-bottom: 3rem;
  }
  .gallery-card {
    width: 130px;
    height: 180px;
  }
  .gc-left-outer { transform: rotateY(35deg) translate3d(-300px, 0, -50px); }
  .gc-left-mid { transform: rotateY(25deg) translate3d(-200px, 0, -25px); }
  .gc-left-inner { transform: rotateY(15deg) translate3d(-100px, 0, 0px); }
  .gc-center { transform: rotateY(0deg) translate3d(0, 0, 40px); }
  .gc-right-inner { transform: rotateY(-15deg) translate3d(100px, 0, 0px); }
  .gc-right-mid { transform: rotateY(-25deg) translate3d(200px, 0, -25px); }
  .gc-right-outer { transform: rotateY(-35deg) translate3d(300px, 0, -50px); }
  
  .gc-left-outer:hover { transform: rotateY(35deg) translate3d(-300px, -15px, -30px) scale(1.05) !important; }
  .gc-left-mid:hover { transform: rotateY(25deg) translate3d(-200px, -15px, -5px) scale(1.05) !important; }
  .gc-left-inner:hover { transform: rotateY(15deg) translate3d(-100px, -15px, 20px) scale(1.05) !important; }
  .gc-center:hover { transform: rotateY(0deg) translate3d(0, -15px, 70px) scale(1.05) !important; }
  .gc-right-inner:hover { transform: rotateY(-15deg) translate3d(100px, -15px, 20px) scale(1.05) !important; }
  .gc-right-mid:hover { transform: rotateY(-25deg) translate3d(200px, -15px, -5px) scale(1.05) !important; }
  .gc-right-outer:hover { transform: rotateY(-35deg) translate3d(300px, -15px, -30px) scale(1.05) !important; }
}



/* Gallery Section styling */
.section-gallery {
  min-height: 100vh;
  padding: 100px 4rem 140px 4rem;
  pointer-events: auto; /* Enable interactivity on buttons/cards */
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 6;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gallery-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.gallery-deck {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  height: 320px;
  margin: 0 auto 4rem auto;
  perspective: 1500px;
}

.gallery-card {
  position: absolute;
  width: 180px;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(226, 139, 52, 0.35);
  box-shadow: 0 15px 35px rgba(0,0,0,0.65);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent !important; /* Transparent background */
  text-decoration: none;
  display: block;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82; /* Let background animation show through */
  filter: brightness(0.85);
  transition: all 0.3s;
}

.gallery-card:hover img {
  opacity: 1; /* Fully opaque on hover */
  filter: brightness(1);
}

/* 3D angled curved offsets spaced out to avoid overlapping (Image 1 fanned layout) */
.gc-center {
  transform: rotateY(0deg) translate3d(0, 0, 80px);
  z-index: 10;
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(226, 139, 52, 0.25);
}

.gc-left-inner {
  transform: rotateY(18deg) translate3d(-200px, 0, 35px);
  z-index: 8;
}

.gc-left-mid {
  transform: rotateY(32deg) translate3d(-390px, 0, -10px);
  z-index: 6;
}

.gc-left-outer {
  transform: rotateY(45deg) translate3d(-565px, 0, -70px);
  z-index: 4;
}

.gc-right-inner {
  transform: rotateY(-18deg) translate3d(200px, 0, 35px);
  z-index: 8;
}

.gc-right-mid {
  transform: rotateY(-32deg) translate3d(390px, 0, -10px);
  z-index: 6;
}

.gc-right-outer {
  transform: rotateY(-45deg) translate3d(565px, 0, -70px);
  z-index: 4;
}

.gallery-card:hover {
  z-index: 100;
  border-color: var(--accent-color);
  box-shadow: 0 25px 50px rgba(226, 139, 52, 0.35);
}

.gc-left-outer:hover { transform: rotateY(45deg) translate3d(-565px, -25px, -50px) scale(1.08) !important; }
.gc-left-mid:hover { transform: rotateY(32deg) translate3d(-390px, -25px, 10px) scale(1.08) !important; }
.gc-left-inner:hover { transform: rotateY(18deg) translate3d(-200px, -25px, 55px) scale(1.08) !important; }
.gc-center:hover { transform: rotateY(0deg) translate3d(0, -25px, 120px) scale(1.08) !important; }
.gc-right-inner:hover { transform: rotateY(-18deg) translate3d(200px, -25px, 55px) scale(1.08) !important; }
.gc-right-mid:hover { transform: rotateY(-32deg) translate3d(390px, -25px, 10px) scale(1.08) !important; }
.gc-right-outer:hover { transform: rotateY(-45deg) translate3d(565px, -25px, -50px) scale(1.08) !important; }

.gallery-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3.5rem;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 4rem;
}

.gallery-feature-col {
  text-align: center;
}

.gallery-feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.gallery-feature-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #f4f4f5 !important;
  font-weight: 600;
}

.gallery-actions {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn-gallery-action {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  border: 1.5px solid rgba(226, 139, 52, 0.45);
  background: rgba(226, 139, 52, 0.05);
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
  transform: translate3d(0,0,0);
  will-change: transform;
}

.btn-gallery-action:hover {
  background: rgba(226, 139, 52, 0.18);
  border-color: var(--accent-color);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-2px);
}

/* Featured Products Section styling */
.section-products {
  min-height: 100vh;
  padding: 100px 4rem 140px 4rem;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 6;
}

.products-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.products-header {
  text-align: center;
  margin-bottom: 4rem;
}

.products-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.products-slider {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}

.product-slide-card {
  position: relative;
  text-decoration: none;
  border-radius: 28px;
  border: 1.5px solid rgba(226, 139, 52, 0.18);
  background: rgba(12, 13, 16, 0.35);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.product-slide-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(226, 139, 52, 0.25);
  background: rgba(12, 13, 16, 0.45);
}

.product-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.badge-new {
  background: rgba(226, 139, 52, 0.85);
  border: 1px solid var(--accent-color);
}

.badge-trending {
  background: rgba(99, 102, 241, 0.85);
  border: 1px solid #6366f1;
}

.badge-bestseller {
  background: rgba(239, 68, 68, 0.85);
  border: 1px solid #ef4444;
}

.badge-popular {
  background: rgba(16, 185, 129, 0.85);
  border: 1px solid #10b981;
}

.product-heart-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.product-heart-btn:hover,
.product-heart-btn.active {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

.product-heart-btn svg {
  width: 16px;
  height: 16px;
}

.product-image-container {
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.1);
}

.product-image-container img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transition: transform 0.4s;
}

.product-slide-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-name-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}

.product-desc-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
  min-height: 40px;
}

.product-rating-box {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.star-rating {
  color: var(--accent-color);
  font-weight: 700;
  text-shadow: 0 0 8px var(--accent-glow);
}

.rating-count {
  color: #cbd5e1;
}

.product-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price-label {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}

.cart-btn-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(226, 139, 52, 0.15);
  border: 1.5px solid rgba(226, 139, 52, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-color);
  transition: all 0.3s;
}

.cart-btn-circle svg {
  width: 18px;
  height: 18px;
}

.product-slide-card:hover .cart-btn-circle {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
  box-shadow: 0 0 15px var(--accent-glow);
}

/* Responsive adjustments for products section */
@media (max-width: 992px) {
  .products-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}



/* Google Testimonials Section styling */
.section-testimonials {
  min-height: 100vh;
  padding: 100px 4rem 140px 4rem;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 6;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.testimonials-collage {
  position: relative;
  width: 100%;
  height: 520px;
  margin: 0 auto 4rem auto;
  perspective: 1500px;
}

.testimonial-card {
  position: absolute;
  border: 1.5px solid rgba(226, 139, 52, 0.18);
  background: transparent !important;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
  display: flex;
  flex-direction: column;
  overflow: visible;
  will-change: transform;
}

.testimonial-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 20px 45px rgba(226, 139, 52, 0.28);
  background: rgba(226, 139, 52, 0.05) !important;
}

/* Legible Text Shadow Outlines */
.tc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.tc-quote {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #ffffff;
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.tc-author-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
  margin-top: auto;
}

.tc-author-sub {
  font-size: 0.7rem;
  color: #cbd5e1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
}

.tc-stars {
  font-size: 0.8rem;
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-glow);
  margin-top: 0.5rem;
}

.tc-quote-sign {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(226, 139, 52, 0.28);
  font-family: Georgia, serif;
  line-height: 1;
  height: 18px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.95);
}

/* Avatar Elements */
.tc-avatar-top {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #12141a;
  border: 2px solid var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.tc-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #12141a;
  border: 1.5px solid var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-color);
}

.tc-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #12141a;
  border: 1.5px solid var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.tc-mini-avatar:first-child {
  margin-left: 0;
}

.tc-avatars-group {
  display: flex;
  align-items: center;
}

.tc-row-avatar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tc-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

/* Collage card offsets fanned in layout */
.tc-1 { top: 10px; left: 40px; width: 290px; height: 210px; }
.tc-2 { top: 10px; left: 370px; width: 270px; height: 210px; }
.tc-3 { top: 10px; right: 40px; width: 330px; height: 210px; }
.tc-4 { bottom: 10px; left: 40px; width: 320px; height: 220px; }
.tc-5 { bottom: 10px; left: 400px; width: 250px; height: 220px; }
.tc-6 { bottom: 10px; right: 40px; width: 350px; height: 220px; }

/* Read More Button CTA */
.testimonials-action {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.btn-read-more-google {
  display: inline-block;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  border: 1.5px solid rgba(226, 139, 52, 0.45);
  background: rgba(226, 139, 52, 0.05);
  padding: 0.9rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}

.btn-read-more-google:hover {
  background: rgba(226, 139, 52, 0.18);
  border-color: var(--accent-color);
  box-shadow: 0 0 25px var(--accent-glow);
  transform: translateY(-2px);
}

/* Responsive adjustments for testimonials */
@media (max-width: 992px) {
  .testimonials-collage {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .testimonial-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    transform: none !important;
  }
}



/* Contact Us Section styling */
.section-contact {
  min-height: 100vh;
  padding: 100px 4rem 140px 4rem;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 6;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-subtitle {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.contact-tabs-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.contact-tab-btn {
  background: rgba(226, 139, 52, 0.05);
  border: 1.5px solid rgba(226, 139, 52, 0.35);
  border-radius: 9999px;
  color: #ffffff;
  padding: 0.75rem 2rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
}

.contact-tab-btn:hover,
.contact-tab-btn.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px var(--accent-glow);
}

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin-bottom: 4rem;
}

.contact-info-card {
  border: 1.5px solid rgba(226, 139, 52, 0.18);
  background: transparent !important;
  border-radius: 28px;
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-info-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 15px 35px rgba(226, 139, 52, 0.15);
  transform: translateY(-5px);
  background: rgba(226, 139, 52, 0.03) !important;
}

.contact-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.contact-card-svg {
  width: 24px;
  height: 24px;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.contact-card-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.comm-detail-value {
  transition: color 0.3s;
}

.contact-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.95);
  transition: color 0.3s;
  margin-top: auto;
}

.contact-card-link:hover {
  color: #ffffff;
}

.contact-form-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  width: 100%;
  border: 1.5px solid rgba(226, 139, 52, 0.18);
  border-radius: 36px;
  padding: 3.5rem;
  background: transparent !important;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(12, 13, 16, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: var(--font-family);
  transition: all 0.3s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(226, 139, 52, 0.2);
  background: rgba(12, 13, 16, 0.85);
}

.btn-send-message {
  background: var(--accent-color);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
}

.btn-send-message:hover {
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.contact-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-label-side {
  font-family: var(--mono-family);
  font-size: 0.8rem;
  font-weight: 900;
  color: #ffa048 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.form-title-side {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

.form-desc-side {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  font-weight: 500;
}

.contact-toast-alert {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(226,139,52,0.95);
  border: 1.5px solid var(--accent-color);
  color: #ffffff;
  padding: 1.1rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
}

.contact-toast-alert.show {
  bottom: 40px;
}

/* Support Options Dropdown Popup styles */
.support-dropdown-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  background: rgba(18, 20, 26, 0.95);
  border: 1.5px solid var(--accent-color);
  border-radius: 16px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 140px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.55);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.support-dropdown-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.support-opt-link {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  transition: all 0.2s;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.support-opt-link:hover {
  background: rgba(226, 139, 52, 0.15);
  color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Footer Section styling */
.site-footer {
  padding: 100px 4rem 60px 4rem;
  pointer-events: auto;
  border-top: 1.5px solid rgba(226, 139, 52, 0.18);
  z-index: 6;
  position: relative;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
}

.footer-logo-svg {
  width: 28px;
  height: 28px;
  color: var(--accent-color);
  filter: drop-shadow(0 0 5px var(--accent-glow));
}

.footer-brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95),
    0 0 15px var(--accent-glow);
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
}

/* Velox Action Buttons style */
.footer-velox-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-velox-action {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  border: 1.5px solid var(--accent-color);
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: rgba(226, 139, 52, 0.05);
  transition: all 0.3s;
  text-shadow: 0 1.5px 3px rgba(0,0,0,0.95);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-velox-action:hover {
  background: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: translateY(-2px);
}

.footer-dev-info {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 
    0 1.5px 3px rgba(0, 0, 0, 0.95), 
    -1px -1px 2px rgba(0, 0, 0, 0.95), 
    1px 1px 2px rgba(0, 0, 0, 0.95);
  margin-top: auto;
}

.footer-dev-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.95);
  transition: color 0.2s;
}

.footer-dev-link:hover {
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--mono-family);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffa048 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s;
  width: fit-content;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 1rem;
}

.social-grid-btn {
  width: 54px;
  height: 54px;
  border: 2px solid var(--accent-color);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-color);
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.01);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 0 8px var(--accent-glow);
}

.social-grid-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-glow);
  transform: scale(1.06);
  background: rgba(226, 139, 52, 0.05);
}

.social-svg {
  width: 22px;
  height: 22px;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  margin-top: auto;
}

.footer-contact-item-link {
  color: #ffffff !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item-link:hover {
  color: #ffa048 !important;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Responsive adjustments for contact & footer section */
@media (max-width: 992px) {
  .contact-cards-row {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 480px;
    margin: 0 auto 3rem auto;
  }
  .contact-form-panel {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* 1. Header & Scrolled Header (transparent background) */
  header {
    padding: 0 1.5rem;
    height: 70px;
    transform: translate3d(0, 0, 50px) !important;
    will-change: transform;
  }
  header.scrolled {
    position: fixed;
    height: 70px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transform: translate3d(0, 0, 50px) !important;
  }
  .logo {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
  .logo-img {
    height: 32px !important;
    min-width: 32px !important;
  }
  .nav-actions {
    gap: 0.75rem;
  }
  .btn-login, .btn-signup {
    font-size: 0.78rem;
    padding: 0.45rem 0.9rem;
  }

  /* 2. Remove Section Gaps & Padding */
  .section-about-clinic,
  .section-specialists,
  .section-gallery,
  .section-products,
  .section-testimonials,
  .section-contact {
    padding: 35px 1.25rem !important;
    min-height: auto !important;
  }

  /* 3. Typography Adjustments (Scale down fonts) */
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }
  .hero-subtitle {
    font-size: 0.62rem !important;
    margin-bottom: 1.5rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  .about-clinic-title {
    font-size: 1.4rem !important;
  }
  .about-clinic-text {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .gallery-subtitle, .specialists-subtitle, .products-subtitle, .testimonials-subtitle, .contact-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .gallery-feature-title {
    font-size: 0.95rem !important;
  }
  .gallery-feature-desc {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    color: #f4f4f5 !important;
    font-weight: 600 !important;
  }
  .stat-number {
    font-size: 1.85rem !important;
  }
  .stat-desc {
    font-size: 0.72rem !important;
  }
  .specialist-card h3 {
    font-size: 1.15rem !important;
  }
  .specialist-card p {
    font-size: 0.8rem !important;
  }
  .specialist-qual-title {
    font-size: 0.72rem !important;
  }
  .specialist-qual-item {
    font-size: 0.72rem !important;
  }

  /* 4. Center Gallery features middle align */
  .gallery-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .gallery-feature-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 5. Side-by-side gallery action buttons */
  .gallery-actions {
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  /* 6. Products Slider (2 columns, auto height to prevent content overflow) */
  .products-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 100%;
    margin: 0;
  }
  .product-slide-card {
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 0.85rem 0.65rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .product-image-container {
    height: 100px !important;
    margin-bottom: 0.35rem !important;
    border-radius: 12px !important;
  }
  .product-name-title {
    font-size: 0.8rem !important;
    margin: 0.2rem 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .product-desc-text {
    display: none !important;
  }
  .product-rating-box {
    margin: 0.15rem 0 !important;
    font-size: 0.68rem !important;
  }
  .product-price-label {
    font-size: 0.8rem !important;
  }
  .cart-btn-circle {
    width: 26px !important;
    height: 26px !important;
  }
  .cart-btn-circle svg {
    width: 12px !important;
    height: 12px !important;
  }
  .product-badge {
    top: 0.5rem !important;
    left: 0.5rem !important;
    font-size: 0.55rem !important;
    padding: 0.2rem 0.4rem !important;
  }

  /* 7. Testimonials (2 columns, bobFloat animation, hide tc-5 & tc-6, auto height) */
  .testimonials-collage {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0 auto 3rem auto;
    gap: 0.75rem;
    height: auto !important;
  }
  .testimonial-card {
    padding: 1rem !important;
    min-height: 150px !important;
  }
  .testimonial-text {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
  }
  .testimonial-author-name {
    font-size: 0.8rem !important;
  }
  .testimonial-author-role {
    font-size: 0.65rem !important;
  }
  .testimonial-card.tc-5, .testimonial-card.tc-6 {
    display: none !important;
  }
  .testimonial-card.tc-1, .testimonial-card.tc-3, .testimonial-card.tc-5 {
    animation: bobFloat 5s ease-in-out infinite;
  }
  .testimonial-card.tc-2, .testimonial-card.tc-4, .testimonial-card.tc-6 {
    animation: bobFloat 6s ease-in-out infinite alternate;
  }

  /* 8. Contact details cards layout */
  .contact-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto 3rem auto;
  }
  .contact-cards-row .contact-info-card {
    padding: 1.5rem 1rem;
  }
  .contact-cards-row .contact-info-card:nth-child(3) {
    grid-column: span 2;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* 9. Resize All Buttons on Mobile */
  .btn-hero-primary, .btn-hero-secondary {
    font-size: 0.78rem !important;
    padding: 0.55rem 1.1rem !important;
  }
  .contact-tab-btn {
    font-size: 0.75rem !important;
    padding: 0.45rem 0.9rem !important;
  }
  .btn-send-message {
    font-size: 0.8rem !important;
    padding: 0.65rem 1.4rem !important;
  }
  .btn-read-more-google {
    font-size: 0.78rem !important;
    padding: 0.6rem 1.6rem !important;
  }
  .btn-gallery-action {
    font-size: 0.78rem !important;
    padding: 0.55rem 1rem !important;
  }
}

@media (max-width: 480px) {
  /* Larger and wider gallery 3D fanned deck to fit mobile screens beautifully */
  .gallery-deck {
    height: 170px;
    margin-bottom: 2rem;
  }
  .gallery-card {
    width: 80px;
    height: 115px;
    border-radius: 12px;
  }
  .gc-left-outer { transform: rotateY(35deg) translate3d(-130px, 0, -45px); }
  .gc-left-mid { transform: rotateY(25deg) translate3d(-88px, 0, -25px); }
  .gc-left-inner { transform: rotateY(15deg) translate3d(-44px, 0, 0px); }
  .gc-center { transform: rotateY(0deg) translate3d(0, 0, 25px); }
  .gc-right-inner { transform: rotateY(-15deg) translate3d(44px, 0, 0px); }
  .gc-right-mid { transform: rotateY(-25deg) translate3d(88px, 0, -25px); }
  .gc-right-outer { transform: rotateY(-35deg) translate3d(130px, 0, -45px); }
  
  .gc-left-outer:hover { transform: rotateY(35deg) translate3d(-130px, -10px, -30px) scale(1.05) !important; }
  .gc-left-mid:hover { transform: rotateY(25deg) translate3d(-88px, -10px, -10px) scale(1.05) !important; }
  .gc-left-inner:hover { transform: rotateY(15deg) translate3d(-44px, -10px, 10px) scale(1.05) !important; }
  .gc-center:hover { transform: rotateY(0deg) translate3d(0, -10px, 40px) scale(1.05) !important; }
  .gc-right-inner:hover { transform: rotateY(-15deg) translate3d(44px, -10px, 10px) scale(1.05) !important; }
  .gc-right-mid:hover { transform: rotateY(-25deg) translate3d(88px, -10px, -10px) scale(1.05) !important; }
  .gc-right-outer:hover { transform: rotateY(-35deg) translate3d(130px, -10px, -30px) scale(1.05) !important; }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 60px 2rem 40px 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   WARM SUNSET BRONZE-GOLD DESIGN OVERRIDES (PREMIUM COHESIVE THEME)
   ========================================================================== */

/* Redefine global theme color variables */
:root {
  --accent-color: #ffa048 !important;
  --accent-glow: rgba(226, 139, 52, 0.4) !important;
}

/* 1. Highlight Text elements - High Contrast sunset orange-gold text with transparent background and increased font size */
.highlight {
  color: #ffa048 !important;
  background-color: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  font-size: 1.15em !important; /* Increased font size */
  font-weight: 800 !important;
  display: inline-block;
}

.section-label {
  font-family: 'Graduate', serif !important;
  text-transform: uppercase !important;
  color: #ffa048 !important;
  background-color: transparent !important;
  padding: 0.5rem 0 !important;
  border-radius: 0 !important;
  font-weight: 900 !important; /* Extremely bold */
  font-size: 1.35rem !important; /* Increased text size for visibility */
  letter-spacing: 0.08em !important;
  display: inline-block;
  box-shadow: none !important;
  text-shadow: none !important;
  border-bottom: 2.5px solid #ffa048 !important;
  margin-bottom: 2rem !important; /* Increased spacing */
}

.stat-number {
  font-size: 3.4rem !important; /* Increased font size */
  font-weight: 900 !important;
  color: #ffa048 !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-block;
  box-shadow: none !important;
  text-shadow: 0 0 25px rgba(226, 139, 52, 0.25) !important;
}

.specialist-role {
  color: #ffa048 !important;
  background-color: transparent !important;
  padding: 0 !important;
  font-size: 0.9rem !important; /* Increased font size */
  font-weight: 800 !important;
  display: inline-block;
  margin-bottom: 0.75rem;
  box-shadow: none !important;
}

.bullet-star {
  color: #ffa048 !important;
  text-shadow: 0 0 8px rgba(226, 139, 52, 0.4) !important;
}

/* 2. Premium Buttons - Solid Warm Sunset Bronze/Gold background with white text */
.btn-hero-primary {
  color: #ffa048 !important;
  background: rgba(226, 139, 52, 0.05) !important;
  border: 2px solid rgba(226, 139, 52, 0.5) !important;
  font-size: 1.15rem !important; /* Increased font size */
  font-weight: 800 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-primary:hover {
  background: #e28b34 !important;
  border-color: #e28b34 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.4) !important;
}

.btn-hero-secondary {
  color: #ffa048 !important;
  background: rgba(226, 139, 52, 0.05) !important;
  border: 2px solid rgba(226, 139, 52, 0.5) !important;
  font-size: 1.15rem !important; /* Increased font size */
  font-weight: 800 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-hero-secondary:hover {
  background: #e28b34 !important;
  border-color: #e28b34 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.4) !important;
}

.btn-gallery-action {
  color: #ffffff !important;
  background: #e28b34 !important;
  border: 2.5px solid #e28b34 !important;
  font-size: 1.15rem !important; /* Increased font size */
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(226, 139, 52, 0.3) !important;
  text-shadow: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-gallery-action:hover {
  background: #ffa048 !important;
  border-color: #ffa048 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.5) !important;
}

.btn-signup {
  color: #ffffff !important;
  background: #e28b34 !important;
  padding: 0.45rem 1.4rem !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important; /* Increased font size */
  border: 1.5px solid #e28b34 !important;
  box-shadow: 0 2px 10px rgba(226, 139, 52, 0.25) !important;
  transition: all 0.3s ease !important;
}

.btn-signup:hover {
  background: #ffa048 !important;
  border-color: #ffa048 !important;
  color: #ffffff !important;
}

.btn-more-about {
  color: #ffffff !important;
  background: #e28b34 !important;
  font-size: 1.05rem !important; /* Increased font size */
  font-weight: 800 !important;
  border: 2px solid #e28b34 !important;
  border-radius: 9999px !important;
  padding: 0.6rem 1.2rem !important;
  box-shadow: 0 4px 15px rgba(226, 139, 52, 0.25) !important;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-more-about:hover {
  background: #ffa048 !important;
  border-color: #ffa048 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.45) !important;
}

.btn-read-more-google {
  color: #ffffff !important;
  background: #e28b34 !important;
  border: 2px solid #e28b34 !important;
  font-size: 1.15rem !important; /* Increased font size */
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(226, 139, 52, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-read-more-google:hover {
  background: #ffa048 !important;
  border-color: #ffa048 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.5) !important;
}

.btn-send-message {
  color: #ffffff !important;
  background: #e28b34 !important;
  border: 2px solid #e28b34 !important;
  font-size: 1.15rem !important; /* Increased font size */
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(226, 139, 52, 0.3) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-send-message:hover {
  background: #ffa048 !important;
  border-color: #ffa048 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(226, 139, 52, 0.5) !important;
}

/* 3. Cards Overhaul - Sleek dark glassmorphic cards with sunset bronze accents */
.stat-card {
  border: 1px solid rgba(226, 139, 52, 0.15) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.stat-card:hover {
  border-color: #ffa048 !important;
  background: transparent !important;
  box-shadow: 0 15px 35px rgba(226, 139, 52, 0.15) !important;
  transform: translateY(-6px) !important;
}

.specialist-card {
  border: 1px solid rgba(226, 139, 52, 0.15) !important;
  background: transparent !important;
  backdrop-filter: none !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.specialist-card:hover {
  border-color: #ffa048 !important;
  background: transparent !important;
  box-shadow: 0 20px 45px rgba(226, 139, 52, 0.2) !important;
  transform: translateY(-8px) !important;
}

.gallery-card {
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.gc-center {
  border-color: rgba(226, 139, 52, 0.5) !important;
  box-shadow: 0 20px 45px rgba(226, 139, 52, 0.25) !important;
}

/* 4. Active switchers and popups */
.contact-tab-btn.active {
  background: #e28b34 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important; /* Increased font size */
  border: 2px solid #e28b34 !important;
  box-shadow: 0 4px 15px rgba(226, 139, 52, 0.3) !important;
}

.support-opt-link:hover {
  background: rgba(226, 139, 52, 0.15) !important;
  color: #ffa048 !important;
}

.ambient-glow {
  background: radial-gradient(circle, rgba(226, 139, 52, 0.05) 0%, transparent 70%) !important;
}

.progress-bar {
  background: linear-gradient(90deg, #e28b34 0%, #ffa048 100%) !important;
  box-shadow: 0 0 15px rgba(226, 139, 52, 0.4) !important;
}

/* 5. Gallery features bold yellow text */
.gallery-feature-title {
  font-family: 'Graduate', serif !important;
  text-transform: uppercase !important;
  font-weight: 900 !important; /* Bolder */
  color: #ffa048 !important;   /* Yellow/Sunset gold */
  font-size: 1.2rem !important;
  letter-spacing: 0.05em !important;
}

.form-label-side {
  font-family: 'Graduate', serif !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  font-size: 1.15rem !important; /* Bolder and larger size for Have Any Query? */
  letter-spacing: 0.08em !important;
  color: #ffa048 !important;
}

/* 6. Section Layout Overhaul - Framed Card Sections with Spacing on All Sides */
.homepage-section {
  width: calc(100% - 8rem) !important;
  margin: 4rem 4rem !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0.5px solid rgba(226, 139, 52, 0.05) !important; /* Decreased border weight/visibility */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: none !important;
  transition: border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.homepage-section:hover {
  border-color: rgba(226, 139, 52, 0.25) !important;
  box-shadow: 0 25px 60px rgba(226, 139, 52, 0.08) !important;
}

.section-hero {
  margin-top: 7.5rem !important; /* Clears navbar to maintain safe distance */
  height: calc(100vh - 11.5rem) !important; /* Spaced cleanly within borders */
  min-height: 580px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important; /* Starts content from top */
  padding-top: 2.5rem !important; /* Minimal spacing from layout border */
  position: relative !important;
  pointer-events: auto !important; /* RE-ENABLE CLICKS FOR BUTTONS AND CARDS */
}

.hero-content {
  margin-top: 0 !important; /* Overrides 15vh center push */
  align-self: center !important; /* Centered content block */
}

.hero-subtitle {
  font-family: sans-serif !important;
  font-size: 1.05rem !important; /* Premium size */
  font-weight: bold !important; /* Bold */
  letter-spacing: 0.05em !important;
  line-height: 1.6 !important;
  text-transform: uppercase !important;
  color: #ffffff !important; /* Solid White */
  text-shadow: none !important; /* Removed shadow */
  margin-bottom: 2rem !important;
}

/* Reduced size cards deck inside hero to prevent button overlap */
.cards-deck {
  height: 190px !important;
  bottom: 20px !important; /* Keeps cards deck within the layout border */
}

.card {
  width: 105px !important;
  height: 160px !important;
}

.card-left-outer {
  transform: rotate(-16deg) translateX(-130px) translateY(20px) !important;
}
.card-left-inner {
  transform: rotate(-8deg) translateX(-65px) translateY(6px) !important;
}
.card-right-inner {
  transform: rotate(8deg) translateX(65px) translateY(6px) !important;
}
.card-right-outer {
  transform: rotate(16deg) translateX(130px) translateY(20px) !important;
}

/* About Clinic - Starts content from the top of the card container */
.section-about-clinic {
  min-height: calc(100vh - 8rem) !important;
  align-items: flex-start !important; /* Starts content from top */
  padding-top: 3.5rem !important; /* Minimal distance from layout border */
  pointer-events: auto !important; /* Re-enable pointer events */
}

/* Gallery subtitle & feature descriptions - styled in Sans-serif Bold White uppercase style */
.gallery-subtitle,
.gallery-feature-desc {
  font-family: sans-serif !important;
  color: #ffffff !important; /* Solid White */
  text-transform: uppercase !important;
  text-shadow: none !important; /* Removed shadow */
  letter-spacing: 0.05em !important;
  line-height: 1.6 !important;
}

.gallery-subtitle {
  font-size: 0.95rem !important;
  font-weight: bold !important; /* Bold */
}

.gallery-feature-desc {
  font-size: 0.78rem !important;
  font-weight: bold !important; /* Bold */
}

.comm-detail-value {
  font-size: 1.15rem !important; /* Increased font size for phone/email */
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

/* Mobile & Device Responsiveness Fixes */
@media (max-width: 992px) {
  .homepage-section {
    width: calc(100% - 4rem) !important;
    margin: 3rem 2rem !important;
    border-radius: 24px !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }
  .section-hero {
    height: calc(100vh - 6rem) !important;
    padding-top: 6rem !important;
  }
  .specialists-grid {
    margin: 0 auto !important;
  }
}

@media (max-width: 576px) {
  /* Re-enable and format nav menu on mobile header */
  header {
    padding: 0 0.5rem !important;
    height: 70px !important;
  }
  .logo {
    gap: 0.25rem !important;
  }
  .logo span {
    font-size: 0.85rem !important;
  }
  .logo-img {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important; /* Make it circular */
    object-fit: cover !important;
    border: 1px solid rgba(226, 139, 52, 0.35) !important;
  }
  .nav-menu {
    display: flex !important; /* Re-enable nav menu Home/Product links! */
    padding: 0.15rem !important;
    margin: 0 !important;
    border-radius: 9999px !important;
  }
  .nav-item {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
  }
  .nav-actions {
    display: flex !important; /* Re-enable nav actions (login/signup) on mobile! */
    gap: 0.35rem !important;
  }
  .btn-login, .btn-signup {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 9999px !important;
  }

  .homepage-section {
    width: calc(100% - 2rem) !important;
    margin: 2rem 1rem !important;
    border-radius: 16px !important;
    padding: 40px 1rem !important; /* Safe padding for layout */
    background: transparent !important;
    backdrop-filter: none !important;
  }
  .section-hero {
    margin-top: 5.5rem !important; /* Clears navbar to maintain safe distance */
    height: calc(100vh - 8.5rem) !important; /* Spaced cleanly within borders */
    min-height: 540px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Starts content from top */
    padding-top: 2rem !important; /* Minimal spacing from layout border */
    position: relative !important;
    pointer-events: auto !important;
  }
  
  .hero-content {
    margin-top: 0 !important;
    padding: 0 0.5rem !important;
  }
  
  /* Compact cards deck on mobile to fit inside layout */
  .cards-deck {
    position: relative !important;
    height: 135px !important; /* Increased height to accommodate taller cards */
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0.65rem auto 0 auto !important; /* Moved closer upwards to buttons */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .card {
    width: 75px !important;
    height: 110px !important; /* Increased card size */
  }
  .card-left-outer {
    transform: rotate(-16deg) translateX(-85px) translateY(8px) !important;
  }
  .card-left-inner {
    transform: rotate(-8deg) translateX(-42px) translateY(2px) !important;
  }
  .card-right-inner {
    transform: rotate(8deg) translateX(42px) translateY(2px) !important;
  }
  .card-right-outer {
    transform: rotate(16deg) translateX(85px) translateY(8px) !important;
  }
  
  .section-about-clinic, .section-specialists, .section-gallery, .section-products, .section-testimonials, .section-contact {
    padding: 50px 1rem !important;
  }

  /* About Clinic Stats: Two cards in one line & decreased sizes */
  .about-clinic-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .stat-card {
    padding: 1.25rem 0.5rem !important;
    border-radius: 12px !important;
  }
  .stat-number {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
  }
  .stat-label {
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
  }
  
  /* Minimal sizing for mobile buttons */
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-gallery-action,
  .contact-tab-btn {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
    height: auto !important;
    line-height: 1.2 !important;
  }

  .gallery-actions {
    gap: 0.5rem !important;
    flex-direction: row !important;
    width: 100% !important;
    justify-content: center !important;
  }

  /* Center and prevent specialist card overflow */
  .specialists-grid {
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }
  .specialist-card {
    padding: 1.75rem 1.25rem !important;
  }
  
  /* Stack Testimonials cleanly */
  .testimonials-collage {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 2rem !important;
  }
  .testimonial-card {
    width: 100% !important;
    margin: 0 !important;
  }
  .testimonial-card.tc-1, .testimonial-card.tc-3, .testimonial-card.tc-5 {
    animation: none !important;
  }

  /* Featured Products: Two cards in one line, no unnecessary inner spacing */
  .products-slider {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .product-slide-card {
    padding: 0.65rem 0.5rem !important;
    border-radius: 12px !important;
  }
  .product-image-container {
    height: 90px !important;
    margin-bottom: 0.25rem !important;
  }
  .product-name-title {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
  }
  .product-desc-text {
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.4rem !important;
  }
  .product-price-label {
    font-size: 0.72rem !important;
  }
  .cart-btn-circle {
    width: 26px !important;
    height: 26px !important;
  }
  .cart-svg {
    width: 12px !important;
    height: 12px !important;
  }
  .product-badge {
    font-size: 0.5rem !important;
    padding: 0.1rem 0.3rem !important;
  }
  .product-rating-box {
    font-size: 0.6rem !important;
    margin-bottom: 0.3rem !important;
  }
  
  /* Get In Touch Location Cards: Two cards in one line, first card location text removed */
  .contact-cards-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }
  .contact-cards-row .contact-info-card {
    padding: 1.25rem 0.5rem !important;
    border-radius: 16px !important;
  }
  .contact-cards-row .contact-info-card:nth-child(1) .contact-card-text {
    display: none !important; /* Removes location text on mobile */
  }
  .contact-cards-row .contact-info-card:nth-child(3) {
    grid-column: span 2 !important; /* Centers and spans full width in row 2 */
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Safe word-wrapping and scaling for all texts on mobile to stay within layout */
  .section-title {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .hero-subtitle {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .comm-detail-value {
    font-size: 0.72rem !important; /* Increased mobile size */
    word-break: break-all !important;
    word-wrap: break-word !important;
    display: inline-block !important;
  }
  .gallery-subtitle {
    font-size: 0.85rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  .gallery-feature-desc {
    font-size: 0.72rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* Keep the single navigation bar stable after every responsive override. */
header,
header.scrolled {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  transform: none !important;
  height: 82px !important;
  padding: 0 4rem !important;
  background: rgba(8, 9, 12, 0.82) !important;
  border-bottom: 1px solid rgba(226, 139, 52, 0.18) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

@media (max-width: 992px) {
  header, header.scrolled { padding: 0 1.25rem !important; }
}

@media (max-width: 576px) {
  header, header.scrolled { padding: 0 .5rem !important; height: 70px !important; }
}
