/*--------------------------------------------------------------
# Allopathy HMS — Hero & Dashboard
--------------------------------------------------------------*/

/* ── Accent override for allopathy (emerald green) ── */
:root {
  --allo-primary:   #059669;
  --allo-secondary: #0F4C81;
  --allo-teal:      #00B8A9;
  --allo-light:     #D1FAE5;
  --allo-glow:      rgba(5,150,105,0.22);
}

/* ── Hero ── */
.allo-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background: linear-gradient(135deg, #071e2e 0%, #0a2e1e 40%, #0F4C81 100%);
  margin-top: -74px;
}

/* dot-grid overlay */
.allo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* ── Animated blobs ── */
.allo-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: allo-drift 14s ease-in-out infinite alternate;
}
.allo-blob-1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(5,150,105,0.20), transparent 70%);
  top: -180px; right: -100px;
  animation-duration: 16s;
}
.allo-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(15,76,129,0.28), transparent 70%);
  bottom: -120px; left: -80px;
  animation-duration: 11s;
  animation-delay: -5s;
}
.allo-blob-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,184,169,0.16), transparent 70%);
  top: 45%; left: 36%;
  animation-duration: 18s;
  animation-delay: -9s;
}
@keyframes allo-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(28px, -22px) scale(1.07); }
  100% { transform: translate(-18px, 28px) scale(0.95); }
}

/* ── Hero icon wrap ── */
.allo-hero-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(5,150,105,0.18);
  border: 1px solid rgba(5,150,105,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #6EE7B7;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

/* ── Trust badges ── */
.allo-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.allo-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.allo-trust-badge i { font-size: 0.85rem; color: #6EE7B7; }
.allo-trust-badge:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(110,231,183,0.40);
}

/* ── Ghost CTA button ── */
.sol-cta-btn-ghost {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.sol-cta-btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.50);
  box-shadow: none;
}

/* ── Primary CTA — emerald gradient ── */
.allo-cta-primary {
  background: linear-gradient(135deg, #059669, #00B8A9);
  box-shadow: 0 4px 20px rgba(5,150,105,0.38);
}
.allo-cta-primary:hover {
  box-shadow: 0 8px 28px rgba(5,150,105,0.50);
}

/* ── Hero image panel ── */
.allo-hero-img-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.08);
}
.allo-hero-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.allo-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,30,46,0.12) 0%, rgba(5,150,105,0.45) 100%);
}
.allo-hero-img-badges {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.allo-img-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  width: fit-content;
}
.allo-img-badge i { color: #6EE7B7; font-size: 0.85rem; }

/*--------------------------------------------------------------
# OP Management Section
--------------------------------------------------------------*/
.allo-op {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 50%, #F8FAFC 100%);
}
.allo-op-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--heading-color);
  margin: 10px 0 14px;
}
.allo-op-sub {
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  color: var(--muted-color);
  max-width: 640px;
  margin: 0 auto;
}
.allo-op-card {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 2px 12px rgba(15,23,42,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.allo-op-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.allo-op-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(5,150,105,0.11);
  border-color: rgba(5,150,105,0.20);
}
.allo-op-card:hover::before { transform: scaleX(1); }
.allo-op-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5,150,105,0.10), rgba(0,184,169,0.10));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #059669;
  margin-bottom: 16px;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.allo-op-card:hover .allo-op-icon {
  background: linear-gradient(135deg, #059669, #00B8A9);
  transform: scale(1.08) rotate(-4deg);
  color: #fff;
}
.allo-op-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}
.allo-op-card p {
  font-size: 0.875rem;
  color: var(--muted-color);
  margin: 0;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .allo-hero { padding: 110px 0 90px; }
  .allo-hero-img-wrap img { height: 340px; }
  .allo-blob-1 { width: 320px; height: 320px; }
  .allo-blob-2 { width: 240px; height: 240px; }
}
@media (max-width: 767px) {
  .allo-blob-3 { display: none; }
  .allo-trust-row { gap: 8px; }
  .allo-trust-badge { font-size: 0.74rem; padding: 6px 11px; }
  .allo-hero-img-wrap img { height: 260px; }
}
@media (max-width: 480px) {
  .allo-hero-img-wrap img { height: 220px; }
}

/*--------------------------------------------------------------
# Why Choose — Icon + Title Cards
--------------------------------------------------------------*/
.allo-why-section { background: #F8FAFC; }

.allo-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.allo-why-card {
  position: relative;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.allo-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #00B8A9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.allo-why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(5,150,105,0.10);
  border-color: rgba(5,150,105,0.22);
}
.allo-why-card:hover::before { transform: scaleX(1); }

.allo-why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(0,184,169,0.08));
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.allo-why-card:hover .allo-why-icon {
  background: linear-gradient(135deg, #059669, #00B8A9);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.allo-why-card h4 {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--heading-color);
  margin: 0;
  line-height: 1.35;
}

@media (max-width: 991px) {
  .allo-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .allo-why-grid { grid-template-columns: 1fr; }
}
