/* ==========================================================================
   SHREEM DENTAL HOSPITAL - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Ultra-premium Clinical Authority, Pristine White, Soft Teal, & Gold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg-base: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-bg-tint: #f0fdfa; /* Teal tint */
  --color-gold-tint: #fffdf5; /* Gold tint */
  
  --color-teal-50: #f0fdfa;
  --color-teal-100: #ccfbf1;
  --color-teal-600: #0d5c75; /* Primary Medical Teal */
  --color-teal-700: #0f4e64; /* Deep Medical Teal */
  --color-teal-800: #113f50;
  
  --color-gold-200: #fef08a;
  --color-gold-400: #eab308;
  --color-gold-500: #d4af37; /* Primary Gold Accent */
  --color-gold-600: #ca8a04;
  --color-gold-700: #a16207; /* Dark Gold Accent */
  
  --color-text-dark: #0f172a; /* Slate 900 */
  --color-text-muted: #475569; /* Slate 600 */
  --color-text-light: #64748b; /* Slate 500 */
  
  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -1px rgba(13, 92, 117, 0.05);
  --shadow-md: 0 12px 24px -4px rgba(13, 92, 117, 0.08);
  --shadow-lg: 0 20px 40px -8px rgba(13, 92, 117, 0.12);
  --shadow-gold: 0 10px 20px -5px rgba(212, 175, 55, 0.2);
  --shadow-teal: 0 10px 20px -5px rgba(13, 92, 117, 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(13, 92, 117, 0.08);
  --glass-blur: blur(12px);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- BASE RESETS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-teal-700);
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

.text-gold {
  color: var(--color-gold-500);
}

.serif-text {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* --- PREMIUM UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 3.25rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

.section-bg-tint {
  background-color: var(--color-bg-tint);
}

.section-bg-gold {
  background-color: var(--color-gold-tint);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.75rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold-700);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.section-title {
  font-size: 2.75rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 1.25rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal-600) 0%, var(--color-gold-500) 100%);
  margin: 1.25rem auto 0 auto;
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --- BUTTONS & INLINE INTERACTIONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 2.25rem;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: none;
  gap: 0.75rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-teal-600) 0%, var(--color-teal-700) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(13, 92, 117, 0.35);
  background: linear-gradient(135deg, var(--color-teal-700) 0%, var(--color-teal-800) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-700) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, var(--color-gold-600) 0%, var(--color-gold-700) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--color-teal-700);
  border: 2px solid var(--color-teal-600);
}

.btn-outline:hover {
  background-color: var(--color-teal-600);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

/* --- HEADER / NAVIGATION BAR --- */
.top-bar {
  background: var(--color-teal-700);
  color: var(--color-white);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  gap: 2rem;
}

.top-bar-contact a {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.top-bar-contact a:hover {
  color: var(--color-gold-200);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 2px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--color-gold-500);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.logo-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-teal-700);
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold-700);
  font-weight: 700;
  display: block;
  margin-top: -3px;
}

.nav-menu {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold-500);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-teal-600);
}

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

.nav-link.active {
  color: var(--color-teal-600);
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--color-teal-600);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(204, 251, 241, 0.35) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(254, 240, 138, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  padding: 3.75rem 0 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(13, 92, 117, 0.05);
  color: var(--color-teal-700);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(13, 92, 117, 0.1);
  margin-bottom: 1.5rem;
}

.hero-badge .star-icon {
  color: var(--color-gold-500);
}

.hero h1 {
  font-size: 3.85rem;
  font-family: var(--font-serif);
  line-height: 1.15;
  color: var(--color-teal-700);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  display: block;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold-500);
  margin-bottom: 0.75rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(13, 92, 117, 0.08);
  padding-top: 2rem;
}

.hero-stat-item h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-teal-600);
}

.hero-stat-item h4 span {
  color: var(--color-gold-500);
}

.hero-stat-item p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
}

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

.hero-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(13, 92, 117, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.hero-image-border {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 2px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  transform: translate(20px, 20px);
  z-index: 2;
  pointer-events: none;
}

.hero-image {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  position: relative;
  border: 4px solid var(--color-white);
  transition: var(--transition-smooth);
}

.hero-image:hover {
  transform: translateY(-5px);
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: floatAnimation 6s ease-in-out infinite;
}

.floating-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(13, 92, 117, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
}

.floating-badge-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-teal-700);
}

.floating-badge-text p {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

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

/* --- MEET DR. SURBHI (BIO SECTION) --- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

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

.bio-image-decorative-circle {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 2px dashed rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  top: -40px;
  left: -40px;
  z-index: 1;
}

.bio-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-white);
}

.bio-image {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.bio-image:hover {
  transform: scale(1.03);
}

.bio-experience-tag {
  position: absolute;
  bottom: -20px;
  right: 30px;
  background: var(--color-teal-600);
  color: var(--color-white);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-teal);
  z-index: 3;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bio-experience-tag h4 {
  color: var(--color-white);
  font-size: 1.8rem;
  font-weight: 800;
}

.bio-experience-tag p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.bio-content h2 {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
}

.bio-title-sub {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold-700);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.bio-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.bio-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.bio-highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bio-highlight-icon {
  width: 44px;
  height: 44px;
  background: var(--color-teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
  flex-shrink: 0;
  border: 1px solid rgba(13, 92, 117, 0.08);
}

.bio-highlight-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 0.25rem;
}

.bio-highlight-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.bio-signature-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(13, 92, 117, 0.08);
  padding-top: 2rem;
}

.bio-doc-info h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-teal-700);
}

.bio-doc-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.bio-signature {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.75rem;
  color: var(--color-gold-700);
  font-weight: 600;
}

/* --- SERVICES TAB SECTION --- */
.services-tabs-container {
  margin-top: 1.25rem;
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(13, 92, 117, 0.08);
  padding-bottom: 1.5rem;
}

.services-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid transparent;
}

.services-tab-btn:hover {
  color: var(--color-teal-600);
  background-color: var(--color-teal-50);
}

.services-tab-btn.active {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-teal-600) 0%, var(--color-teal-700) 100%);
  box-shadow: var(--shadow-teal);
}

.services-tab-btn.active svg {
  fill: var(--color-white);
}

.services-pane {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  animation: tabFadeIn 0.5s ease;
}

.services-pane.active {
  display: grid;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(13, 92, 117, 0.05);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-teal-600) 0%, var(--color-gold-500) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-teal-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(13, 92, 117, 0.06);
}

.service-card:hover .service-card-icon {
  background-color: var(--color-teal-600);
  color: var(--color-white);
  transform: scale(1.05);
}

.service-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-card-link svg {
  transition: var(--transition-fast);
}

.service-card:hover .service-card-link {
  color: var(--color-teal-600);
}

.service-card:hover .service-card-link svg {
  transform: translateX(3px);
}

/* Service Detail Modal/Overlay */
.service-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-overlay.active {
  display: flex;
  opacity: 1;
}

.service-overlay-content {
  background: var(--color-white);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.service-overlay.active .service-overlay-content {
  transform: translateY(0);
}

.service-overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
  transition: var(--transition-fast);
}

.service-overlay-close:hover {
  color: var(--color-teal-600);
}

.service-overlay-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-overlay-icon {
  width: 64px;
  height: 64px;
  background-color: var(--color-teal-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
}

.service-overlay-title h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-teal-700);
}

.service-overlay-title span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-gold-700);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-overlay-body {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}



/* --- APPOINTMENT AUTOMATION --- */
.booking-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(204, 251, 241, 0.25) 0%, rgba(255, 255, 255, 0) 50%);
}

.booking-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

.booking-info h2 {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
}

.booking-info-p {
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.booking-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.booking-benefit-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.booking-benefit-icon {
  width: 40px;
  height: 40px;
  background-color: var(--color-gold-tint);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-700);
  flex-shrink: 0;
}

.booking-benefit-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 0.25rem;
}

.booking-benefit-text p {
  font-size: 0.85rem;
}

.booking-card {
  background: var(--color-white);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--color-teal-600) 0%, var(--color-gold-500) 100%);
}

.booking-card h3 {
  font-size: 1.85rem;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
  color: var(--color-teal-700);
}

.booking-card-p {
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* Form Styling */
.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(13, 92, 117, 0.1);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background-color: var(--color-bg-base);
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-teal-600);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(13, 92, 117, 0.08);
}

.form-input.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-input.error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

.form-feedback {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.35rem;
  display: none;
}

.form-feedback.show {
  display: block;
}

.booking-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Form Success State overlay inside card */
.form-success-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  animation: fadeIn 0.4s ease;
}

.form-success-card.show {
  display: flex;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--color-teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
  margin-bottom: 2rem;
  border: 2px solid rgba(13, 92, 117, 0.1);
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.form-success-card h3 {
  font-size: 1.85rem;
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.form-success-card p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 320px;
}

/* --- PATIENT TRUST & SOCIAL --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--color-white);
  aspect-ratio: 1 / 1;
  transition: var(--transition-smooth);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(13, 92, 117, 0) 40%, rgba(13, 92, 117, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.15);
}

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

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-overlay h5 {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-card-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}



/* --- LOCATION & CONTACT (FOOTER) --- */
.contact-map-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h2 {
  font-size: 2.5rem;
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}

.contact-info-header p {
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-channel-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-channel-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-600);
  flex-shrink: 0;
  border: 1px solid rgba(13, 92, 117, 0.08);
}

.contact-channel-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-teal-700);
  margin-bottom: 0.25rem;
}

.contact-channel-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-channel-text a {
  color: var(--color-teal-600);
  text-decoration: none;
  font-weight: 600;
}

.contact-channel-text a:hover {
  color: var(--color-gold-700);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--color-white);
  height: 450px;
  background-color: var(--color-bg-alt);
  position: relative;
}

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

/* Master Footer */
.footer {
  background-color: #0c3543; /* Extra dark clinical teal */
  color: rgba(255, 255, 255, 0.7);
  padding: 6rem 0 3rem 0;
  border-top: 4px solid var(--color-gold-500);
}

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

.footer-brand h4 {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: var(--transition-fast);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-btn:hover {
  background: var(--color-gold-500);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-links-col h5 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

.footer-links-col h5::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-gold-500);
  margin-top: 0.5rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--color-gold-200);
  padding-left: 5px;
}

.footer-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.75rem 1rem;
  font-size: 0.9rem;
}

.footer-hours-day {
  color: var(--color-white);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-copyright strong {
  color: var(--color-white);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-gold-200);
}

/* --- PERSISTENT FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition-smooth);
  text-decoration: none;
  animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
  background-color: #20ba5a;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- RESPONSIVE LAYOUT BREAKPOINTS --- */
@media (max-width: 1200px) {
  html { font-size: 15px; }
  .container { padding: 0 1.5rem; }
  .hero-grid, .bio-grid, .booking-grid, .contact-map-grid { gap: 3rem; }
  .footer-grid { gap: 3rem; }
}

@media (max-width: 992px) {
  html { font-size: 14px; }
  .section { padding: 2.25rem 0; }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero h1 { font-size: 3.5rem; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrapper { order: -1; }
  
  .bio-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .bio-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .booking-info { text-align: center; max-width: 700px; margin: 0 auto; }
  .booking-benefit-list { text-align: left; }
  
  .contact-map-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .contact-info-container { order: 1; }
  .map-container { height: 400px; }
  

  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  

  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  
  .nav-menu {
    display: none; /* Mobile menu toggled via JS */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile menu open state */
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-gold-500);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    gap: 1.5rem;
    z-index: 99;
  }
  
  .nav-menu.mobile-open .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu.mobile-open .btn {
    width: 100%;
  }
  
  .services-tabs-nav {
    gap: 0.5rem;
  }
  
  .services-tab-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
  }
  

  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  

  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  

  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.75rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  
  .bio-highlights { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  
  .booking-card { padding: 2rem 1.5rem; }
  .service-overlay-content { padding: 2rem 1.5rem; }
  .service-overlay-header { flex-direction: column; text-align: center; }
}
