/* ==========================================
   NIRAMAYA ENT CLINIC STYLE SHEET
   Design Tokens, Resets, Components & Layouts
   ========================================== */

/* ------------------------------------------
   1. Design Variables & Font Setup
   ------------------------------------------ */
:root {
  /* HSL Tailored Color Palette */
  --primary-teal: 173, 80%, 40%;     /* #14b8a6 */
  --primary-dark: 173, 84%, 28%;     /* #0f766e */
  --primary-light: 173, 80%, 95%;    /* #f0fdfa */
  --accent-gold: 38, 92%, 50%;       /* #f59e0b */
  --accent-gold-dark: 38, 92%, 40%;  /* #d97706 */
  --bg-white: 0, 0%, 100%;
  --bg-light: 210, 40%, 98%;         /* #f8fafc */
  --slate-text: 215, 25%, 27%;       /* #334155 */
  --slate-dark: 217, 30%, 12%;       /* #0f172a */
  --slate-card: 215, 20%, 95%;       /* #e2e8f0 */
  --success-green: 142, 70%, 45%;    /* #22c55e */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 15px rgba(20, 184, 166, 0.3);

  /* Transition Curves */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* Base resets & box model */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: hsl(var(--bg-light));
  color: hsl(var(--slate-text));
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: hsl(var(--slate-dark));
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Common display flex utility */
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.flex-grow { flex-grow: 1; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.text-center { text-align: center; }

/* ------------------------------------------
   2. Custom Components (Buttons, Badges)
   ------------------------------------------ */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, hsl(var(--primary-teal)), hsl(var(--primary-dark)));
  color: hsl(var(--bg-white));
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  background-color: hsl(var(--bg-white));
  color: hsl(var(--primary-dark));
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  border: 2px solid hsl(var(--primary-teal));
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background-color: hsl(var(--primary-light));
  transform: translateY(-3px);
}

.badge-accent {
  display: inline-block;
  padding: 6px 14px;
  background-color: hsl(var(--primary-light));
  color: hsl(var(--primary-dark));
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.section-subtitle {
  color: hsl(var(--accent-gold-dark));
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 50px;
}

.section-desc {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: hsl(var(--slate-text));
}

/* ------------------------------------------
   3. Top Banner & Glassmorphism Header
   ------------------------------------------ */
.announcement-bar {
  background-color: hsl(var(--slate-dark));
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-contact a:hover {
  color: hsl(var(--accent-gold));
}

.top-contact .separator {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.logo-wrapper {
  gap: 12px;
}

.logo-icon {
  font-size: 2.2rem;
  background-color: hsl(var(--primary-light));
  padding: 8px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.logo-text h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: hsl(var(--primary-dark));
}

.logo-text p {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: hsl(var(--slate-text));
}

.nav-list {
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: hsl(var(--slate-text));
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: hsl(var(--accent-gold));
  border-radius: 10px;
  transition: var(--transition-fast);
}

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

.nav-btn {
  background: linear-gradient(135deg, hsl(var(--primary-teal)), hsl(var(--primary-dark)));
  color: hsl(var(--bg-white)) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger button styling */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: hsl(var(--slate-dark));
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ------------------------------------------
   4. Hero Section & Statistics
   ------------------------------------------ */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content h2 {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, hsl(var(--slate-dark)), hsl(var(--primary-dark)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 36px;
  color: hsl(var(--slate-text));
}

.hero-ctas {
  gap: 20px;
  margin-bottom: 50px;
}

.hero-stats {
  gap: 48px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: hsl(var(--primary-teal));
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--slate-text));
  margin-top: 6px;
}

/* Hero visual styling */
.hero-visual {
  position: relative;
}

.visual-card.main-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid hsl(var(--bg-white));
}

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

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

.glass-info-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-info-card h4 {
  color: hsl(var(--bg-white));
  font-size: 1.2rem;
}

.glass-info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.visual-card.badge-card {
  position: absolute;
  top: -20px;
  left: -20px;
  background-color: hsl(var(--bg-white));
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.badge-icon {
  font-size: 1.8rem;
}

.badge-card h5 {
  font-size: 0.95rem;
  color: hsl(var(--slate-dark));
}

.badge-card p {
  font-size: 0.75rem;
  color: hsl(var(--slate-text));
}

/* ------------------------------------------
   5. About Section
   ------------------------------------------ */
.about-section {
  padding: 100px 0;
  background-color: hsl(var(--bg-white));
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.border-frame {
  border: 3px solid hsl(var(--primary-teal));
  border-radius: 20px;
  padding: 12px;
  position: relative;
}

.doctor-portrait {
  width: 100%;
  height: 640px; /* Long portrait aspect ratio matching text column height */
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .doctor-portrait {
    height: 400px;
  }
}

.floating-experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: linear-gradient(135deg, hsl(var(--primary-teal)), hsl(var(--primary-dark)));
  color: hsl(var(--bg-white));
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.floating-experience-badge h3 {
  color: hsl(var(--bg-white));
  font-size: 1.4rem;
}

.floating-experience-badge p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.doctor-title {
  font-weight: 600;
  color: hsl(var(--primary-teal));
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: hsl(var(--slate-text));
  margin-bottom: 20px;
}

.qualifications {
  margin-top: 32px;
}

.qualifications h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: hsl(var(--slate-dark));
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: hsl(var(--slate-text));
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: hsl(var(--accent-gold-dark));
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

/* ------------------------------------------
   6. Services Cards
   ------------------------------------------ */
.services-section {
  padding: 100px 0;
  background: radial-gradient(circle at 10% 80%, rgba(217, 119, 6, 0.04) 0%, rgba(255, 255, 255, 0) 60%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background-color: hsl(var(--bg-white));
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 184, 166, 0.2);
}

.service-card-media {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-icon-box.ear { background-color: #fee2e2; }
.service-icon-box.nose { background-color: #e0f2fe; }
.service-icon-box.throat { background-color: #dcfce7; }

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card p {
  color: hsl(var(--slate-text));
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: hsl(var(--primary-teal));
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 0.8;
}

/* ------------------------------------------
   7. Clinical Statistics Dashboard
   ------------------------------------------ */
.stats-section {
  padding: 100px 0;
  background-color: hsl(var(--bg-light));
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.stats-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-dashboard-card {
  background-color: hsl(var(--bg-white));
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, hsl(var(--primary-teal)), hsl(var(--accent-gold)));
  opacity: 0;
  transition: var(--transition-fast);
}

.stat-dashboard-card:hover::before {
  opacity: 1;
}

.stat-dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.stat-card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.stat-card-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: hsl(var(--primary-teal));
  margin-bottom: 8px;
}

.stat-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: hsl(var(--slate-dark));
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.stat-card-desc {
  font-size: 0.85rem;
  color: hsl(var(--slate-text));
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 45px;
}

.stat-progress-bar {
  background-color: #e2e8f0;
  height: 6px;
  border-radius: 10px;
  overflow: hidden;
  width: 80%;
  margin: 0 auto;
}

.stat-progress-fill {
  background: linear-gradient(90deg, hsl(var(--primary-teal)), hsl(var(--primary-dark)));
  height: 100%;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.stat-progress-fill.active {
  transform: scaleX(1);
}

/* ------------------------------------------
   8. Media & Social Hub
   ------------------------------------------ */
.media-section {
  padding: 100px 0;
  background-color: hsl(var(--bg-white));
}

.media-tabs {
  gap: 16px;
  margin-bottom: 40px;
}

.media-tab-btn {
  background-color: hsl(var(--bg-light));
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  gap: 8px;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.media-tab-btn:hover {
  background-color: hsl(var(--primary-light));
  border-color: rgba(20, 184, 166, 0.3);
}

.media-tab-btn.active {
  background: linear-gradient(135deg, hsl(var(--primary-teal)), hsl(var(--primary-dark)));
  color: hsl(var(--bg-white));
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.media-content-viewport {
  background-color: hsl(var(--bg-light));
  border-radius: 24px;
  padding: 36px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  min-height: 380px;
  position: relative;
}

.media-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.media-panel.active {
  display: block;
  opacity: 1;
}

/* Facebook Feed panels */
.fb-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.fb-avatar {
  background-color: #1877f2;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 12px;
}

.fb-profile h4 {
  font-size: 1.1rem;
}

.fb-profile p {
  font-size: 0.8rem;
  color: hsl(var(--slate-text));
}

.fb-follow-btn {
  background-color: #1877f2;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.fb-posts-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fb-post-card {
  background-color: hsl(var(--bg-white));
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.post-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 12px;
}

.post-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.post-actions {
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 12px;
}

/* YouTube Mock panel */
.youtube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.yt-video-card {
  background-color: hsl(var(--bg-white));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.yt-thumbnail {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./assets/doctor_portrait.png') center/cover;
  height: 220px;
  position: relative;
}

.play-btn {
  background-color: #ff0000;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: var(--transition-fast);
}

.yt-video-card:hover .play-btn {
  transform: scale(1.1);
  background-color: #cc0000;
}

.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0,0,0,0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.yt-info {
  padding: 16px;
}

.yt-info h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.yt-info p {
  font-size: 0.8rem;
  color: #64748b;
}

/* WhatsApp Panel styling */
.wa-interactive-box {
  max-width: 600px;
  margin: 0 auto;
  background-color: #efeae2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.wa-chat-header {
  background-color: #075e54;
  color: white;
  padding: 16px 20px;
  gap: 16px;
}

.wa-chat-header h4 {
  color: white;
  font-size: 1.1rem;
}

.wa-chat-header p {
  font-size: 0.8rem;
  opacity: 0.9;
}

.avatar-green {
  background-color: #25d366;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.wa-chat-body {
  padding: 24px;
  height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wa-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.wa-msg.received {
  background-color: white;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-msg.sent {
  background-color: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-chat-footer {
  background-color: #f0f2f5;
  padding: 12px 16px;
  gap: 12px;
}

.wa-chat-footer input {
  flex-grow: 1;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  outline: none;
  font-size: 0.9rem;
}

.wa-chat-footer button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.wa-chat-footer button:hover {
  background-color: #128c7e;
}

/* ------------------------------------------
   9. Clinic Gallery Carousel
   ------------------------------------------ */
.gallery-section {
  padding: 100px 0;
}

.gallery-carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.carousel-main {
  position: relative;
  height: 480px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.85));
  padding: 40px;
  color: white;
  z-index: 20;
}

.slide-caption h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.slide-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 30;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background-color: hsl(var(--primary-teal));
  border-color: transparent;
}

.carousel-nav-btn.prev { left: 20px; }
.carousel-nav-btn.next { right: 20px; }

.carousel-indicators {
  margin-top: 20px;
  gap: 10px;
}

.carousel-indicators .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-indicators .indicator.active {
  background-color: hsl(var(--primary-teal));
  transform: scale(1.2);
}

/* ------------------------------------------
   10. Contact Form & Map Zoom Container
   ------------------------------------------ */
.contact-section {
  padding: 100px 0;
  background-color: hsl(var(--bg-white));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.booking-card {
  background-color: hsl(var(--bg-light));
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
}

.booking-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.booking-card p {
  color: hsl(var(--slate-text));
  margin-bottom: 30px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--slate-dark));
}

.form-field input, .form-field select, .form-field textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: hsl(var(--primary-teal));
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card {
  gap: 36px;
}

.address-paragraph {
  line-height: 1.7;
  font-size: 1.1rem;
  color: hsl(var(--slate-text));
}

.hours-row {
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
  padding: 10px 0;
}

.hours-row.closed span {
  color: #ef4444;
}

/* Sky-Zoom Map styling */
.sky-zoom-map-container {
  position: relative;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid hsl(var(--bg-white));
  cursor: pointer;
}

.map-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  transition: transform 2.5s cubic-bezier(0.25, 1, 0.3, 1), opacity 2s ease;
}

.satellite-layer {
  background-image: url('./assets/satellite_map.png');
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}

.vector-layer {
  background-image: url('./assets/street_map.png');
  opacity: 0;
  z-index: 2;
  transform: scale(0.4);
}

.clinic-pin-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2.5rem;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s;
}

.map-zoom-prompt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
  color: white;
  z-index: 4;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.prompt-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  animation: pulseGlow 2s infinite;
}

.map-redirect-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: hsl(var(--slate-dark));
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.map-redirect-btn:hover {
  background-color: hsl(var(--accent-gold-dark));
}

/* Active Zoom Animation Trigger Classes */
.sky-zoom-map-container.zoomed .satellite-layer {
  transform: scale(8);
  opacity: 0;
}

.sky-zoom-map-container.zoomed .vector-layer {
  transform: scale(1.0);
  opacity: 1;
}

.sky-zoom-map-container.zoomed .clinic-pin-marker {
  transform: translate(-50%, -50%) scale(1.2);
  animation: bouncePin 1.5s infinite 2.5s;
}

.sky-zoom-map-container.zoomed .map-zoom-prompt {
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------
   11. Appointment Modal
   ------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: hsl(var(--bg-white));
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

.success-icon {
  background-color: #dcfce7;
  color: #22c55e;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  margin: 0 auto 24px;
}

.modal-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-card p {
  color: hsl(var(--slate-text));
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.summary-box {
  background-color: hsl(var(--bg-light));
  padding: 16px 20px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid rgba(15, 23, 42, 0.05);
  margin-bottom: 24px;
}

.summary-box p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.disclaimer {
  font-size: 0.75rem !important;
  color: #64748b !important;
}

/* ------------------------------------------
   12. Floating WhatsApp Chat Widget
   ------------------------------------------ */
.wa-floating-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
}

.wa-widget-bubble {
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition-smooth);
}

.wa-widget-bubble:hover {
  transform: scale(1.1) rotate(10deg);
}

.badge-online {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background-color: #4ade80;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
}

.wa-widget-box {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 320px;
  background-color: #efeae2;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
}

.wa-widget-box.active {
  display: flex;
}

.wa-widget-header {
  background-color: #075e54;
  color: white;
  padding: 14px 18px;
  gap: 12px;
  position: relative;
}

.wa-widget-header h4 {
  color: white;
  font-size: 0.95rem;
}

.wa-widget-header p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.wa-widget-header .avatar {
  background-color: #25d366;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.close-wa-widget {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0.8;
}

.wa-widget-body {
  padding: 16px;
  height: 180px;
  overflow-y: auto;
}

.wa-widget-body .received {
  background-color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  border-top-left-radius: 0;
}

.wa-widget-footer {
  background-color: #f0f2f5;
  padding: 8px 12px;
  gap: 8px;
}

.wa-widget-footer input {
  flex-grow: 1;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  outline: none;
  font-size: 0.8rem;
}

.wa-widget-footer button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ------------------------------------------
   13. Footer Section
   ------------------------------------------ */
.main-footer {
  background-color: hsl(var(--slate-dark));
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  margin-bottom: 32px;
}

.logo-icon-lg {
  font-size: 2.8rem;
  background-color: rgba(20, 184, 166, 0.15);
  padding: 12px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo h2 {
  color: white;
  font-size: 1.8rem;
}

.social-links-row {
  gap: 16px;
  margin-bottom: 40px;
}

.social-icon {
  background-color: rgba(255, 255, 255, 0.05);
  width: 140px;
  padding: 10px 0;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background-color: hsl(var(--primary-teal));
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.social-icon.wa:hover {
  background-color: #25d366;
}

.social-icon.fb:hover {
  background-color: #1877f2;
}

.main-footer .divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.copyright {
  font-size: 0.8rem;
}

/* ------------------------------------------
   14. Animations
   ------------------------------------------ */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

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

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

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

/* ------------------------------------------
   15. Media Queries (Laptop, Tablet, Mobile)
   ------------------------------------------ */

/* Laptop (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 2.8rem;
  }
  .services-grid {
    gap: 24px;
  }
  .stats-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  /* Navigation display controls */
  .nav-toggle-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: hsl(var(--bg-white));
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    padding: 40px;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  /* Hero Overrides */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .visual-card.badge-card {
    left: 20px;
  }
  .visual-card img {
    height: 320px;
  }

  /* Grid layouts overrides */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .stats-dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fb-posts-mock-grid, .youtube-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .announcement-bar .top-contact {
    display: none;
  }
  .hero-content h2 {
    font-size: 2.2rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  .hero-ctas a {
    text-align: center;
    width: 100%;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stats-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .carousel-main {
    height: 320px;
  }
  .booking-card {
    padding: 24px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .doctor-portrait {
    height: 400px;
  }
  .floating-experience-badge {
    padding: 12px 20px;
  }
  .floating-experience-badge h3 {
    font-size: 1.1rem;
  }
}

/* ------------------------------------------
   14. Animated Welcome Splash Screen
   ------------------------------------------ */
.welcome-splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.welcome-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-card {
  background-color: hsl(var(--bg-white));
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.welcome-splash.hidden .splash-card {
  transform: scale(0.85);
}

.cartoon-doctor-wrapper {
  width: 130px;
  height: 150px;
  margin-bottom: 24px;
}

.cartoon-doctor {
  width: 100%;
  height: 100%;
  animation: doctor-bob 3s ease-in-out infinite;
}

.waving-hand {
  transform-origin: 78px 80px;
  animation: hand-wave 1.6s ease-in-out infinite;
}

.speech-bubble {
  position: relative;
  background-color: hsl(var(--bg-light));
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: transparent transparent hsl(var(--bg-light)) transparent;
}

.speech-bubble p {
  font-family: 'Outfit', sans-serif;
  font-weight: 750;
  font-size: 1.35rem;
  color: hsl(var(--primary-teal));
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* Waving & Bobbing Animations */
@keyframes doctor-bob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes hand-wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-25deg);
  }
}
