/* ============================================================
   Bani Ibrahim Farms — subpage.css
   Shared styles for all inner pages (aqiqah, qurban, etc.)
   ============================================================ */

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, #2D6A4F 60%, #1A3A28 100%);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-h1 {
  font-size: clamp(30px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
}

.page-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  line-height: 1.7;
  position: relative;
}

/* ── INFO GRID ── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.info-card-icon { font-size: 32px; display: block; margin-bottom: 10px; }

.info-card h3 {
  font-size: 15px;
  color: var(--green);
  margin-bottom: 6px;
}

.info-card p { font-size: 14px; color: var(--text); line-height: 1.5; }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
  counter-reset: steps;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 14px;
  font-family: 'Playfair Display', serif;
}

.step-card h3 {
  font-size: 15px;
  color: var(--green);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid .step-card:last-child { grid-column: 1 / -1; max-width: 280px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .page-hero { padding: 100px 0 56px; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .step-card:last-child { grid-column: auto; max-width: none; margin: 0; }
}

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.compare-table th {
  background: var(--green);
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.compare-table th:first-child { border-radius: 8px 0 0 0; }
.compare-table th:last-child  { border-radius: 0 8px 0 0; }

.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

.compare-table tr:nth-child(even) td { background: var(--cream); }

.compare-table td.highlight {
  color: var(--green);
  font-weight: 600;
}
