/**
 * Stitch Pixel-Perfect Homepage Styles
 *
 * Styles matching the Stitch design exactly.
 * Source: Stitch Project ID 10612256545289588306, Screen b108730878cf4f30b387c008d17a0ee2
 *
 * @package Novira_Academy
 * @version 2.0.0
 */

/* === Stitch Design Tokens === */

:root {
  /* Stitch Colors */
  --stitch-primary: #3a0099;
  --stitch-primary-container: #4f12cc;
  --stitch-secondary: #0059bb;
  --stitch-secondary-container: #0062cc;
  --stitch-tertiary: #003d6f;
  --stitch-tertiary-container: #005496;
  --stitch-surface: #f9f9fb;
  --stitch-surface-container: #edeef0;
  --stitch-surface-container-high: #e8e8ea;
  --stitch-surface-container-highest: #e2e2e4;
  --stitch-surface-container-low: #f3f3f5;
  --stitch-surface-container-lowest: #ffffff;
  --stitch-on-surface: #1a1c1d;
  --stitch-on-surface-variant: #494456;
  --stitch-deep-navy: #2A0A66;
  --stitch-electric-blue: #80E9FF;
  --stitch-background: #f8f8fa;
  --stitch-on-background: #1a1c1d;
  --stitch-outline: #7a7488;
  --stitch-outline-variant: #cac3d9;
  /* Stitch Typography */
  --stitch-font-display: 'Plus Jakarta Sans', sans-serif;
  --stitch-font-arabic: 'IBM Plex Sans Arabic', sans-serif;
  --stitch-font-body: 'Be Vietnam Pro', sans-serif;
  --stitch-font-label: 'IBM Plex Sans', sans-serif;
  /* Stitch Shadows */
  --stitch-shadow-ambient: 0 2px 8px -2px rgba(42, 10, 102, 0.04);
  /* Stitch Spacing */
  --stitch-container-max: 1280px;
  --stitch-section-gap: 120px;
  --stitch-element-gap: 24px;
  --stitch-margin-desktop: 64px;
  --stitch-margin-mobile: 20px;
  /* Stitch Border Radius */
  --stitch-radius-sm: 0.25rem;
  --stitch-radius-lg: 0.5rem;
  --stitch-radius-xl: 0.75rem;
  --stitch-radius-2xl: 1.5rem;
  --stitch-radius-full: 9999px;
  /* Stitch Surface Variant (alias for outline-variant) */
  --stitch-surface-variant: #cac3d9;
}

/* === Base Styles === */

.trust-bar,
.programs-academic,
.why-novira-v2,
.student-results,
.gallery-premium,
.video-library,
.testimonials-stitch,
.registration-cta,
.map-contact {
  font-family: var(--stitch-font-arabic);
  color: var(--stitch-on-surface);
}

/* === Hero Section â€” Gateway Document ===
 *
 * The hero frames Novira as a literal credential: a paper-like document
 * panel floats over the aspirational campus image, arched on the side
 * that faces the scene like an open gateway. The gold seal strip at the
 * bottom turns proof points into accreditation marks.
 */

/* Background image */

.hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

@keyframes zoomBg {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__bg-img {
    animation: none;
  }
}

.hero-v2__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  animation: zoomBg 24s infinite alternate ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(42, 10, 102, 0.96) 0%,
    rgba(42, 10, 102, 0.78) 38%,
    rgba(42, 10, 102, 0.35) 65%,
    transparent 100%
  );
}

/* Stage positions the document card on the right (RTL) */

.hero-v2__body {
  padding: 44px 40px 36px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  text-align: center;
}

/* Badge */

.hero-v2__badge-seal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #F5E7A0);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

/* Headline */

.hero-v2__headline {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-v2__headline-accent {
  color: var(--stitch-primary);
  position: relative;
}

/* Subheadline */

.hero-v2__sub {
  font-family: var(--stitch-font-arabic);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 480px;
}

/* Actions */

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 4px;
  justify-content: center;
}

.hero-v2__btn--primary {
  background: var(--stitch-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(91, 20, 230, 0.35);
}

.hero-v2__btn--primary:hover,
.hero-v2__btn--primary:focus-visible {
  background: #4f12cc;
  box-shadow: 0 12px 32px rgba(91, 20, 230, 0.5);
  transform: translateY(-2px);
}

.hero-v2__btn-arrow {
  transition: transform 0.3s ease;
}

.hero-v2__btn--primary:hover .hero-v2__btn-arrow,
.hero-v2__btn--primary:focus-visible .hero-v2__btn-arrow {
  transform: translateX(-4px);
}

.hero-v2__btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero-v2__btn--outline:hover,
.hero-v2__btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Credential seal strip */

.hero-v2__credential-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 40px 20px 48px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-v2__credential {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  justify-content: center;
  min-width: 110px;
}

.hero-v2__credential-num {
  font-family: var(--stitch-font-display);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-v2__credential-label {
  font-family: var(--stitch-font-arabic);
  font-size: 13px;
  font-weight: 600;
  color: #d1c4e9;
  line-height: 1.3;
  white-space: nowrap;
}

/* === Mobile adjustments === */

@media (max-width: 767px) {
  .hero-v2__body {
    padding: 32px 24px 28px;
    gap: 18px;
  }

  .hero-v2__headline {
    font-size: clamp(26px, 8vw, 40px);
  }

  .hero-v2__sub {
    font-size: 14px;
  }

  .hero-v2__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-v2__credential-strip {
    padding: 16px 24px;
    gap: 12px;
  }

  .hero-v2__credential {
    min-width: calc(50% - 8px);
    justify-content: flex-start;
  }

  .hero-v2__credential-num {
    font-size: 18px;
  }

  .hero-v2__credential-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-v2__body {
    padding: 28px 20px 24px;
  }

  .hero-v2__headline {
    font-size: 28px;
  }
}

/* === Trust Bar === */

.trust-bar {
  padding: 0 var(--stitch-margin-mobile);
  margin-top: -48px;
  position: relative;
  z-index: 20;
  padding-bottom: var(--stitch-section-gap);
}

@media (min-width: 768px) {
  .trust-bar {
    padding: 0 var(--stitch-margin-desktop);
  }
}

.trust-bar__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
}

.trust-bar__panel {
  background: #FFFFFF;
  border: 1px solid #E8E4F0;
  border-radius: 20px;
  padding: 24px;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .trust-bar__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust-bar__icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(66, 0, 178, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stitch-primary);
}

.trust-bar__icon-wrapper .material-symbols-outlined {
  font-size: 24px;
}

.trust-bar__text {
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  font-weight: 600;
  color: var(--stitch-on-surface);
}

/* === Programs Section â€” Premium Dossier Catalog ===
 *
 * Three program folders on a warm ivory stage. Each card is a white
 * dossier with a jewel-toned accent and a champagne-gold animated
 * border that rotates on hover, like a gilded book edge catching light.
 */

.programs-academic {
  --programs-ivory: #F7F5F0;
  --programs-gold: #C9A227;
  --programs-gold-light: #F5E7A3;
  --programs-gold-dark: #9A7B1A;
  --programs-plum: #4C1D95;
  --programs-burgundy: #7C2D12;
  --programs-onyx: #0F172A;
  background: #ffffff;
  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
}

@media (min-width: 768px) {
  .programs-academic {
    padding: var(--stitch-section-gap) var(--stitch-margin-desktop);
  }
}

.programs-academic__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
}

/* Header */

.programs-academic__header {
  margin-bottom: 56px;
  max-width: 680px;
}

.programs-academic__eyebrow {
  display: block;
  font-family: var(--stitch-font-arabic);
  font-size: 13px;
  font-weight: 700;
  color: var(--programs-gold-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.programs-academic__intro {
  font-family: var(--stitch-font-arabic);
  font-size: clamp(15px, 1.6vw, 17px);
  color: #5a5566;
  line-height: 1.75;
  margin: 0;
}

/* Dossier grid */

.programs-academic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .programs-academic__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .programs-academic__grid {
    gap: 32px;
  }
}

/* Dossier card */

.programs-academic__card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
  border-radius: inherit;
  overflow: hidden;
  z-index: 1;
}

/* Animated gilded border */

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.programs-academic__card:hover {
  transform: translateY(-8px);
}

.programs-academic__card:hover::before {
  opacity: 1;
  animation: rotateGoldBorder 3s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .programs-academic__card:hover::before {
    animation: none;
    opacity: 0;
  }
}

@keyframes rotateGoldBorder {
  to {
    --gradient-angle: 360deg;
  }
}

/* Tab header */

.programs-academic__card-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background: #ffffff;
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
  position: relative;
}

.programs-academic__card-tab::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 3px;
  background: var(--card-accent);
  border-bottom-left-radius: 3px;
}

.programs-academic__card-icon svg {
  width: 22px;
  height: 22px;
}

.programs-academic__card-heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.programs-academic__card-title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.programs-academic__card-subtitle {
  font-family: var(--stitch-font-arabic);
  font-size: 13px;
  font-weight: 500;
  color: #6b6578;
}

/* Cover image */

.programs-academic__card-media {
  position: relative;
  overflow: hidden;
  height: 240px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.06);
}

.programs-academic__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.programs-academic__card:hover .programs-academic__card-img {
  transform: scale(1.05);
}

/* Card body */

.programs-academic__card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  flex: 1;
}

.programs-academic__card-desc {
  font-family: var(--stitch-font-arabic);
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.55;
  margin: 0;
}

.programs-academic__card-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.programs-academic__card-points li {
  position: relative;
  padding-right: 20px;
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  color: #5a5566;
  line-height: 1.6;
}

.programs-academic__card-points li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-accent);
}

.programs-academic__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

/* CTA link */

.programs-academic__card-link:focus-visible {
  outline: 2px solid var(--card-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.programs-academic__card-link svg {
  transition: transform 0.3s ease;
}

.programs-academic__card-link:hover {
  gap: 12px;
}

.programs-academic__card-link:hover svg {
  transform: translateX(-4px);
}

/* Theme: blue â†’ Plum (Languages) */

.programs-academic__card--blue {
  --card-accent: var(--programs-plum);
}

.programs-academic__card--blue .programs-academic__card-icon {
  background: rgba(76, 29, 149, 0.06);
  border-color: rgba(76, 29, 149, 0.12);
}

/* Theme: gold â†’ Burgundy (Translation) */

.programs-academic__card--gold {
  --card-accent: var(--programs-burgundy);
}

.programs-academic__card--gold .programs-academic__card-icon {
  background: rgba(124, 45, 18, 0.06);
  border-color: rgba(124, 45, 18, 0.12);
}

/* Theme: navy */

.programs-academic__card--navy {
  --card-accent: var(--programs-onyx);
}

.programs-academic__card--navy .programs-academic__card-icon {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

/* RTL */

[dir="rtl"] .programs-academic__card {
  border-top-right-radius: 24px;
  border-top-left-radius: 64px;
}

[dir="rtl"] .programs-academic__card::before {
  border-top-right-radius: 27px;
  border-top-left-radius: 67px;
}

[dir="rtl"] .programs-academic__card-tab::before {
  right: auto;
  left: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 3px;
}

[dir="rtl"] .programs-academic__card-points li {
  padding-right: 0;
  padding-left: 20px;
}

[dir="rtl"] .programs-academic__card-points li::before {
  right: auto;
  left: 0;
}

[dir="rtl"] .programs-academic__card-link svg {
  transform: rotate(180deg);
}

[dir="rtl"] .programs-academic__card-link:hover svg {
  transform: rotate(180deg) translateX(-4px);
}

/* Mobile */

@media (max-width: 767px) {
  .programs-academic {
    padding: 80px var(--stitch-margin-mobile);
  }

  .programs-academic__header {
    margin-bottom: 40px;
  }

  .programs-academic__grid {
    gap: 24px;
  }

  [dir="rtl"] .programs-academic__card {
    border-top-right-radius: 20px;
    border-top-left-radius: 48px;
  }

  [dir="rtl"] .programs-academic__card::before {
    border-top-right-radius: 23px;
    border-top-left-radius: 51px;
  }

  .programs-academic__card-tab {
    padding: 18px 22px;
  }

  .programs-academic__card-title {
    font-size: 17px;
  }

  .programs-academic__card-body {
    padding: 22px;
    gap: 14px;
  }

  .programs-academic__card-media {
    height: 240px;
  }
}

/* === Why Novira Section â€” Guarantee Ledger ===
 *
 * The section turns Novira's promise into an official ledger page:
 * a warm paper panel floats over the dark stage, with two primary
 * guarantees stamped in gold and four supporting proof points listed
 * below. The large embossed seal is the signature visual risk â€” it
 * embodies the accreditation language used everywhere else on the page.
 */

.why-novira-v2 {
  --why-bg: linear-gradient(135deg, var(--stitch-primary) 0%, var(--stitch-deep-navy) 100%);
  --why-paper: #f7f5f0;
  --why-ink: #1a1a2e;
  --why-ink-soft: rgba(26, 26, 46, 0.62);
  --why-gold: #C9A227;
  --why-gold-light: #F5E7A0;
  --why-gold-dark: #8A6D1B;
  --why-purple: #5B14E6;
  background: radial-gradient(ellipse at 20% 30%, rgba(91, 20, 230, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 89, 187, 0.12) 0%, transparent 45%),
    var(--why-bg);
  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
}

@media (min-width: 768px) {
  .why-novira-v2 {
    padding: var(--stitch-section-gap) var(--stitch-margin-desktop);
  }
}

.why-novira-v2__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
}

/* Ledger panel â€” paper document floating on dark stage */

.why-novira-v2__ledger {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  background: var(--why-paper);
  border-radius: 32px;
  border-top-right-radius: 80px;
  border-bottom-left-radius: 80px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  padding: 48px 36px;
  position: relative;
}

.why-novira-v2__ledger::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(26, 26, 46, 0.12);
  border-radius: 24px;
  border-top-right-radius: 68px;
  border-bottom-left-radius: 68px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .why-novira-v2__ledger {
    grid-template-columns: 0.55fr 1.45fr;
    gap: 56px;
    padding: 64px 56px;
  }
}

@media (min-width: 1024px) {
  .why-novira-v2__ledger {
    gap: 72px;
    padding: 72px 64px;
  }
}

/* Left: ledger header */

.why-novira-v2__header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

@media (min-width: 768px) {
  .why-novira-v2__header {
    position: sticky;
    top: 120px;
  }
}

.why-novira-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stitch-font-arabic);
  font-size: 12px;
  font-weight: 700;
  color: var(--why-gold-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(201, 162, 39, 0.10);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--stitch-radius-full);
}

.why-novira-v2__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--why-gold);
}

.why-novira-v2__title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--why-ink);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.why-novira-v2__desc {
  font-family: var(--stitch-font-arabic);
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--why-ink-soft);
  line-height: 1.75;
  margin: 0;
  max-width: 380px;
}

/* Embossed gold seal â€” the signature visual */

.why-novira-v2__seal {
  position: relative;
  width: 130px;
  height: 130px;
  margin-top: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-novira-v2__seal-ring {
  position: absolute;
  border-radius: 50%;
}

.why-novira-v2__seal-ring--outer {
  inset: 0;
  background: conic-gradient(
    from 0deg,
    var(--why-gold-dark),
    var(--why-gold-light),
    var(--why-gold),
    var(--why-gold-light),
    var(--why-gold-dark)
  );
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.35),
    0 8px 24px rgba(201, 162, 39, 0.25);
}

.why-novira-v2__seal-ring--outer::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--why-paper);
}

.why-novira-v2__seal-ring--inner {
  inset: 18px;
  background: linear-gradient(145deg, var(--why-gold-light), var(--why-gold));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.why-novira-v2__seal-star {
  position: absolute;
  inset: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--why-gold-dark);
  opacity: 0.35;
}

.why-novira-v2__seal-star svg {
  width: 100%;
  height: 100%;
}

.why-novira-v2__seal-text {
  position: relative;
  z-index: 1;
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--why-gold-dark);
  text-align: center;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Right: guarantee entries */

.why-novira-v2__entries {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Primary stamped guarantees */

.why-novira-v2__primary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .why-novira-v2__primary {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.why-novira-v2__guarantee {
  display: flex;
  gap: 16px;
}

.why-novira-v2__guarantee--primary {
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.why-novira-v2__guarantee--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.08);
}

.why-novira-v2__stamp {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--why-gold-light), var(--why-gold));
  color: #ffffff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(201, 162, 39, 0.25);
}

.why-novira-v2__stamp svg {
  width: 22px;
  height: 22px;
}

.why-novira-v2__guarantee-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: start;
}

.why-novira-v2__guarantee-title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--why-ink);
  margin: 0;
  line-height: 1.35;
}

.why-novira-v2__guarantee-desc {
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  color: var(--why-ink-soft);
  line-height: 1.7;
  margin: 0;
}

/* Divider between primary and secondary entries */

.why-novira-v2__divider {
  width: 100%;
  height: 1px;
  border: none;
  background: repeating-linear-gradient(
    to right,
    rgba(26, 26, 46, 0.18) 0,
    rgba(26, 26, 46, 0.18) 8px,
    transparent 8px,
    transparent 14px
  );
  margin: 0;
}

/* Secondary proof points */

.why-novira-v2__secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .why-novira-v2__secondary {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 28px;
  }
}

.why-novira-v2__guarantee--secondary {
  align-items: flex-start;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.why-novira-v2__guarantee--secondary:first-of-type,
.why-novira-v2__guarantee--secondary:nth-of-type(2) {
  border-top: none;
  padding-top: 0;
}

.why-novira-v2__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--why-purple);
  flex-shrink: 0;
  margin-top: 7px;
  box-shadow: 0 0 0 3px rgba(91, 20, 230, 0.10);
}

.why-novira-v2__guarantee--secondary .why-novira-v2__guarantee-title {
  font-size: 16px;
}

.why-novira-v2__guarantee--secondary .why-novira-v2__guarantee-desc {
  font-size: 13px;
}

/* RTL */

[dir="rtl"] .why-novira-v2__ledger {
  border-top-right-radius: 32px;
  border-top-left-radius: 80px;
  border-bottom-right-radius: 80px;
  border-bottom-left-radius: 32px;
}

[dir="rtl"] .why-novira-v2__ledger::before {
  border-top-right-radius: 24px;
  border-top-left-radius: 68px;
  border-bottom-right-radius: 68px;
  border-bottom-left-radius: 24px;
}

/* Mobile */

@media (max-width: 767px) {
  .why-novira-v2 {
    padding: 80px var(--stitch-margin-mobile);
  }

  .why-novira-v2__ledger {
    padding: 36px 24px;
    border-radius: 24px;
    border-top-right-radius: 56px;
    border-bottom-left-radius: 56px;
  }

  .why-novira-v2__ledger::before {
    inset: 8px;
    border-radius: 18px;
    border-top-right-radius: 48px;
    border-bottom-left-radius: 48px;
  }

  .why-novira-v2__header {
    align-items: center;
    text-align: center;
  }

  .why-novira-v2__desc {
    max-width: 100%;
  }

  .why-novira-v2__seal {
    width: 110px;
    height: 110px;
    margin: 8px auto 0;
  }

  .why-novira-v2__seal-text {
    font-size: 15px;
  }

  .why-novira-v2__guarantee--primary {
    padding: 24px;
  }

  .why-novira-v2__guarantee--secondary {
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    padding-top: 16px;
  }

  .why-novira-v2__guarantee--secondary:first-of-type {
    border-top: none;
    padding-top: 0;
  }

  .why-novira-v2__guarantee--secondary:nth-of-type(2) {
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    padding-top: 16px;
  }
}

@media (max-width: 479px) {
  .why-novira-v2__primary,
  .why-novira-v2__secondary {
    grid-template-columns: 1fr;
  }

  .why-novira-v2__guarantee--secondary:nth-of-type(2) {
    border-top: 1px solid rgba(26, 26, 46, 0.08);
    padding-top: 16px;
  }
}

/* === Student Results Section â€” Light Scoreboard ===
 *
 * Clean white stage where each result is a minimal card.
 * Numbers count up and cards stagger into view on scroll.
 * No horizontal scroll: responsive grid that stacks naturally.
 */

.student-results {
  --results-bg: #ffffff;
  --results-card: #ffffff;
  --results-card-border: rgba(26, 26, 46, 0.08);
  --results-gold: #C9A227;
  --results-gold-light: #D4AF37;
  --results-gold-dark: #8A6D1B;
  --results-purple: #5B14E6;
  --results-text: #1a1a2e;
  --results-text-soft: #5a5566;
  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
  background: var(--results-bg);
  position: relative;
}

--results-card: rgba(255, 255, 255, 0.03);
  --results-card-border: rgba(255, 255, 255, 0.08);
  --results-gold: #D4AF37;
  --results-gold-light: #FFDF73;
  --results-purple: #5B14E6;
  --results-text: #ffffff;
  --results-text-soft: rgba(255, 255, 255, 0.6);

  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
  background:
    radial-gradient(ellipse at 50% 0%,
rgba(91, 20, 230, 0.22) 0%, transparent 55%),
radial-gradient(ellipse at 80% 100%,
rgba(201, 162, 39, 0.10) 0%, transparent 45%),
var(--results-bg);
  position: relative;
  overflow: hidden;
}

.student-results::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 26, 46, 0.08), transparent);
  pointer-events: none;
}

@media (min-width: 768px) {
  .student-results {
    padding: var(--stitch-section-gap) var(--stitch-margin-desktop);
  }
}

.student-results__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.student-results__header {
  text-align: center;
  margin-bottom: 64px;
}

.student-results__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--results-purple);
}

.student-results__desc {
  font-family: var(--stitch-font-arabic);
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--results-text-soft);
  line-height: 1.75;
  margin: 0 auto;
  max-width: 520px;
}

/* Scoreboard board */

.student-results__board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .student-results__board {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .student-results__board {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* Result card */

.student-results.is-visible .student-results__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.student-results__card-top {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--results-gold), var(--results-gold-light));
  opacity: 0.8;
}

.student-results__card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
}

.student-results__card-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.student-results__card-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.student-results__card-score {
  font-family: var(--stitch-font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  color: var(--results-text);
  margin: 0;
  line-height: 1;
}

.student-results__card-score--text {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--results-gold-dark);
}

.student-results__card-suffix {
  font-size: 0.5em;
  color: var(--results-gold-dark);
}

.student-results__card-name {
  font-family: var(--stitch-font-arabic);
  font-size: 15px;
  font-weight: 700;
  color: var(--results-text);
  letter-spacing: 0.04em;
  margin: 0;
}

.student-results__card-desc {
  font-family: var(--stitch-font-arabic);
  font-size: 13px;
  color: var(--results-text-soft);
  margin: 0;
  line-height: 1.6;
}

.student-results__card:hover .student-results__card-image {
  transform: scale(1.06) rotate(-4deg);
  border-color: rgba(201, 162, 39, 0.4);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .student-results__card:hover {
    transform: translateY(-4px);
  }
}

/* Mobile */

@media (max-width: 767px) {
  .student-results {
    padding: 80px var(--stitch-margin-mobile);
  }

  .student-results__header {
    margin-bottom: 40px;
  }
}

/* === Premium Photo Gallery ===
 *
 * An asymmetric bento grid that treats campus photos like an
 * editorial spread. One large hero image anchors the layout,
 * smaller images fill the grid, and a dark "+30" tile invites
 * visitors into the full gallery.
 */

.gallery-premium {
  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
  background: #ffffff;
}

@media (min-width: 768px) {
  .gallery-premium {
    padding: var(--stitch-section-gap) var(--stitch-margin-desktop);
  }
}

.gallery-premium__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
}

.gallery-premium__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .gallery-premium__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.gallery-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stitch-font-arabic);
  font-size: 12px;
  font-weight: 700;
  color: var(--stitch-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 6px 14px;
  background: rgba(91, 20, 230, 0.06);
  border: 1px solid rgba(91, 20, 230, 0.12);
  border-radius: var(--stitch-radius-full);
  width: fit-content;
}

.gallery-premium__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stitch-primary);
}

.gallery-premium__title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.gallery-premium__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(26, 26, 46, 0.12);
  border-radius: var(--stitch-radius-full);
  transition: all 0.3s ease;
  width: fit-content;
}

.gallery-premium__view-all:hover,
.gallery-premium__view-all:focus-visible {
  background: #1a1a2e;
  color: #ffffff;
  border-color: #1a1a2e;
}

.gallery-premium__view-all svg {
  transition: transform 0.3s ease;
}

.gallery-premium__view-all:hover svg,
.gallery-premium__view-all:focus-visible svg {
  transform: translateX(-4px);
}

/* Bento grid */

.gallery-premium__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .gallery-premium__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }

  .gallery-premium__item--1 {
    grid-row: 1 / 4;
  }
}

@media (min-width: 1024px) {
  .gallery-premium__grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    grid-template-rows: repeat(3, 160px);
  }

  .gallery-premium__item--1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
  }

  .gallery-premium__item--2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .gallery-premium__item--3 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .gallery-premium__item--4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .gallery-premium__item--5 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
  }

  .gallery-premium__item--6 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  .gallery-premium__item--more {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
  }
}

.gallery-premium__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.gallery-premium__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-premium__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 10, 102, 0.65) 0%, transparent 50%);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.gallery-premium__item:hover .gallery-premium__image {
  transform: scale(1.06);
}

.gallery-premium__item:hover::after {
  opacity: 0.9;
}

.gallery-premium__caption {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  z-index: 1;
  margin: 0;
}

.gallery-premium__caption-text {
  display: inline-block;
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--stitch-radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* More tile */

.gallery-premium__item--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1a1a2e;
  text-decoration: none;
  min-height: 160px;
}

.gallery-premium__item--more::after {
  display: none;
}

.gallery-premium__more-count {
  font-family: var(--stitch-font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--stitch-electric-blue);
  line-height: 1;
}

.gallery-premium__more-label {
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-premium__item--more:hover {
  background: linear-gradient(135deg, var(--stitch-primary) 0%, var(--stitch-deep-navy) 100%);
}

.gallery-premium__item--more:hover .gallery-premium__more-count {
  color: #ffffff;
}

/* === Video Library ===
 *
 * A cinematic dark stage for video content. The featured video
 * dominates the left, with a vertical list of thumbnails on the right.
 */

.video-library {
  padding: var(--stitch-section-gap) var(--stitch-margin-mobile);
  background: linear-gradient(135deg, var(--stitch-primary) 0%, var(--stitch-deep-navy) 100%);
  position: relative;
  overflow: hidden;
}

.video-library::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(91, 20, 230, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .video-library {
    padding: var(--stitch-section-gap) var(--stitch-margin-desktop);
  }
}

.video-library__container {
  max-width: var(--stitch-container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.video-library__header {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .video-library__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.video-library__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stitch-font-arabic);
  font-size: 12px;
  font-weight: 700;
  color: var(--stitch-electric-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 6px 14px;
  background: rgba(128, 233, 255, 0.08);
  border: 1px solid rgba(128, 233, 255, 0.16);
  border-radius: var(--stitch-radius-full);
  width: fit-content;
}

.video-library__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stitch-electric-blue);
}

.video-library__title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.video-library__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--stitch-radius-full);
  transition: all 0.3s ease;
  width: fit-content;
}

.video-library__view-all:hover,
.video-library__view-all:focus-visible {
  background: #ffffff;
  color: var(--stitch-deep-navy);
  border-color: #ffffff;
}

.video-library__view-all svg {
  transition: transform 0.3s ease;
}

.video-library__view-all:hover svg,
.video-library__view-all:focus-visible svg {
  transform: translateX(-4px);
}

.video-library__stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 900px) {
  .video-library__stage {
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
  }
}

/* Featured video */

.video-library__featured {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}

.video-library__featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-library__featured:hover .video-library__featured-image {
  transform: scale(1.04);
}

.video-library__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 10, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.video-library__featured:hover .video-library__overlay {
  background: rgba(42, 10, 102, 0.5);
}

.video-library__play:hover,
.video-library__play:focus-visible {
  transform: scale(1.1);
  background: #ffffff;
}

.video-library__featured-meta {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(42, 10, 102, 0.9), transparent);
  color: #ffffff;
}

.video-library__featured-title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
}

.video-library__featured-desc {
  font-family: var(--stitch-font-arabic);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Thumbnail list */

.video-library__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 900px) {
  .video-library__list {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    height: 100%;
  }
}

.video-library__thumb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
}

.video-library__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-library__thumb:hover .video-library__thumb-image {
  transform: scale(1.06);
}

.video-library__thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 10, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.video-library__thumb:hover .video-library__thumb-overlay {
  background: rgba(42, 10, 102, 0.55);
}

.video-library__thumb:hover .video-library__thumb-play {
  transform: scale(1.1);
  background: #ffffff;
}

.video-library__thumb-meta {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(42, 10, 102, 0.85), transparent);
}

.video-library__thumb-title {
  font-family: var(--stitch-font-arabic);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-library__thumb-duration {
  font-family: var(--stitch-font-label);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile */

@media (max-width: 767px) {
  .gallery-premium,
  .video-library {
    padding: 80px var(--stitch-margin-mobile);
  }

  .gallery-premium__header,
  .video-library__header {
    margin-bottom: 32px;
  }

  .gallery-premium__grid {
    gap: 10px;
  }

  .gallery-premium__item {
    min-height: 160px;
  }

  .gallery-premium__caption-text {
    font-size: 12px;
  }

  .video-library__list {
    grid-template-columns: 1fr;
  }

  .video-library__thumb {
    height: 240px;
  }

  .video-library__featured-title {
    font-size: 18px;
  }
}

/* === Testimonials Section ===
 *
 * Pixel-perfect recreation of the Stitch "Animated Testimonials Section".
 * Source: Stitch Project ID 10612256545289588306,
 * Screen 9f62cb8381594255bf8001aa8161f679.
 */

.testimonials-stitch {
  --testimonials-purple: #6b3deb;
  --testimonials-purple-dark: #1e1a38;
  --testimonials-purple-light: #f5f3ff;
  --testimonials-accent: #8b5cf6;
  --testimonials-yellow: #facc15;
  --testimonials-bg: #faf9ff;
  --testimonials-card-shadow: 0 20px 50px -12px rgba(107, 61, 235, 0.25);
  --testimonials-card-side-shadow: 0 10px 30px -10px rgba(107, 61, 235, 0.1);
  --testimonials-glow-shadow: 0 0 30px rgba(107, 61, 235, 0.5);
  --testimonials-floating-shadow: 0 10px 25px -5px rgba(107, 61, 235, 0.4);
  position: relative;
  padding: 96px 0;
  background: var(--testimonials-bg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .testimonials-stitch {
    padding: 120px 0;
  }
}

.testimonials-stitch__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(107, 61, 235, 0.05) 0%, transparent 40%);
}

.testimonials-stitch__waves::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,50 Q25,20 50,50 T100,50' fill='none' stroke='%231e1a38' stroke-width='0.5'/%3E%3Cpath d='M0,70 Q25,40 50,70 T100,70' fill='none' stroke='%231e1a38' stroke-width='0.5'/%3E%3Cpath d='M0,30 Q25,0 50,30 T100,30' fill='none' stroke='%231e1a38' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.testimonials-stitch__container {
  position: relative;
  z-index: 1;
  max-width: var(--stitch-container-max);
  margin: 0 auto;
  padding: 0 var(--stitch-margin-mobile);
}

@media (min-width: 768px) {
  .testimonials-stitch__container {
    padding: 0 var(--stitch-margin-desktop);
  }
}

/* Header */

.testimonials-stitch__header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-stitch__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--testimonials-accent);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 6px -1px rgba(107, 61, 235, 0.2);
}

.testimonials-stitch__badge-icon {
  width: 16px;
}

/* === Testimonials — reveal end-states (restore visibility) ===
 * .reveal-item starts at opacity:0 (carousel.css); the inline IntersectionObserver
 * adds one of these animation classes when the element scrolls into view. */
.testimonials-stitch .reveal-item.animate-fade-in,
.testimonials-stitch .reveal-item.animate-fade-up,
.testimonials-stitch .reveal-item.animate-scale-up {
  opacity: 1;
  transform: none;
}

/* === Testimonials — Title / dots / subtitle === */
.testimonials-stitch__title {
  font-family: 'Noto Kufi Arabic', var(--stitch-font-arabic), sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--testimonials-purple-dark);
  margin: 0 0 20px;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .testimonials-stitch__title {
    font-size: 40px;
  }
}

.testimonials-stitch__title-accent {
  color: var(--testimonials-purple);
}

.testimonials-stitch__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.testimonials-stitch__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(107, 61, 235, 0.2);
}

.testimonials-stitch__dot--active {
  width: 24px;
  background: var(--testimonials-purple);
}

.testimonials-stitch__subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #5b5772;
}

/* === Carousel === */
.testimonials-stitch__carousel {
  position: relative;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonials-stitch__cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.testimonials-stitch__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(107, 61, 235, 0.08);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--testimonials-card-side-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonials-stitch__card--active {
  box-shadow: var(--testimonials-card-shadow);
  border-color: rgba(107, 61, 235, 0.18);
}

@media (min-width: 1024px) {
  .testimonials-stitch__card--active {
    transform: translateY(-12px);
  }
}

/* Floating heart badge */
.testimonials-stitch__float {
  position: absolute;
  top: -14px;
  inset-inline-end: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--testimonials-purple);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--testimonials-floating-shadow);
}

.testimonials-stitch__float-icon {
  width: 18px;
  height: 18px;
}

/* Card top: author block + quote mark */
.testimonials-stitch__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonials-stitch__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-stitch__avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--testimonials-purple-light);
  color: var(--testimonials-purple);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonials-stitch__author-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--testimonials-purple-dark);
}

.testimonials-stitch__author-label {
  margin: 2px 0 0;
  font-size: 12px;
  color: #8a86a0;
}

.testimonials-stitch__quote-mark {
  width: 32px;
  height: 32px;
  color: rgba(107, 61, 235, 0.12);
  flex-shrink: 0;
}

/* Stars */
.testimonials-stitch__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.testimonials-stitch__star {
  width: 18px;
  height: 18px;
  color: var(--testimonials-yellow);
}

/* Quote text */
.testimonials-stitch__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4a4660;
}

/* Arrows (decorative on desktop) */
.testimonials-stitch__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid rgba(107, 61, 235, 0.2);
  color: var(--testimonials-purple);
  cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(107, 61, 235, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

@media (min-width: 1024px) {
  .testimonials-stitch__arrow {
    display: flex;
  }
}

.testimonials-stitch__arrow:hover {
  background: var(--testimonials-purple-light);
  transform: translateY(-2px);
}

.testimonials-stitch__arrow-icon {
  width: 22px;
  height: 22px;
}

/* Pagination */
.testimonials-stitch__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testimonials-stitch__page {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(107, 61, 235, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.testimonials-stitch__page--active {
  width: 24px;
  background: var(--testimonials-purple);
}

.testimonials-stitch__page:focus-visible {
  outline: 2px solid var(--testimonials-purple);
  outline-offset: 3px;
}

/* CTA banner */
.testimonials-stitch__cta {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 40px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--testimonials-purple) 0%, var(--testimonials-purple-dark) 100%);
  text-align: center;
}

.testimonials-stitch__cta-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 50%);
}

.testimonials-stitch__cta-watermark {
  position: absolute;
  inset-inline-start: 24px;
  bottom: -10px;
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.testimonials-stitch__cta-content {
  position: relative;
  z-index: 1;
}

.testimonials-stitch__cta-title {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
}

.testimonials-stitch__cta-desc {
  margin: 0 0 22px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.testimonials-stitch__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--testimonials-purple);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonials-stitch__cta-btn:hover,
.testimonials-stitch__cta-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.testimonials-stitch__cta-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.testimonials-stitch__cta-btn-icon {
  width: 20px;
  height: 20px;
}
/* Accessible gold for foreground text on white/light backgrounds.
   Replaces text-yellow-600 (#ca8a04, 2.94:1 — fails WCAG AA) on the program
   cards with #a16207 (~4.9:1, passes AA for normal text). */
.text-gold-accessible { color: #a16207; }
