/* -------------------------------------------------------------------------- */
/*  CareNest Nepal - Doctor Consultation Page Complete Modern Design System   */
/* -------------------------------------------------------------------------- */

:root {
  --doc-ocean-primary: #0ea5e9;
  --doc-ocean-dark: #0284c7;
  --doc-navy-deep: #0b1a30;
  --doc-navy-light: #1e293b;
  --doc-teal-accent: #06b6d4;
  --doc-emerald: #10b981;
  --doc-bg-light: #f8fafc;
  --doc-border-color: #e2e8f0;
  --doc-text-main: #334155;
  --doc-font-heading: var(--typo-heading-font-family, var(--typo-body-font-family, 'Montserrat', sans-serif));
  --doc-font-body: var(--typo-body-font-family, 'Montserrat', sans-serif);
}

/* ─── Global Reset & Base Layout ─── */
.carenext-doctor-consultation-page {
  font-family: var(--doc-font-body);
  color: var(--doc-text-main);
  background-color: #ffffff;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.carenext-doc-container {
  width: 100%;
  max-width: 1400px;
  padding-left: 5vw;
  padding-right: 5vw;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .carenext-doc-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ─── Shared Components & Typography ─── */
.carenext-doc-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--doc-ocean-dark);
  background: #e0f2fe;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.carenext-doc-heading {
  font-family: var(--doc-font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--doc-navy-deep);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.carenext-doc-lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--doc-text-muted);
  margin-bottom: 1.75rem;
}

.carenext-doc-sec-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.carenext-doc-subheading {
  font-size: 1.05rem;
  color: var(--doc-text-muted);
  margin-top: 0.75rem;
}

/* ─── Buttons ─── */
.carenext-doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.carenext-doc-btn--primary {
  background: linear-gradient(135deg, var(--doc-ocean-primary) 0%, var(--doc-ocean-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}

.carenext-doc-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.45);
  color: #ffffff !important;
}

.carenext-doc-btn--whatsapp {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.carenext-doc-btn--whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  color: #ffffff !important;
}

.carenext-doc-btn--outline {
  background: transparent;
  border: 2px solid #cbd5e1;
  color: var(--doc-navy-deep) !important;
}

.carenext-doc-btn--outline:hover {
  border-color: var(--doc-ocean-dark);
  color: var(--doc-ocean-dark) !important;
  background: #f0f9ff;
}

.carenext-doc-btn--block {
  width: 100%;
}

/* ==========================================================================
   1. HERO SECTION (Exact Mockup Match)
   ========================================================================== */
.carenext-doc-hero-section {
  padding: 3.5rem 0 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f3fe 60%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.carenext-doc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: flex-end;
}

.carenext-doc-hero-content {
  padding-bottom: 3.5rem;
}

.carenext-doc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.eyebrow-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
}

.eyebrow-line {
  display: inline-block;
  width: 42px;
  height: 2px;
  background: #0369a1;
  border-radius: 2px;
}

.carenext-doc-hero-title {
  font-family: var(--doc-font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f172a;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.title-highlight {
  display: block;
  color: #0284c7;
}

.carenext-doc-hero-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.carenext-doc-hero-desc strong {
  color: #0f172a;
  font-weight: 700;
}

.carenext-doc-hero-features {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.doc-hero-feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.12);
}

.feat-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.feat-sub {
  display: block;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.2;
  margin-top: 2px;
}

.carenext-doc-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-doc-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-doc-primary:hover {
  background: #0369a1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.45);
}

.btn-doc-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-doc-whatsapp .wa-svg {
  color: #25d366;
}

.btn-doc-whatsapp:hover {
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

/* Right Media Side */
.carenext-doc-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: flex-end;
  height: 100%;
}

.doc-hero-circles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circle-layer {
  position: absolute;
  border-radius: 50%;
}

.circle-layer-1 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.8) 0%, rgba(186, 230, 253, 0.4) 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.circle-layer-2 {
  width: 360px;
  height: 360px;
  background: rgba(224, 242, 254, 0.6);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.doc-hero-image-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: flex-end;
}

.doc-hero-main-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
  filter: drop-shadow(0 15px 30px rgba(2, 132, 199, 0.15));
}

.carenext-doc-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.carenext-doc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.carenext-doc-hero__eyebrow-text {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0066cc;
}

.carenext-doc-hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #0066cc;
  border-radius: 2px;
}

.carenext-doc-hero__title {
  font-family: var(--doc-font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--doc-navy-deep);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.carenext-doc-hero__desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--doc-text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.carenext-doc-hero__features {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.carenext-doc-hero__feat-col {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 260px;
}

.carenext-doc-hero__feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.carenext-doc-hero__feat-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  line-height: 1.25;
}

.carenext-doc-hero__feat-info span {
  display: block;
  font-size: 0.82rem;
  color: var(--doc-text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.carenext-doc-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.carenext-doc-btn--whatsapp {
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.carenext-doc-btn--whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  color: #ffffff !important;
}

.carenext-doc-hero__hotline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.carenext-doc-hero__hotline-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066cc;
  flex-shrink: 0;
}

.carenext-doc-hero__hotline-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  text-decoration: none;
  display: block;
  line-height: 1.2;
}

.carenext-doc-hero__hotline-num:hover {
  color: #0066cc;
}

.carenext-doc-hero__hotline-sub {
  font-size: 0.8rem;
  color: var(--doc-text-muted);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

/* Hero Media & Floating Badges */
.carenext-doc-hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carenext-doc-hero__img-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 20px 35px rgba(14, 165, 233, 0.22));
}

.carenext-doc-hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 1.5rem;
  display: block;
}

.carenext-doc-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 0.85rem 1.25rem;
  border-radius: 1.1rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  animation: docFloatAnim 4s ease-in-out infinite;
}

.carenext-doc-float-card--top {
  top: 6%;
  left: -6%;
}

.carenext-doc-float-card--bottom {
  bottom: 6%;
  right: -4%;
  animation-delay: 2s;
}

.carenext-doc-float-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.carenext-doc-float-card__title {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  line-height: 1.2;
}

.carenext-doc-float-card__desc {
  display: block;
  font-size: 0.78rem;
  color: var(--doc-text-muted);
  font-weight: 600;
}

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

/* ==========================================================================
   2. STATS GRID SECTION
   ========================================================================== */
.carenext-doc-stats-sec {
  padding: 3.5rem 0 4rem;
  background: #ffffff;
}

.carenext-doc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.carenext-doc-stat-card {
  background: var(--doc-bg-light);
  border: 1px solid var(--doc-border-color);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.carenext-doc-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: var(--doc-ocean-primary);
  background: #ffffff;
}

.carenext-doc-stat-card__icon-box {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: #f0f9ff;
  color: var(--doc-ocean-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.carenext-doc-stat-card__num {
  font-family: var(--doc-font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.carenext-doc-stat-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--doc-navy-light);
  margin-bottom: 0.35rem;
}

.carenext-doc-stat-card__sub {
  font-size: 0.85rem;
  color: var(--doc-text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   3. ABOUT SECTION
   ========================================================================== */
.carenext-doc-about-sec {
  padding: 4rem 0;
  background: #ffffff;
}

.carenext-doc-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.carenext-doc-about__img-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.carenext-doc-about__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
}

.carenext-doc-about__badge-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.carenext-doc-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.carenext-doc-check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  color: var(--doc-navy-light);
  font-size: 0.98rem;
}

.carenext-doc-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-weight: 900;
}

/* ==========================================================================
   4. SERVICE AREA BANNER
   ========================================================================== */
.carenext-doc-area-sec {
  padding: 2.5rem 0 4rem;
}

.carenext-doc-area-card {
  background: linear-gradient(135deg, var(--doc-navy-deep) 0%, var(--doc-ocean-dark) 100%);
  border-radius: 1.5rem;
  padding: 3rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.25);
}

.carenext-doc-area-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
}

.carenext-doc-area-card__info {
  flex: 1;
  min-width: 280px;
}

.carenext-doc-area-card__tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  display: block;
  margin-bottom: 0.4rem;
}

.carenext-doc-area-card__title {
  font-family: var(--doc-font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.carenext-doc-area-card__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.carenext-doc-area-card__locations {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.carenext-doc-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   5. PACKAGES SECTION
   ========================================================================== */
.carenext-doc-packages-sec {
  padding: 4.5rem 0;
  background: var(--doc-bg-light);
}

.carenext-doc-pkg-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.carenext-doc-pkg-card-v2 {
  background: #ffffff;
  border: 1.5px solid var(--doc-border-color);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.carenext-doc-pkg-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--doc-ocean-dark);
}

.carenext-doc-pkg-card-v2--popular {
  border-color: var(--doc-ocean-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.carenext-doc-pkg-card-v2__badge {
  position: absolute;
  top: -14px;
  right: 2rem;
  background: linear-gradient(135deg, var(--doc-ocean-primary) 0%, var(--doc-ocean-dark) 100%);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.carenext-doc-pkg-card-v2__title {
  font-family: var(--doc-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  margin: 0 0 0.25rem;
}

.carenext-doc-pkg-card-v2__cat {
  font-size: 0.85rem;
  color: var(--doc-ocean-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.carenext-doc-pkg-card-v2__pricing {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.carenext-doc-pkg-card-v2__price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--doc-ocean-dark);
}

.carenext-doc-pkg-card-v2__reg {
  font-size: 1rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.carenext-doc-pkg-card-v2__mode {
  font-size: 0.85rem;
  color: var(--doc-text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.carenext-doc-pkg-card-v2__features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.carenext-doc-pkg-card-v2__feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--doc-text-main);
  line-height: 1.5;
}

.carenext-doc-pkg-card-v2__feat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   6. TAB DETAILS SECTION
   ========================================================================== */
.carenext-doc-tab-sec {
  padding: 4.5rem 0;
  background: #ffffff;
}

.carenext-doc-tabs-box {
  background: #ffffff;
  border: 1px solid var(--doc-border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.carenext-doc-tabs-header {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.carenext-doc-tab-btn {
  padding: 0.85rem 1.75rem;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: var(--doc-text-muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.carenext-doc-tab-btn.active,
.carenext-doc-tab-btn:hover {
  color: var(--doc-ocean-dark);
  border-bottom-color: var(--doc-ocean-dark);
}

.carenext-doc-tab-content {
  display: none;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--doc-text-main);
}

.carenext-doc-tab-content.active {
  display: block;
}

.carenext-doc-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carenext-doc-spec-card {
  background: var(--doc-bg-light);
  border: 1px solid var(--doc-border-color);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--doc-navy-deep);
}

.carenext-doc-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.carenext-doc-check-item-v2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.carenext-doc-check-item-v2--included {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.carenext-doc-check-item-v2--excluded {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   7. SPECIALIZED DOCTORS DIRECTORY
   ========================================================================== */
.carenext-doc-doctors-sec {
  padding: 4.5rem 0;
  background: var(--doc-bg-light);
}

.carenext-doc-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.carenext-doc-filter-btn {
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--doc-border-color);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--doc-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.carenext-doc-filter-btn.active,
.carenext-doc-filter-btn:hover {
  background: var(--doc-ocean-dark);
  color: #ffffff;
  border-color: var(--doc-ocean-dark);
}

.carenext-doc-doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.carenext-doc-doctor-card {
  background: #ffffff;
  border: 1px solid var(--doc-border-color);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.carenext-doc-doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--doc-ocean-dark);
}

.carenext-doc-doctor-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e0f2fe;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.carenext-doc-doctor-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carenext-doc-doctor-card__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
  margin: 0 0 0.25rem;
}

.carenext-doc-doctor-card__qual {
  font-size: 0.88rem;
  color: var(--doc-ocean-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.carenext-doc-doctor-card__exp {
  font-size: 0.82rem;
  color: var(--doc-text-muted);
  margin-bottom: 1.25rem;
}

.carenext-doc-doctor-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  margin-top: 1rem;
}

.carenext-doc-doctor-card__fee-label {
  font-size: 0.75rem;
  color: var(--doc-text-muted);
  display: block;
}

.carenext-doc-doctor-card__fee-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
}

/* ==========================================================================
   8. FINAL CTA BANNER
   ========================================================================== */
.carenext-doc-cta-banner {
  padding: 4.5rem 0;
  background: #ffffff;
}

.carenext-doc-cta-banner__card {
  background: linear-gradient(135deg, var(--doc-ocean-primary) 0%, var(--doc-ocean-dark) 60%, var(--doc-navy-deep) 100%);
  border-radius: 1.5rem;
  padding: 3.5rem 3rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.carenext-doc-cta-banner__title {
  font-family: var(--doc-font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: #ffffff;
}

.carenext-doc-cta-banner__desc {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.carenext-doc-cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   9. BOOKING MODAL DIALOG
   ========================================================================== */
.carenext-doctor-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 26, 48, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.carenext-doctor-modal-overlay.open {
  display: flex;
}

.carenext-doctor-modal {
  background: #ffffff;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 520px;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: docModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes docModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.carenext-doctor-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
  color: var(--doc-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carenext-doctor-modal__close:hover {
  background: #e2e8f0;
  color: var(--doc-navy-deep);
}

.carenext-doctor-modal__header {
  margin-bottom: 1.5rem;
}

.carenext-doctor-modal__header h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--doc-navy-deep);
}

.carenext-doctor-modal__header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--doc-text-muted);
}

.carenext-doctor-modal__field {
  margin-bottom: 1.15rem;
}

.carenext-doctor-modal__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--doc-navy-light);
  margin-bottom: 0.4rem;
}

.carenext-doctor-modal__field input,
.carenext-doctor-modal__field select,
.carenext-doctor-modal__field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--doc-border-color);
  border-radius: 0.75rem;
  font-size: 0.95rem;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
}

.carenext-doctor-modal__field input:focus,
.carenext-doctor-modal__field select:focus,
.carenext-doctor-modal__field textarea:focus {
  outline: none;
  border-color: var(--doc-ocean-dark);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.carenext-doctor-modal__msg {
  margin-bottom: 1rem;
  display: none;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.carenext-doctor-modal__msg--success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.carenext-doctor-modal__msg--error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .carenext-doc-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }

  .circle-layer-1 {
    width: 380px;
    height: 380px;
  }

  .circle-layer-2 {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 991px) {
  .carenext-doc-hero-section {
    padding: 2.5rem 0 0;
  }

  .carenext-doc-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  .carenext-doc-hero-content {
    padding-bottom: 2rem;
    text-align: center;
  }

  .carenext-doc-hero-eyebrow {
    justify-content: center;
  }

  .carenext-doc-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .carenext-doc-hero-features {
    justify-content: center;
    gap: 1.5rem;
  }

  .carenext-doc-hero-actions {
    justify-content: center;
  }

  .carenext-doc-hero-media {
    order: 2;
    justify-content: center;
  }

  .circle-layer-1 {
    width: 340px;
    height: 340px;
  }

  .circle-layer-2 {
    width: 270px;
    height: 270px;
  }

  .doc-hero-image-wrap {
    max-width: 420px;
  }

  .carenext-doc-about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .carenext-doc-area-card {
    flex-direction: column;
    text-align: center;
  }

  .carenext-doc-area-card__locations {
    justify-content: center;
  }
}

/* Label visibility helpers */
.feat-label-mobile { display: none; }
.feat-label-desktop { display: inline; }

@media (max-width: 640px) {
  .feat-label-desktop { display: none; }
  .feat-label-mobile { display: inline; }

  .carenext-doc-hero-section {
    padding: 2rem 0 0;
  }

  .carenext-doc-hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .carenext-doc-hero-desc {
    font-size: 0.98rem;
  }

  .carenext-doc-hero-features {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 2rem;
  }

  .doc-hero-feat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-width: 0;
    padding: 0 2px;
  }

  .feat-icon-wrap {
    width: 40px;
    height: 40px;
    margin: 0 auto;
  }

  .feat-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .feat-title {
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .feat-sub {
    font-size: 0.72rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .carenext-doc-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .btn-doc-primary,
  .btn-doc-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .doc-hero-image-wrap {
    max-width: 320px;
  }

  .circle-layer-1 {
    width: 280px;
    height: 280px;
  }

  .circle-layer-2 {
    width: 220px;
    height: 220px;
  }

  .carenext-doc-tabs-box {
    padding: 1.5rem;
  }

  .carenext-doc-tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   11. SPECIALTIES CAROUSEL SECTION (Daraz Style Compact Category Tiles)
   ========================================================================== */
.carenext-doc-specialties-carousel-sec {
  padding: 2.25rem 0 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}

.carenext-doc-spec-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.carenext-doc-spec-header-text {
  max-width: 680px;
}

.spec-carousel-title {
  font-family: var(--doc-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.carenext-doc-carousel-navs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.doc-carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.doc-carousel-arrow:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.doc-carousel-arrow:active {
  transform: scale(0.95);
}

.doc-carousel-arrow.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.carenext-doc-spec-carousel-wrapper {
  position: relative;
  width: 100%;
}

.carenext-doc-spec-carousel-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 0.35rem 0.25rem 0.85rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.carenext-doc-spec-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.carenext-doc-spec-card-item {
  flex: 0 0 calc(14.285% - 0.73rem); /* 7 items per row on large screens */
  min-width: 140px;
  max-width: 170px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.carenext-doc-spec-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 130px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  padding: 1.1rem 0.75rem 0.95rem;
  text-decoration: none !important;
  position: relative;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carenext-doc-spec-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
  border-color: #0284c7;
  background: #ffffff;
}

.doc-spec-card-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #f8fafc;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
  padding: 8px;
  box-sizing: border-box;
}

.doc-spec-backend-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.doc-spec-inline-svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-spec-inline-svg svg {
  width: 32px;
  height: 32px;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.carenext-doc-spec-card-inner:hover .doc-spec-card-icon-box {
  background: #e0f2fe;
  color: #0369a1;
  transform: scale(1.05);
}

.doc-spec-card-content {
  width: 100%;
}

.doc-spec-card-title {
  font-family: var(--doc-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.carenext-doc-spec-card-inner:hover .doc-spec-card-title {
  color: #0284c7;
}

/* Responsive Breakpoints for Daraz Style Grid Tiles */
@media (max-width: 1200px) {
  .carenext-doc-spec-card-item {
    flex: 0 0 calc(16.666% - 0.71rem); /* 6 items */
    min-width: 135px;
  }
}

@media (max-width: 991px) {
  .carenext-doc-spec-card-item {
    flex: 0 0 calc(20% - 0.68rem); /* 5 items */
    min-width: 130px;
  }
}

@media (max-width: 768px) {
  .carenext-doc-specialties-carousel-sec {
    padding: 1.75rem 0 2rem;
  }

  .carenext-doc-spec-card-item {
    flex: 0 0 calc(25% - 0.64rem); /* 4 items */
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .carenext-doc-spec-card-item {
    flex: 0 0 calc(33.333% - 0.57rem); /* 3 items */
    min-width: 105px;
  }

  .doc-spec-card-icon-box {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
  }

  .doc-spec-card-title {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   12. TRUSTED HEALTHCARE SECTION (Mockup Match)
   ========================================================================== */
/* ==========================================================================
   12. SCHEDULE DOCTOR CONSULTATION BANNER SECTION (Image Match)
   ========================================================================== */
/* ==========================================================================
   12. SCHEDULE DOCTOR CONSULTATION BANNER SECTION (100% Full Width)
   ========================================================================== */
.carenext-doc-schedule-sec {
  padding: 0;
  margin: 3.5rem 0 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carenext-doc-schedule-card-full {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #e0f2fe;
  padding: 4.25rem 0;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.06);
  min-height: 440px;
  display: flex;
  align-items: center;
}

.schedule-inner-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.carenext-doc-schedule-content {
  position: relative;
  z-index: 4;
  max-width: 620px;
}

.carenext-schedule-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.carenext-schedule-eyebrow .eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #0066cc;
  border-radius: 2px;
}

.carenext-schedule-eyebrow .eyebrow-text {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0066cc;
}

.carenext-schedule-title {
  font-family: var(--doc-font-heading);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  color: #0b1a30;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
}

.carenext-schedule-title span,
.carenext-schedule-title .schedule-title-blue,
.carenext-schedule-title .text-primary-blue {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: #0066cc;
  display: inline;
}

.carenext-schedule-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 2rem;
  max-width: 540px;
}

/* 3 Buttons Row */
.carenext-schedule-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn-schedule-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: #0066cc;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-schedule-primary:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 102, 204, 0.35);
}

.btn-schedule-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-schedule-wa:hover {
  background: #ffffff;
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.18);
}

.btn-schedule-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0066cc;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1.5px solid #7dd3fc;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-schedule-phone:hover {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

/* Bottom Features Row */
.carenext-schedule-features {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.schedule-feat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.schedule-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Floating Badge on Lower Right */
.carenext-schedule-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid #f1f5f9;
}

.carenext-schedule-badge .badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066cc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carenext-schedule-badge .badge-text-wrap {
  display: flex;
  flex-direction: column;
}

.carenext-schedule-badge .badge-sub-label {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.carenext-schedule-badge .badge-title-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0b1a30;
  line-height: 1.15;
  display: block;
  white-space: nowrap;
}

/* Responsive Schedule Banner */
@media (max-width: 1024px) {
  .carenext-doc-schedule-card-full {
    padding: 3.5rem 0;
    background-position: right center;
  }

  .carenext-doc-schedule-content {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .carenext-doc-schedule-card-full {
    padding: 3rem 0;
    background-image: none !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f7ff 100%) !important;
  }

  .carenext-doc-schedule-content {
    max-width: 100%;
  }

  .desc-br-desktop {
    display: none;
  }

  .carenext-schedule-badge {
    position: static;
    margin-top: 2rem;
    display: inline-flex;
  }

  .carenext-schedule-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-schedule-primary,
  .btn-schedule-wa,
  .btn-schedule-phone {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .carenext-doc-trusted-sec {
    padding: 3rem 0 4rem;
  }

  .carenext-doc-trusted-highlights {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .carenext-doc-trusted-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .carenext-doc-trusted-actions .btn-doc-primary,
  .carenext-doc-trusted-actions .btn-doc-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   DOCTOR CONSULTATION - PACKAGES SECTION (Sample Design Match)
   ========================================================================== */
.carenext-doc-packages-sec {
  padding: 5rem 0 5.5rem;
  background: radial-gradient(circle at 50% 0%, #f0f7ff 0%, #f8fafc 70%);
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.carenext-doc-packages-header {
  text-align: left;
  max-width: 620px;
  margin: 0 0 2.5rem;
}

.carenext-doc-packages-header .carenext-doc-tag {
  margin-bottom: 0.85rem;
}

.carenext-doc-packages-title {
  font-family: var(--doc-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.carenext-doc-packages-title .text-primary-blue {
  color: #0066cc;
  font-weight: 700;
}

.carenext-doc-packages-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #64748b;
  margin: 4px 0 0;
  max-width: 620px;
}

/* Grid & Cards */
.carenext-doc-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.carenext-pkg-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carenext-pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 102, 204, 0.12);
}

/* Top Icon & Badge Row */
.pkg-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pkg-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.carenext-pkg-card:hover .pkg-card-icon {
  transform: scale(1.08);
}

.pkg-card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Themes matching the exact colors from sample */
/* 1. Navy Theme (1 Month) */
.theme-navy .pkg-card-icon {
  background: #eff6ff;
  color: #1e3a8a;
}
.theme-navy .pkg-card-badge {
  background: #eff6ff;
  color: #1e40af;
}
.theme-navy .pkg-price-val {
  color: #1e3a8a;
}
.theme-navy .btn-pkg-action {
  background: #0f3869;
  color: #ffffff;
}
.theme-navy .btn-pkg-action:hover {
  background: #0a2546;
}

/* 2. Green Theme (Home Visit) */
.theme-green .pkg-card-icon {
  background: #e6f7ed;
  color: #059669;
}
.theme-green .pkg-card-badge {
  background: #e6f7ed;
  color: #059669;
}
.theme-green .pkg-price-val {
  color: #059669;
}
.theme-green .btn-pkg-action {
  background: #059669;
  color: #ffffff;
}
.theme-green .btn-pkg-action:hover {
  background: #047857;
}

/* 3. Purple Theme (15 Days) */
.theme-purple .pkg-card-icon {
  background: #f3e8ff;
  color: #6b21a8;
}
.theme-purple .pkg-card-badge {
  background: #f3e8ff;
  color: #6b21a8;
}
.theme-purple .pkg-price-val {
  color: #5b21b6;
}
.theme-purple .btn-pkg-action {
  background: #4c1d95;
  color: #ffffff;
}
.theme-purple .btn-pkg-action:hover {
  background: #3b0764;
}

/* 4. Blue Theme (Online Video) */
.theme-blue .pkg-card-icon {
  background: #e0f2fe;
  color: #0284c7;
}
.theme-blue .pkg-card-badge {
  background: #e0f2fe;
  color: #0284c7;
}
.theme-blue .pkg-price-val {
  color: #0284c7;
}
.theme-blue .btn-pkg-action {
  background: #0284c7;
  color: #ffffff;
}
.theme-blue .btn-pkg-action:hover {
  background: #0369a1;
}

/* Card Content Typography */
.pkg-card-title {
  font-family: var(--doc-font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.65rem;
  line-height: 1.3;
  text-align: left;
}

.pkg-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 1.5rem;
  text-align: left;
  flex-grow: 1;
}

.pkg-card-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.pkg-price-val {
  font-family: var(--doc-font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.pkg-price-reg {
  font-size: 0.92rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

/* Actions */
.pkg-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-pkg-action {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 2rem;
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.btn-pkg-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.btn-pkg-link {
  background: transparent;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  padding: 0.35rem 0;
}

.btn-pkg-link:hover {
  color: #0066cc;
}

.btn-pkg-link:hover svg {
  transform: translateX(3px);
}

.btn-pkg-link svg {
  transition: transform 0.2s ease;
}

/* Bottom Trust Bar */
.carenext-doc-packages-trustbar {
  background: rgba(240, 249, 255, 0.85);
  border: 1px solid rgba(224, 242, 254, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
  padding: 1.15rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.05);
}

.trustbar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trustbar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  flex-shrink: 0;
}

.trustbar-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
}

.trustbar-divider {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

/* Package Modal */
.carenext-pkg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.carenext-pkg-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.carenext-pkg-modal .cn-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
}

.carenext-pkg-modal .cn-modal-container {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carenext-pkg-modal.is-active .cn-modal-container {
  transform: scale(1);
}

.carenext-pkg-modal .cn-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carenext-pkg-modal .cn-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cn-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1f5f9;
}

.cn-modal-badge {
  display: inline-block;
  background: #eff6ff;
  color: #0066cc;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cn-modal-title {
  font-family: var(--doc-font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0b1a30;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.cn-modal-price {
  font-family: var(--doc-font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0066cc;
  margin-bottom: 0.25rem;
}

.cn-modal-duration {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}

.cn-modal-content {
  margin-bottom: 1.5rem;
}

.cn-modal-section {
  margin-bottom: 1.5rem;
}

.cn-modal-section:last-child {
  margin-bottom: 0;
}

.cn-modal-section h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cn-modal-section h4 svg {
  flex-shrink: 0;
}

.cn-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cn-modal-list li {
  font-size: 0.92rem;
  color: #334155;
  padding-left: 1.65rem;
  position: relative;
  line-height: 1.45;
}

.cn-list-included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  color: #16a34a;
  font-weight: 900;
  font-size: 1.05rem;
}

.cn-list-excluded li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: 900;
  font-size: 0.9rem;
}

.cn-modal-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.js-book-from-pkg-modal {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: #0066cc;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
  transition: all 0.25s ease;
}

.js-book-from-pkg-modal:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 102, 204, 0.35);
}

/* Packages Responsive Breakpoints */
@media (max-width: 1200px) {
  .carenext-doc-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .trustbar-divider {
    display: none;
  }

  .carenext-doc-packages-trustbar {
    gap: 1.25rem;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .carenext-doc-packages-sec {
    padding: 3.5rem 0 4rem;
  }

  .carenext-doc-packages-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   DOCTOR CONSULTATION - DOCTORS SECTION
   ========================================================================== */
.carenext-doc-doctors-sec {
  padding: 5rem 0 6rem;
  background: #ffffff;
}

.carenext-doc-doctors-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.doctors-header-text {
  max-width: 620px;
}

.carenext-doc-doctors-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 4px;
}

.carenext-doc-filter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.doc-filter-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 2rem;
  padding: 0.55rem 1.15rem;
  min-width: 240px;
  transition: all 0.25s ease;
}

.doc-filter-search-box:focus-within {
  border-color: #0066cc;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.12);
}

.doc-filter-search-box svg {
  margin-right: 0.65rem;
  flex-shrink: 0;
}

.doc-filter-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  width: 100%;
}

.doc-filter-select-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 2rem;
  padding: 0.55rem 1rem;
  min-width: 200px;
  transition: all 0.25s ease;
}

.doc-filter-select-box:focus-within,
.doc-filter-select-box:hover {
  border-color: #0066cc;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.12);
}

.select-filter-icon {
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.doc-filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  width: 100%;
  padding-right: 1.5rem;
}

.select-chevron {
  position: absolute;
  right: 1rem;
  pointer-events: none;
}

.carenext-doc-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.carenext-doctor-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carenext-doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 102, 204, 0.12);
  border-color: #0284c7;
}

.doc-card-photo-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f1f5f9;
}

.doc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carenext-doctor-card:hover .doc-card-img {
  transform: scale(1.05);
}

.doc-card-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.bg-emerald-tint {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.bg-blue-tint {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.bg-purple-tint {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.bg-sky-tint {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.doc-card-exp-badge {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.doc-card-body {
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.doc-card-name {
  font-family: var(--doc-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.doc-card-specialty {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0284c7;
  display: block;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.doc-card-nmc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin: -0.35rem 0 0.85rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid #bae6fd;
  border-radius: 0.45rem;
  background: #f0f9ff;
  color: #075985;
  font-size: 0.76rem;
  line-height: 1.2;
}

.doc-card-nmc-label {
  font-weight: 800;
}

.doc-card-nmc-value {
  font-weight: 700;
}

.doc-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.doc-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
}

.doc-meta-fee {
  background: #f0fdf4;
  color: #16a34a;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
}

.doc-card-hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.btn-doc-book {
  margin-top: auto;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: #0066cc;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.22);
}

.btn-doc-book:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.35);
}

/* Doctors Section Responsive */
@media (max-width: 1200px) {
  .carenext-doc-doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .carenext-doc-doctors-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .carenext-doc-filter-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .doc-filter-search-box,
  .doc-filter-select-box {
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 640px) {
  .carenext-doc-doctors-sec {
    padding: 3.5rem 0 4rem;
  }

  .carenext-doc-doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Consultation Booking Popup Modal (Matched to Service Booking Form)
   ========================================================================== */
.carenext-booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.25rem;
}

.carenext-booking-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.carenext-booking-modal .cn-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.carenext-booking-modal .cn-modal-container {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 8px;
  max-width: 520px;
  width: 100%;
  padding: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.carenext-booking-modal.is-active .cn-modal-container {
  transform: scale(1);
}

.carenext-booking-modal .cn-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  font-size: 1.35rem;
  line-height: 1;
  color: #0f3b68;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 12;
  transition: background 0.2s, color 0.2s;
}

.carenext-booking-modal .cn-modal-close:hover {
  background: #0f3b68;
  color: #ffffff;
}

.doc-modal-body {
  padding: 2.5rem 2rem 2rem;
  box-sizing: border-box;
  width: 100%;
}

.doc-modal-header {
  text-align: left;
  margin-bottom: 1.25rem;
}

.doc-modal-header .modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.3rem;
  font-family: var(--doc-font-heading);
}

.doc-modal-header .modal-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.doc-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.doc-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.doc-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc-req {
  color: #d63638;
}

.doc-form-group input[type="text"],
.doc-form-group input[type="tel"],
.doc-form-group input[type="email"],
.doc-form-group select,
.doc-form-group textarea {
  width: 100% !important;
  padding: 0.65rem 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  font-size: 0.92rem !important;
  font-family: inherit !important;
  color: #0f172a !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.doc-form-group input:focus,
.doc-form-group select:focus,
.doc-form-group textarea:focus {
  border-color: #0f3b68 !important;
}

.doc-modal-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem !important;
}

.btn-modal-submit {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem !important;
  border-radius: 4px !important;
  background: #0f3b68 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: background 0.2s ease !important;
}

.btn-modal-submit:hover {
  background: #092746;
}

.btn-modal-submit .spin {
  animation: spin 1s infinite linear;
}

.booking-success-msg {
  text-align: center;
  padding: 1.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-success-msg .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.booking-success-msg .success-icon .dashicons {
  font-size: 32px;
  width: 32px;
  height: 32px;
  line-height: 32px;
}

.booking-success-msg h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.booking-success-msg p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 400px;
}

.booking-success-msg .cn-modal-close-success {
  padding: 0.75rem 2rem;
  border-radius: 0.4rem;
  background: #0f3b68;
  color: #ffffff;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.booking-success-msg .cn-modal-close-success:hover {
  background: #092746;
}

@media (max-width: 640px) {
  .carenext-booking-modal .cn-modal-container {
    padding: 1.5rem 1.25rem;
  }
}

/* Doctor Directory Pagination Controls */
.carenext-doc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
}

.doc-page-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.doc-page-nav:hover:not(:disabled) {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
  transform: translateY(-1px);
}

.doc-page-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.doc-page-numbers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doc-page-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.doc-page-num:hover {
  border-color: #0066cc;
  color: #0066cc;
  background: #f0f7ff;
}

.doc-page-num.active {
  background: #0066cc;
  color: #ffffff;
  border-color: #0066cc;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

@media (max-width: 640px) {
  .carenext-doc-pagination {
    margin-top: 2rem;
    gap: 0.5rem;
  }

  .doc-page-nav span {
    display: none;
  }

  .doc-page-nav {
    padding: 0.6rem;
  }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SUITE
   ========================================================================== */

/* 1200px Breakpoint (Laptops & Small Desktops) */
@media (max-width: 1200px) {
  .carenext-doc-container {
    padding: 0 1.5rem;
  }

  .carenext-doc-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .carenext-doc-hero-content {
    max-width: 760px;
    margin: 0 auto;
  }

  .carenext-doc-hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .carenext-doc-hero-features {
    justify-content: center;
  }

  .carenext-doc-hero-actions {
    justify-content: center;
  }

  .carenext-doc-hero-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .carenext-doc-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .carenext-doc-doctors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* 992px Breakpoint (Tablets) */
@media (max-width: 992px) {
  .carenext-doc-hero-section {
    padding: 3rem 0 3.5rem;
  }

  .carenext-doc-hero-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
  }

  .carenext-doc-schedule-card-full {
    padding: 3.5rem 0;
  }

  .carenext-doc-schedule-content {
    max-width: 480px;
  }
}

/* 768px Breakpoint (Mobile Landscape & Large Phones) */
@media (max-width: 768px) {
  .carenext-doc-container {
    padding: 0 1.25rem;
  }

  .carenext-doc-spec-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .carenext-doc-carousel-navs {
    display: none;
  }

  .carenext-doc-doctors-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .carenext-doc-filter-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .doc-filter-search-box,
  .doc-filter-select-box {
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }

  .carenext-doc-schedule-card-full {
    padding: 3rem 0;
    background-image: none !important;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f7ff 100%) !important;
  }

  .carenext-doc-schedule-content {
    max-width: 100%;
    text-align: center;
  }

  .carenext-schedule-eyebrow {
    justify-content: center;
  }

  .carenext-schedule-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .carenext-schedule-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .btn-schedule-primary,
  .btn-schedule-wa,
  .btn-schedule-phone {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .carenext-booking-modal .cn-modal-container,
  .carenext-pkg-modal .cn-modal-container {
    max-width: 94vw;
    padding: 1.75rem 1.25rem 1.5rem;
    border-radius: 1.25rem;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* 640px Breakpoint (Mobile Portrait) */
@media (max-width: 640px) {
  .carenext-doc-packages-sec,
  .carenext-doc-doctors-sec {
    padding: 3rem 0 3.5rem;
  }

  .carenext-doc-packages-grid,
  .carenext-doc-doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 420px;
    margin: 0 auto;
  }

  .carenext-doc-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-doc-primary,
  .btn-doc-whatsapp {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .doc-hero-feat-item {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .carenext-doc-pagination {
    margin-top: 2rem;
    gap: 0.4rem;
  }

  .doc-page-nav span {
    display: none;
  }

  .doc-page-nav {
    padding: 0.55rem 0.75rem;
  }

  .doc-page-num {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
}

/* 480px Breakpoint (Small Mobiles) */
@media (max-width: 480px) {
  .carenext-doc-hero-title {
    font-size: 1.85rem;
  }

  .carenext-doc-packages-title,
  .spec-carousel-title,
  .carenext-doc-doctors-title {
    font-size: 1.25rem;
  }

  .carenext-schedule-title {
    font-size: 1.65rem;
  }

  .pkg-card-title {
    font-size: 1.15rem;
  }

  .pkg-price-val {
    font-size: 1.4rem;
  }

  .doc-name {
    font-size: 1.05rem;
  }
}





