/* Hospital Maranatha - Diseño Digital Premium Ultra-Pro */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════
   1. DESIGN TOKENS & CSS VARIABLES
   ═══════════════════════════════════════════════════ */
:root {
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
  
  /* Brand Colors */
  --navy-deep: #0a1835;
  --navy-primary: #12306c;
  --navy-light: #1e4b9e;
  --red-primary: #d32f2f;
  --red-dark: #9a0007;
  --red-light: #ef5350;
  
  /* System Colors - Light Theme */
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-solid: #ffffff;
  --border-color: rgba(18, 48, 108, 0.06);
  --text-main: #0f172a;
  --text-muted: #475569;
  --shadow-color: rgba(18, 32, 63, 0.04);
  --shadow-lg: rgba(18, 32, 63, 0.08);
  --dot-active: var(--navy-primary);
  --dot-inactive: rgba(18, 48, 108, 0.15);
  --section-divider: rgba(18, 48, 108, 0.06);
}

body.dark-theme {
  --bg-main: #050b18;
  --bg-card: rgba(10, 24, 53, 0.95);
  --bg-card-solid: #0a1835;
  --border-color: rgba(255, 255, 255, 0.06);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --shadow-color: rgba(0, 0, 0, 0.25);
  --shadow-lg: rgba(0, 0, 0, 0.4);
  --dot-active: var(--red-light);
  --dot-inactive: rgba(239, 83, 80, 0.2);
  --section-divider: rgba(255, 255, 255, 0.04);
}

/* ═══════════════════════════════════════════════════
   2. BASE RESET & TYPOGRAPHY
   ═══════════════════════════════════════════════════ */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-inter);
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-outfit);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════
   3. SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ═══════════════════════════════════════════════════
   4. GLASSMORPHISM PANELS
   ═══════════════════════════════════════════════════ */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px -8px var(--shadow-color);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════
   5. BACKGROUND GLOW EFFECTS
   ═══════════════════════════════════════════════════ */
.glow-spot {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}

body.dark-theme .glow-spot {
  opacity: 0.1;
}

.glow-blue {
  background: radial-gradient(circle, #1e4b9e 0%, transparent 70%);
}

.glow-red {
  background: radial-gradient(circle, #ef5350 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════
   6. ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: 3s;
}

@keyframes blob-bounce {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.03); }
  66% { transform: translate(-15px, 20px) scale(0.98); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
  animation: blob-bounce 15s infinite alternate ease-in-out;
}

.animate-blob-delayed {
  animation: blob-bounce 20s infinite alternate ease-in-out;
  animation-delay: 5s;
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ═══════════════════════════════════════════════════
   7. PULSATING INDICATORS
   ═══════════════════════════════════════════════════ */
@keyframes pulse-red {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(211, 47, 47, 0.2); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

.pulse-dot-red {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--red-primary);
  animation: pulse-red 2s infinite ease-in-out;
}

/* ═══════════════════════════════════════════════════
   8. PREMIUM CARDS
   ═══════════════════════════════════════════════════ */
.gradient-border-card {
  position: relative;
  border-radius: 1.5rem;
  background: var(--bg-card);
  z-index: 10;
  box-shadow: 0 4px 24px -6px var(--shadow-color);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease;
}

.gradient-border-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(18, 48, 108, 0.12), rgba(211, 47, 47, 0.04), rgba(18, 48, 108, 0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: all 0.4s ease;
}

.gradient-border-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px var(--shadow-lg);
}

body.dark-theme .gradient-border-card:hover {
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
}

.gradient-border-card:hover::before {
  background: linear-gradient(135deg, var(--navy-light), rgba(211, 47, 47, 0.5), var(--navy-primary));
}

/* ═══════════════════════════════════════════════════
   9. TAB STYLING
   ═══════════════════════════════════════════════════ */
.tab-btn {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-primary), var(--red-primary));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 99px;
}

.tab-btn.active::after {
  width: 80%;
}

.tab-btn.active {
  color: var(--navy-primary) !important;
  background-color: rgba(18, 48, 108, 0.05);
  border-color: rgba(18, 48, 108, 0.12);
}

body.dark-theme .tab-btn.active {
  color: var(--red-light) !important;
  background-color: rgba(211, 47, 47, 0.08);
  border-color: rgba(211, 47, 47, 0.2);
}

body.dark-theme .tab-btn.active::after {
  background: linear-gradient(90deg, var(--red-primary), var(--red-light));
}

/* ═══════════════════════════════════════════════════
   10. FORM INPUTS
   ═══════════════════════════════════════════════════ */
input, select, textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(18, 48, 108, 0.1) !important;
  color: var(--text-main) !important;
}

body.dark-theme input, 
body.dark-theme select, 
body.dark-theme textarea {
  background-color: rgba(18, 32, 63, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy-primary) !important;
  box-shadow: 0 0 0 4px rgba(18, 48, 108, 0.06);
  background-color: #ffffff !important;
}

body.dark-theme input:focus, 
body.dark-theme select:focus, 
body.dark-theme textarea:focus {
  border-color: var(--red-primary) !important;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.08);
  background-color: rgba(18, 32, 63, 0.4) !important;
}

/* ═══════════════════════════════════════════════════
   11. PREMIUM BUTTONS
   ═══════════════════════════════════════════════════ */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  border-radius: 9999px;
}

.btn-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
  z-index: -2;
}

.btn-premium::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-premium:hover::before {
  opacity: 1;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(18, 48, 108, 0.35);
}

.btn-premium-red {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  border-radius: 9999px;
}

.btn-premium-red::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  z-index: -2;
}

.btn-premium-red::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red-primary) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-premium-red:hover::before {
  opacity: 1;
}

.btn-premium-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px rgba(211, 47, 47, 0.35);
}

/* ═══════════════════════════════════════════════════
   12. STATS COUNTER BAR
   ═══════════════════════════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--section-divider);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px -6px var(--shadow-color);
}

.stat-item {
  background: var(--bg-card-solid);
  padding: 2rem 1rem;
  text-align: center;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(211, 47, 47, 0.03);
}

body.dark-theme .stat-item:hover {
  background: rgba(211, 47, 47, 0.06);
}

.stat-number {
  font-family: var(--font-outfit);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.375rem;
}

@media (max-width: 640px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════
   13. SECTION DIVIDER
   ═══════════════════════════════════════════════════ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--section-divider), rgba(211, 47, 47, 0.08), var(--section-divider), transparent);
}

/* ═══════════════════════════════════════════════════
   14. SECTION BADGE
   ═══════════════════════════════════════════════════ */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(211, 47, 47, 0.12);
  background: rgba(211, 47, 47, 0.04);
  color: var(--red-primary);
  margin-bottom: 1rem;
}

body.dark-theme .section-badge {
  border-color: rgba(211, 47, 47, 0.25);
  background: rgba(211, 47, 47, 0.08);
  color: var(--red-light);
}

/* ═══════════════════════════════════════════════════
   15. CTA BANNER
   ═══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 50%, var(--red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(211, 47, 47, 0.15), transparent 70%),
              radial-gradient(ellipse at 80% 20%, rgba(30, 75, 158, 0.2), transparent 60%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   16. FLOATING AI CHAT WIDGET
   ═══════════════════════════════════════════════════ */
#chat-widget-panel {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
}

#chat-widget-panel.flex {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.chat-bubble {
  max-width: 85%;
  border-radius: 1.15rem;
  padding: 0.75rem 1rem;
  line-height: 1.6;
  font-size: 0.85rem;
}

.chat-bubble.user {
  border-bottom-right-radius: 0.25rem;
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
}

.chat-bubble.assistant {
  border-bottom-left-radius: 0.25rem;
  background: #ffffff;
  border: 1px solid rgba(18, 48, 108, 0.08);
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(18, 32, 63, 0.03);
}

body.dark-theme .chat-bubble.assistant {
  background: rgba(18, 32, 63, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

/* ═══════════════════════════════════════════════════
   17. TYPING INDICATOR
   ═══════════════════════════════════════════════════ */
.dot-flashing {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: var(--dot-active);
  color: var(--dot-active);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -12px;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: var(--dot-active);
  color: var(--dot-active);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 5px;
  background-color: var(--dot-active);
  color: var(--dot-active);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% { background-color: var(--dot-active); }
  50%, 100% { background-color: var(--dot-inactive); }
}

/* ═══════════════════════════════════════════════════
   18. SUGGESTION CHIPS
   ═══════════════════════════════════════════════════ */
.suggestion-chip {
  background-color: #ffffff;
  border: 1px solid rgba(18, 48, 108, 0.08);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.suggestion-chip:hover {
  background-color: rgba(18, 48, 108, 0.04);
  border-color: rgba(18, 48, 108, 0.2);
  color: var(--navy-deep);
  transform: translateY(-1px);
}

body.dark-theme .suggestion-chip {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}

body.dark-theme .suggestion-chip:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(211, 47, 47, 0.25);
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════
   19. MARQUEE (Insurance Logos)
   ═══════════════════════════════════════════════════ */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  width: 100%;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-main) 0%, transparent 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-main) 0%, transparent 100%);
}

.marquee-content {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
  min-width: 100%;
  justify-content: space-around;
}

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

.animate-marquee {
  animation: marquee 35s linear infinite;
}

.marquee-container:hover .animate-marquee {
  animation-play-state: paused;
}

.insurance-logo-card {
  background-color: var(--bg-card-solid);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(18, 32, 63, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.insurance-logo-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px rgba(18, 32, 63, 0.06);
  border-color: var(--red-primary) !important;
}

body.dark-theme .insurance-logo-card {
  background-color: rgba(18, 32, 63, 0.4);
  border-color: rgba(255, 255, 255, 0.05);
}

body.dark-theme .insurance-logo-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  border-color: var(--red-light) !important;
}

/* ═══════════════════════════════════════════════════
   20. TEXT GRADIENT HIGHLIGHTS
   ═══════════════════════════════════════════════════ */
.text-gradient-navy {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .text-gradient-navy {
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════════════════
   21. HERO SECTION SPECIFIC
   ═══════════════════════════════════════════════════ */
.hero-gradient-text {
  background: linear-gradient(135deg, var(--navy-deep) 10%, var(--navy-primary) 45%, var(--red-primary) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-theme .hero-gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #e2e8f0 45%, var(--red-light) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 1.75rem;
  padding: 3px;
  background: linear-gradient(135deg, var(--navy-primary), var(--red-primary), var(--navy-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
}

/* ═══════════════════════════════════════════════════
   22. DOCTOR CARD ENHANCEMENTS
   ═══════════════════════════════════════════════════ */
.doctor-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px var(--shadow-lg);
}

.doctor-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════════════════════════════════════════════
   23. TESTIMONIAL ENHANCEMENT
   ═══════════════════════════════════════════════════ */
.testimonial-slide {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ═══════════════════════════════════════════════════
   24. FILTER BUTTONS
   ═══════════════════════════════════════════════════ */
.filter-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
  transform: translateY(-1px);
}

.filter-btn[data-filter].active-filter,
.filter-btn:first-child {
  box-shadow: 0 4px 12px -2px rgba(211, 47, 47, 0.2);
}

/* ═══════════════════════════════════════════════════
   25. ABOUT VALUES GRID HOVER
   ═══════════════════════════════════════════════════ */
.about-value-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════
   26. FACILITIES CARD IMAGE OVERLAY
   ═══════════════════════════════════════════════════ */
.facility-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px var(--shadow-lg);
}

.facility-card .facility-icon {
  transition: transform 0.4s ease;
}

.facility-card:hover .facility-icon {
  transform: scale(1.15);
}

/* ═══════════════════════════════════════════════════
   27. SCROLLBAR
   ═══════════════════════════════════════════════════ */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(18, 32, 63, 0.02);
}

body.dark-theme .custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(18, 32, 63, 0.1);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(18, 48, 108, 0.1);
  border-radius: 9999px;
}

body.dark-theme .custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════════
   28. RESPONSIVE FINE TUNING
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-gradient-text {
    font-size: 2.25rem !important;
  }
  
  .cta-banner h2 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .hero-gradient-text {
    font-size: 1.85rem !important;
  }
}

/* ═══════════════════════════════════════════════════
   29. CHAT WIDGET TRIGGER PULSE
   ═══════════════════════════════════════════════════ */
#chat-widget-trigger {
  animation: pulse-glow 3s infinite ease-in-out;
}

#chat-widget-trigger:hover {
  animation: none;
}
