/* Custom CSS for Doctor Landing Page */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #0D6EFD;
  --primary-hover: #0b5ed7;
  --dark-blue: #0640A8;
  --footer-blue: #004DB3;
  --bg-light: #F4F8FF;
  --card-bg: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Glassmorphism & Shadow Utilities */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.08), 0 5px 15px rgba(0, 0, 0, 0.04);
}

.custom-shadow {
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.07);
}

.custom-shadow-lg {
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.12);
}

/* Concentric Rings Behind Doctor in Hero Section */
.hero-radar-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  height: 680px;
  pointer-events: none;
  z-index: 0;
  max-width: 100vw;
}

.hero-radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(13, 110, 253, 0.14);
}

.hero-radar-ring-1 { width: 280px; height: 280px; }
.hero-radar-ring-2 { width: 440px; height: 440px; }
.hero-radar-ring-3 { width: 600px; height: 600px; }
.hero-radar-ring-4 { width: 740px; height: 740px; border: 1px dashed rgba(13, 110, 253, 0.1); }

@media (max-width: 640px) {
  .hero-radar-container {
    width: 340px;
    height: 340px;
  }
  .hero-radar-ring-1 { width: 180px; height: 180px; }
  .hero-radar-ring-2 { width: 260px; height: 260px; }
  .hero-radar-ring-3 { width: 340px; height: 340px; }
  .hero-radar-ring-4 { width: 400px; height: 400px; }
}

/* Transparent Doctor PNG Drop Shadow & Grounding */
.transparent-doctor-img {
  filter: drop-shadow(0 12px 25px rgba(13, 110, 253, 0.16));
  transition: transform 0.3s ease, filter 0.3s ease;
  vertical-align: bottom;
  margin-bottom: -2px; /* Eliminates bottom sub-pixel gap */
}

.transparent-doctor-img:hover {
  transform: scale(1.01);
  filter: drop-shadow(0 18px 35px rgba(13, 110, 253, 0.22));
}

.circle-doctor-blend {
  object-fit: cover;
  object-position: top center;
}

/* Floating Animations */
.animate-float-slow {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 4s ease-in-out 2s infinite;
}

.animate-pulse-slow {
  animation: pulse-ring 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Concentric Radar Rings for Skill & Experience Section */
.radar-ring-1 {
  width: 300px;
  height: 300px;
  border: 1.5px dashed rgba(13, 110, 253, 0.25);
  border-radius: 50%;
}
.radar-ring-2 {
  width: 420px;
  height: 420px;
  border: 1.5px solid rgba(13, 110, 253, 0.12);
  border-radius: 50%;
}
.radar-ring-3 {
  width: 540px;
  height: 540px;
  border: 1.5px dashed rgba(13, 110, 253, 0.08);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .radar-ring-1 { width: 200px; height: 200px; }
  .radar-ring-2 { width: 280px; height: 280px; }
  .radar-ring-3 { width: 340px; height: 340px; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Custom Button Styling */
.btn-primary-pill {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary-pill:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.45);
}

.btn-outline-pill {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: 9999px;
  padding: 0.65rem 1.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-pill:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Card Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.12);
}

/* Floating Dots Decoration */
.bg-dot-blue {
  width: 14px;
  height: 14px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

.bg-dot-light {
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary-blue);
  border-radius: 50%;
  opacity: 0.4;
}

/* ==================== WEBFLOW SCROLL REVEAL ANIMATIONS ==================== */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays for Grid Cards */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Webflow Smooth Card Hover Lift */
.webflow-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.webflow-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 45px rgba(13, 110, 253, 0.15);
}

/* ==================== CUSTOM MOUSE CURSOR & GLOW ==================== */
@media (pointer: fine) {
  .custom-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, background-color 0.3s ease;
  }

  .custom-cursor-follower {
    width: 36px;
    height: 36px;
    border: 2px solid rgba(13, 110, 253, 0.4);
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  }

  /* Cursor States on Hover */
  body.cursor-active .custom-cursor {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #0b5ed7;
  }

  body.cursor-active .custom-cursor-follower {
    width: 55px;
    height: 55px;
    border-color: rgba(13, 110, 253, 0.8);
    background-color: rgba(13, 110, 253, 0.12);
  }
}

