/* ==========================================================================
   Dr. Kirthi Paladugu - Custom Luxe Orthopedic Website Stylesheet (Vanilla CSS)
   ========================================================================== */

/* 1. Design Tokens / System Variables */
:root {
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Marcellus', Georgia, serif;
  
  /* Theme Colors (Elegant Champagne & Deep Slate Blue) */
  --color-bg: #fdfcfb;
  --color-fg: #151c28;
  
  --color-primary: #1e7fa8;         /* Robotic/Clinical Blue */
  --color-primary-hover: #166587;
  --color-primary-light: rgba(30, 127, 168, 0.1);
  --color-primary-border: rgba(30, 127, 168, 0.2);
  
  --color-secondary: #cc9f66;       /* Luxe Gold */
  --color-secondary-hover: #b58953;
  --color-secondary-light: rgba(204, 159, 102, 0.1);
  
  --color-muted-bg: #f6f3ee;        /* Warm Neutral Soft */
  --color-muted-fg: #606774;        /* Gray/Slate text */
  --color-border: #e6e3df;          /* Fine light border */
  
  --color-card-bg: rgba(255, 255, 255, 0.4);
  --color-card-hover-bg: rgba(255, 255, 255, 0.6);
  --color-card-border: rgba(255, 255, 255, 0.6);
  
  --color-dark-bg: #0f172a;         /* Deep slate/black */
  --color-dark-fg: #f8fafc;
  --color-dark-muted-fg: #94a3b8;
  --color-dark-card-bg: rgba(255, 255, 255, 0.05);
  --color-dark-card-border: rgba(255, 255, 255, 0.1);
  
  /* Radii */
  --radius-lg: 2rem;                /* 32px */
  --radius-md: 1rem;                /* 16px */
  --radius-sm: 0.5rem;              /* 8px */
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  --shadow-luxe: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
  --shadow-luxe-hover: 0 48px 80px -24px rgba(0, 0, 0, 0.12);
  
  /* Grid & Breakpoints constants for reference */
  --container-max-width: 1200px;
}

/* 2. Base Document / Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-fg);
  background-color: var(--color-bg);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg);
  color: var(--color-fg);
  min-height: 100vh;
  /* Soft elegant mesh gradients pinned behind page */
  background-image:
    radial-gradient(at 0% 0%, hsla(35, 60%, 92%, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 100%, hsla(195, 70%, 95%, 0.4) 0px, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-left: 0; 
  padding-right: 0;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.2;
}

p {
  color: var(--color-muted-fg);
  font-weight: 300;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

/* 3. Common Layout & Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  padding: 0 0.225rem;
  box-sizing: border-box;
}

/* Luxe Cards (Glassmorphism layout) */
.luxe-card {
  background-color: var(--color-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-luxe);
  border-radius: var(--radius-lg);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxe-card:hover {
  background-color: var(--color-card-hover-bg);
  transform: translateY(-8px);
  box-shadow: var(--shadow-luxe-hover);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(30, 127, 168, 0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 20px 25px -5px rgba(30, 127, 168, 0.3);
}

.btn-luxe {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-luxe:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Subtle white sheen sliding overlay */
.btn-luxe .sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-15deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-luxe:hover .sheen {
  transform: skewX(-15deg) translateX(100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-fg);
  border: 1px solid var(--color-border);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--color-fg);
  background-color: rgba(21, 28, 40, 0.02);
}

/* Luxe Gradient Title text */
.text-luxe-gradient {
  color: var(--color-fg);
  background-image: linear-gradient(45deg, var(--color-primary), var(--color-fg), var(--color-secondary));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: gradient-shift 8s ease infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .text-luxe-gradient {
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Image photo framing effect */
.photo-frame {
  position: relative;
}

.photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-lg);
  margin: -1.5rem;
  pointer-events: none;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-frame:hover::after {
  margin: -1rem;
}

/* Animations */
.animate-float {
  animation: float-badge 4s ease-in-out infinite;
}

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

.animate-bounce-x {
  animation: bounce-x 2s infinite;
}

@keyframes bounce-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.animate-pulse-slow {
  animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.5; }
}

/* Scroll Reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 2.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.reveal-left {
  transform: translateX(-120px);
}

.reveal.reveal-right {
  transform: translateX(120px);
}

.reveal.reveal-top {
  transform: translateY(-120px);
}

.reveal.reveal-bottom {
  transform: translateY(120px);
}

.reveal.reveal-scale {
  transform: scale(0.9);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  color: #151c28;
  filter: saturate(1.05);
}

/* General typography sections spacing */
.section-heading {
  font-size: 3rem;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

@media (max-width: 768px) {
  .section-heading {
    font-size: 2.25rem;
    white-space: normal;
  }
}

/* ==========================================================================
   4. Component Styles
   ========================================================================== */

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  padding-top: 2rem;
  padding-bottom: 2rem;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-primary-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon-wrapper {
  position: relative;
}

.logo-glow {
  position: absolute;
  inset: 0;
  background-color: var(--color-primary-light);
  filter: blur(16px);
  border-radius: 50%;
}

.logo-icon {
  height: 2rem;
  width: 2rem;
  color: var(--color-primary);
  position: relative;
  z-index: 10;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1;
}

.logo-span {
  color: var(--color-primary);
}

.logo-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.logo-line {
  height: 1px;
  width: 1rem;
  background-color: rgba(30, 127, 168, 0.3);
}

.logo-tagline {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-muted-fg);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(21, 28, 40, 0.8);
}

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

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Book Appointment Nav Button */
.btn-nav-book {
  border-radius: var(--radius-sm);
  height: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  box-shadow: 0 10px 15px -3px rgba(30, 127, 168, 0.2);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-fg);
  padding: 0.5rem;
}

.mobile-menu-btn i {
  height: 1.5rem;
  width: 1.5rem;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(230, 227, 223, 0.5);
  display: block;
}

.mobile-nav-link:last-of-type {
  border-bottom: none;
}

.btn-mobile-book {
  margin-top: 0.5rem;
  width: 100%;
  height: 2.75rem;
  box-shadow: 0 10px 15px -3px rgba(30, 127, 168, 0.2);
  border-radius: var(--radius-sm);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: flex-start;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-mesh-1, .hero-mesh-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: blur(120px);
  z-index: -10;
}

.hero-mesh-1 {
  background: radial-gradient(circle, hsla(35, 60%, 92%, 1) 0%, transparent 70%);
  top: -50%;
  left: -50%;
  animation: mesh-rotate-1 40s linear infinite;
}

.hero-mesh-2 {
  background: radial-gradient(circle, hsla(195, 70%, 95%, 1) 0%, transparent 70%);
  bottom: -50%;
  right: -50%;
  animation: mesh-rotate-2 35s linear infinite;
}

@keyframes mesh-rotate-1 {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes mesh-rotate-2 {
  0% { transform: rotate(360deg) scale(1.2); }
  50% { transform: rotate(180deg) scale(1); }
  100% { transform: rotate(0deg) scale(1.2); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3rem;
  align-items: flex-start;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 3rem;
}

.hero-badge-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge-line {
  height: 2px;
  width: 5rem;
  background-color: var(--color-secondary);
  border-radius: 9999px;
  margin-top: 0;
}

.hero-badge-text {
  color: var(--color-secondary);
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-top: -0.3rem;
}

.hero-title {
  font-size: clamp(4.8rem, 15vw, 11.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.hero-title .italic {
  display: inline-block;
  font-style: italic;
  color: var(--color-secondary);
  -webkit-text-fill-color: currentColor;
  margin-top: 0;
}

.hero-desc {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 40rem;
}

.hero-desc-highlight {
  color: var(--color-fg);
  border-bottom: 1px solid rgba(204, 159, 102, 0.3);
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.btn-hero-consult {
  height: 5rem;
  padding-left: 3rem;
  padding-right: 3rem;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0;
}

.btn-hero-discover {
  height: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  color: var(--color-fg);
  font-size: 1.125rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.btn-hero-discover:hover {
  color: var(--color-secondary);
}

/* Hero Image Column */
.hero-image-col {
  position: relative;
  width: min(100%, 28rem);
  margin-left: auto;
  margin-right: auto;
}

.doctor-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 26rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-left: auto;
  margin-right: auto;
  transform: scale(0.92);
  opacity: 0;
  animation: hero-pop-in 900ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 150ms;
}

.doctor-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s ease;
}

@keyframes hero-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.doctor-photo-wrapper:hover img {
  transform: scale(1.1);
}

/* Floating Info Tag */
.hero-info-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  padding: 2rem;
  min-width: 280px;
  background-color: var(--color-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 20;
}

.badge-tag {
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.badge-name {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.badge-title {
  color: var(--color-muted-fg);
  font-size: 0.875rem;
}

/* --- Prestige Stats Section --- */
.stats-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,127,168,0.1), var(--color-bg), rgba(204,159,102,0.1));
  transform: skewY(-3deg) scale(1.1);
  z-index: -10;
  transition: transform 1s ease;
}

.stats-section:hover .stats-bg {
  transform: skewY(0deg) scale(1);
}

.stats-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(30,127,168,0.05), transparent 70%);
  z-index: -10;
}

.stats-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 3rem;
  font-family: var(--font-heading);
  transition: transform 0.3s ease;
}

.stat-number:hover {
  transform: scale(1.1);
}

.stat-label {
  color: var(--color-muted-fg);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 900;
}

/* --- Specialties (Expertise) --- */
.expertise-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.expertise-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

.expertise-header h2 {
  flex: none;
}

.expertise-header p {
  max-width: 40rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 auto;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.expertise-card {
  padding: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform-origin: center;
  will-change: transform, opacity;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.expertise-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 127, 168, 0.2);
}

.expertise-icon-box {
  background-color: #eff6ff;
  padding: 1rem;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon-box {
  background-color: var(--color-primary);
  color: #ffffff;
}

.expertise-card:hover .expertise-icon-box i {
  color: #ffffff;
}

.expertise-info h3 {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.expertise-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.expertise-points-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.expertise-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}

.expertise-bullet {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* --- About Section --- */
.about-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: var(--color-dark-bg);
  color: var(--color-dark-fg);
  position: relative;
  overflow: hidden;
}

.about-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.about-inner {
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Profile Image Sidebar */
.about-sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
}

.about-profile-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.28);
}

.about-img-frame {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.08);
}

.about-img-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  top: 0;
}

.about-profile-caption {
  padding: 0.85rem 0.15rem 0;
}

.about-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.about-profile-caption h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.about-profile-caption p:last-child {
  color: var(--color-dark-muted-fg);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-quick-facts {
  background-color: rgba(8, 15, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

.quick-facts-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: #dbeafe;
  margin-bottom: 0.75rem;
}

.about-quick-facts h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #eff6ff;
}

.fact-item span {
  color: #eff6ff;
}

.fact-item i {
  color: #fbbf24;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
}

/* About Main Content Column */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 0;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.22);
}

.profile-tab-btn {
  border: none;
  background: transparent;
  color: var(--color-dark-muted-fg);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.profile-tab-btn:hover,
.profile-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.profile-tab-panels {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.22);
}

.profile-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.profile-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.profile-panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.profile-panel-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--color-secondary);
}

.profile-panel-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
}

.profile-copy-grid {
  display: grid;
  gap: 0.9rem;
  color: var(--color-dark-muted-fg);
  line-height: 1.7;
}

.profile-copy-grid p {
  color: var(--color-dark-muted-fg);
}

.profile-education-grid,
.profile-membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-education-card,
.profile-experience-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.profile-education-card h4,
.profile-experience-card h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.profile-education-card p,
.profile-experience-card p {
  color: var(--color-primary);
  font-size: 0.92rem;
}

.profile-education-card span {
  font-size: 0.9rem;
  color: var(--color-dark-muted-fg);
}

.profile-experience-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.profile-experience-card {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.profile-experience-card .experience-tag {
  align-self: flex-start;
}

.profile-membership-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.profile-membership-grid .membership-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 2.75rem;
}

.about-sub-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-sub-section h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-section-line {
  height: 4px;
  width: 2rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  display: inline-block;
}

.about-paragraphs {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-dark-fg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-bio-toggle {
  align-self: flex-start;
  margin-top: 1rem;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  height: 2.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.btn-bio-toggle:hover {
  background-color: #ffffff;
  color: var(--color-fg);
}

/* Collapsible Full Bio */
.about-bio-collapsible {
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.5s ease-out;
}

.about-bio-collapsible.show {
  display: block;
}

.collapsible-inner {
  padding-top: 2rem;
  border-top: 1px solid var(--color-dark-border);
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.collapsible-block h1 {
  font-family: var(--font-sans);
  color: var(--color-secondary);
  font-weight: 1700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.collapsible-block p {
  color: var(--color-dark-text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* Education Cards block */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease;
}

.education-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.education-icon-box {
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.education-icon-box i {
  height: 1.5rem;
  width: 1.5rem;
}

.education-details h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-dark-fg);
}

.education-place {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.education-desc {
  color: var(--color-dark-muted-fg);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Experience block */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.experience-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-dark-border);
}

.experience-item:last-of-type {
  border-bottom: none;
}

.experience-details h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.experience-place {
  color: #e5eef6;
  font-size: 0.95rem;
}

.experience-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Memberships block */
.memberships-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.membership-tag {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-dark-muted-fg);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- Media & Updates Section --- */
.media-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
  background-color: rgba(255, 255, 255, 0.6);
}

.media-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

.media-header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.media-line {
  height: 4px;
  width: 6rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
}

.media-header-right {
  max-width: 40rem;
}

.media-header-desc {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-youtube {
  background-color: #FF0000;
  color: #ffffff;
  height: 4rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.15);
}

.btn-youtube:hover {
  background-color: #CC0000;
  box-shadow: 0 15px 25px rgba(255, 0, 0, 0.25);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1.875rem;
}

.video-thumbnail-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.video-card:hover .video-thumbnail-wrapper img {
  transform: scale(1.1);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.play-icon-box {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.5rem;
  border-radius: 50%;
}

.play-icon-box i {
  color: #ffffff;
  fill: #ffffff;
  height: 2.5rem;
  width: 2.5rem;
}

.video-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.150s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-fg);
  line-height: 1.3;
  opacity: 0;
  transform: translateY(10px);
  transition: color 0.3s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card.active .video-card-body,
.video-card.active .video-card-body h3,
.video-card.active .video-card-body p,
.video-card.active .video-card-footer {
  opacity: 1;
  transform: translateY(0);
}

.video-card.active .video-card-body h3 {
  transition-delay: 40ms;
}

.video-card.active .video-card-body p {
  transition-delay: 80ms;
}

.video-card.active .video-card-footer {
  transition-delay: 120ms;
}

.video-card:hover .video-card-body h3 {
  color: var(--color-primary);
}

.video-card-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.video-card-footer i {
  height: 0.75rem;
  width: 0.75rem;
}

/* --- Patient Education Section --- */
.articles-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: rgba(30, 127, 168, 0.01);
}

.articles-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.articles-header p {
  max-width: 40rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0 auto;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.article-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.article-category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: block;
}

.article-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: color 0.3s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 200ms);
}

.article-card:hover h3 {
  color: var(--color-primary);
}

.article-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 200ms);
}

.article-action-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 220ms);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.article-action-link i {
  height: 0.75rem;
  width: 0.75rem;
  transition: transform 0.3s ease;
}

.article-card.active h3,
.article-card.active p,
.article-card.active .article-action-link {
  opacity: 1;
  transform: translateY(0);
}

.article-card:hover .article-action-link i {
  transform: translateX(4px);
}

/* --- Contact & Inquiry Section --- */
.contact-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
  background-color: rgba(255, 255, 255, 0.4);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  width: 100%;
  margin-left: 250px;
}

.contact-heading-wrap .section-heading {
  margin-left: auto;
  margin-right: auto;
}

.contact-content-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 120ms);
}

.contact-title-line {
  height: 4px;
  width: 6rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  margin: 0 auto;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  background-color: var(--color-primary-light);
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon i {
  height: 1.5rem;
  width: 1.5rem;
}

.contact-detail-text h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
}

.contact-detail-text p {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.contact-detail-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 0.25rem;
  display: inline-block;
}

.contact-detail-link:hover {
  text-decoration: underline;
}

/* Hospital Location Cards block */
.hospital-cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid rgba(30, 127, 168, 0.1);
  padding-top: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 180ms);
}

.hospital-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}

.hospital-card-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.hospital-card-icon i {
  height: 2rem;
  width: 2rem;
}

.hospital-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.hospital-card-info p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.hospital-card-info span {
  font-weight: 500;
  color: var(--color-fg);
}

.contact-note {
  font-size: 0.875rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 240ms);
}

.contact-info-panel.active .contact-heading-wrap,
.contact-info-panel.active .contact-content-wrap,
.contact-info-panel.active .hospital-cards,
.contact-info-panel.active .contact-note,
.inquiry-card-wrapper.active .inquiry-card-header,
.inquiry-card-wrapper.active #inquiry-form {
  opacity: 1;
  transform: translateY(0);
}

/* Inquiry Form card container */
.inquiry-card-wrapper {
  position: relative;
}

.inquiry-card {
  padding: 3.5rem;
  position: relative;
  background-color: var(--color-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-luxe);
  border-radius: 2rem;
  top: 60px;
}

.inquiry-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: var(--color-primary-light);
  filter: blur(60px);
  z-index: -10;
}

.inquiry-card-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 120ms);
}

.inquiry-card-header h3 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--color-fg);
}

.inquiry-card-header p {
  font-size: 1.125rem;
}

.inquiry-header-line {
  height: 1px;
  width: 6rem;
  background-color: var(--color-primary);
}

/* Feedback blocks */
.form-feedback {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.form-feedback.hidden {
  display: none;
}

.form-feedback-error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
}

.form-feedback-success {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #15803d;
}

#inquiry-form {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 180ms);
}

/* Forms Fields styling */
.form-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group.grid-col-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.form-group-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-label {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 10px;
  font-weight: 700;
}

.form-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-primary-border);
  border-radius: 0;
  height: 3.5rem;
  color: var(--color-fg);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-input::placeholder {
  color: rgba(96, 103, 116, 0.4);
}

.form-input:focus {
  border-bottom-color: var(--color-primary);
}

.form-textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--color-primary-border);
  border-radius: 0;
  min-height: 100px;
  resize: vertical;
  color: var(--color-fg);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-textarea::placeholder {
  color: rgba(96, 103, 116, 0.4);
}

.form-textarea:focus {
  border-bottom-color: var(--color-primary);
}

.btn-form-submit {
  width: 100%;
  height: 4rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 2rem;
  box-shadow: 0 10px 15px -3px rgba(30, 127, 168, 0.2);
}

/* Contact background glow blur overlay */
.contact-decor-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(30, 127, 168, 0.03);
  filter: blur(100px);
  border-radius: 50%;
  z-index: -10;
  pointer-events: none;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-dark-bg);
  color: var(--color-dark-fg);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--color-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

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

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
}

.footer-col h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ffffff;
}

.footer-col p {
  color: var(--color-dark-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Social links list */
.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  color: var(--color-dark-text-muted);
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: var(--color-primary);
}

.footer-social-link i {
  height: 1.25rem;
  width: 1.25rem;
}

/* Regular links list */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-links-list a {
  color: var(--color-dark-text-muted);
  transition: color 0.3s ease;
}

.footer-links-list a:hover {
  color: var(--color-primary);
}

/* Contact info list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-item i {
  color: var(--color-primary);
  height: 1.25rem;
  width: 1.25rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--color-dark-text-muted);
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

/* Clinic hours block */
.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-hour-day {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark-text-muted);
}

.footer-hour-day i {
  color: #475569;
  height: 1rem;
  width: 1rem;
}

.footer-hour-time {
  color: #ffffff;
}

.footer-hour-time.highlight {
  color: var(--color-primary);
}

.footer-separator {
  height: 1px;
  background-color: var(--color-dark-border);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-dark-text-muted);
}

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

.footer-bottom-links a:hover {
  color: #cbd5e1;
}

/* --- Article Detail Overlay Modal --- */
.article-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-modal.hidden {
  display: none;
}

.modal-content-card {
  background-color: #ffffff;
  border-radius: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 56rem;          /* 896px */
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
}

.article-modal.show-active {
  opacity: 1;
}

.article-modal.show-active .modal-content-card {
  transform: scale(1);
  opacity: 1;
}

/* Sticky Modal Header */
.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background-color: #ffffff;
  z-index: 10;
}

.modal-header-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-category-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.modal-header h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-fg);
  font-weight: 700;
}

.btn-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-muted-fg);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.btn-modal-close:hover {
  background-color: #f1f5f9;
  color: var(--color-fg);
}

.btn-modal-close i {
  height: 1.5rem;
  width: 1.5rem;
}

/* Modal Content body */
.modal-body {
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-byline {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.byline-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.byline-item i {
  height: 1rem;
  width: 1rem;
}

.modal-article-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(21, 28, 40, 0.8);
  font-weight: 300;
}

.modal-article-text p {
  color: rgba(21, 28, 40, 0.8);
  margin-bottom: 1rem;
}

/* Prevent document scroll when modal is open */
body.overflow-hidden {
  overflow: hidden;
}

/* ==========================================================================
   5. Responsive Media Queries
   ========================================================================== */

/* --- 1. Large Devices & Desktops (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .nav-links {
    display: none; /* Hide Desktop links */
  }

  .mobile-menu-btn {
    display: block; /* Show menu toggle */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-badge-area {
    align-items: center;
  }

  .hero-btn-group {
    justify-content: center;
  }

  .hero-image-col {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

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

  .about-sidebar {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
  }

  .about-img-frame {
    flex: 1;
    max-width: 20rem;
    margin-top: 0;
  }

  .about-quick-facts {
    flex: 1.5;
  }

  .media-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

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

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* --- 2. Medium Devices & Tablets (max-width: 768px) --- */
@media (max-width: 768px) {
  body {
    background-image:
      radial-gradient(at 0% 0%, hsla(35, 60%, 92%, 0.3) 0px, transparent 60%),
      radial-gradient(at 100% 100%, hsla(195, 70%, 95%, 0.3) 0px, transparent 60%);
  }

  .about-sidebar {
    flex-direction: column;
    align-items: stretch;
  }

  .about-img-frame {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: 20rem;
  }

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

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .inquiry-card {
    padding: 2rem 1.5rem;
  }

  .form-group.grid-col-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

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

/* --- 3. Small Devices & Phones (max-width: 480px) --- */
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.25rem;
  }
  
  .hero-section {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .btn-hero-consult {
    width: 100%;
  }

  .btn-hero-discover {
    width: 100%;
    justify-content: center;
  }

  .hero-info-badge {
    left: -1rem;
    right: -1rem;
    min-width: auto;
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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