/* ================================================================
   CARE DENTAL HOSPITAL — MEGA ENHANCEMENTS v6.0
   Galaxy Nebula · Aurora Borders · DNA Particles · Spotlight
   Animated Timeline · Glassmorphism Pro · Neon Everything
   Interactive Journey · Premium Micro-Animations · Sparkle Trails
   ================================================================ */

/* ── MEGA KEYFRAMES ─────────────────────────────────────────────── */
@keyframes galaxyRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes nebulaShift {
  0%, 100% { background-position: 0% 0%; filter: hue-rotate(0deg); }
  25% { background-position: 100% 0%; filter: hue-rotate(20deg); }
  50% { background-position: 100% 100%; filter: hue-rotate(40deg); }
  75% { background-position: 0% 100%; filter: hue-rotate(10deg); }
}
@keyframes sparkleTrail {
  0% { transform: scale(0) rotate(0deg); opacity: 1; }
  100% { transform: scale(1.5) rotate(180deg); opacity: 0; }
}
@keyframes auroraGlow {
  0%, 100% {
    background: linear-gradient(135deg, #00cfff, #005bff, #a855f7, #ec4899);
    box-shadow: 0 0 30px rgba(0,207,255,0.5), 0 0 60px rgba(0,91,255,0.3);
  }
  33% {
    background: linear-gradient(135deg, #a855f7, #ec4899, #f59e0b, #22c55e);
    box-shadow: 0 0 30px rgba(168,85,247,0.5), 0 0 60px rgba(236,72,153,0.3);
  }
  66% {
    background: linear-gradient(135deg, #22c55e, #00cfff, #005bff, #a855f7);
    box-shadow: 0 0 30px rgba(34,197,94,0.5), 0 0 60px rgba(0,207,255,0.3);
  }
}
@keyframes neonPulseStrong {
  0%, 100% {
    text-shadow:
      0 0 7px #00cfff,
      0 0 10px #00cfff,
      0 0 21px #00cfff,
      0 0 42px #005bff,
      0 0 82px #005bff;
  }
  50% {
    text-shadow:
      0 0 4px #00cfff,
      0 0 11px #00cfff,
      0 0 19px #00cfff,
      0 0 40px #005bff,
      0 0 80px #005bff,
      0 0 120px #005bff;
  }
}
@keyframes countdownPulse {
  0%, 100% { transform: scale(1); color: #00cfff; }
  50% { transform: scale(1.05); color: #a855f7; }
}
@keyframes glowRingPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glassBorderSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes breatheSlow {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.03) translateY(-4px); }
}
@keyframes infiniteScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-25px, 35px) scale(0.9); }
  66% { transform: translate(20px, -20px) scale(1.05); }
}
@keyframes counterGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(0,207,255,0.3); }
  50% { text-shadow: 0 0 20px rgba(0,207,255,0.8), 0 0 40px rgba(0,91,255,0.4); }
}
@keyframes shimmerGold {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  60% { transform: translateY(-3px); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* ─────────────────────────────────────────────────────────────────
   GALAXY NEBULA BACKGROUND LAYER
   ───────────────────────────────────────────────────────────────── */
.galaxy-bg {
  position: relative;
  overflow: hidden;
}
.galaxy-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,207,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(168,85,247,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(236,72,153,0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 40% 40%, rgba(0,91,255,0.05) 0%, transparent 40%);
  animation: nebulaShift 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.galaxy-bg > * { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────────────────────────
   AURORA GLASS CARDS — PREMIUM v6
   ───────────────────────────────────────────────────────────────── */
.aurora-card {
  position: relative;
  background: rgba(13, 27, 56, 0.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow 0.4s ease;
}
.aurora-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #00cfff, #005bff, #a855f7, #ec4899, #00cfff);
  background-size: 400% 400%;
  animation: glassBorderSpin 6s ease infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.aurora-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(0,207,255,0.2),
    0 0 80px rgba(168,85,247,0.1);
}

/* ─────────────────────────────────────────────────────────────────
   HOLOGRAPHIC STAT CARD ENHANCEMENTS
   ───────────────────────────────────────────────────────────────── */
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}
.stat-card:hover::after {
  left: 150%;
}
.stat-card:hover .stat-card-num {
  animation: counterGlow 1.5s ease-in-out infinite;
}
.stat-card:hover .stat-card-icon i {
  animation: iconBounce 0.6s ease;
}

/* ─────────────────────────────────────────────────────────────────
   MEGA GRADIENT TEXT
   ───────────────────────────────────────────────────────────────── */
.mega-gradient-text {
  background: linear-gradient(
    135deg,
    #00cfff 0%,
    #005bff 20%,
    #a855f7 40%,
    #ec4899 60%,
    #f59e0b 80%,
    #22c55e 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glassBorderSpin 5s ease infinite;
}

/* ─────────────────────────────────────────────────────────────────
   DENTAL JOURNEY ANIMATED TIMELINE
   ───────────────────────────────────────────────────────────────── */
.journey-section {
  padding: 100px 0;
  background: var(--dark-2, #091329);
  position: relative;
  overflow: hidden;
}
.journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,207,255,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 50%, rgba(168,85,247,0.05) 0%, transparent 60%);
  pointer-events: none;
}

#journeySection .journey-timeline,
.journey-section .journey-timeline {
  display: flex !important;
  flex-direction: column !important;
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 20px 0;
  align-items: stretch !important;
}

#journeySection .journey-timeline::before,
.journey-section .journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(0,207,255,0.1), #00cfff, #005bff, #a855f7, rgba(168,85,247,0.1));
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 1;
  height: 100%;
  display: block !important;
}

.journey-item {
  display: flex !important;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.journey-item:last-child {
  margin-bottom: 0;
}

.journey-item.visible {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Odd items: Card on Left, Node in Center */
.journey-item:nth-child(odd) {
  flex-direction: row !important;
  transform: translateX(-30px);
}

/* Even items: Card on Right, Node in Center */
.journey-item:nth-child(even) {
  flex-direction: row-reverse !important;
  transform: translateX(30px);
}

.journey-node {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00cfff, #005bff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  z-index: 10;
  box-shadow: 0 0 0 4px rgba(9, 19, 41, 0.9), 0 0 20px rgba(0,207,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-item:hover .journey-node {
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 0 0 6px rgba(9, 19, 41, 0.9), 0 0 30px rgba(0,207,255,0.7);
}

.journey-node::before,
.journey-node::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0,207,255,0.3);
  animation: glowRingPulse 2.5s ease-out infinite;
  pointer-events: none;
}
.journey-node::after { animation-delay: 1.25s; }

.journey-content {
  width: calc(50% - 50px) !important;
  max-width: none !important;
  background: rgba(13,27,56,0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,207,255,0.2) !important;
  border-radius: 16px;
  padding: 24px 28px !important;
  transition: all 0.4s ease !important;
  position: relative !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 5;
}

.journey-item:nth-child(odd) .journey-content {
  margin-right: auto !important;
  margin-left: 0 !important;
  text-align: left;
}

.journey-item:nth-child(even) .journey-content {
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: left;
}

.journey-content:hover {
  border-color: rgba(0,207,255,0.5) !important;
  box-shadow: 0 15px 40px rgba(0,207,255,0.2) !important;
  transform: translateY(-4px) !important;
}

.journey-content .journey-step-num {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #00cfff !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.journey-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  line-height: 1.3;
}

.journey-content p {
  font-size: 0.88rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.6;
  margin-bottom: 12px;
}

.journey-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0,207,255,0.1);
  border: 1px solid rgba(0,207,255,0.25);
  font-size: 0.78rem;
  color: #00cfff;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────
   ACHIEVEMENT MILESTONE STRIP
   ───────────────────────────────────────────────────────────────── */
.achievements-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #050c1a 0%, #091329 50%, #050c1a 100%);
  position: relative;
  overflow: hidden;
}
.achievements-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(0,207,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 50%, rgba(168,85,247,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.achievement-item {
  text-align: center;
  padding: 28px 16px;
  border-radius: 20px;
  background: rgba(13,27,56,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}
.achievement-item:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: rgba(0,207,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,207,255,0.1);
}
.achievement-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ach-color, linear-gradient(90deg, #00cfff, #005bff));
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.achievement-item:hover::before { transform: scaleX(1); }

.achievement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ach-color, linear-gradient(135deg, #00cfff, #005bff));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  margin: 0 auto 14px;
  transition: all 0.4s ease;
}
.achievement-item:hover .achievement-icon {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 0 0 30px rgba(0,207,255,0.5);
}
.achievement-num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--ach-color, linear-gradient(135deg, #00cfff, #005bff));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.achievement-label {
  font-size: 0.83rem;
  color: rgba(226,232,240,0.7);
  font-weight: 500;
}
.achievement-item[data-color="blue"]   { --ach-color: linear-gradient(135deg, #00cfff, #005bff); }
.achievement-item[data-color="purple"] { --ach-color: linear-gradient(135deg, #a855f7, #7c3aed); }
.achievement-item[data-color="pink"]   { --ach-color: linear-gradient(135deg, #ec4899, #be185d); }
.achievement-item[data-color="green"]  { --ach-color: linear-gradient(135deg, #22c55e, #16a34a); }
.achievement-item[data-color="gold"]   { --ach-color: linear-gradient(135deg, #f59e0b, #d97706); }

/* ─────────────────────────────────────────────────────────────────
   LIVE APPOINTMENT WIDGET
   ───────────────────────────────────────────────────────────────── */
.live-appt-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9990;
  display: none;
}
.live-appt-widget.show { display: block; }
.live-widget-card {
  background: rgba(9, 19, 41, 0.97);
  border: 1px solid rgba(0,207,255,0.25);
  border-radius: 16px;
  padding: 16px 20px;
  width: 210px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,207,255,0.1);
  animation: slideInFromBottom 0.5s ease;
  position: relative;
}
.live-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #00cfff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}
.live-countdown {
  text-align: center;
  margin-bottom: 10px;
}
.countdown-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e2e8f0;
  animation: countdownPulse 2s ease-in-out infinite;
  letter-spacing: -1px;
  display: block;
}
.countdown-label {
  font-size: 0.7rem;
  color: rgba(226,232,240,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.live-widget-cta {
  display: block;
  text-align: center;
  padding: 9px;
  background: linear-gradient(135deg, #00cfff, #005bff);
  border-radius: 10px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.live-widget-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,207,255,0.4);
}
.live-widget-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 4px;
  line-height: 1;
  transition: color 0.2s;
}
.live-widget-close:hover { color: rgba(255,255,255,0.75); }

/* ─────────────────────────────────────────────────────────────────
   3D FLIP TREATMENT CARDS
   ───────────────────────────────────────────────────────────────── */
.flip-cards-section {
  padding: 100px 0;
  background: var(--dark-1, #050c1a);
  position: relative;
}
.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.flip-card-wrapper {
  perspective: 1000px;
  height: 260px;
  cursor: pointer;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}
.flip-card-wrapper:hover .flip-card-inner,
.flip-card-wrapper.flipped .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
  overflow: hidden;
}
.flip-card-front {
  background: rgba(13,27,56,0.75);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
}
.flip-card-back {
  background: linear-gradient(135deg, rgba(0,207,255,0.12), rgba(0,91,255,0.08));
  border: 1px solid rgba(0,207,255,0.25);
  backdrop-filter: blur(16px);
  transform: rotateY(180deg);
}
.flip-card-front .fc-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #00cfff, #005bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.flip-card-front h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.flip-card-front p {
  font-size: 0.8rem;
  color: rgba(226,232,240,0.6);
  line-height: 1.5;
}
.flip-card-hint {
  font-size: 0.7rem;
  color: rgba(0,207,255,0.6);
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.flip-card-back h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.flip-card-back p {
  font-size: 0.8rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.5;
  margin-bottom: 14px;
}
.flip-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #00cfff, #005bff);
  border-radius: 30px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.flip-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,207,255,0.4);
}

/* ─────────────────────────────────────────────────────────────────
   TRUST MARQUEE
   ───────────────────────────────────────────────────────────────── */
.trust-marquee-section {
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(5,12,26,0.8);
}
.trust-marquee-track {
  display: flex;
  gap: 48px;
  animation: infiniteScroll 25s linear infinite;
  width: max-content;
}
.trust-marquee-track:hover { animation-play-state: paused; }
.trust-marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(226,232,240,0.45);
  transition: color 0.3s ease;
  flex-shrink: 0;
}
.trust-marquee-item i { color: #00cfff; font-size: 1rem; }
.trust-marquee-item:hover { color: rgba(226,232,240,0.85); }

/* ─────────────────────────────────────────────────────────────────
   SOCIAL PROOF BANNER
   ───────────────────────────────────────────────────────────────── */
.social-proof-banner {
  background: linear-gradient(135deg, rgba(0,207,255,0.06), rgba(0,91,255,0.04), rgba(168,85,247,0.03));
  border: 1px solid rgba(0,207,255,0.12);
  border-radius: 20px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.social-proof-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,207,255,0.04), transparent);
  background-size: 200% 100%;
  animation: shimmerGold 4s ease-in-out infinite;
}
.spb-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spb-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,207,255,0.15), rgba(0,91,255,0.1));
  border: 1px solid rgba(0,207,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #00cfff; flex-shrink: 0;
}
.spb-text strong {
  display: block;
  font-size: 1.4rem; font-weight: 800; color: #e2e8f0; line-height: 1;
}
.spb-text span { font-size: 0.78rem; color: rgba(226,232,240,0.5); }

/* ─────────────────────────────────────────────────────────────────
   STAR RATINGS
   ───────────────────────────────────────────────────────────────── */
.star-rating-display {
  display: flex; align-items: center; gap: 3px;
}
.star-rating-display i {
  color: #f59e0b; font-size: 0.88rem;
  animation: starTwinkle 2s ease-in-out infinite;
}
.star-rating-display i:nth-child(2) { animation-delay: 0.2s; }
.star-rating-display i:nth-child(3) { animation-delay: 0.4s; }
.star-rating-display i:nth-child(4) { animation-delay: 0.6s; }
.star-rating-display i:nth-child(5) { animation-delay: 0.8s; }

/* ─────────────────────────────────────────────────────────────────
   ENHANCED TESTIMONIALS
   ───────────────────────────────────────────────────────────────── */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 5rem; line-height: 1;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, #00cfff, #005bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.3s;
}
.testimonial-card:hover::before { opacity: 0.55; }

/* ─────────────────────────────────────────────────────────────────
   SERVICE CARD ENHANCEMENTS
   ───────────────────────────────────────────────────────────────── */
.service-card .service-icon-3d {
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover .service-icon-3d {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 20px rgba(0,207,255,0.5));
}

/* ─────────────────────────────────────────────────────────────────
   TRUST BADGE CARDS
   ───────────────────────────────────────────────────────────────── */
.trust-badge-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.trust-badge-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 20px rgba(0,207,255,0.1);
}
.trust-badge-card:hover .trust-icon {
  transform: scale(1.2) rotate(-5deg);
  color: #00cfff;
}
.trust-icon {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─────────────────────────────────────────────────────────────────
   SCROLL-TO-TOP MEGA BUTTON
   ───────────────────────────────────────────────────────────────── */
#scrollTop {
  animation: breatheSlow 3s ease-in-out infinite;
}
#scrollTop:hover {
  animation: none;
}

/* ─────────────────────────────────────────────────────────────────
   NAVBAR ENHANCEMENTS
   ───────────────────────────────────────────────────────────────── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #00cfff, #005bff);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ─────────────────────────────────────────────────────────────────
   DOCTOR GLOW EFFECT
   ───────────────────────────────────────────────────────────────── */
.doctor-img-wrap::before {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 40px;
  background: radial-gradient(ellipse, rgba(0,207,255,0.25) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
  transition: all 0.4s ease;
}
.doctor-card:hover .doctor-img-wrap::before {
  width: 100%;
  opacity: 1.5;
}

/* ─────────────────────────────────────────────────────────────────
   FAQ ENHANCED
   ───────────────────────────────────────────────────────────────── */
.faq-item.active {
  border-color: rgba(0,207,255,0.3) !important;
  box-shadow: 0 0 20px rgba(0,207,255,0.08), inset 0 0 40px rgba(0,207,255,0.02);
}
.faq-item.active .faq-question { color: #00cfff; }
.faq-item .faq-icon {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg) scale(1.2);
  color: #00cfff;
  filter: drop-shadow(0 0 8px rgba(0,207,255,0.6));
}

/* ─────────────────────────────────────────────────────────────────
   MOBILE RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #journeySection .journey-timeline::before,
  .journey-section .journey-timeline::before {
    left: 24px !important;
    transform: none !important;
  }
  .journey-item,
  .journey-item:nth-child(odd),
  .journey-item:nth-child(even) {
    flex-direction: row !important;
    align-items: flex-start !important;
    transform: none !important;
    margin-bottom: 36px;
    padding-left: 0 !important;
  }
  .journey-node {
    left: 24px !important;
    top: 24px !important;
    transform: translate(-50%, 0) !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 0.95rem !important;
  }
  .journey-item:hover .journey-node {
    transform: translate(-50%, 0) scale(1.1) !important;
  }
  .journey-content {
    width: calc(100% - 60px) !important;
    margin-left: 60px !important;
    margin-right: 0 !important;
    padding: 18px 20px !important;
  }
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .flip-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .flip-card-wrapper { height: 200px; }
  .live-appt-widget { display: none !important; }
  .social-proof-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .spb-stat { flex-direction: column; text-align: center; }
  .trust-marquee-section { padding: 24px 0; }
}
@media (max-width: 480px) {
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .flip-cards-grid { grid-template-columns: 1fr; }
  .flip-card-wrapper { height: 240px; }
}
