/* ==========================================================================
   EAR TREATMENT PAGE - MODERN MEDICAL UI & ANIMATIONS
   MedFirst ENT Centre | Dr. (Major) Rajesh Bhardwaj
   ========================================================================== */

:root {
  --ear-primary: #00b468;
  --ear-primary-dark: #059669;
  --ear-primary-light: #e6f9f0;
  --ear-primary-glow: rgba(0, 180, 104, 0.25);
  --ear-secondary: #0f172a;
  --ear-slate-dark: #1e293b;
  --ear-slate-muted: #64748b;
  --ear-slate-light: #f8fafc;
  --ear-cyan: #06b6d4;
  --ear-cyan-light: #ecfeff;
  --ear-amber: #f59e0b;
  --ear-border: #e2e8f0;
  --ear-border-light: #f1f5f9;
  --ear-card-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  --ear-card-shadow-hover: 0 20px 40px rgba(0, 180, 104, 0.15);
  --ear-transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --------------------------------------------------------------------------
   KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes pulse-soft {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 180, 104, 0.4);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(0, 180, 104, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 180, 104, 0);
  }
}

@keyframes shimmer-glow {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.ear-float-anim {
  animation: float-slow 4s ease-in-out infinite;
}

.ear-pulse-badge {
  animation: pulse-soft 2.5s infinite;
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.ear-hero-section {
  position: relative;
  padding: 65px 0 75px;
  background: radial-gradient(100% 100% at 50% 0%, #edfcf3 0%, #ffffff 65%, #f4fbf7 100%);
  border-bottom: 1px solid var(--ear-border);
  overflow: hidden;
}

.ear-hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 180, 104, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ear-hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ear-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ear-primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0, 180, 104, 0.25);
  box-shadow: 0 4px 15px rgba(0, 180, 104, 0.08);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ear-badge-pill i {
  font-size: 16px;
  color: var(--ear-primary);
}

.ear-doc-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 8px 18px 8px 10px;
  border-radius: 50px;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 6px 20px rgba(0, 180, 104, 0.08);
  margin-bottom: 20px;
  transition: var(--ear-transition);
}

.ear-doc-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--ear-primary);
  box-shadow: 0 8px 25px rgba(0, 180, 104, 0.16);
}

.ear-doc-badge-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--ear-primary);
}

.ear-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--ear-secondary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.ear-hero-title .gradient-text {
  background: linear-gradient(135deg, var(--ear-primary) 0%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ear-hero-subtitle {
  color: var(--ear-primary-dark);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 18px;
}

.ear-hero-desc {
  color: #475569;
  line-height: 1.8;
  font-size: 15.5px;
  margin-bottom: 24px;
}

/* Hero Key Highlights */
.ear-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 16px;
  margin-bottom: 28px;
}

.ear-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ear-slate-dark);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 9px 15px;
  border-radius: 12px;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 2px 8px rgba(0, 180, 104, 0.04);
  transition: var(--ear-transition);
}

.ear-highlight-item:hover {
  background: #ffffff;
  border-color: var(--ear-primary);
  box-shadow: 0 4px 15px rgba(0, 180, 104, 0.12);
  transform: translateX(4px);
}

.ear-highlight-item i {
  color: var(--ear-primary);
  font-size: 18px;
  flex-shrink: 0;
}

/* Hero Action Buttons */
.ear-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.ear-btn-primary {
  background: linear-gradient(135deg, var(--ear-primary) 0%, var(--ear-primary-dark) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px var(--ear-primary-glow);
  transition: var(--ear-transition);
  text-decoration: none;
}

.ear-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 180, 104, 0.35);
  color: #ffffff;
}

.ear-btn-secondary {
  background: #ffffff;
  color: var(--ear-secondary) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--ear-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--ear-transition);
  text-decoration: none;
}

.ear-btn-secondary:hover {
  background: var(--ear-slate-light);
  border-color: var(--ear-primary);
  color: var(--ear-primary) !important;
  transform: translateY(-3px);
}

.ear-btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--ear-transition);
  text-decoration: none;
}

.ear-btn-whatsapp:hover {
  background: #1eb956;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   HERO BOOKING CARD
   -------------------------------------------------------------------------- */
.ear-form-card {
  background: linear-gradient(145deg, #ffffff 0%, #fbfdfc 45%, #f0fdf4 100%);
  border-radius: 20px;
  padding: 34px 30px;
  border: 1.5px solid rgba(0, 180, 104, 0.25);
  box-shadow: 0 20px 50px rgba(0, 180, 104, 0.1);
  position: relative;
  overflow: hidden;
}

.ear-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ear-primary), #10b981, var(--ear-cyan));
}

.ear-form-card .form-control-custom {
  width: 100%;
  height: 46px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ear-secondary);
  transition: var(--ear-transition);
  background: #fdfdfd;
}

.ear-form-card textarea.form-control-custom {
  height: auto;
  padding: 12px 16px;
}

.ear-form-card .form-control-custom:focus {
  outline: none;
  border-color: var(--ear-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 180, 104, 0.12);
}

.ear-form-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--ear-primary) 0%, var(--ear-primary-dark) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 6px 20px var(--ear-primary-glow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--ear-transition);
}

.ear-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 180, 104, 0.35);
}

/* --------------------------------------------------------------------------
   STATS / TRUST COUNTER BAR
   -------------------------------------------------------------------------- */
.ear-stat-bar-modern {
  background: linear-gradient(135deg, #091222 0%, #0f172a 50%, #132238 100%);
  color: #ffffff;
  padding: 42px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ear-stat-box {
  text-align: center;
  padding: 15px 20px;
  position: relative;
  transition: var(--ear-transition);
}

.ear-stat-box:hover {
  transform: translateY(-4px);
}

.ear-stat-box .ear-stat-num {
  font-size: 38px;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.15;
  margin-bottom: 6px;
}

.ear-stat-box .ear-stat-num.stat-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ear-stat-box .ear-stat-num.stat-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ear-stat-box .ear-stat-num.stat-rose {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ear-stat-box .ear-stat-text {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION HEADINGS WITH ATTRACTIVE BACKGROUND THEME
   -------------------------------------------------------------------------- */
.ear-section-header {
  position: relative;
  background: linear-gradient(135deg, rgba(230, 249, 240, 0.95) 0%, rgba(240, 253, 244, 0.92) 50%, rgba(236, 254, 255, 0.88) 100%);
  border: 1.5px solid rgba(0, 180, 104, 0.22);
  border-radius: 22px;
  padding: 34px 28px 30px;
  max-width: 880px;
  margin: 0 auto 52px;
  box-shadow: 0 10px 35px rgba(0, 180, 104, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
  text-align: center;
  overflow: hidden;
  transition: var(--ear-transition);
}

.ear-section-header:hover {
  border-color: rgba(0, 180, 104, 0.4);
  box-shadow: 0 14px 45px rgba(0, 180, 104, 0.14);
  transform: translateY(-2px);
}

/* Decorative Ambient Glow in Header */
.ear-section-header::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 180, 104, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ear-section-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ear-section-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--ear-primary);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.1px;
  padding: 7px 18px;
  border-radius: 30px;
  border: 1px solid rgba(0, 180, 104, 0.25);
  box-shadow: 0 4px 12px rgba(0, 180, 104, 0.1);
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.ear-section-header h1,
.ear-section-header h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--ear-secondary);
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ear-section-header p {
  color: #475569;
  font-size: 15.5px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Specific Section Theme Variations */
.ear-section-header.header-theme-diagnostics {
  background: linear-gradient(135deg, rgba(236, 254, 255, 0.95) 0%, rgba(240, 253, 244, 0.92) 50%, rgba(224, 242, 254, 0.88) 100%);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 10px 35px rgba(6, 182, 212, 0.09);
}

.ear-section-header.header-theme-surgeries {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(230, 249, 240, 0.95) 100%);
  border-color: rgba(0, 180, 104, 0.28);
  box-shadow: 0 10px 35px rgba(0, 180, 104, 0.1);
}

.ear-section-header.header-theme-journey {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(230, 249, 240, 0.92) 50%, rgba(240, 253, 244, 0.95) 100%);
  border-color: rgba(0, 180, 104, 0.25);
  box-shadow: 0 10px 35px rgba(0, 180, 104, 0.08);
}

.ear-section-header.header-theme-faqs {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95) 0%, rgba(236, 254, 255, 0.88) 50%, rgba(248, 250, 252, 0.95) 100%);
  border-color: rgba(0, 180, 104, 0.25);
  box-shadow: 0 10px 35px rgba(0, 180, 104, 0.08);
}

/* --------------------------------------------------------------------------
   CONDITIONS WE TREAT - CARDS
   -------------------------------------------------------------------------- */
.ear-condition-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 45%, #e8f9f0 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 22px rgba(0, 180, 104, 0.06);
  transition: var(--ear-transition);
  overflow: hidden;
}

.ear-condition-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ear-primary), var(--ear-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.ear-condition-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f0 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 20px 45px rgba(0, 180, 104, 0.16);
}

.ear-condition-card:hover::after {
  transform: scaleX(1);
}

/* Specific Condition Color Combinations */
.ear-condition-card.theme-hearing {
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.ear-condition-card.theme-hearing:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.16);
}

.ear-condition-card.theme-hearing .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(6, 182, 212, 0.28));
  color: #0284c7;
}

.ear-condition-card.theme-hearing .ear-tag-pill {
  color: #0369a1;
  border-color: #bae6fd;
}

.ear-condition-card.theme-hearing:hover .ear-tag-pill {
  background: #0284c7;
  color: #ffffff;
}

.ear-condition-card.theme-infection {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 45%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.ear-condition-card.theme-infection:hover {
  border-color: #059669;
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.16);
}

.ear-condition-card.theme-infection .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.28));
  color: #059669;
}

.ear-condition-card.theme-infection .ear-tag-pill {
  color: #047857;
  border-color: #bbf7d0;
}

.ear-condition-card.theme-infection:hover .ear-tag-pill {
  background: #059669;
  color: #ffffff;
}

.ear-condition-card.theme-tinnitus {
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 45%, #f3e8ff 100%);
  border-color: #e9d5ff;
}

.ear-condition-card.theme-tinnitus:hover {
  border-color: #7e22ce;
  box-shadow: 0 20px 45px rgba(126, 34, 206, 0.16);
}

.ear-condition-card.theme-tinnitus .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(126, 34, 206, 0.28));
  color: #7e22ce;
}

.ear-condition-card.theme-tinnitus .ear-tag-pill {
  color: #6b21a8;
  border-color: #e9d5ff;
}

.ear-condition-card.theme-tinnitus:hover .ear-tag-pill {
  background: #7e22ce;
  color: #ffffff;
}

.ear-condition-card.theme-vertigo {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 45%, #fef3c7 100%);
  border-color: #fde68a;
}

.ear-condition-card.theme-vertigo:hover {
  border-color: #d97706;
  box-shadow: 0 20px 45px rgba(217, 119, 6, 0.16);
}

.ear-condition-card.theme-vertigo .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.28));
  color: #d97706;
}

.ear-condition-card.theme-vertigo .ear-tag-pill {
  color: #b45309;
  border-color: #fde68a;
}

.ear-condition-card.theme-vertigo:hover .ear-tag-pill {
  background: #d97706;
  color: #ffffff;
}

.ear-condition-card.theme-perforation {
  background: linear-gradient(145deg, #ffffff 0%, #fff1f2 45%, #ffe4e6 100%);
  border-color: #fecdd3;
}

.ear-condition-card.theme-perforation:hover {
  border-color: #e11d48;
  box-shadow: 0 20px 45px rgba(225, 29, 72, 0.16);
}

.ear-condition-card.theme-perforation .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15), rgba(244, 63, 94, 0.28));
  color: #e11d48;
}

.ear-condition-card.theme-perforation .ear-tag-pill {
  color: #be123c;
  border-color: #fecdd3;
}

.ear-condition-card.theme-perforation:hover .ear-tag-pill {
  background: #e11d48;
  color: #ffffff;
}

.ear-condition-card.theme-pediatric {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 40%, #ecfeff 100%);
  border-color: #a7f3d0;
}

.ear-condition-card.theme-pediatric:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 45px rgba(14, 165, 233, 0.16);
}

.ear-condition-card.theme-pediatric .ear-icon-bubble {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(16, 185, 129, 0.28));
  color: #0284c7;
}

.ear-condition-card.theme-pediatric .ear-tag-pill {
  color: #0f766e;
  border-color: #a7f3d0;
}

.ear-condition-card.theme-pediatric:hover .ear-tag-pill {
  background: #0284c7;
  color: #ffffff;
}

.ear-icon-bubble {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 180, 104, 0.15), rgba(0, 180, 104, 0.28));
  color: var(--ear-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 180, 104, 0.12);
  transition: var(--ear-transition);
}

.ear-condition-card:hover .ear-icon-bubble {
  background: linear-gradient(135deg, var(--ear-primary), var(--ear-primary-dark));
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(0, 180, 104, 0.28);
}

.ear-condition-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ear-secondary);
  margin-bottom: 12px;
}

.ear-condition-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.ear-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.ear-tag-pill {
  background: #ffffff;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 180, 104, 0.05);
  transition: var(--ear-transition);
}

.ear-condition-card:hover .ear-tag-pill {
  background: var(--ear-primary);
  color: #ffffff;
  border-color: var(--ear-primary);
}

/* --------------------------------------------------------------------------
   ADVANCED DIAGNOSTIC SERVICES (TECH SUITE)
   -------------------------------------------------------------------------- */
.ear-diagnostic-card {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdfa 45%, #e0f2fe 100%);
  padding: 34px 28px;
  border-radius: 18px;
  border: 1.5px solid #bae6fd;
  height: 100%;
  box-shadow: 0 6px 22px rgba(6, 182, 212, 0.07);
  position: relative;
  transition: var(--ear-transition);
}

.ear-diagnostic-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #e0f2fe 100%);
  border-color: var(--ear-cyan);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.18);
}

.ear-diagnostic-card .diag-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.28));
  color: var(--ear-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.12);
  transition: var(--ear-transition);
}

.ear-diagnostic-card:hover .diag-icon {
  background: linear-gradient(135deg, var(--ear-cyan), #0284c7);
  color: #ffffff;
  transform: scale(1.08);
}

.ear-diagnostic-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ear-secondary);
  margin-bottom: 12px;
}

.ear-diagnostic-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.ear-diagnostic-card ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 0;
}

.ear-diagnostic-card ul li {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
}

.ear-diagnostic-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ear-primary);
  font-weight: 900;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   SPECIALIZED SURGERIES SECTION
   -------------------------------------------------------------------------- */
.ear-surgery-card-modern {
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 45%, #eefbf3 100%);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1.5px solid #86efac;
  box-shadow: 0 8px 28px rgba(0, 180, 104, 0.08);
  height: 100%;
  position: relative;
  transition: var(--ear-transition);
  display: flex;
  flex-direction: column;
}

.ear-surgery-card-modern:hover {
  border-color: var(--ear-primary);
  box-shadow: 0 18px 45px rgba(0, 180, 104, 0.16);
  transform: translateY(-6px);
}

.ear-surgery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.ear-surgery-badge {
  background: rgba(0, 180, 104, 0.15);
  color: var(--ear-primary-dark);
  border: 1px solid rgba(0, 180, 104, 0.25);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
}

.ear-surgery-card-modern h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ear-secondary);
  margin-bottom: 12px;
}

.ear-surgery-card-modern p {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.ear-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.ear-checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 7px;
  color: #334155;
  font-size: 13.8px;
  line-height: 1.5;
}

.ear-checklist li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--ear-primary);
  font-size: 16px;
}

.ear-benefits-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-radius: 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--ear-primary);
  border: 1px solid #a7f3d0;
  margin-top: auto;
}

.ear-benefits-box h5 {
  font-size: 14.5px;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 8px;
}

.ear-benefits-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.ear-benefits-box ul li {
  font-size: 13.5px;
  color: var(--ear-secondary);
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
  font-weight: 600;
}

.ear-benefits-box ul li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--ear-amber);
  font-size: 13px;
  top: 0px;
}

/* --------------------------------------------------------------------------
   PATIENT JOURNEY / 4-STEP TIMELINE
   -------------------------------------------------------------------------- */
.ear-journey-step {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 40%, #edfcf3 100%);
  border: 1.5px solid #c7eed8;
  border-radius: 18px;
  padding: 30px 24px;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: 0 6px 20px rgba(0, 180, 104, 0.06);
  transition: var(--ear-transition);
}

.ear-journey-step:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f0 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 18px 40px rgba(0, 180, 104, 0.15);
}

.ear-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ear-primary) 0%, var(--ear-primary-dark) 100%);
  color: #ffffff;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px var(--ear-primary-glow);
}

.ear-journey-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ear-secondary);
  margin-bottom: 10px;
}

.ear-journey-step p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   DOCTOR SPOTLIGHT / CREDENTIALS
   -------------------------------------------------------------------------- */
.ear-doctor-card {
  background: linear-gradient(135deg, #091222 0%, #0f172a 60%, #17253d 100%);
  border-radius: 22px;
  padding: 44px 40px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.ear-doctor-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 104, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ear-doctor-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ear-primary);
  box-shadow: 0 10px 30px rgba(0, 180, 104, 0.35);
}

.ear-doctor-quote {
  font-style: italic;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.75;
  border-left: 3px solid var(--ear-primary);
  padding-left: 18px;
  margin: 18px 0;
}

/* --------------------------------------------------------------------------
   WARNING SIGNS / SYMPTOMS CHECKER
   -------------------------------------------------------------------------- */
.ear-warning-box {
  background: linear-gradient(145deg, #ffffff 0%, #fff7ed 45%, #ffedd5 100%);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1.5px solid #fdba74;
  box-shadow: 0 10px 35px rgba(249, 115, 22, 0.1);
  position: relative;
}

.ear-warning-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ear-warning-item i {
  color: #ea580c;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.ear-warning-item span {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   INTERACTIVE FAQ ACCORDION
   -------------------------------------------------------------------------- */
.ear-faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.ear-faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f0fdf4 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 180, 104, 0.05);
  transition: var(--ear-transition);
}

.ear-faq-item:hover {
  border-color: var(--ear-primary);
  box-shadow: 0 8px 25px rgba(0, 180, 104, 0.12);
  transform: translateY(-2px);
}

.ear-faq-item.active {
  background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 45%, #ecfeff 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 12px 30px rgba(0, 180, 104, 0.16);
}

.ear-faq-header {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ear-secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--ear-transition);
  user-select: none;
}

.ear-faq-header:hover {
  color: var(--ear-primary);
}

.ear-faq-header i {
  font-size: 18px;
  color: var(--ear-primary);
  transition: transform 0.3s ease;
}

.ear-faq-item.active .ear-faq-header i {
  transform: rotate(180deg);
}

.ear-faq-body {
  padding: 0 22px 20px 22px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.75;
  display: none;
}

.ear-faq-item.active .ear-faq-body {
  display: block;
}

/* --------------------------------------------------------------------------
   CLINIC CONTACT & LOCATION CTA
   -------------------------------------------------------------------------- */
.ear-location-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #f0f9ff 100%);
  padding: 40px 36px;
  border-radius: 20px;
  border: 1.5px solid #bbf7d0;
  box-shadow: 0 12px 35px rgba(0, 180, 104, 0.08);
}

/* --------------------------------------------------------------------------
   HOMEPAGE SPECIFIC CARD THEMES & STYLES
   -------------------------------------------------------------------------- */
.services .single-service {
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 45%, #e8f9f0 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 18px;
  padding: 26px 22px 26px 82px;
  box-shadow: 0 6px 20px rgba(0, 180, 104, 0.05);
  transition: var(--ear-transition);
  margin: 15px 0;
  height: calc(100% - 30px);
  position: relative;
}

.services .single-service:hover {
  transform: translateY(-6px);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f0 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 16px 36px rgba(0, 180, 104, 0.14);
}

.services .single-service .service-icon {
  width: 48px;
  height: 48px;
  position: absolute;
  left: 20px;
  top: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.services .single-service:hover .service-icon {
  transform: scale(1.12);
}

.services .single-service h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ear-secondary);
  margin-bottom: 8px;
}

.services .single-service p {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.ent-care .ent-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 45%, #f0fdf4 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 18px;
  padding: 30px 22px;
  box-shadow: 0 6px 20px rgba(0, 180, 104, 0.06);
  transition: var(--ear-transition);
  text-align: center;
}

.ent-care .ent-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f0 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 18px 42px rgba(0, 180, 104, 0.15);
}

.ent-care .ent-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ear-secondary);
  margin-bottom: 8px;
}

.ent-care .ent-card:hover h4 {
  color: var(--ear-primary);
}

.blog .row {
  display: flex;
  flex-wrap: wrap;
}

.blog .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.single-news {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #edfcf3 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 180, 104, 0.06);
  transition: var(--ear-transition);
}

.single-news:hover {
  border-color: var(--ear-primary);
  box-shadow: 0 18px 40px rgba(0, 180, 104, 0.14);
  transform: translateY(-6px);
}

.single-news .news-head {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  flex-shrink: 0;
}

.single-news .news-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.single-news:hover .news-head img {
  transform: scale(1.05);
}

.single-news .news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.single-news .news-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  background: transparent !important;
}

.single-news .news-content .date {
  align-self: flex-start;
  background: #00b468 !important;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.single-news .news-content h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  min-height: 52px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-news .news-content h2 a {
  color: #1e293b;
  transition: color 0.3s ease;
}

.single-news .news-content h2 a:hover {
  color: #00b468;
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC SIGNATURE ANIMATION THEMES FOR EACH TREATMENT PAGE
   -------------------------------------------------------------------------- */

/* 1. NOSE PAGE (Airflow & Lateral Smooth Stream) */
.page-theme-nose .treatment-card-elevated {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.page-theme-nose .treatment-card-elevated:hover {
  transform: translateX(8px) translateY(-4px);
}
.page-theme-nose .treatment-icon-wrapper {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.page-theme-nose .treatment-card-elevated:hover .treatment-icon-wrapper {
  transform: translateX(6px) scale(1.12);
}

/* 2. THROAT PAGE (Vertical Elevation & Smooth Scale) */
.page-theme-throat .treatment-card-elevated {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}
.page-theme-throat .treatment-card-elevated:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12);
}
.page-theme-throat .treatment-icon-wrapper {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.page-theme-throat .treatment-card-elevated:hover .treatment-icon-wrapper {
  transform: translateY(-6px) scale(1.15);
}

/* 3. AUDIOLOGY / HEARING LOSS PAGE (Acoustic Sound Wave Pulse) */
.page-theme-audiology .treatment-card-elevated {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.page-theme-audiology .treatment-card-elevated:hover {
  transform: scale(1.025);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.16);
}
.page-theme-audiology .treatment-icon-wrapper {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.page-theme-audiology .treatment-card-elevated:hover .treatment-icon-wrapper {
  transform: scale(1.18);
  animation: acousticPulse 1.2s infinite alternate ease-in-out;
}
@keyframes acousticPulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  100% { box-shadow: 0 0 0 14px rgba(14, 165, 233, 0); }
}

/* 4. VERTIGO / BALANCE PAGE (Simple Smooth Balanced Lift) */
.page-theme-vertigo .treatment-card-elevated {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.page-theme-vertigo .treatment-card-elevated:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}
.page-theme-vertigo .treatment-icon-wrapper {
  transition: transform 0.35s ease;
}
.page-theme-vertigo .treatment-card-elevated:hover .treatment-icon-wrapper {
  transform: scale(1.1);
}

/* 5. ALLERGY RHINITIS PAGE (Spring Elastic Pop) */
.page-theme-allergy .treatment-card-elevated {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.page-theme-allergy .treatment-card-elevated:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.14);
}
.page-theme-allergy .treatment-icon-wrapper {
  transition: transform 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.page-theme-allergy .treatment-card-elevated:hover .treatment-icon-wrapper {
  transform: scale(1.22) rotate(-8deg);
}


.single-news .news-content p.text {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 0;
  flex-grow: 1;
  min-height: 68px;
}

/* --------------------------------------------------------------------------
   GLOBAL TREATMENT SUBPAGES COMPREHENSIVE STYLING
   (NOSE, THROAT, AUDIOLOGY, VERTIGO, ALLERGY)
   -------------------------------------------------------------------------- */
.treatment-hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8fafc 50%, #eff6ff 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 180, 104, 0.15);
}

.treatment-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--ear-primary);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid rgba(0, 180, 104, 0.25);
  box-shadow: 0 4px 12px rgba(0, 180, 104, 0.1);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.treatment-doc-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid #d1fae5;
  box-shadow: 0 4px 14px rgba(0, 180, 104, 0.08);
}

.treatment-doc-mini img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ear-primary);
}

.treatment-form-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f0fdf4 100%);
  border-radius: 20px;
  padding: 34px 28px;
  border: 1.5px solid #d1fae5;
  box-shadow: 0 20px 45px rgba(0, 180, 104, 0.1);
  position: relative;
  overflow: hidden;
}

.treatment-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ear-primary), var(--ear-cyan));
}

.treatment-stat-bar {
  background: linear-gradient(135deg, #091222 0%, #0f172a 50%, #132238 100%);
  color: #ffffff;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.treatment-stat-item {
  text-align: center;
  padding: 12px 16px;
  transition: var(--ear-transition);
}

.treatment-stat-item:hover {
  transform: translateY(-4px);
}

.treatment-stat-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.15;
  margin-bottom: 6px;
}

.treatment-stat-num.stat-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.treatment-stat-num.stat-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.treatment-stat-num.stat-rose {
  background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.treatment-stat-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Treatment Elevated Cards */
.treatment-card-elevated {
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 45%, #e8f9f0 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 18px;
  padding: 30px 26px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 22px rgba(0, 180, 104, 0.06);
  transition: var(--ear-transition);
  overflow: hidden;
}

.treatment-card-elevated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ear-primary), var(--ear-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.treatment-card-elevated:hover {
  transform: translateY(-8px);
  background: linear-gradient(145deg, #ffffff 0%, #e6f9f0 100%);
  border-color: var(--ear-primary);
  box-shadow: 0 20px 45px rgba(0, 180, 104, 0.16);
}

.treatment-card-elevated:hover::after {
  transform: scaleX(1);
}

.treatment-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 180, 104, 0.15), rgba(0, 180, 104, 0.28));
  color: var(--ear-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(0, 180, 104, 0.12);
  transition: var(--ear-transition);
}

.treatment-card-elevated:hover .treatment-icon-wrapper {
  background: linear-gradient(135deg, var(--ear-primary), var(--ear-primary-dark));
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(0, 180, 104, 0.28);
}

.treatment-pill-tag {
  display: inline-block;
  background: #ffffff;
  color: #047857;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  margin-right: 6px;
  margin-top: 8px;
  transition: var(--ear-transition);
}

.treatment-card-elevated:hover .treatment-pill-tag {
  background: var(--ear-primary);
  color: #ffffff;
  border-color: var(--ear-primary);
}

/* Card Themes for Subpages */
.treatment-card-elevated.theme-cyan {
  background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 45%, #e0f2fe 100%);
  border-color: #bae6fd;
}

.treatment-card-elevated.theme-cyan:hover {
  border-color: #0284c7;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.16);
}

.treatment-card-elevated.theme-cyan .treatment-icon-wrapper {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(6, 182, 212, 0.28));
  color: #0284c7;
}

.treatment-card-elevated.theme-cyan .treatment-pill-tag {
  color: #0369a1;
  border-color: #bae6fd;
}

.treatment-card-elevated.theme-cyan:hover .treatment-pill-tag {
  background: #0284c7;
  color: #ffffff;
}

.treatment-card-elevated.theme-emerald {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 45%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.treatment-card-elevated.theme-emerald:hover {
  border-color: #059669;
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.16);
}

.treatment-card-elevated.theme-emerald .treatment-icon-wrapper {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.28));
  color: #059669;
}

.treatment-card-elevated.theme-emerald .treatment-pill-tag {
  color: #047857;
  border-color: #bbf7d0;
}

.treatment-card-elevated.theme-emerald:hover .treatment-pill-tag {
  background: #059669;
  color: #ffffff;
}

.treatment-card-elevated.theme-purple {
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 45%, #f3e8ff 100%);
  border-color: #e9d5ff;
}

.treatment-card-elevated.theme-purple:hover {
  border-color: #7e22ce;
  box-shadow: 0 20px 45px rgba(126, 34, 206, 0.16);
}

.treatment-card-elevated.theme-purple .treatment-icon-wrapper {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(126, 34, 206, 0.28));
  color: #7e22ce;
}

.treatment-card-elevated.theme-purple .treatment-pill-tag {
  color: #6b21a8;
  border-color: #e9d5ff;
}

.treatment-card-elevated.theme-purple:hover .treatment-pill-tag {
  background: #7e22ce;
  color: #ffffff;
}

.treatment-card-elevated.theme-amber {
  background: linear-gradient(145deg, #ffffff 0%, #fffbeb 45%, #fef3c7 100%);
  border-color: #fde68a;
}

.treatment-card-elevated.theme-amber:hover {
  border-color: #d97706;
  box-shadow: 0 20px 45px rgba(217, 119, 6, 0.16);
}

.treatment-card-elevated.theme-amber .treatment-icon-wrapper {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(245, 158, 11, 0.28));
  color: #d97706;
}

.treatment-card-elevated.theme-amber .treatment-pill-tag {
  color: #b45309;
  border-color: #fde68a;
}

.treatment-card-elevated.theme-amber:hover .treatment-pill-tag {
  background: #d97706;
  color: #ffffff;
}

.treatment-card-elevated.theme-rose {
  background: linear-gradient(145deg, #ffffff 0%, #fff1f2 45%, #ffe4e6 100%);
  border-color: #fecdd3;
}

.treatment-card-elevated.theme-rose:hover {
  border-color: #e11d48;
  box-shadow: 0 20px 45px rgba(225, 29, 72, 0.16);
}

.treatment-card-elevated.theme-rose .treatment-icon-wrapper {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.15), rgba(244, 63, 94, 0.28));
  color: #e11d48;
}

.treatment-card-elevated.theme-rose .treatment-pill-tag {
  color: #be123c;
  border-color: #fecdd3;
}

.treatment-card-elevated.theme-rose:hover .treatment-pill-tag {
  background: #e11d48;
  color: #ffffff;
}

/* Treatment Surgery Cards */
.treatment-surgery-card {
  background: linear-gradient(145deg, #ffffff 0%, #f4fbf7 45%, #eefbf3 100%);
  border-radius: 20px;
  padding: 34px 30px;
  border: 1.5px solid #86efac;
  box-shadow: 0 8px 25px rgba(0, 180, 104, 0.06);
  height: 100%;
  position: relative;
  transition: var(--ear-transition);
}

.treatment-surgery-card:hover {
  border-color: var(--ear-primary);
  box-shadow: 0 16px 40px rgba(0, 180, 104, 0.15);
  transform: translateY(-6px);
}

/* Treatment FAQ Accordion */
.treatment-faq-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f0fdf4 100%);
  border: 1.5px solid #d1fae5;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 180, 104, 0.05);
  transition: var(--ear-transition);
}

.treatment-faq-item:hover {
  border-color: var(--ear-primary);
  box-shadow: 0 8px 25px rgba(0, 180, 104, 0.12);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .ear-hero-title {
    font-size: 30px;
  }

  .ear-highlights-grid {
    grid-template-columns: 1fr;
  }

  .ear-doctor-card {
    padding: 30px 24px;
    text-align: center;
  }

  .ear-doctor-img {
    margin: 0 auto 16px;
  }

  .ear-doctor-quote {
    border-left: none;
    border-top: 2px solid var(--ear-primary);
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 575px) {
  .ear-hero-title {
    font-size: 26px;
  }

  .ear-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ear-hero-actions a {
    justify-content: center;
  }

  .ear-stat-box .ear-stat-num {
    font-size: 30px;
  }

  .ear-form-card {
    padding: 26px 20px;
  }
}