/* =============================================================
   INDEX.CSS — Landing Page Styles
   Al Buraimi Ministry eServices Web Portal
   ============================================================= */

/* ─────────────────────────────────────────
   HERO SECTION — Modern Redesign
   ───────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #060d25; /* solid fallback while video loads */
  overflow: hidden;
}

/* ── Vimeo video background ── */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Fill the container while maintaining 16:9 */
  width: 177.78vh;   /* 16/9 * 100vh */
  height: 56.25vw;   /* 9/16 * 100vw */
  min-width: 100%;
  min-height: 100%;
  border: none;
  pointer-events: none;
}

/* ── Dark overlay above video ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right,  rgba(4, 10, 30, 0.60) 0%, rgba(6, 13, 37, 0.40) 50%, rgba(4, 10, 30, 0.55) 100%),
    linear-gradient(to bottom, rgba(4, 10, 30, 0.55) 0%, rgba(4, 10, 30, 0.10) 40%, rgba(4, 10, 30, 0.65) 100%);
}

/* ── Dot grid overlay ── */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 2;
}

/* ── Animated gradient orbs ── */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 2;
}
.hero__orb--1 {
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(46,189,154,0.18) 0%, transparent 70%);
  bottom: -260px; left: -120px;
  animation: orbPulse1 14s ease-in-out infinite;
}
.hero__orb--2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(107,63,160,0.14) 0%, transparent 70%);
  top: -80px; right: 8%;
  animation: orbPulse2 17s ease-in-out infinite;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(33,150,243,0.10) 0%, transparent 70%);
  top: 42%; left: 38%;
  animation: orbPulse3 11s ease-in-out infinite;
}

@keyframes orbPulse1 {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.8; }
  50%       { transform: translate(50px, -40px) scale(1.08); opacity: 1; }
}
@keyframes orbPulse2 {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.7; }
  50%       { transform: translate(-40px, 50px) scale(1.1); opacity: 1; }
}
@keyframes orbPulse3 {
  0%, 100% { transform: translate(0, 0) scale(1);    opacity: 0.5; }
  50%       { transform: translate(25px, -25px) scale(0.92); opacity: 0.85; }
}

/* ── Two-column grid ── */
.hero__container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 4;
  padding-block: clamp(150px, 17vh, 190px) clamp(70px, 9vh, 110px);
  width: 100%;
}

/* ════════════════════════════════════
   LEFT SIDE
   ════════════════════════════════════ */
.hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Eyebrow badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,189,154,0.11);
  border: 1px solid rgba(46,189,154,0.28);
  color: #5dd4b5;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  width: fit-content;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ebd9a;
  box-shadow: 0 0 10px rgba(46,189,154,0.9);
  animation: pulseGlow 2s ease infinite;
  flex-shrink: 0;
}
.hero__badge-tag {
  background: rgba(46,189,154,0.18);
  color: #2ebd9a;
  border-radius: var(--radius-full);
  padding: 2px 9px;
  font-size: 0.68rem;
  margin-inline-start: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  user-select: text;
}
/* Gradient text — preserve colour on selection */
.hero__title-highlight {
  background: linear-gradient(120deg, #2ebd9a 0%, #5dddba 45%, #1db38a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero__title-highlight::selection,
.hero__title-highlight *::selection {
  -webkit-text-fill-color: #ffffff;
  background-color: rgba(46,189,154,0.45);
}
/* Plain spans use normal selection */
.hero__title span:not(.hero__title-highlight)::selection {
  background-color: rgba(46,189,154,0.35);
  color: #ffffff;
}

/* Subtitle */
.hero__subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.72;
  max-width: 470px;
}

/* CTA row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Glass outline button */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}
.btn-glass svg { flex-shrink: 0; }

/* Trust strip */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-2);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.hero__trust-icon { font-size: 0.88rem; }
.hero__trust-divider {
  width: 1px; height: 14px;
  background: rgba(255,255,255,0.14);
}

/* ════════════════════════════════════
   RIGHT SIDE
   ════════════════════════════════════ */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* ── Floating badges ── */
.hero__float {
  position: absolute;
  background: rgba(16,28,78,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  z-index: 4;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.hero__float--notify {
  top: 10px;
  inset-inline-start: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4.2s ease-in-out infinite;
}
.hero__float-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}
.hero__float-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hero__float-text strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
}
.hero__float-text span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.hero__float--stat {
  bottom: 10px;
  inset-inline-end: -10px;
  text-align: center;
  animation: float 5.5s ease-in-out infinite 1.2s;
}
.hero__float-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2ebd9a;
  line-height: 1;
  font-family: var(--font-display);
}
.hero__float-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  font-weight: 500;
}

/* ── Main portal card ── */
.hero__portal-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.045);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}

/* macOS-style title bar */
.hero__card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(0,0,0,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero__card-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.hero__card-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero__card-dots span:nth-child(1) { background: #ff5f57; }
.hero__card-dots span:nth-child(2) { background: #ffbd2e; }
.hero__card-dots span:nth-child(3) { background: #28c840; }
.hero__card-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  flex: 1;
  text-align: center;
  font-weight: 500;
}
.hero__card-avatar {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ebd9a, #00897b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

/* Ministry row */
.hero__card-ministry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero__card-logo-wrap {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  overflow: hidden;
}
.hero__card-logo-wrap img {
  width: 40px; height: 40px;
  object-fit: contain;
}
.hero__card-ministry-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__card-ministry-text strong {
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  color: var(--color-white);
  font-weight: 700;
}
.hero__card-ministry-text span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}
.hero__card-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: #2ebd9a;
  font-weight: 600;
  background: rgba(46,189,154,0.1);
  border: 1px solid rgba(46,189,154,0.22);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.hero__live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #2ebd9a;
  animation: pulseGlow 1.6s ease infinite;
}

/* Service rows with progress bars */
.hero__card-services {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero__card-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__csi-label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 120px;
  flex-shrink: 0;
}
.hero__csi-label span:last-child {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero__csi-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__csi-dot--green  { background: #2ebd9a; }
.hero__csi-dot--purple { background: #6b3fa0; }
.hero__csi-dot--blue   { background: #2196f3; }
.hero__csi-dot--orange { background: #f5a623; }
.hero__csi-dot--pink   { background: #7e57c2; }

.hero__csi-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.09);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.hero__csi-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #2ebd9a, #5ddcba);
}
.hero__csi-fill--purple { background: linear-gradient(90deg, #6b3fa0, #8b5fbf); }
.hero__csi-fill--blue   { background: linear-gradient(90deg, #2196f3, #64b5f6); }
.hero__csi-fill--orange { background: linear-gradient(90deg, #f5a623, #ffc75f); }
.hero__csi-fill--pink   { background: linear-gradient(90deg, #7e57c2, #9e77d4); }

.hero__csi-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* Card footer */
.hero__card-footer {
  display: flex;
  gap: 14px;
  padding: 11px 16px;
  flex-wrap: wrap;
}
.hero__card-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.67rem;
  color: rgba(255,255,255,0.48);
  font-weight: 500;
}
.hero__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__status-dot--green  { background: #2ebd9a; }
.hero__status-dot--blue   { background: #2196f3; }
.hero__status-dot--yellow { background: #f5a623; }

/* ── Scroll indicator (mouse + wheel) ── */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.hero__scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.65);
  border-radius: var(--radius-full);
  animation: scrollWheel 1.9s ease infinite;
}
.hero__scroll-label {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.07em;
  font-weight: 500;
  text-transform: uppercase;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0);    opacity: 1; }
  80%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__left {
    align-items: center;
  }
  .hero__subtitle { max-width: 100%; }
  .hero__right { display: none; }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
  .hero__actions { justify-content: center; }
  .hero__trust   { justify-content: center; }
}


/* ═══════════════════════════════════════════════
   PORTAL ACTIVITY (STATS) — Modern Dark Design
   ═══════════════════════════════════════════════ */

.stats {
  position: relative;
  padding-block: clamp(4rem, 8vh, 6rem);
  background: linear-gradient(180deg, #07102a 0%, #0d1a3e 60%, #101c4e 100%);
  overflow: hidden;
}

/* Background pattern */
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(46,189,154,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Accent glow top */
.stats::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #2ebd9a 30%, #6b3fa0 70%, transparent 100%);
}

/* Section header */
.stats__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
  position: relative;
  z-index: 1;
}

.stats__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.stats__header h2 span {
  background: linear-gradient(120deg, #2ebd9a, #5dddba);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats__header p {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.5);
}

/* Grid */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
  z-index: 1;
}

/* ─── Stat Card (modern dark) ─── */
.stat-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: var(--space-6) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient corner accent */
.stat-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 50px; height: 50px;
  border-radius: 0 0 100% 0;
  opacity: 0.12;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.stat-card:hover::before { opacity: 0.25; }

/* Per-card corner accent colours */
.stat-card:nth-child(1)::before { background: #27ae60; }
.stat-card:nth-child(2)::before { background: #6b3fa0; }
.stat-card:nth-child(3)::before { background: #f5a623; }
.stat-card:nth-child(4)::before { background: #101c4e; }
.stat-card:nth-child(5)::before { background: #7e57c2; }

/* Per-card bottom border glow on hover */
.stat-card:nth-child(1):hover { box-shadow: 0 20px 50px rgba(39,174,96,0.18);  border-color: rgba(39,174,96,0.4); }
.stat-card:nth-child(2):hover { box-shadow: 0 20px 50px rgba(107,63,160,0.18); border-color: rgba(107,63,160,0.4); }
.stat-card:nth-child(3):hover { box-shadow: 0 20px 50px rgba(245,166,35,0.18); border-color: rgba(245,166,35,0.4); }
.stat-card:nth-child(4):hover { box-shadow: 0 20px 50px rgba(46,189,154,0.18); border-color: rgba(46,189,154,0.4); }
.stat-card:nth-child(5):hover { box-shadow: 0 20px 50px rgba(126,87,194,0.18); border-color: rgba(126,87,194,0.4); }

/* Icon circle */
.stat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.stat-card__icon img,
.stat-card__icon svg {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.stat-card__icon--green        { background: linear-gradient(135deg, #1a9a4e, #27ae60); box-shadow: 0 8px 20px rgba(39,174,96,0.3); }
.stat-card__icon--purple       { background: linear-gradient(135deg, #5a2d8c, #6b3fa0); box-shadow: 0 8px 20px rgba(107,63,160,0.3); }
.stat-card__icon--orange       { background: linear-gradient(135deg, #d4870a, #f5a623); box-shadow: 0 8px 20px rgba(245,166,35,0.3); }
.stat-card__icon--navy         { background: linear-gradient(135deg, #2ebd9a, #00897b); box-shadow: 0 8px 20px rgba(46,189,154,0.3); }
.stat-card__icon--light-purple { background: linear-gradient(135deg, #6243a8, #7e57c2); box-shadow: 0 8px 20px rgba(126,87,194,0.3); }

/* Body */
.stat-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.stat-card__body h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.stat-card__label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  display: block;
  margin-block: var(--space-2);
  letter-spacing: -0.03em;
}

.stat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  margin-top: 4px;
}

.stat-card__link::after {
  content: '→';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.stat-card__link:hover {
  color: #2ebd9a;
}

.stat-card__link:hover::after {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid .stat-card:last-child { grid-column: 2; }
}
@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat-card:last-child { grid-column: auto; }
}



/* ═══════════════════════════════════════════════
   OUR SERVICES — Clean Light Section
   ═══════════════════════════════════════════════ */

.services-preview {
  padding-block: clamp(5rem, 10vh, 7rem);
  background: #f5f7fa;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal lines texture */
.services-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(16,28,78,0.018) 40px,
    rgba(16,28,78,0.018) 41px
  );
  pointer-events: none;
}

/* Top accent bar */
.services-preview::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ebd9a 0%, #101c4e 50%, #6b3fa0 100%);
}

/* ── Header ── */
.services-preview__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vh, 4.5rem);
  position: relative;
  z-index: 1;
}

.services-preview__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.025em;
}

/* Decorative divider */
.services-preview__header h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #2ebd9a, #6b3fa0);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto 0;
}

.services-preview__header p {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ── 3-Column Grid ── */
.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── Service Card ── */
.service-preview-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e8edf5;
  border-radius: 20px;
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(16,28,78,0.05);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease;
  cursor: pointer;
}

/* Colour top-stripe per card — slides in on hover */
.service-preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-preview-card:nth-child(1)::before { background: linear-gradient(90deg, #27ae60, #5dd4b5); }
.service-preview-card:nth-child(2)::before { background: linear-gradient(90deg, #6b3fa0, #a06bd4); }
.service-preview-card:nth-child(3)::before { background: linear-gradient(90deg, #2196f3, #5ab8ff); }
.service-preview-card:nth-child(4)::before { background: linear-gradient(90deg, #f5a623, #ffd07a); }
.service-preview-card:nth-child(5)::before { background: linear-gradient(90deg, #7e57c2, #c0a8f5); }
.service-preview-card:nth-child(6)::before { background: linear-gradient(90deg, #2ebd9a, #00c9a7); }

/* Bottom-right ambient glow — appears on hover */
.service-preview-card__glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(48px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: scale(0.5);
  pointer-events: none;
  z-index: 0;
}

.service-preview-card:nth-child(1) .service-preview-card__glow { background: rgba(39,174,96,0.35); }
.service-preview-card:nth-child(2) .service-preview-card__glow { background: rgba(107,63,160,0.3); }
.service-preview-card:nth-child(3) .service-preview-card__glow { background: rgba(33,150,243,0.3); }
.service-preview-card:nth-child(4) .service-preview-card__glow { background: rgba(245,166,35,0.35); }
.service-preview-card:nth-child(5) .service-preview-card__glow { background: rgba(126,87,194,0.3); }
.service-preview-card:nth-child(6) .service-preview-card__glow { background: rgba(46,189,154,0.35); }

/* ── Hover ── */
.service-preview-card:hover {
  transform: translateY(-10px);
}

.service-preview-card:nth-child(1):hover { border-color: rgba(39,174,96,0.35);  box-shadow: 0 24px 52px rgba(39,174,96,0.12),  0 4px 16px rgba(16,28,78,0.06); }
.service-preview-card:nth-child(2):hover { border-color: rgba(107,63,160,0.35); box-shadow: 0 24px 52px rgba(107,63,160,0.12), 0 4px 16px rgba(16,28,78,0.06); }
.service-preview-card:nth-child(3):hover { border-color: rgba(33,150,243,0.35); box-shadow: 0 24px 52px rgba(33,150,243,0.12), 0 4px 16px rgba(16,28,78,0.06); }
.service-preview-card:nth-child(4):hover { border-color: rgba(245,166,35,0.35); box-shadow: 0 24px 52px rgba(245,166,35,0.12), 0 4px 16px rgba(16,28,78,0.06); }
.service-preview-card:nth-child(5):hover { border-color: rgba(126,87,194,0.35); box-shadow: 0 24px 52px rgba(126,87,194,0.12),0 4px 16px rgba(16,28,78,0.06); }
.service-preview-card:nth-child(6):hover { border-color: rgba(46,189,154,0.35);  box-shadow: 0 24px 52px rgba(46,189,154,0.12), 0 4px 16px rgba(16,28,78,0.06); }

.service-preview-card:hover::before { transform: scaleX(1); }

.service-preview-card:hover .service-preview-card__glow {
  opacity: 1;
  transform: scale(1);
}

/* ── Icon ── */
.service-preview-card .service-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-preview-card .service-icon-circle img,
.service-preview-card .service-icon-circle svg {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.service-preview-card:hover .service-icon-circle {
  transform: scale(1.12) rotate(-5deg);
}

/* ── Text ── */
.service-preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.service-preview-card p {
  font-size: 0.83rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ── Access link ── */
.service-preview-card .svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, gap 0.3s ease;
  margin-top: auto;
}

.service-preview-card .svc-cta::after {
  content: '→';
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.service-preview-card:nth-child(1):hover .svc-cta { color: #27ae60; }
.service-preview-card:nth-child(2):hover .svc-cta { color: #6b3fa0; }
.service-preview-card:nth-child(3):hover .svc-cta { color: #2196f3; }
.service-preview-card:nth-child(4):hover .svc-cta { color: #f5a623; }
.service-preview-card:nth-child(5):hover .svc-cta { color: #7e57c2; }
.service-preview-card:nth-child(6):hover .svc-cta { color: #2ebd9a; }

.service-preview-card:hover .svc-cta { gap: 10px; }
.service-preview-card:hover .svc-cta::after { transform: translateX(3px); }

/* ── View All CTA ── */
.services-preview__cta {
  text-align: center;
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  position: relative;
  z-index: 1;
}

.services-preview__cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border: 1.5px solid rgba(16,28,78,0.18);
  border-radius: var(--radius-full);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  background: white;
  box-shadow: 0 2px 12px rgba(16,28,78,0.06);
}

.services-preview__cta a::after { content: '→'; transition: transform 0.3s ease; }

.services-preview__cta a:hover {
  border-color: #2ebd9a;
  color: #2ebd9a;
  box-shadow: 0 4px 20px rgba(46,189,154,0.18);
}

.services-preview__cta a:hover::after { transform: translateX(4px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-preview__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-preview__grid { grid-template-columns: 1fr; }
}



/* ─────────────────────────────────────────
   ABOUT SECTION
   ───────────────────────────────────────── */

.about {
  padding-block: var(--space-16);
  background: var(--color-bg-light);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about__content h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.about__content p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(16,28,78,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-xl);
}

.about__feature-text h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.about__feature-text p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.about__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────── */

.cta-banner {
  background: var(--gradient-hero);
  padding-block: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(46,189,154,0.12) 0%, transparent 70%);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-inline: auto;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */

@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__inner {
    grid-template-columns: 1fr;
  }
  .about__visual {
    max-width: 500px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .hero__ministry-banner {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
    padding: var(--space-4);
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-preview__grid {
    grid-template-columns: 1fr;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
}
