﻿/* =============================================
   HIFZ PAGE — PREMIUM STYLES
   ============================================= */

/* ============================================
   HERO
   ============================================= */

.hifz-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(150deg,
    #001233 0%,
    #00296b 22%,
    #003f88 48%,
    #00509d 62%,
    #003f88 78%,
    #00296b 90%,
    #001030 100%
  );
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hifz-hero-glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse,
    rgba(255,213,0,0.13) 0%,
    rgba(255,213,0,0.04) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.hifz-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 28px 80px;
  gap: 0;
}

.hifz-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,213,0,0.13);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}

.hifz-hero-title {
  font-family: var(--font-arabic);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(201,168,76,0.25), 0 2px 20px rgba(0,0,0,0.4);
}

.hifz-hero-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  max-width: 580px;
}

/* Stats row */
.hifz-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
  overflow: hidden;
}

.hstat {
  padding: 20px 32px;
  text-align: center;
}

.hstat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hstat span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hstat-sep {
  width: 1px;
  height: 40px;
  background: rgba(201,168,76,0.2);
  flex-shrink: 0;
}

.hifz-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hifz-hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hifz-hero-scroll span {
  display: block;
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  position: relative;
}

.hifz-hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-dot 2.2s ease infinite;
}

@keyframes scroll-dot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

/* ============================================
   OVERVIEW
   ============================================= */

.hifz-overview { background: var(--cream); }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.overview-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.overview-img-placeholder {
  background: linear-gradient(135deg, var(--sage), #d5e6d7);
  border-radius: 20px;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px solid rgba(26,71,49,0.1);
}

.quran-icon svg {
  width: 80px; height: 80px;
}

.overview-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  padding: 20px 24px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 32px rgba(26,71,49,0.35);
  border: 2px solid rgba(201,168,76,0.3);
}

.overview-badge-float strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.overview-badge-float span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  display: block;
  max-width: 100px;
}

.overview-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.overview-content .eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.overview-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.overview-content h2 em { font-style: italic; color: var(--green); }

.overview-lead {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 400;
}

.overview-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.overview-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(26,71,49,0.08);
  transition: var(--transition);
}

.pillar:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 3px;
}

.pillar span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   CURRICULUM
   ============================================= */

.hifz-curriculum {
  background: linear-gradient(160deg, #071510 0%, #0d2318 50%, #071510 100%);
  position: relative;
  overflow: hidden;
}

.hifz-curriculum::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,213,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,213,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-shift 20s linear infinite;
}

.curriculum-phases {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}

.phase-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.phase-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-6px);
}

.phase-card:hover::before { opacity: 1; }

.phase-number {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
}

.phase-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,213,0,0.11);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.phase-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.phase-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 4px;
}

.phase-urdu {
  font-family: var(--font-urdu);
  font-size: 0.95rem;
  color: var(--gold);
  direction: rtl;
  display: block;
  margin-bottom: 12px;
}

.phase-card > p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 20px;
}

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.phase-list li {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  padding-left: 18px;
  position: relative;
}

.phase-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 1rem;
}

.phase-duration {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,213,0,0.11);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
}

.phase-arrow {
  flex-shrink: 0;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

/* ============================================
   SCHEDULE
   ============================================= */

.hifz-schedule { background: var(--cream); }

.schedule-timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 112px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent, rgba(26,71,49,0.2) 5%,
    rgba(26,71,49,0.2) 95%, transparent
  );
}

/* Per-item reveal */
.sched-reveal {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sched-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

.sched-item {
  display: grid;
  grid-template-columns: 100px 24px 1fr;
  gap: 0 20px;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
}

.sched-item.last { margin-bottom: 0; }

.sched-time {
  text-align: right;
  padding-top: 2px;
}

.sched-time strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.2;
}

.sched-time span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sched-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.sched-dot.gold {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.sched-dot.green {
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(26,71,49,0.15);
}

.sched-content {
  padding-bottom: 20px;
}

.sched-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.sched-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   FACULTY
   ============================================= */

.hifz-faculty { background: var(--sage); }

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.faculty-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 840px;
  margin: 0 auto;
}

.faculty-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,71,49,0.07);
  transition: var(--transition);
}

.faculty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.2);
}

.faculty-photo {
  height: 260px;
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.faculty-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-photo-img img { transform: scale(1.04); }

.faculty-photo.female {
  background: linear-gradient(135deg, #1a2a4a, #0F1F3D);
}

.faculty-initials {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.faculty-badge {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.faculty-info {
  padding: 24px 24px 28px;
}

.faculty-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.faculty-title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faculty-quals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.faculty-quals span {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.faculty-quals span::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--green);
}

.faculty-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   REQUIREMENTS
   ============================================= */

.hifz-requirements { background: var(--cream); }

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.req-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,71,49,0.07);
  transition: var(--transition);
}

.req-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.req-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.req-card-header.boys {
  background: linear-gradient(135deg, var(--green-deep), var(--green));
  color: var(--white);
}

.req-card-header.girls {
  background: linear-gradient(135deg, #1a2a4a, #0F1F3D);
  color: var(--white);
}

.req-card-header.docs {
  background: linear-gradient(135deg, #3d2800, #6b4800);
  color: var(--gold-pale);
}

.req-list {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.req-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
}

.req-list li svg { flex-shrink: 0; }

/* ============================================
   FEE TABLE
   ============================================= */

.hifz-fees {
  background: linear-gradient(160deg, #071510 0%, #0d2318 50%, #071510 100%);
  position: relative;
  overflow: hidden;
}

.hifz-fees::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,213,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,213,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-shift 20s linear infinite;
}

.fee-table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.2);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
}

.fee-table thead tr {
  background: rgba(255,213,0,0.13);
  border-bottom: 1px solid rgba(201,168,76,0.25);
}

.fee-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.fee-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.fee-table tbody tr:hover { background: rgba(255,255,255,0.04); }
.fee-table tbody tr:last-child { border-bottom: none; }

.fee-table tbody td {
  padding: 20px 24px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  vertical-align: middle;
}

.fee-table tbody td strong {
  display: block;
  color: var(--white);
  font-size: 0.93rem;
  margin-bottom: 3px;
}

.fee-table tbody td span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.amount {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  color: var(--white) !important;
  font-weight: 600;
  white-space: nowrap;
}

.amount.gold { color: var(--gold) !important; font-size: 1.2rem !important; }
.amount.free { color: #4ade80 !important; font-size: 0.9rem !important; font-family: var(--font-body) !important; }

.fee-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fee-badge.once   { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.fee-badge.monthly{ background: rgba(26,71,49,0.4);    color: #7dd3b0;     border: 1px solid rgba(26,71,49,0.6); }
.fee-badge.yearly { background: rgba(15,31,61,0.5);    color: #93c5fd;     border: 1px solid rgba(15,31,61,0.8); }

.total-row { background: rgba(201,168,76,0.07) !important; }
.total-row td { border-top: 1px solid rgba(201,168,76,0.2) !important; }

.fee-note {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   FAQ
   ============================================= */

.hifz-faq { background: var(--cream); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(26,71,49,0.1);
}

.faq-item:first-child { border-top: 1px solid rgba(26,71,49,0.1); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  transition: var(--transition);
}

.faq-q:hover { color: var(--green); }

.faq-q svg {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.35s ease;
}

.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--green); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.faq-a p {
  padding-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   APPLY CTA
   ============================================= */

.hifz-cta {
  background: linear-gradient(155deg,
    #071510 0%, #0d2318 35%, #1A4731 60%, #0f2820 80%, #060d16 100%
  );
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hifz-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-shift 15s linear infinite;
}

.hifz-cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse,
    rgba(255,213,0,0.11) 0%, transparent 70%
  );
  pointer-events: none;
}

.hifz-cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.hifz-cta-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold);
  margin-bottom: 24px;
  direction: rtl;
  text-align: center;
  text-shadow: 0 0 30px rgba(201,168,76,0.3);
}

.hifz-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hifz-cta-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}

.hifz-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hifz-cta-btns .btn { padding: 15px 36px; }

.hifz-cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hifz-cta-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.hifz-cta-contact a:hover { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .curriculum-phases { flex-direction: column; gap: 16px; }
  .phase-arrow { transform: rotate(90deg); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr 1fr; }
  .req-card.req-docs { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hifz-hero-stats  { flex-direction: column; gap: 0; }
  .hstat-sep        { width: 80%; height: 1px; }
  .hstat            { padding: 16px; }
  .overview-grid    { grid-template-columns: 1fr; gap: 40px; }
  .overview-badge-float { position: relative; bottom: auto; right: auto; display: inline-block; margin-top: 16px; }
  .faculty-grid, .faculty-grid-2 { grid-template-columns: 1fr; }
  .req-grid         { grid-template-columns: 1fr; }
  .req-card.req-docs{ grid-column: span 1; }
  .schedule-timeline::before { left: 90px; }
  .sched-item       { grid-template-columns: 80px 20px 1fr; }
}

