/* 3D & Component Styles - Eye Hospital */

/* ========================================================
   HERO SECTION & 3D EYE CANVAS
   ======================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 30%, #0d233e 0%, #070d19 70%, #040810 100%);
  color: white;
  padding: 5rem 0 6.5rem 0;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: var(--accent-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 50%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-feat-item svg {
  color: var(--accent-glow);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 3D Eye Visual Canvas Container */
.hero-3d-visual {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#eye-3d-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
  position: relative;
  z-index: 1;
}

#eye-3d-canvas:active {
  cursor: grabbing;
}

/* 3D Floating Anatomy / Tech Badges */
.floating-3d-card {
  position: absolute;
  padding: 0.85rem 1.15rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  transition: all var(--transition-smooth);
}

.floating-3d-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--accent-glow);
}

.fcard-1 {
  top: 12%;
  left: -8%;
  animation: floatCard 6s ease-in-out infinite;
}

.fcard-2 {
  bottom: 12%;
  right: -5%;
  animation: floatCard 6s ease-in-out infinite 3s;
}

.fcard-3 {
  bottom: -4%;
  left: 10%;
  animation: floatCard 7s ease-in-out infinite 1.5s;
}

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

.fcard-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(6, 182, 212, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  font-size: 1.1rem;
}

.fcard-text h5 {
  font-size: 0.92rem;
  color: white;
  margin-bottom: 0.15rem;
}

.fcard-text p {
  font-size: 0.76rem;
  color: #94a3b8;
}

/* 3D Model Control Hint */
.model-control-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

/* ========================================================
   QUICK BOOKING BAR (BELOW HERO)
   ======================================================== */
.quick-booking-bar {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  margin-bottom: 4rem;
}

.quick-bar-inner {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  box-shadow: var(--shadow-3d);
  border: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.quick-bar-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid #f1f5f9;
  padding-right: 1.25rem;
}

.quick-bar-field:last-of-type {
  border-right: none;
}

.quick-bar-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.quick-bar-label svg {
  color: var(--primary);
  width: 14px;
  height: 14px;
}

.quick-bar-select, .quick-bar-input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

/* ========================================================
   INTERACTIVE 3D VISION SIMULATOR
   ======================================================== */
.vision-simulator-section {
  background: #0f172a;
  color: white;
  position: relative;
  overflow: hidden;
}

.vision-simulator-box {
  background: #1e293b;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 340px;
}

.sim-viewport {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}

/* Simulation Filters via CSS */
.sim-viewport[data-condition="cataract"] .sim-scene-img {
  filter: blur(5px) contrast(65%) brightness(115%) sepia(20%);
}

.sim-viewport[data-condition="glaucoma"] .sim-scene-img {
  filter: contrast(120%);
  mask-image: radial-gradient(circle at center, black 25%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, black 25%, transparent 65%);
}

.sim-viewport[data-condition="retinopathy"] .sim-scene-img {
  filter: blur(2px);
}

.retinopathy-overlay {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 30% 40%, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.85) 50px, transparent 75px),
    radial-gradient(circle at 65% 55%, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.8) 40px, transparent 65px),
    radial-gradient(circle at 50% 75%, rgba(20,20,20,0.9) 0%, rgba(20,20,20,0.7) 35px, transparent 55px),
    radial-gradient(circle at 75% 25%, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.75) 45px, transparent 70px);
}

.sim-viewport[data-condition="retinopathy"] .retinopathy-overlay {
  display: block;
}

.sim-viewport[data-condition="myopia"] .sim-scene-img {
  filter: blur(8px);
}

.sim-overlay-info {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sim-controls {
  padding: 2.25rem 2rem;
  background: #131d31;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-controls h4 {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.5rem;
}

.sim-controls p {
  font-size: 0.86rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.sim-btn-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sim-condition-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
}

.sim-condition-btn:hover {
  background: rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.35);
  color: white;
}

.sim-condition-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(13, 148, 136, 0.3) 100%);
  border-color: var(--primary-light);
  color: white;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
}

.sim-condition-btn span.badge-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================================
   3D TILT CARDS & FEATURE GRIDS
   ======================================================== */
/* ========================================================
   3D TILT CARDS & FEATURE GRIDS
   ======================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.card-3d {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1.4rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.card-3d:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.16);
  border-color: #93c5fd;
}

.card-3d::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #0d9488);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card-3d:hover::after {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(13, 148, 136, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
  border: 1px solid rgba(2, 132, 199, 0.15);
  transition: transform var(--transition-spring), background var(--transition-fast);
}

.card-3d:hover .card-icon {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: white;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.card-text {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.54;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.card-3d ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem !important;
  padding-left: 0;
}

.card-3d ul li {
  font-size: 0.81rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.35;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px dashed #f1f5f9;
}

.card-link svg {
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(5px);
}

/* ========================================================
   DOCTOR PROFILES & CARDS
   ======================================================== */
.doctor-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
  border-color: #7dd3fc;
}

.doctor-img-wrap {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: #f1f5f9;
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

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

.doctor-badge-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.doctor-badge-status .status-circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
}

.doctor-experience {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
}

.doctor-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-specialty {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.doctor-name {
  font-size: 1.22rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.doctor-qualifications {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.doctor-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.95rem;
  font-size: 0.8rem;
  color: #475569;
}

.doctor-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.doctor-meta-item svg {
  color: var(--primary);
  width: 15px;
  height: 15px;
}

.doctor-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* ========================================================
   STATS COUNTERS & TRUST NUMBERS
   ======================================================== */
.stats-strip {
  background: linear-gradient(135deg, #070d19 0%, #0c203b 100%);
  color: white;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, #38bdf8 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ========================================================
   APPOINTMENT BOOKING WIZARD & PAYMENT GATEWAY MODAL
   ======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 25, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal-container {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(2, 132, 199, 0.25);
  border: 1px solid #e2e8f0;
  transform: translateY(20px) scale(0.97);
  transition: all var(--transition-spring);
  overflow: hidden;
}

.modal-overlay.active .booking-modal-container {
  transform: translateY(0) scale(1);
}

.booking-modal-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #070d19 0%, #0f2746 100%);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bm-header-info h3 {
  font-size: 1.45rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bm-header-info p {
  font-size: 0.85rem;
  color: #94a3b8;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #f43f5e;
  transform: rotate(90deg);
}

/* Wizard Stepper Progress */
.wizard-stepper {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.wizard-step.active {
  color: var(--primary);
}

.wizard-step.active .step-num {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.4);
}

.wizard-step.completed {
  color: #059669;
}

.wizard-step.completed .step-num {
  background: #10b981;
  color: white;
}

/* Wizard Body */
.wizard-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
}

.wizard-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step 1: Department & Doctor Selection */
.dept-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dept-card-option {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  background: #ffffff;
}

.dept-card-option:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}

.dept-card-option.selected {
  border-color: var(--primary);
  background: #e0f2fe;
}

.dept-card-option .dept-icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.dept-card-option h6 {
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.doctor-select-box {
  margin-bottom: 1.5rem;
}

.consult-type-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.consult-type-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.consult-type-card.selected {
  border-color: var(--primary);
  background: #f0f9ff;
}

.consult-type-card .type-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Step 2: Date & Slot Picking */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.time-slot-btn {
  padding: 0.65rem 0.5rem;
  border: 1px solid #cbd5e1;
  background: white;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.time-slot-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.time-slot-btn.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.time-slot-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
}

/* Step 3: Patient Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Step 4: Payment Gateway & Summary */
.payment-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: #475569;
}

.summary-row.total {
  border-top: 1px solid #cbd5e1;
  padding-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.payment-method-card {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: white;
}

.payment-method-card:hover {
  border-color: #7dd3fc;
}

.payment-method-card.selected {
  border-color: var(--primary);
  background: #f0f9ff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.pm-icon {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.pm-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.pm-sub {
  font-size: 0.72rem;
  color: #64748b;
}

/* Payment Sub-panels */
.payment-detail-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.upi-qr-display {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.qr-code-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px;
  border: 1px solid #cbd5e1;
}

/* Step 5: Booking Confirmation Voucher */
.booking-success-view {
  text-align: center;
  padding: 2rem 1rem;
}

.success-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  animation: scaleSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleSuccess {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.appointment-voucher {
  max-width: 540px;
  margin: 1.75rem auto;
  background: white;
  border: 2px dashed #0284c7;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.appointment-voucher::before, .appointment-voucher::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
}
.appointment-voucher::before { left: -13px; }
.appointment-voucher::after { right: -13px; }

.voucher-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.voucher-token {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.voucher-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.voucher-item label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: #64748b;
  display: block;
}

.voucher-item strong {
  color: #0f172a;
}

/* Wizard Footer Controls */
.wizard-footer {
  padding: 1.25rem 2rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================================================
   DISEASES & SURGERIES ACCORDION / TABS
   ======================================================== */
.category-filter-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.filter-pill {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  background: white;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* Surgery Card */
.treatment-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
}

.treatment-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.treatment-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.treatment-card:hover .treatment-img-wrap img {
  transform: scale(1.08);
}

.treatment-tag {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
}

.treatment-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: #0f172a;
}

.treatment-bullets {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #475569;
}

.treatment-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.treatment-bullets li svg {
  color: var(--secondary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ========================================================
   FAQS & ACCORDIONS
   ======================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* ========================================================
   TPA & CASHLESS INSURANCE LOGO GRID
   ======================================================== */
.tpa-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .tpa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tpa-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 170px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.tpa-card:hover {
  transform: translateY(-4px);
  border-color: #0284c7;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.15);
}

.tpa-logo-box {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.tpa-logo-img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.tpa-card:hover .tpa-logo-img {
  transform: scale(1.05);
}

.tpa-card h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.25rem 0;
  line-height: 1.3;
}

.tpa-card span {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-top: 0.35rem;
}

/* ========================================================
   BLOG CARD COMPONENT
   ======================================================== */
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
}

.blog-img-wrap {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.06);
}

.blog-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ========================================================
   PINTEREST-STYLE LUXURY BENTO GRID & VISUAL SLIDER
   ======================================================== */

/* Bento Grid */
.pinterest-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.bento-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.15), 0 0 25px rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.4);
}

.bento-card.bento-hero {
  grid-column: span 7;
  grid-row: span 2;
}

.bento-card.bento-standard {
  grid-column: span 5;
}

.bento-card.bento-half {
  grid-column: span 6;
}

.bento-media-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.bento-hero .bento-media-wrap {
  height: 320px;
}

.bento-standard .bento-media-wrap {
  height: 190px;
}

.bento-half .bento-media-wrap {
  height: 220px;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-img {
  transform: scale(1.06);
}

.bento-glass-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite;
}

.bento-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bento-badge-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.bento-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.bento-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .bento-card.bento-hero,
  .bento-card.bento-standard,
  .bento-card.bento-half {
    grid-column: span 12;
  }
  .bento-hero .bento-media-wrap {
    height: 240px;
  }
}

/* ========================================================
   BEFORE / AFTER VISION CLARITY SLIDER
   ======================================================== */
.before-after-container {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: #000;
}

.before-after-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-image-blurry {
  filter: blur(9px) contrast(0.85) brightness(0.92);
}

.before-img-wrap {
  z-index: 2;
  border-right: 2px solid white;
}

.ba-badge {
  position: absolute;
  top: 18px;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ba-badge-before {
  left: 18px;
  background: rgba(239, 68, 68, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-badge-after {
  right: 18px;
  background: rgba(16, 185, 129, 0.85);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  margin-left: -22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ba-handle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  z-index: 6;
  border: 2px solid #0284c7;
}

.ba-instructions {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

