/* ==========================================================================
   MELIAN HEALTH SERVICES - CORPORATE MODERN WHITISH DESIGN SYSTEM
   High Performance, Smooth Transitions, Crisp Micro-Interactions, 100% Responsive
   ========================================================================== */

:root {
  --melian-primary: #0072bb;
  --melian-primary-dark: #00568c;
  --melian-primary-light: #e0f2fe;
  --melian-teal: #0d9488;
  --melian-teal-dark: #0f766e;
  --melian-teal-light: #ccfbf1;
  --melian-accent-gold: #f59e0b;
  --melian-bg-white: #ffffff;
  --melian-bg-soft: #f8fafc;
  --melian-bg-elevated: #f1f5f9;
  --melian-text-main: #0f172a;
  --melian-text-muted: #64748b;
  --melian-text-light: #94a3b8;
  --melian-border-subtle: #e2e8f0;
  --melian-border-focus: #38bdf8;
  --melian-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --melian-shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --melian-shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --melian-shadow-glow: 0 0 20px rgba(0, 114, 187, 0.18);
  --melian-radius-sm: 8px;
  --melian-radius-md: 14px;
  --melian-radius-lg: 20px;
  --melian-radius-full: 9999px;
  --melian-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Smoothing & Fast Scroll */
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--melian-bg-soft);
  color: var(--melian-text-main);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Glassmorphism Elements */
.melian-glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--melian-radius-lg);
  box-shadow: var(--melian-shadow-md);
  transition: var(--melian-transition);
}
.melian-glass-card:hover {
  box-shadow: var(--melian-shadow-lg);
}

/* Corporate Clinic Headers */
.melian-badge-clinic {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
  padding: 6px 14px;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--melian-radius-full);
  letter-spacing: 0.02em;
}

/* Form Controls Optimization */
.melian-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}
.melian-form-control,
.melian-form-select {
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  font-size: 0.935rem;
  color: var(--melian-text-main);
  background: #ffffff;
  border: 1.5px solid var(--melian-border-subtle);
  border-radius: var(--melian-radius-md);
  transition: var(--melian-transition);
  outline: none;
}
.melian-form-control:focus,
.melian-form-select:focus {
  border-color: var(--melian-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 114, 187, 0.12);
}
.melian-form-control::placeholder {
  color: var(--melian-text-light);
}

/* Modern Step Navigation */
.melian-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}
.melian-step-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--melian-border-subtle);
  transform: translateY(-50%);
  z-index: 1;
}
.melian-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  cursor: pointer;
}
.melian-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--melian-border-subtle);
  color: var(--melian-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--melian-transition);
}
.melian-step-item.active .melian-step-circle {
  background: var(--melian-primary);
  border-color: var(--melian-primary);
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(0, 114, 187, 0.18);
}
.melian-step-item.completed .melian-step-circle {
  background: var(--melian-teal);
  border-color: var(--melian-teal);
  color: #ffffff;
}
.melian-step-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--melian-text-muted);
  text-align: center;
  white-space: nowrap;
}
.melian-step-item.active .melian-step-label {
  color: var(--melian-primary);
}

/* Selection Cards (Care Types & Payment Options) */
.melian-choice-card {
  border: 1.5px solid var(--melian-border-subtle);
  background: #ffffff;
  border-radius: var(--melian-radius-md);
  padding: 16px;
  cursor: pointer;
  transition: var(--melian-transition);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}
.melian-choice-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: var(--melian-shadow-sm);
}
.melian-choice-card.selected {
  border-color: var(--melian-primary);
  background: #f0f9ff;
  box-shadow: 0 0 0 3px rgba(0, 114, 187, 0.15);
}
.melian-choice-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--melian-radius-sm);
  background: #e0f2fe;
  color: var(--melian-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.melian-choice-card.selected .melian-choice-icon {
  background: var(--melian-primary);
  color: #ffffff;
}

/* Buttons */
.btn-melian-primary {
  background: linear-gradient(135deg, #0072bb 0%, #00568c 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--melian-radius-md);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.28);
  transition: var(--melian-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-melian-primary:hover {
  background: linear-gradient(135deg, #00568c 0%, #004068 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.35);
}
.btn-melian-outline {
  background: transparent;
  color: var(--melian-text-muted);
  border: 1.5px solid var(--melian-border-subtle);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--melian-radius-md);
  transition: var(--melian-transition);
}
.btn-melian-outline:hover {
  background: #f8fafc;
  color: var(--melian-text-main);
  border-color: #cbd5e1;
}

/* Animations */
@keyframes fadeInUpSubtle {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.melian-animated-step {
  animation: fadeInUpSubtle 0.35s ease forwards;
}

/* Responsive Rules for Small Devices */
@media (max-width: 768px) {
  .melian-step-label {
    display: none;
  }
  .melian-step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .melian-glass-card {
    border-radius: var(--melian-radius-md);
    padding: 1.25rem !important;
  }
}

/* =========================================================================
   MODERN ABOUT US & ANIMATED METRIC CARDS SECTION
   ========================================================================= */
.about-modern-section {
  position: relative;
  background: #ffffff;
  padding: 80px 0 40px 0;
}

.about-img-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 114, 187, 0.18);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-container:hover {
  transform: translateY(-4px);
}

.about-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-img-container:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatSubtle 4s ease-in-out infinite;
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.about-floating-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0072bb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-feature-mini {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  height: 100%;
}

.about-feature-mini:hover {
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(0, 114, 187, 0.12);
}

.about-feature-mini .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f0fdfa;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.about-feature-mini:hover .icon-box {
  background: #0072bb;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

/* Modern Animated Count Cards */
.counts-modern-section {
  padding: 20px 0 80px 0;
  background: #ffffff;
}

.modern-count-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.modern-count-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0072bb, #0d9488);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-count-card:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
  box-shadow: 0 20px 35px -8px rgba(0, 114, 187, 0.16);
}

.modern-count-card:hover::before {
  opacity: 1;
}

.count-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.count-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, background 0.35s ease;
}

.modern-count-card:hover .count-card-icon {
  transform: scale(1.1) rotate(-4deg);
}

.count-card-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

.count-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0072bb;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.modern-count-card:hover .count-card-title {
  color: #0d9488;
}

.count-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.count-card-link i {
  transition: transform 0.2s ease;
}

.modern-count-card:hover .count-card-link {
  color: #0072bb;
}

.modern-count-card:hover .count-card-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   Modern Home Services Section (High Contrast, Readable & Attractive)
   ========================================================================== */
.services-modern-section {
  position: relative;
  background: linear-gradient(135deg, #024b80 0%, #0072bb 45%, #088395 100%);
  padding: 90px 0 100px;
  overflow: hidden;
}

.services-modern-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
}

.services-modern-section .services-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.services-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.services-main-title {
  color: #ffffff !important;
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.services-subtitle {
  color: #e0f2fe !important;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 50px;
  line-height: 1.6;
  font-weight: 400;
}

.service-modern-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 24px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(2, 44, 76, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.service-modern-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, #0072bb, #0d9488);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 1);
}

.service-modern-card:hover::before {
  opacity: 1;
}

.service-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdfa 100%);
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.08);
}

.service-modern-card:hover .service-card-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 114, 187, 0.25);
}

.service-card-icon-wrap img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.service-modern-card:hover .service-card-icon-wrap img {
  filter: brightness(0) invert(1);
}

.service-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.service-modern-card:hover .service-card-title {
  color: #0072bb;
}

.service-card-desc {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 450;
}

.service-card-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0072bb;
  text-decoration: none;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
  transition: all 0.25s ease;
}

.service-card-action i {
  transition: transform 0.25s ease;
}

.service-modern-card:hover .service-card-action {
  color: #0d9488;
}

.service-modern-card:hover .service-card-action i {
  transform: translateX(5px);
}

/* ==========================================================================
   Bouncing Micro-Animations & CTA Highlights
   ========================================================================== */
@keyframes melianBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes melianPulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 114, 187, 0.4);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(0, 114, 187, 0);
  }
}

.melian-bounce-icon {
  display: inline-block;
  animation: melianBounce 2.4s ease-in-out infinite;
}

.melian-pulse-btn {
  animation: melianPulseGlow 2s infinite;
}

/* Call to Action (CTA) Banner */
.cta-modern-banner {
  background: linear-gradient(135deg, #024b80 0%, #0072bb 50%, #0d9488 100%);
  border-radius: 24px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 114, 187, 0.25);
  color: #ffffff;
  margin: 50px 0;
}

.cta-modern-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.cta-banner-subtitle {
  font-size: 1.05rem;
  color: #e0f2fe;
  margin-bottom: 0;
  line-height: 1.6;
}

.cta-btn-white {
  background: #ffffff;
  color: #0072bb !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.cta-btn-white:hover {
  background: #f0f9ff;
  color: #00568c !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.cta-btn-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   Modern Doctor Profile Cards
   ========================================================================== */
.doctor-modern-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 114, 187, 0.06);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-modern-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 114, 187, 0.15);
  border-color: #93c5fd;
}

.doctor-card-header {
  position: relative;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px 20px 20px;
  text-align: center;
}

.doctor-avatar-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  padding: 4px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 114, 187, 0.15);
  position: relative;
}

.doctor-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctor-status-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: #10b981;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.doctor-exp-pill {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  color: #0072bb;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.doctor-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  text-align: center;
}

.doctor-spec {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0d9488;
  text-align: center;
  margin-bottom: 16px;
}

.doctor-meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.875rem;
  color: #475569;
}

.doctor-meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.doctor-meta-list li i {
  color: #0072bb;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.doctor-book-btn {
  background: linear-gradient(135deg, #0072bb 0%, #00568c 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-top: auto;
}

.doctor-book-btn:hover {
  background: linear-gradient(135deg, #00568c 0%, #004068 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.3);
}

/* ==========================================================================
   Modern Contact Page Styling
   ========================================================================== */
.contact-info-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(0, 114, 187, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 14px 30px rgba(0, 114, 187, 0.12);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0f2fe;
  color: #0072bb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: #0072bb;
  color: #ffffff;
  transform: scale(1.08);
}

.contact-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.contact-info-desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

.contact-form-modern {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 114, 187, 0.08);
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   Modern Corporate Footer (High Contrast, Ultra-Legible, Dark & Crisp)
   ========================================================================== */
#footer.footer-modern,
.footer-modern {
  background: #090e1a !important;
  color: #f1f5f9 !important;
  position: relative !important;
  overflow: hidden !important;
  font-size: 0.95rem !important;
  padding: 0 !important;
  border-top: 3px solid #0072bb !important;
}

#footer.footer-modern::before,
.footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0072bb 0%, #0d9488 50%, #38bdf8 100%);
  z-index: 2;
}

.footer-modern-top {
  padding: 70px 0 45px !important;
  position: relative;
  z-index: 1;
  background: transparent !important;
}

.footer-glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 114, 187, 0.18) 0%, transparent 70%);
  top: -150px;
  left: -100px;
  pointer-events: none;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-brand-text h3 {
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.footer-brand-text span {
  color: #38bdf8 !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-desc {
  color: #cbd5e1 !important;
  line-height: 1.75 !important;
  font-size: 0.94rem !important;
  margin-bottom: 22px;
  font-weight: 400;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #f1f5f9 !important;
  font-size: 0.92rem !important;
}

.footer-contact-item i {
  color: #38bdf8 !important;
  font-size: 1.15rem !important;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #f1f5f9 !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

.footer-heading {
  color: #ffffff !important;
  font-size: 1.18rem !important;
  font-weight: 750 !important;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #38bdf8 !important;
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-nav-list li {
  margin-bottom: 12px;
  padding: 0 !important;
}

.footer-nav-list li a {
  color: #cbd5e1 !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

.footer-nav-list li a i {
  font-size: 0.8rem !important;
  color: #38bdf8 !important;
  transition: transform 0.25s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff !important;
  transform: translateX(6px);
}

.footer-nav-list li a:hover i {
  color: #38bdf8 !important;
  transform: translateX(3px);
}

/* Footer Newsletter Card */
.footer-newsletter-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.footer-newsletter-card p {
  color: #e2e8f0 !important;
  font-size: 0.9rem !important;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-subscribe-box {
  position: relative;
  margin-bottom: 20px;
}

.footer-subscribe-box input {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 13px 125px 13px 20px;
  color: #ffffff;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
}

.footer-subscribe-box input:focus {
  border-color: #0072bb;
  box-shadow: 0 0 0 3px rgba(0, 114, 187, 0.25);
}

.footer-subscribe-box button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-subscribe-box button:hover {
  background: linear-gradient(135deg, #00568c 0%, #0f766e 100%);
  transform: scale(1.02);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: #0072bb;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.35);
  border-color: #0072bb;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  background: #040711 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 24px 0 !important;
  font-size: 0.9rem !important;
  color: #cbd5e1 !important;
}

.footer-bottom-bar strong {
  color: #ffffff !important;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li a {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links li a:hover {
  color: #38bdf8 !important;
}


/* ==========================================================================
   Modern Navbar, Topbar Buttons & Modal Overhauls
   ========================================================================== */
#topbar {
  background: linear-gradient(90deg, #024b80 0%, #0072bb 60%, #0d9488 100%) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.topbar-phone-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.topbar-phone-link:hover {
  color: #e0f2fe;
}

.topbar-action-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.topbar-btn-prescription {
  background: #f59e0b;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.topbar-btn-prescription:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
}

.topbar-btn-callback {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.topbar-btn-callback:hover {
  background: #ffffff;
  color: #0072bb !important;
  transform: translateY(-2px);
}

.topbar-btn-feedback {
  background: rgba(13, 148, 136, 0.3);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
}

.topbar-btn-feedback:hover {
  background: #ffffff;
  color: #0d9488 !important;
  transform: translateY(-2px);
}

.topbar-btn-login {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.topbar-btn-login:hover {
  background: #ffffff;
  color: #0072bb !important;
  transform: translateY(-2px);
}

.topbar-btn-register {
  background: #10b981;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.topbar-btn-register:hover {
  background: #059669;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}

.topbar-btn-member {
  background: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.topbar-btn-member:hover {
  background: #0369a1;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Header Action Buttons */
.header-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0072bb !important;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-login-btn:hover {
  background: #0072bb;
  color: #ffffff !important;
  border-color: #0072bb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.2);
}

.header-register-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #065f46 !important;
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.header-register-btn:hover {
  background: #10b981;
  color: #ffffff !important;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.header-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.25);
  white-space: nowrap;
}

.header-portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.35);
  color: #ffffff !important;
}

/* Portal Showcase Section */
.portal-showcase-section {
  padding: 65px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef6fc 100%);
  position: relative;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.portal-showcase-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  padding: 26px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.portal-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 114, 187, 0.12);
  border-color: #bae6fd;
}

/* Modern Navbar Navigation Items & Hover Animations */
.navbar ul {
  gap: 4px;
}

.navbar a, 
.navbar a:focus {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 10px 14px !important;
  border-radius: 8px;
  position: relative;
  letter-spacing: 0.02em;
  transition: all 0.25s ease !important;
}

.navbar a:hover, 
.navbar .active, 
.navbar .active:focus, 
.navbar li:hover > a {
  color: #0072bb !important;
  background: #f0f9ff;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #0072bb;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar a:hover::after,
.navbar .active::after {
  transform: scaleX(1);
}

.navbar .appointment-btn {
  margin-left: 15px;
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 114, 187, 0.28) !important;
  transition: all 0.3s ease !important;
}

.navbar .appointment-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 114, 187, 0.38) !important;
  color: #ffffff !important;
}

.navbar .appointment-btn::after {
  display: none !important;
}

/* Modern Modals System */
.modern-modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modern-modal-header {
  background: linear-gradient(135deg, #024b80 0%, #0072bb 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-bottom: none;
}

.modern-modal-header .modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.modern-modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.modern-modal-body {
  padding: 30px 28px 24px;
  background: #ffffff;
}

.modern-modal-footer {
  padding: 16px 28px 24px;
  border-top: none;
  background: #ffffff;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modern-modal-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.modern-modal-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  width: 100%;
}

.modern-modal-input:focus {
  border-color: #0072bb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 114, 187, 0.15);
}

.modern-rating-pill-group {
  display: flex;
  gap: 10px;
}

.modern-rating-option {
  flex: 1;
  text-align: center;
}

.modern-rating-option input[type="radio"] {
  display: none;
}

.modern-rating-option label {
  display: block;
  padding: 10px 8px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.88rem;
}

.modern-rating-option input[type="radio"]:checked + label {
  border-color: #0072bb;
  background: #f0f9ff;
  color: #0072bb;
  box-shadow: 0 0 0 2px rgba(0, 114, 187, 0.2);
}

/* ==========================================================================
   Modern "Need Medicines?" Section - Elevated, Dark Borders & Glowing Edges
   ========================================================================== */
.medicine-modern-section {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 95px 0 100px;
  overflow: hidden;
}

.medicine-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 9999px;
  background: #0f172a;
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  margin-bottom: 14px;
}

.medicine-modern-card {
  position: relative;
  background: #ffffff;
  /* Dark crisp edge outline */
  border: 1.5px solid #0f172a;
  border-radius: 24px;
  padding: 38px 24px 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Deep elevation shadow with subtle neon/cyan glow */
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.18), 
              0 0 0 1px rgba(15, 23, 42, 0.08),
              0 0 20px rgba(0, 114, 187, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  z-index: 1;
}

/* Glowing Top/Accent Ring */
.medicine-modern-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 50%, #38bdf8 100%);
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s ease, filter 0.35s ease;
  filter: blur(8px);
}

.medicine-modern-card:hover {
  transform: translateY(-10px) scale(1.02);
  /* Glowing elevated edges on hover */
  border-color: #0072bb;
  box-shadow: 0 24px 45px -8px rgba(15, 23, 42, 0.28), 
              0 0 30px rgba(0, 114, 187, 0.35),
              0 0 15px rgba(13, 148, 136, 0.3);
}

.medicine-modern-card:hover::before {
  opacity: 0.85;
}

.medicine-step-badge {
  position: absolute;
  top: -16px;
  background: #0f172a;
  color: #38bdf8;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.35), 0 0 12px rgba(56, 189, 248, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}

.medicine-modern-card:hover .medicine-step-badge {
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.5);
}

.medicine-icon-container {
  width: 90px !important;
  height: 90px !important;
  min-width: 90px !important;
  min-height: 90px !important;
  max-width: 90px !important;
  max-height: 90px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid #bae6fd;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 10px auto 22px !important;
  transition: all 0.35s ease;
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.1);
  overflow: hidden !important;
}

.medicine-modern-card:hover .medicine-icon-container {
  transform: scale(1.08);
  border-color: #0072bb;
  box-shadow: 0 8px 24px rgba(0, 114, 187, 0.25);
  background: #ffffff;
}

.medicine-icon-container img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  display: block !important;
  margin: auto !important;
  transition: transform 0.35s ease;
}

.medicine-modern-card:hover .medicine-icon-container img {
  transform: scale(1.1);
}

.medicine-card-title {
  font-size: 1.18rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.medicine-modern-card:hover .medicine-card-title {
  color: #0072bb;
}

.medicine-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.medicine-card-btn {
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  justify-content: center;
}

.medicine-card-btn:hover {
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 114, 187, 0.4);
  border-color: transparent;
}

/* ==========================================================================
   DOCTORS SECTION & CARD LOADING ANIMATIONS
   ========================================================================== */
@keyframes doctorCardEntrance {
  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    filter: blur(4px);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-4px) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseStatusRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes doctorAvatarGlow {
  0%, 100% {
    border-color: #0072bb;
  }
  50% {
    border-color: #00d2ff;
  }
}

.doctor-card-animated {
  animation: doctorCardEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.doctor-premium-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.doctor-premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px -10px rgba(0, 114, 187, 0.2);
  border-color: #93c5fd;
}

.doctor-card-top {
  position: relative;
  padding: 30px 20px 15px;
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
}

.doctor-badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #bbf7d0;
}

.doctor-status-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulseStatusRing 2s infinite;
}

.doctor-exp-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doctor-avatar-container {
  width: 110px;
  height: 110px;
  margin: 10px auto 14px;
  position: relative;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #0072bb 0%, #0d9488 100%);
  box-shadow: 0 8px 20px rgba(0, 114, 187, 0.18);
  transition: transform 0.35s ease;
}

.doctor-premium-card:hover .doctor-avatar-container {
  transform: scale(1.06);
}

.doctor-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
}

.doctor-verified-icon {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: #0072bb;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.doctor-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.doctor-title-name {
  font-size: 1.15rem;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.doctor-specialty-tag {
  color: #0072bb;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 10px;
  display: block;
}

.doctor-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
}

.doctor-rating-row .stars {
  color: #f59e0b;
}

.doctor-bio-snippet {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.doctor-actions-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.doctor-book-action {
  flex-grow: 1;
  background: #0072bb;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.2);
}

.doctor-book-action:hover {
  background: #024b80;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.35);
}

.doctor-call-action {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.doctor-call-action:hover {
  background: #0d9488;
  color: #ffffff !important;
  border-color: #0d9488;
  transform: translateY(-2px);
}

/* ==========================================================================
   FINISHING TOUCH FOR GALLERY SECTION
   ========================================================================== */
.gallery-finishing-section {
  padding: 70px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.gallery-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 35px;
}

.gallery-filter-btn {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: #0072bb;
  color: #ffffff;
  border-color: #0072bb;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 114, 187, 0.25);
}

.gallery-card-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  height: 250px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card-item:hover img {
  transform: scale(1.1);
  filter: brightness(0.85);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: all 0.35s ease;
}

.gallery-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: #0072bb;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-card-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 750;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.gallery-card-desc {
  color: #cbd5e1;
  font-size: 0.78rem;
  margin-bottom: 0;
  line-height: 1.4;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 114, 187, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 187, 0.4);
}

.gallery-card-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

.gallery-finishing-slider .swiper-pagination {
  margin-top: 25px;
  position: relative;
}

.gallery-finishing-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.3s ease;
}

.gallery-finishing-slider .swiper-pagination-bullet-active {
  background: #0072bb;
  width: 28px;
  border-radius: 8px;
}



