/* ================================================================
   CARE DENTAL HOSPITAL — PERFORMANCE FIX v4.0
   SAFE VERSION: No breaking changes to scroll, click, or layout
   ================================================================ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. VIDEO: CRISP SHARP RENDERING (NO BLUR)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Hero video — remove blur-causing opacity and filters */
#heroBgVideo {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  /* GPU compositing — prevents blur on high-DPI */
  transform: translate3d(0, 0, 0) scale(1.001) !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  object-fit: cover !important;
  object-position: center center !important;
  animation: videoFadeIn 0.9s ease-out forwards;
}

@keyframes videoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Background container behind video - transparent so video glows */
.hero-video-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. IMAGES: CRISP RENDERING ON ALL DEVICES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hero-duo-img,
.about-img,
.doctor-photo img,
.logo-real-img,
.loader-real-logo {
  image-rendering: auto;
  filter: none;
  -webkit-filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. FONT RENDERING: SHARP ON ALL SCREENS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. SCROLL PROGRESS BAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00cfff, #005bff, #a855f7, #00cfff);
  background-size: 200% 100%;
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0, 207, 255, 0.5);
  pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. HERO VIDEO CONTROLS — PROPER STYLING
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hero-video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 20;
  display: flex;
  gap: 8px;
  flex-direction: row;
}

.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: rgba(5, 12, 26, 0.80);
  border: 1px solid rgba(0, 207, 255, 0.3);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.hero-video-btn:hover,
.hero-video-btn.active {
  background: rgba(0, 91, 255, 0.4);
  border-color: rgba(0, 207, 255, 0.6);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. PERFORMANCE: OFFSCREEN SECTIONS LAZY RENDER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.doc-videos-section,
.faq-section,
.contact-section,
.awards-section,
.listings-section,
.quiz-section,
.makeover-section,
.treatment-explorer-section,
.models-preview-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. PARTICLE CANVAS: SUBTLE ON DESKTOP, OFF ON MOBILE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 900px) {
  #particleCanvas {
    display: none !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. MOBILE 320px-480px: HERO LAYOUT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 480px) {
  .hero-title-centered {
    font-size: clamp(1.5rem, 7.5vw, 2.1rem) !important;
    line-height: 1.2 !important;
  }
  .hero-desc-centered {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
  }
  .hero-pills-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }
  .hero-pill {
    font-size: 0.7rem !important;
    padding: 5px 10px !important;
  }
  .hero-actions-centered {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero-actions-centered .btn-primary,
  .hero-actions-centered .btn-ghost {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
  }
  .hero-video-controls {
    bottom: 10px !important;
    right: 10px !important;
  }
  .hero-video-btn span { display: none !important; }

  /* Services: single column */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Floating buttons */
  .floating-actions {
    bottom: 16px !important;
    right: 16px !important;
  }
  .fab-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. MOBILE 481px-768px: TABLET
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (min-width: 481px) and (max-width: 768px) {
  .hero-title-centered {
    font-size: clamp(1.8rem, 5.5vw, 2.6rem) !important;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. MOBILE ALL: max-width 900px
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 900px) {
  /* Hero layout — stacked on mobile */
  .hero-centered-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 16px !important;
  }
  .hero-content-centered {
    width: 100% !important;
    align-items: center !important;
  }
  .hero-centered-showcase {
    width: 100% !important;
    margin-top: 20px !important;
  }

  /* Corner decorations — hide on mobile */
  .section-corner-watermark { display: none !important; }

  /* About section */
  .about-grid {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .about-visual, .about-content {
    width: 100% !important;
  }

  /* Doctor videos — single column */
  .doc-videos-grid,
  .doc-video-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .doc-video-card {
    max-width: 380px !important;
    margin: 0 auto !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. MOBILE SAFE AREA (iOS)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.mobile-quick-bar,
.mobile-quick-cta {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. PRELOADER: FASTER FADE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

#preloader {
  transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. GRADIENT TEXT: PREVENT SUBPIXEL BLUR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gradient-text {
  transform: translateZ(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. ORBS: REMOVE HEAVY ANIMATION (PERF)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.orb-1, .orb-2, .orb-3 {
  animation: none !important;
  will-change: auto !important;
}

@media (max-width: 768px) {
  .orb { display: none !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. CHATBOT: MOBILE POSITION FIX
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 480px) {
  .chatbot-widget,
  #chatbotWidget,
  .chatbot-v2-widget {
    bottom: 80px !important;
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
  .chatbot-window,
  .chatbot-v2-window {
    width: calc(100vw - 24px) !important;
    max-height: 68vh !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. GRAND 4K HERO SHOWCASE PLAYER & TABS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 15, 36, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 207, 255, 0.3);
  padding: 6px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 10;
  position: relative;
}

.hero-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-tab-btn.active {
  background: linear-gradient(135deg, #005bff 0%, #00cfff 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 91, 255, 0.45);
}

.tab-badge-live {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  animation: pulseBadge 2s infinite;
}

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

.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 207, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 91, 255, 0.2);
  background: #000;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-showcase-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.hero-main-4k-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  -webkit-filter: none !important;
  transform: translateZ(0);
}

.video-badges-row {
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.vbadge-ultra-4k {
  background: rgba(5, 15, 36, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 207, 255, 0.4);
  color: #00e5ff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.vbadge-facility {
  background: rgba(5, 15, 36, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-glass-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 12, 26, 0.9) 100%);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}

.vglass-left, .vglass-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vglass-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.vglass-btn:hover {
  background: rgba(0, 207, 255, 0.3);
  border-color: #00cfff;
  color: #fff;
  transform: translateY(-1px);
}

.vglass-center {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
}

.vglass-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.btn-primary-tour {
  background: linear-gradient(135deg, #005bff 0%, #00cfff 100%);
  color: #fff !important;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 91, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-tour:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 207, 255, 0.5);
}

.badge-pill-4k {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   17. HERO LAYOUT & FIRST VIEWPORT VISIBILITY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  padding: 95px 0 35px !important;
  min-height: 100vh !important;
}

.hero-centered-wrapper {
  gap: 18px !important;
  padding: 10px 16px 20px !important;
}

.hero-content-centered {
  max-width: 840px !important;
}

.hero-title-centered {
  margin-bottom: 8px !important;
  line-height: 1.12 !important;
}

.hero-desc-centered {
  margin-bottom: 12px !important;
  line-height: 1.5 !important;
  font-size: 0.96rem !important;
}

.hero-pills-centered {
  margin-bottom: 14px !important;
  gap: 6px !important;
}

.hero-actions-centered {
  margin-bottom: 8px !important;
  gap: 10px !important;
}

.hero-centered-showcase {
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.hero-video-frame {
  max-width: 860px !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 207, 255, 0.25) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   17. HOMEPAGE BACKGROUND 4K VIDEO & HOSPITAL IMAGE SHOWCASE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero-video-container {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

#heroBgVideo {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.01) !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.88 !important;
  filter: contrast(1.05) brightness(1.02) saturate(1.1) !important;
  -webkit-filter: contrast(1.05) brightness(1.02) saturate(1.1) !important;
  display: block !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* Balanced cinematic overlay: keeps text ultra-readable while 4K background video is vividly visible */
.hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: 
    radial-gradient(ellipse at center, rgba(5, 12, 26, 0.15) 0%, rgba(5, 12, 26, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 12, 26, 0.28) 0%, rgba(5, 12, 26, 0.45) 50%, rgba(5, 12, 26, 0.82) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* 4K Hospital Facility Image Showcase Frame */
.hero-hospital-frame {
  position: relative !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: #091222 !important;
  border: 1.5px solid rgba(0, 207, 255, 0.4) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 207, 255, 0.2) !important;
}

.hero-hospital-img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 24px 24px 0 0 !important;
  transition: transform 0.4s ease !important;
}

.hero-hospital-frame:hover .hero-hospital-img {
  transform: scale(1.015) !important;
}

.hospital-info-banner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px !important;
  background: rgba(5, 12, 26, 0.94) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(0, 207, 255, 0.25) !important;
  gap: 12px !important;
}

.hosp-info-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.hosp-badge-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: rgba(0, 91, 255, 0.25) !important;
  border: 1px solid rgba(0, 207, 255, 0.4) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00e5ff !important;
  font-size: 1rem !important;
  flex-shrink: 0 !important;
}

.hosp-details strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.hosp-details .hosp-sub {
  display: block !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.78rem !important;
  margin-top: 2px !important;
}

.hosp-info-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.btn-hosp-tour, .btn-hosp-visit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 50px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-family: 'Outfit', sans-serif !important;
}

.btn-hosp-tour {
  background: linear-gradient(135deg, #005bff, #00cfff) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 91, 255, 0.4) !important;
}

.btn-hosp-tour:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 207, 255, 0.5) !important;
}

.btn-hosp-visit {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-hosp-visit:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(0, 207, 255, 0.5) !important;
}

.section-corner-watermark {
  display: none !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   18. ABOUT SECTION 11TH ANNIVERSARY POSTER STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-img-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 460px !important;
  height: auto !important;
  min-height: unset !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 207, 255, 0.22) !important;
  border: 1.5px solid rgba(0, 207, 255, 0.4) !important;
  background: #030814 !important;
  display: block !important;
  margin: 0 auto !important;
}

.about-img-wrapper .about-img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 18px !important;
  filter: none !important;
  -webkit-filter: none !important;
  transition: transform 0.4s ease !important;
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.02) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   19. RESPONSIVE MOBILE ADJUSTMENTS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .hero {
    padding: 78px 0 24px !important;
    min-height: auto !important;
  }
  .hero-centered-wrapper {
    gap: 14px !important;
    padding: 6px 12px 16px !important;
  }
  .hero-showcase-tabs {
    width: 100%;
    justify-content: center;
    gap: 4px;
    padding: 4px;
  }
  .hero-tab-btn {
    font-size: 0.78rem;
    padding: 7px 12px;
    gap: 6px;
  }
  .video-badges-row {
    top: 8px;
    left: 8px;
  }
  .vbadge-ultra-4k {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .vbadge-facility {
    display: none;
  }
  .vglass-center {
    display: none;
  }
  .vglass-bar {
    padding: 8px 12px;
  }
  .vglass-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .about-img-wrapper .about-img {
    max-height: 420px !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   20. CLEANUP: ELIMINATE REDUNDANT CORNER LOGO EMBLEMS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.corner-logo-tr-fixed,
.corner-logo-bl-fixed,
.chatbot-logo-badge,
#cornerLogoTR,
#cornerLogoBL,
#cornerLogoBR {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   21. PERFORMANCE ENGINE: ZERO-LAG NATURAL BROWSING & CLEAN ENHANCED DESIGN
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* A. RESTORE NATIVE ZERO-LATENCY CURSOR */
*, *::before, *::after, html, body {
  cursor: auto !important;
}

a, button, [role="button"], [role="tab"], input[type="button"], input[type="submit"], select,
.hero-tab-btn, .fstrip-thumb, .gallery-pill, .btn-primary, .btn-ghost, .chat-faq-btn, .chatbot-bubble,
.btn-primary-tour, .btn-hosp-tour, .btn-hosp-visit, .quick-btn-call, .quick-btn-whatsapp,
.vglass-btn, .map-tab-btn, .faq-question {
  cursor: pointer !important;
}

/* A. CURSOR — SLEEK GLOW CURSOR ON DESKTOP, NATIVE TOUCH ON MOBILE */
@media (max-width: 900px), (pointer: coarse) {
  #cursor, #cursorFollower, .custom-cursor, .cursor-follower,
  #wowCursorDot, #wowCursorRing {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  #cursor {
    display: block !important;
    position: fixed !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #00cfff !important;
    box-shadow: 0 0 10px #00cfff, 0 0 20px rgba(0, 207, 255, 0.5) !important;
    pointer-events: none !important;
    z-index: 999999 !important;
    transform: translate(-50%, -50%) !important;
    will-change: transform !important;
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease !important;
  }
  #cursorFollower {
    display: block !important;
    position: fixed !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(0, 207, 255, 0.45) !important;
    background: rgba(0, 207, 255, 0.04) !important;
    pointer-events: none !important;
    z-index: 999998 !important;
    transform: translate(-50%, -50%) !important;
    will-change: transform !important;
    transition: width 0.25s ease-out, height 0.25s ease-out, border-color 0.25s ease, background 0.25s ease !important;
  }
  #cursor.cursor-hover {
    width: 14px !important;
    height: 14px !important;
    background: #00e5a0 !important;
    box-shadow: 0 0 12px #00e5a0, 0 0 24px rgba(0, 229, 160, 0.6) !important;
  }
  #cursor.cursor-hover ~ #cursorFollower,
  .cursor-follower.expand {
    width: 52px !important;
    height: 52px !important;
    border-color: rgba(0, 229, 160, 0.7) !important;
    background: rgba(0, 229, 160, 0.08) !important;
  }
}


/* B. PRELOADER — Fast Reveal (controlled by JS initPreloader) */
/* Preloader visibility is now managed by JS to show branded loading animation */

/* C. PARTICLE CANVAS — visible on desktop, hidden on mobile */
#particleCanvas {
  display: block;  /* JS controls this per device */
}
/* Other canvas overlays that caused lag remain hidden */
#wowHeroCanvas, .spotlight-overlay, .blob-mouse, canvas.galaxy-canvas {
  display: none !important;
  pointer-events: none !important;
}


/* D. FIRST PAGE (HERO) SPEED & VIBRANCY OPTIMIZATION */
.hero {
  position: relative !important;
  overflow: hidden !important;
}

.hero-video-container {
  transform: translateZ(0) !important;
  will-change: transform !important;
  backface-visibility: hidden !important;
}

/* Floating ambient orbs with smooth breathing effect */
.orb {
  position: absolute !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  filter: blur(50px) !important;
  opacity: 0.2 !important;
}
.orb-1 { width: 400px !important; height: 400px !important; background: radial-gradient(circle, rgba(0, 207, 255, 0.35), transparent 70%) !important; top: -50px !important; right: -50px !important; }
.orb-2 { width: 350px !important; height: 350px !important; background: radial-gradient(circle, rgba(168, 85, 247, 0.3), transparent 70%) !important; bottom: 50px !important; left: -50px !important; }
.orb-3 { width: 250px !important; height: 250px !important; background: radial-gradient(circle, rgba(0, 91, 255, 0.3), transparent 70%) !important; top: 40% !important; right: 20% !important; }

/* Aurora text animation preserved and smooth */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #00cfff 0%, #0077ff 35%, #a855f7 70%, #ec4899 100%) !important;
  background-size: 250% 250% !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: aurora 8s ease infinite !important;
}

/* Eliminate clumsy corner watermarks */
.section-corner-watermark,
.corner-logo-tr-fixed,
.corner-logo-bl-fixed {
  display: none !important;
}

/* E. CARDS WITH HIGH-PERFORMANCE FROSTED GLASS */
.navbar.scrolled,
.service-card,
.doctor-card,
.stat-card,
.tech-card,
.explorer-card,
.award-card,
.testimonial-card,
.hospital-info-banner {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Smooth Interactive Card Hover States */
.service-card, .doctor-card, .tech-card, .award-card, .stat-card {
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.service-card:hover, .doctor-card:hover, .stat-card:hover {
  transform: translateY(-5px) !important;
}

/* Hide injected redundant floating widgets */
.live-appt-widget, #liveApptWidget {
  display: none !important;
  pointer-events: none !important;
}




