/* =====================================================
   SHA (Social Health Authority) Education Page Styles
   ===================================================== */

.sha-header {
  background: linear-gradient(135deg, #0d5c75 0%, #147a9c 55%, #0b3f52 100%);
  color: #ffffff;
  text-align: center;
  padding: 150px 20px 90px;
  position: relative;
  overflow: hidden;
}

.sha-header::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.sha-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -8%;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.sha-header .container {
  position: relative;
  z-index: 2;
}

.sha-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.sha-header h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.sha-header p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section scaffolding */
.sha-section {
  padding: 70px 0;
}

.sha-section-alt {
  background: #f8fafc;
}

.sha-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.sha-section-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0d5c75;
  margin-bottom: 0.75rem;
}

.sha-section-title p {
  color: #64748b;
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Intro / What is SHA */
.sha-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sha-intro-text p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.sha-intro-text strong {
  color: #0d5c75;
}

.fund-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fund-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-left: 5px solid #147a9c;
  transition: all 0.3s ease;
}

.fund-card:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.fund-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d5c75;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fund-card h4 i {
  color: #147a9c;
}

.fund-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* How SHA works at the hospital */
.sha-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 1rem;
}

.sha-flow-step {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f6;
  position: relative;
  transition: all 0.3s ease;
}

.sha-flow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(13, 92, 117, 0.12);
}

.sha-step-num {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d5c75, #147a9c);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sha-flow-step h4 {
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sha-flow-step p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Registration & contributions */
.sha-reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.sha-panel {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f6;
}

.sha-panel h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0d5c75;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.sha-panel h3 i {
  color: #147a9c;
}

.sha-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sha-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.7rem 0;
  border-bottom: 1px dashed #e2e8f0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
}

.sha-list li:last-child {
  border-bottom: none;
}

.sha-list li i {
  color: #16a34a;
  margin-top: 4px;
  font-size: 0.95rem;
}

.sha-list li strong {
  color: #0d5c75;
}

.sha-note {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  color: #0c4a6e;
  font-size: 0.9rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
}

.sha-note i {
  color: #0284c7;
  margin-top: 3px;
}

.sha-note p {
  margin: 0;
}

/* Comparison / tariff tables */
.sha-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef2f6;
}

.sha-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 620px;
}

.sha-table thead th {
  background: #0d5c75;
  color: #ffffff;
  text-align: left;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.sha-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #eef2f6;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  vertical-align: top;
}

.sha-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.sha-table tbody tr:last-child td {
  border-bottom: none;
}

.tariff-pill {
  display: inline-block;
  background: #eaf5f8;
  color: #0d5c75;
  border: 1px solid #bcd7e0;
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.tariff-pill.green {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

/* What's covered cards */
.sha-cover-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sha-cover-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef2f6;
  transition: all 0.3s ease;
}

.sha-cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.09);
}

.sha-cover-card .cover-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eaf5f8;
  color: #147a9c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sha-cover-card h4 {
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.sha-cover-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* Maternity highlight band */
.sha-maternity-band {
  background: linear-gradient(135deg, #eef7ff 0%, #fdf2f8 100%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.sha-maternity-band .band-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #147a9c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
}

.sha-maternity-band h4 {
  color: #0d5c75;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.sha-maternity-band p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* What to bring / access at the hospital */
.sha-access {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.sha-access-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.6rem;
  border: 1px solid #eef2f6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sha-access-item i {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: #147a9c;
  margin-top: 2px;
}

.sha-access-item h4 {
  color: #1e293b;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sha-access-item p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* FAQ */
.sha-faq {
  max-width: 800px;
  margin: 0 auto;
}

/* CTA */
.sha-cta {
  background: linear-gradient(135deg, #0d5c75 0%, #147a9c 100%);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #ffffff;
  margin-top: 1rem;
}

.sha-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sha-cta p {
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
}

.sha-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.sha-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0d5c75;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.sha-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.sha-cta-btn.outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.sha-cta-btn.outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.sha-source {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .sha-intro-grid {
    grid-template-columns: 1fr;
  }

  .sha-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sha-section {
    padding: 55px 0;
  }

  .sha-flow {
    grid-template-columns: 1fr;
  }

  .sha-reg-grid {
    grid-template-columns: 1fr;
  }

  .sha-cover-grid,
  .sha-access {
    grid-template-columns: 1fr;
  }

  .sha-maternity-band {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem 1.4rem;
  }
}
