@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');

/* ==========================================================================
   ALOLIKA HOSPITEX â€” CORE DESIGN SYSTEM & PREMIUM UI STYLES
   Master Custom Stylesheet with Micro-Interactions & Responsive Carousels
   ========================================================================== */

:root {
  --color-primary: #046bd2;
  --color-primary-hover: #045cb4;
  --color-primary-light: #e0efff;
  --color-navy: #050873;
  --color-navy-dark: #03054a;
  --color-teal: #00adb5;
  --color-emergency: #cf2e2e;
  --color-whatsapp: #25d366;
  --color-heading: #0f172a;
  --color-body: #334155;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg-light: #f8fafc;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Alata', sans-serif;
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-body);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  letter-spacing: 0.01em;
}

/* Headings in dark/gradient headers match background with crisp, luminous white */
.text-white :is(h1, h2, h3, h4, h5, h6),
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
section[class*="from-[#03054a]"] :is(h1, h2, h3, h4, h5, h6),
section[class*="from-[#020c2e]"] :is(h1, h2, h3, h4, h5, h6),
section[class*="bg-[#03054a]"] :is(h1, h2, h3, h4, h5, h6),
section[class*="bg-[#050873]"] :is(h1, h2, h3, h4, h5, h6),
div[class*="from-[#03054a]"] :is(h1, h2, h3, h4, h5, h6),
div[class*="bg-[#050873]"] :is(h1, h2, h3, h4, h5, h6),
.anup-hero-section :is(h1, h2, h3),
.hero-section :is(h1, h2, h3),
.page-header-heading {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(2, 6, 23, 0.45);
}

/* Guarantee headings inside white or light cards always stay dark and crisp, even within dark sections */
:is(.bg-white, [class*="bg-white"], .bg-slate-50, .bg-slate-100, .bg-gray-50, .bg-gray-100) :is(h1, h2, h3, h4, h5, h6):not(.text-white) {
  color: #0f172a !important;
  text-shadow: none !important;
}

/* Explicit slate text utility protection against dark section inheritance */
.text-slate-900,
[class*="text-slate-900"] {
  color: #0f172a !important;
  text-shadow: none !important;
}
.text-slate-800,
[class*="text-slate-800"] {
  color: #1e293b !important;
  text-shadow: none !important;
}
.text-slate-700,
[class*="text-slate-700"] {
  color: #334155 !important;
  text-shadow: none !important;
}

.font-heading,
.font-alata {
  font-family: var(--font-heading) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide scrollbar for clean horizontal swipe carousels */
.scrollbar-none {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

/* Preloader Styles */
#site-preloader {
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

#site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobile & Touch Safety: Guarantee instant visibility on mobile viewports */
@media (max-width: 768px) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Staggered animation utility classes */
.delay-100 {
  transition-delay: 100ms;
}

.delay-150 {
  transition-delay: 150ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-250 {
  transition-delay: 250ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 25px -4px rgba(5, 8, 115, 0.07);
}

/* ============================================================
   CREATIVE HEADER — Premium glassmorphism sticky nav
   ============================================================ */
.header-creative {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 4px 30px -6px rgba(4, 107, 210, 0.09), 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-creative.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 6px 40px -8px rgba(4, 107, 210, 0.16), 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   MOBILE BOTTOM ACTION BAR
   ============================================================ */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -6px 24px -4px rgba(4, 107, 210, 0.10);
}

/* ============================================================
   FOOTER OPTICAL RING SLOW ROTATION
   ============================================================ */
@keyframes reticle-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-reticle-slow {
  animation: reticle-slow 80s linear infinite;
}

/* ============================================================
   MOBILE CAROUSEL SLIDER & DOT INDICATORS
   ============================================================ */
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.mobile-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.carousel-dot {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #cbd5e1;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: #046bd2 !important;
  width: 1.5rem !important;
  border-radius: 9999px !important;
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-card-dark {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Pulse animation for emergency badges */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(207, 46, 46, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(207, 46, 46, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(207, 46, 46, 0);
  }
}

.pulse-emergency {
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Subtle floating & medical micro-animations */
@keyframes float-gentle {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(0.6deg);
  }
}

@keyframes float-reverse {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(7px) rotate(-0.6deg);
  }
}

@keyframes reticle-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes reticle-rotate-rev {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes ecg-flow {
  0% {
    stroke-dashoffset: 1000;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.11;
    transform: scale(1);
  }

  50% {
    opacity: 0.19;
    transform: scale(1.05);
  }
}

@keyframes optical-sweep {
  0% {
    transform: scale(0.96) rotate(0deg);
    opacity: 0.12;
  }

  50% {
    transform: scale(1.04) rotate(180deg);
    opacity: 0.19;
  }

  100% {
    transform: scale(0.96) rotate(360deg);
    opacity: 0.12;
  }
}

@keyframes shimmer-badge {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.animate-float {
  animation: float-gentle 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: float-reverse 7s ease-in-out infinite;
}

.animate-reticle-slow {
  animation: reticle-rotate 60s linear infinite;
}

.animate-reticle-reverse {
  animation: reticle-rotate-rev 50s linear infinite;
}

.animate-ecg {
  stroke-dasharray: 400;
  animation: ecg-flow 8s linear infinite;
}

.animate-glow-pulse {
  animation: glow-pulse 6s ease-in-out infinite;
}

.animate-optical-sweep {
  animation: optical-sweep 30s ease-in-out infinite;
}

/* Section Background Medical Watermark Base Classes (Strict 10-20% Opacity) */
.section-medical-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
  z-index: 0;
}

.medical-watermark {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.14;
  /* Default strictly in 10-20% range */
  transition: opacity 0.4s ease;
}

.medical-watermark-10 {
  opacity: 0.10 !important;
}

.medical-watermark-12 {
  opacity: 0.12 !important;
}

.medical-watermark-15 {
  opacity: 0.15 !important;
}

.medical-watermark-18 {
  opacity: 0.18 !important;
}

.medical-watermark-20 {
  opacity: 0.20 !important;
}

/* Repeating Medical Cross and Grid Overlays (10-20% opacity) */
.bg-medical-cross-grid {
  background-image: radial-gradient(rgba(4, 107, 210, 0.18) 1.5px, transparent 1.5px),
    radial-gradient(rgba(4, 107, 210, 0.12) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  opacity: 0.14;
}

.bg-medical-cross-dark {
  background-image: radial-gradient(rgba(34, 211, 238, 0.20) 1.5px, transparent 1.5px),
    radial-gradient(rgba(56, 189, 248, 0.13) 1.5px, transparent 1.5px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  opacity: 0.15;
}

/* Gradient accents */
.bg-gradient-hospital {
  background: linear-gradient(135deg, #050873 0%, #046bd2 100%);
}

.bg-gradient-subtle {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.text-gradient {
  background: linear-gradient(135deg, #046bd2 0%, #00adb5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Card Elevation & Hover Lift */
.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(5, 8, 115, 0.08), 0 8px 10px -6px rgba(5, 8, 115, 0.03);
  border-color: rgba(4, 107, 210, 0.3);
}

/* Interactive Mobile Carousel Elements */
.mobile-carousel {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.mobile-carousel>* {
  scroll-snap-align: start;
}

.carousel-dot {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 1.5rem !important;
  border-radius: 9999px !important;
  background-color: #046bd2 !important;
}

.carousel-dot-dark.active {
  width: 1.5rem !important;
  border-radius: 9999px !important;
  background-color: #22d3ee !important;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Accessible focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #046bd2;
  outline-offset: 2px;
}

/* Lightbox styles */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(5, 8, 115, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.lightbox-modal.active {
  display: flex;
}

/* Accordion Transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
  opacity: 0;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Micro-Interaction Button Glow */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(4, 107, 210, 0.35);
}

.btn-premium:active {
  transform: translateY(0);
}

/* Accessibility: Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Vision Clarity Interactive Before/After Component
   ========================================================================== */
.vision-comparison-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  border-radius: 1rem;
}

.vision-layer-after {
  width: 100%;
  height: 100%;
  display: block;
}

.vision-layer-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  will-change: width;
  border-right: 2.5px solid #ffffff;
  box-shadow: 0 0 20px rgba(0, 173, 181, 0.4);
  transition: width 0.05s linear;
}

.vision-layer-before.is-animating {
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-blur-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5.5px) brightness(0.92) contrast(0.88) sepia(0.12);
  transform: scale(1.05);
  /* eliminates edge blur clipping */
  pointer-events: none;
}

.cataract-haze-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 45%, rgba(255, 245, 215, 0.4) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(200, 225, 255, 0.15) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.vision-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(4, 107, 210, 0.8);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 20;
  transition: left 0.05s linear;
}

.vision-slider-handle.is-animating {
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: #050873;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #00adb5;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-comparison-container:hover .vision-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 173, 181, 0.45);
}

/* Floating animation for hero badges */
@keyframes heroFloatSlow {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes heroFloatReverse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(7px);
  }
}

.animate-float-slow {
  animation: heroFloatSlow 4s ease-in-out infinite;
}

.animate-float-reverse {
  animation: heroFloatReverse 4.5s ease-in-out infinite;
}


/* ========================================================
   DR. ANUP MONDAL PROFILE PAGE — Premium Styles
   ======================================================== */

/* -- Hero Section -- */
.anup-hero-section {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Stat chips */
.anup-stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  border-radius: 16px;
  min-width: 100px;
}

/* CTA buttons */
.anup-btn-primary {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.anup-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.5);
}

.anup-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #bae6fd;
  border: 1.5px solid rgba(186, 230, 253, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s;
  text-decoration: none;
}

.anup-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(186, 230, 253, 0.6);
  color: #fff;
}

/* Photo card */
.anup-photo-card {
  position: relative;
  display: inline-block;
  border-radius: 32px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.anup-photo-img {
  width: 320px;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

.anup-photo-glow-ring {
  position: absolute;
  inset: -6px;
  border-radius: 38px;
  background: conic-gradient(from 180deg, #38bdf8, #06b6d4, #6366f1, #38bdf8);
  opacity: 0.4;
  filter: blur(12px);
  z-index: -1;
  animation: rotateRing 6s linear infinite;
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Floating badges */
.anup-float-badge {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll pulse */
@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    height: 20px;
  }

  50% {
    opacity: 0.9;
    height: 40px;
  }
}

/* -- Section Tags -- */
.anup-section-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* -- Timeline -- */
.anup-timeline {
  position: relative;
  padding: 0;
}

.anup-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #2563eb, #0891b2, #0ea5e9);
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .anup-timeline::before {
    left: 20px;
  }
}

.anup-tl-item {
  position: relative;
  display: flex;
  margin-bottom: 40px;
  align-items: flex-start;
}

.anup-tl-left {
  flex-direction: row-reverse;
}

@media (max-width: 640px) {
  .anup-tl-left {
    flex-direction: row;
    padding-left: 48px;
  }

  .anup-tl-right {
    padding-left: 48px;
  }
}

.anup-tl-dot {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(37, 99, 235, 0.15);
}

@media (max-width: 640px) {
  .anup-tl-dot {
    left: 20px;
    transform: translateX(-50%);
  }
}

.anup-tl-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px 24px;
  width: calc(50% - 36px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.anup-tl-card:hover {
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .anup-tl-card {
    width: 100%;
  }
}

.anup-tl-year {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
}

.anup-tl-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  margin-bottom: 6px;
}

.anup-tl-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
}

/* -- Expertise Cards -- */
.anup-expertise-card {
  padding: 24px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.anup-expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent, #2563eb);
  border-radius: 20px 20px 0 0;
}

.anup-expertise-card:hover {
  border-color: var(--accent, #2563eb);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--accent, #2563eb);
  transform: translateY(-4px);
}

.anup-exp-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.anup-exp-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.anup-exp-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
}

.anup-exp-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--accent, #2563eb) 10%, transparent);
  color: var(--accent, #2563eb);
  border: 1px solid color-mix(in srgb, var(--accent, #2563eb) 25%, transparent);
}

/* -- Glass Sidebar Card -- */
.anup-glass-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* -- Testimonials -- */
.anup-testimonial-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.25s, box-shadow 0.25s;
}

.anup-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.anup-stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.anup-review {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.anup-reviewer {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
}

.anup-reviewer span {
  font-weight: 400;
  color: #94a3b8;
}

/* ==========================================================================
   STYLISH RED BRAND LOGO PRESENTATION
   ========================================================================== */
.header-creative {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.stylish-logo-brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  line-height: 1;
}

.stylish-logo-brand .logo-container {
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 8px;
  padding: 1px 2px;
  transition: all 0.25s ease;
}

.stylish-logo-brand:hover .logo-container {
  background: rgba(207, 46, 46, 0.04);
}

.stylish-logo-brand img,
.header-creative .stylish-logo-brand img {
  display: block;
  height: 26px !important;
  max-height: 26px !important;
  width: auto !important;
  max-width: 125px !important;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

@media (min-width: 640px) {
  .stylish-logo-brand img,
  .header-creative .stylish-logo-brand img {
    height: 28px !important;
    max-height: 28px !important;
    max-width: 135px !important;
  }
}

@media (min-width: 1024px) {
  .stylish-logo-brand img,
  .header-creative .stylish-logo-brand img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 155px !important;
  }
}

.stylish-logo-brand:hover img {
  transform: scale(1.03);
}

/* Footer Badge for Red Logo */
.stylish-logo-footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stylish-logo-footer-badge img {
  display: block;
  height: 26px !important;
  max-height: 26px !important;
  width: auto !important;
  max-width: 130px !important;
  object-fit: contain;
}

.stylish-logo-footer-badge:hover {
  transform: translateY(-2px) scale(1.03);
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 255, 255, 0.2);
}

#site-preloader img {
  max-height: 34px !important;
  width: auto !important;
  max-width: 150px !important;
}

#mobile-drawer .stylish-logo-brand img {
  height: 26px !important;
  max-height: 26px !important;
  max-width: 125px !important;
}

/* ==========================================================================
   DR. ANUP MONDAL ACCORDION & CLINICAL PILLARS
   ========================================================================== */
.anup-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.anup-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.anup-accordion-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.anup-accordion-item.active {
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.anup-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  transition: color 0.2s ease;
}

.anup-accordion-item.active .anup-accordion-btn {
  color: #1d4ed8;
}

.anup-accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s;
}

.anup-accordion-item.active .anup-accordion-icon {
  transform: rotate(180deg);
  background: #dbeafe;
  color: #2563eb;
}

.anup-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.anup-accordion-item.active .anup-accordion-content {
  max-height: 600px;
  opacity: 1;
}

.anup-accordion-body {
  padding: 0 20px 20px 20px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #475569;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
  padding-top: 14px;
}

/* Service Pillars */
.dept-pillar-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.dept-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dept-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.dept-pillar-card:hover::before {
  opacity: 1;
}

/* ==========================================================================
   SURGEON EDITORIAL & GUIDE ENHANCEMENTS
   ========================================================================== */
.surgeon-editorial-hero {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #030a24 0%, #051442 50%, #020c2b 100%);
  overflow: hidden;
}

.surgeon-editorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.4;
}

.surgeon-doc-portrait-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.surgeon-doc-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border-color: #60a5fa;
}

.surgeon-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.surgeon-matrix-table th {
  background: #f8fafc;
  padding: 14px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #e2e8f0;
}

.surgeon-matrix-table td {
  padding: 14px 18px;
  font-size: 0.875rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.surgeon-matrix-table tr:last-child td {
  border-bottom: none;
}

.surgeon-matrix-table tr:hover td {
  background: #f8fafc;
}

/* ==========================================================================
   PREMIUM FOOTER BACKGROUND DECORATIVE STYLES & ANIMATIONS
   ========================================================================== */
.footer-mesh-grid {
  background-image: 
    radial-gradient(circle, rgba(56, 189, 248, 0.22) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
}

.footer-aurora-glow-1 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(37, 99, 235, 0.12) 50%, transparent 70%);
  filter: blur(55px);
  animation: auroraFloat1 14s ease-in-out infinite alternate;
}

.footer-aurora-glow-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.20) 0%, rgba(139, 92, 246, 0.10) 50%, transparent 70%);
  filter: blur(65px);
  animation: auroraFloat2 18s ease-in-out infinite alternate;
}

.footer-aurora-glow-3 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  animation: auroraFloat3 12s ease-in-out infinite alternate;
}

.animate-spin-extremely-slow {
  animation: spinSlow 80s linear infinite;
}

.animate-spin-reverse-slow {
  animation: spinReverseSlow 100s linear infinite;
}

.animate-pulse-subtle {
  animation: pulseSubtle 4s ease-in-out infinite;
}

.ecg-flow-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: ecgFlow 7s ease-in-out infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverseSlow {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes auroraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(45px, 25px) scale(1.14); }
}

@keyframes auroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-35px, -25px) scale(1.10); }
}

@keyframes auroraFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.18); }
}

@keyframes pulseSubtle {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.08); }
}

@keyframes ecgFlow {
  0% { stroke-dashoffset: 1200; opacity: 0.3; }
  50% { stroke-dashoffset: 0; opacity: 0.85; }
  100% { stroke-dashoffset: -1200; opacity: 0.3; }
}

/* ==========================================================================
   4-MODE REAL-WORLD VISION SIMULATOR FILTERS
   ========================================================================== */
.condition-cataract-filter {
  filter: blur(5px) sepia(0.38) contrast(0.75) brightness(1.06);
}

.condition-glare-filter {
  filter: contrast(1.25) brightness(1.15) saturate(1.1);
}

.condition-glaucoma-filter {
  filter: contrast(1.08) brightness(0.9);
}

.condition-presbyopia-filter {
  filter: blur(8px) contrast(0.85) brightness(0.98);
}

.condition-cornea-filter {
  filter: blur(4px) contrast(0.82) brightness(0.95) saturate(0.85);
}

.condition-retina-filter {
  filter: contrast(1.15) brightness(0.88) saturate(0.9);
}

.cataract-haze-element {
  background: radial-gradient(circle at 45% 50%, rgba(254, 243, 199, 0.60) 0%, rgba(217, 119, 6, 0.32) 65%, rgba(180, 83, 9, 0.45) 100%);
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

.cornea-opacity-element {
  background: 
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.72) 0%, rgba(224, 242, 254, 0.5) 25%, transparent 60%),
    radial-gradient(ellipse at 52% 54%, rgba(255, 255, 255, 0.55) 0%, rgba(186, 230, 253, 0.3) 35%, transparent 65%);
  mix-blend-mode: screen;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.retina-floaters-element {
  background: 
    radial-gradient(circle at 40% 42%, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 12%, transparent 22%),
    radial-gradient(circle at 62% 58%, rgba(30, 41, 59, 0.75) 0%, rgba(30, 41, 59, 0.4) 10%, transparent 20%),
    radial-gradient(ellipse at 50% 50%, transparent 35%, rgba(76, 29, 149, 0.25) 70%, rgba(15, 23, 42, 0.5) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.glare-flare-element {
  background: 
    radial-gradient(circle at 35% 45%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 150, 0.7) 12%, rgba(255, 180, 0, 0.3) 30%, transparent 60%),
    radial-gradient(circle at 65% 42%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 220, 100, 0.6) 10%, rgba(255, 140, 0, 0.25) 28%, transparent 55%),
    linear-gradient(90deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%),
    linear-gradient(45deg, transparent 30%, rgba(255, 230, 150, 0.35) 50%, transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.glaucoma-tunnel-element {
  background: radial-gradient(circle at 50% 50%, transparent 18%, rgba(2, 6, 23, 0.82) 48%, rgba(0, 0, 0, 0.98) 75%);
  pointer-events: none;
}

.presbyopia-reading-element {
  background: radial-gradient(circle at 50% 65%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Enhanced High-Contrast Simulator Tabs & Floating Tags */
.vision-mode-tab {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.2px;
}
.vision-mode-tab.tab-active {
  background: #22d3ee !important;
  color: #020617 !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}
.vision-mode-tab.tab-inactive {
  background: rgba(15, 23, 42, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}
.vision-mode-tab.tab-inactive:hover {
  background: rgba(30, 41, 59, 0.95) !important;
  color: #38bdf8 !important;
}

/* Floating HUD Tags on Slider with Guaranteed Readability */
.vision-hud-tag-before {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1.5px solid #fbbf24 !important;
  color: #fef08a !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 12px rgba(251, 191, 36, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.vision-hud-tag-after {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 1.5px solid #34d399 !important;
  color: #a7f3d0 !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 12px rgba(52, 211, 153, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   DR. ANUP MONDAL EDITORIAL & COMMUNITY STYLES (Inspired by dranupmondal.com)
   ========================================================================== */
.editorial-serif {
  font-family: 'EB Garamond', Georgia, serif;
}

.dr-anup-stat-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 85, 164, 0.12);
  box-shadow: 0 10px 30px rgba(14, 26, 38, 0.08);
  transition: all 0.3s ease;
}
.dr-anup-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 85, 164, 0.16);
}

.timeline-editorial-item {
  position: relative;
  padding-left: 28px;
}
.timeline-editorial-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0055A4;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #0055A4;
}
.timeline-editorial-item.milestone::before {
  background: #800000;
  box-shadow: 0 0 0 2px #800000;
}

.free-camp-card {
  background: #ffffff;
  border-radius: 16px;
  border-top: 4px solid #0055A4;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.07);
  transition: all 0.3s ease;
}
.free-camp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 85, 164, 0.14);
}

/* ==========================================================================
   INTERACTIVE EYE HEALTH TEST & NUTRITION CARDS
   ========================================================================== */
.amsler-grid {
  background-image: 
    linear-gradient(to right, #000 1.5px, transparent 1.5px),
    linear-gradient(to bottom, #000 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.astigmatic-dial-ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #0f172a;
  transform-origin: center center;
}