/* 
 * Studies Learning Premium - SL University 
 * Isolated styles with .studies-p-uni- prefix
 */

:root {
  --sp-uni-primary: #0047ff;
  --sp-uni-primary-container: #0032b3;
  --sp-uni-emerald: #10b981;
  --sp-uni-emerald-dark: #065f46;
  --sp-uni-surface: #f8f9fa;
  --sp-uni-on-surface: #191c1d;
  --sp-uni-on-surface-variant: #474651;
  --sp-uni-accent: #ff222d;
}

.page-template-page-sl-university {
  background-image: none !important;
  background: #ffffff !important;
}

/* 1. Hero Section — Full-width with 3D globe */
.sp-hero {
  position: relative;
  width: 100%;
  margin-top: 40px;
  padding: 2rem 4rem 0.5rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 30%, #f0f0ff 70%, #fafaff 100%);
  overflow: hidden;
}

/* --- Particles container --- */
.sp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Decorative floating shapes --- */
.sp-hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sp-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
  animation: spShapeFloat 8s ease-in-out infinite;
}

.sp-hero-shape--1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  top: 5%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.sp-hero-shape--2 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 12s;
}

.sp-hero-shape--3 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, transparent 70%);
  bottom: 30%;
  left: 8%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.sp-hero-shape--4 {
  width: 50px;
  height: 50px;
  border: 2.5px solid rgba(139, 92, 246, 0.25);
  border-radius: 14px;
  top: 12%;
  left: 45%;
  animation-delay: 1s;
  animation-duration: 11s;
  transform: rotate(45deg);
}

.sp-hero-shape--5 {
  width: 35px;
  height: 35px;
  border: 2.5px solid rgba(59, 130, 246, 0.2);
  border-radius: 10px;
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
  animation-duration: 8s;
  transform: rotate(30deg);
}

.sp-hero-shape--6 {
  width: 65px;
  height: 65px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  top: 60%;
  left: 5%;
  animation-delay: 5s;
  animation-duration: 13s;
}

.sp-hero-shape--7 {
  width: 45px;
  height: 45px;
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: 50%;
  top: 8%;
  right: 30%;
  animation-delay: 2.5s;
  animation-duration: 10s;
}

@keyframes spShapeFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.8); }
  20% { opacity: 1; }
  50% { opacity: 1; transform: translateY(-20px) scale(1); }
  80% { opacity: 1; }
}

.sp-hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 460px;
}

/* --- Left: Content --- */
.sp-hero-content {
  flex: 0 0 42%;
  max-width: 520px;
  z-index: 5;
}

.sp-hero-title {
  margin: 0 0 0.8rem;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f172a;
}

.sp-hero-title-accent {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-hero-subtitle {
  margin: 0 0 1.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 440px;
}

/* --- CTA Buttons --- */
.sp-hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.sp-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.sp-hero-btn--primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
  animation: spBtnAggressive 1.8s ease-in-out infinite;
}

.sp-hero-btn--primary::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed, #6366f1, #2563eb);
  background-size: 300% 300%;
  z-index: -1;
  animation: spBtnBorderGlow 2s ease infinite;
  opacity: 0.4;
}

.sp-hero-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: spBtnShimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.sp-hero-btn--primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.5);
  color: #fff;
  animation: none;
}

.sp-hero-btn--primary:hover::before {
  opacity: 1;
}

.sp-hero-btn--outline {
  background: transparent;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  animation: spBtnGentle 3s ease-in-out infinite;
}

.sp-hero-btn--outline:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
  animation: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

@keyframes spBtnAggressive {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
  15% { transform: scale(1.04); box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
  30% { transform: scale(0.96); box-shadow: 0 4px 20px rgba(124,58,237,0.35); }
  45% { transform: scale(1.02); box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
  60% { transform: scale(1); box-shadow: 0 4px 20px rgba(37,99,235,0.35); }
}

@keyframes spBtnBorderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes spBtnShimmer {
  0% { transform: translateX(-100%); }
  20% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@keyframes spBtnGentle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* --- Info Banner (replaces feature badges) --- */
.sp-hero-info-banner-wrap {
  width: calc(100% + 20rem);
  margin-right: -20rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 20px;
  padding: 4px;
  position: relative;
  z-index: 10;
}

.sp-hero-info-banner {
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 17px;
  padding: 0.6rem 0;
  overflow: hidden;
  min-height: 56px;
  display: flex;
  align-items: center;
  position: relative;
}

.sp-hero-info-banner::before,
.sp-hero-info-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.sp-hero-info-banner::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, transparent 100%);
}
.sp-hero-info-banner::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.95) 100%);
}

.sp-hero-info-banner-glow {
  position: absolute;
  top: -60%;
  left: -10%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: spBannerGlow 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes spBannerGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(30px, -10px) scale(1.3); opacity: 1; }
}

.sp-hero-info-banner-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: spBannerScroll 30s linear infinite;
  padding: 0 1rem;
  flex-shrink: 0;
}

.sp-hero-info-banner:hover .sp-hero-info-banner-track {
  animation-play-state: paused;
}

.sp-hero-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.sp-hero-info-item--highlight {
  position: relative;
  padding-left: 0.75rem;
}

.sp-hero-info-item--highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: linear-gradient(180deg, #7c3aed, #3b82f6);
  border-radius: 2px;
}

.sp-hero-info-item--highlight .sp-hero-info-text strong {
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-hero-info-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.sp-hero-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sp-hero-info-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.sp-hero-info-text span {
  font-size: 0.72rem;
  font-weight: 400;
  color: #64748b;
}

@keyframes spBannerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Right: Visual (Globe area) --- */
.sp-hero-visual {
  flex: 1;
  position: relative;
  min-height: 440px;
  z-index: 2;
}

/* --- Globe Canvas --- */
.sp-hero-globe-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
}

.sp-hero-globe-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.sp-hero-globe-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(99, 102, 241, 0.1) 30%, rgba(59, 130, 246, 0.05) 60%, transparent 80%);
  pointer-events: none;
  z-index: -1;
  will-change: transform, opacity;
  animation: spHeroGlowPulse 6s ease-in-out infinite;
}

@keyframes spHeroGlowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* --- Floating Professor Cards --- */
.sp-hero-prof-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
  white-space: nowrap;
}

.sp-hero-prof-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sp-hero-prof-info {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.sp-hero-prof-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.sp-hero-prof-univ {
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.2;
}

.sp-hero-prof-flag {
  font-size: 0.85rem;
  line-height: 1;
}

/* Card positions */
.sp-hero-prof-card--1 {
  top: 6%;
  left: 10%;
  animation: spHeroFloat 7s ease-in-out infinite;
}

.sp-hero-prof-card--2 {
  top: 48%;
  left: -2%;
  animation: spHeroFloat 7s ease-in-out infinite 1.5s;
}

.sp-hero-prof-card--3 {
  top: 2%;
  right: 2%;
  animation: spHeroFloat 7s ease-in-out infinite 3s;
}

.sp-hero-prof-card--4 {
  bottom: 10%;
  right: 0%;
  animation: spHeroFloat 7s ease-in-out infinite 4.5s;
}

.sp-hero-prof-card--5 {
  bottom: 26%;
  left: 30%;
  animation: spHeroFloat 7s ease-in-out infinite 2s;
}

@keyframes spHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Stat Cards --- */
.sp-hero-stat-card {
  position: absolute;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.sp-hero-stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.sp-hero-stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.sp-hero-stat-sub {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 0.15rem;
}

/* Learners card */
.sp-hero-stat-card--learners {
  top: 30%;
  left: 28%;
  animation: spHeroFloat 7s ease-in-out infinite 0.8s;
}

.sp-hero-stat-avatars {
  display: flex;
  margin-top: 0.6rem;
}

.sp-hero-stat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}

.sp-hero-stat-avatar:first-child {
  margin-left: 0;
}

/* Success card */
.sp-hero-stat-card--success {
  top: 36%;
  right: 12%;
  animation: spHeroFloat 7s ease-in-out infinite 2.2s;
}

.sp-hero-stat-chart {
  width: 100px;
  height: 32px;
  margin-top: 0.5rem;
}

/* --- Floating Decorative Icons --- */
.sp-hero-deco {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.1);
  z-index: 8;
  animation: spHeroFloat 5s ease-in-out infinite;
}

.sp-hero-deco--1 {
  top: 14%;
  right: 28%;
  animation-delay: 1s;
}

.sp-hero-deco--2 {
  bottom: 18%;
  left: 32%;
  animation-delay: 2s;
}

.sp-hero-deco--3 {
  top: 55%;
  right: 5%;
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
  animation-delay: 3s;
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Tablet
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sp-hero {
    padding: 2.5rem 2rem 1.5rem;
  }

  .sp-hero-content {
    flex: 0 0 45%;
    max-width: 460px;
  }

  .sp-hero-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
  }

  .sp-hero-globe-wrap {
    width: 400px;
    height: 400px;
  }

  .sp-hero-prof-card--1 { left: 5%; }
  .sp-hero-prof-card--2 { left: -5%; }
  .sp-hero-prof-card--3 { right: 0; }
  .sp-hero-prof-card--4 { right: -3%; }

  .sp-hero-stat-card--learners { left: 22%; }
  .sp-hero-stat-card--success { right: 8%; }

  .sp-uni-why {
    padding: 4rem 2rem 3.5rem;
  }

  .sp-uni-why-shell {
    padding: 1.6rem;
  }

  .sp-uni-why-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .sp-uni-card-vision,
  .sp-uni-card-experience,
  .sp-uni-card-reach,
  .sp-uni-card-governance {
    grid-column: auto;
    grid-row: auto;
  }

  .sp-uni-card-vision {
    padding: 1.75rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   Responsive — Mobile
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .sp-hero {
    margin-top: 60px;
    padding: 1.2rem 1.2rem 0.8rem;
  }

  .sp-hero-inner {
    flex-direction: column;
    min-height: auto;
    gap: 0.75rem;
  }

  .sp-hero-content {
    flex: none;
    max-width: 100%;
    text-align: center;
  }

  .sp-hero-title {
    font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  }

  .sp-hero-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .sp-hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .sp-hero-cta-group {
    justify-content: center;
    margin-bottom: 0.8rem;
  }

  .sp-hero-info-banner-wrap {
    width: calc(100% + 2.4rem);
    margin-left: -1.2rem;
    margin-right: 0;
    border-radius: 14px;
  }

  .sp-hero-info-banner {
    width: 100%;
    border-radius: 11px;
    min-height: 48px;
  }

  .sp-hero-info-banner-track {
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .sp-hero-info-item {
    gap: 0.4rem;
  }

  .sp-hero-info-num {
    font-size: 1.1rem;
  }

  .sp-hero-info-text strong {
    font-size: 0.68rem;
  }

  .sp-hero-info-text span {
    font-size: 0.58rem;
  }

  .sp-hero-visual {
    width: 100%;
    min-height: auto;
    margin-top: -0.5rem;
  }

  .sp-hero-globe-wrap {
    width: 220px;
    height: 220px;
    display: none;
  }

  .sp-hero-globe-glow {
    display: none;
  }

  .sp-hero-prof-card {
    display: none;
  }

  .sp-hero-stat-card {
    display: none;
  }

  .sp-hero-deco {
    display: none;
  }

  .sp-uni-why {
    padding: 3rem 1rem 2.5rem;
  }

  .sp-uni-why-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .sp-hero {
    padding: 1.2rem 0.8rem 0.8rem;
    margin-top: 50px;
  }

  .sp-hero-title {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .sp-hero-subtitle {
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
  }

  .sp-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .sp-hero-btn {
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.6rem 1.1rem;
  }

  .sp-hero-info-banner-wrap {
    width: calc(100% + 1.6rem);
    margin-left: -0.8rem;
    border-radius: 12px;
  }

  .sp-hero-info-banner {
    border-radius: 9px;
    min-height: 42px;
  }

  .sp-hero-info-banner-track {
    gap: 0.8rem;
    padding: 0 0.4rem;
  }

  .sp-hero-info-item {
    gap: 0.35rem;
  }

  .sp-hero-info-num {
    font-size: 0.95rem;
  }

  .sp-hero-info-text strong {
    font-size: 0.62rem;
  }

  .sp-hero-info-text span {
    font-size: 0.52rem;
  }

  .sp-hero-visual {
    display: none;
  }
}

/* 2. Partners Carousel — Nos établissements partenaires */
.sp-uni-partners-carousel {
  padding: 0.5rem 0 1.5rem;
  background: #ffffff;
}

.sp-uni-pc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
}

/* Header */
.sp-uni-pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sp-uni-pc-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.sp-uni-pc-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-uni-pc-see-all {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.2);
  position: relative;
  overflow: hidden;
  animation: spBtnAggressive 1.8s ease-in-out infinite;
}

.sp-uni-pc-see-all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: spBtnShimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.sp-uni-pc-see-all::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6, #6366f1, #7c3aed);
  background-size: 300% 300%;
  z-index: -1;
  animation: spBtnBorderGlow 2s ease infinite;
  opacity: 0.4;
}

.sp-uni-pc-see-all:hover {
  gap: 0.8rem;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(124,58,237,0.4);
  color: #fff;
  animation: none;
}

.sp-uni-pc-see-all:hover::after {
  opacity: 1;
}

.sp-uni-pc-see-all i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.sp-uni-pc-see-all:hover i {
  transform: translateX(4px);
}

/* Track wrapper */
.sp-uni-pc-track-wrap {
  position: relative;
  overflow: hidden;
}

/* Track */
.sp-uni-pc-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 1rem 0 1rem;
}

/* Card */
.sp-uni-pc-card {
  flex: 0 0 calc(16.666% - 0.834rem);
  min-width: 170px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.2,0.9,0.4,1),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sp-uni-pc-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sp-uni-pc-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 24px rgba(124,58,237,0.06),
    0 20px 50px rgba(0,0,0,0.04);
}

.sp-uni-pc-card:hover::after {
  opacity: 1;
}

/* Card image */
.sp-uni-pc-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.sp-uni-pc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.sp-uni-pc-card:hover .sp-uni-pc-card-img {
  transform: scale(1.08);
}

/* Logo overlapping image/body border — positioned by JS */
.sp-uni-pc-card-logo {
  position: absolute;
  left: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.sp-uni-pc-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card body */
.sp-uni-pc-card-body {
  padding: 1.5rem 0.9rem 0.9rem 3.2rem;
}

.sp-uni-pc-card-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.sp-uni-pc-card:hover .sp-uni-pc-card-name {
  color: #7c3aed;
}

.sp-uni-pc-card-location {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  margin: 0 0 0.7rem;
}

/* Footer: programs + arrow */
.sp-uni-pc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.sp-uni-pc-card-programs {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0f172a;
}

.sp-uni-pc-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124,58,237,0.06);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
  flex-shrink: 0;
}

.sp-uni-pc-card:hover .sp-uni-pc-card-arrow {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  transform: translateX(3px);
}

/* Navigation arrow */
.sp-uni-pc-nav {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
}

.sp-uni-pc-nav:hover {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 28px rgba(124,58,237,0.3);
  transform: translateY(-50%) scale(1.08);
}

/* Responsive */
@media (max-width: 1200px) {
  .sp-uni-pc-card {
    flex: 0 0 calc(20% - 0.8rem);
  }
}

@media (max-width: 992px) {
  .sp-uni-pc-card {
    flex: 0 0 calc(25% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .sp-uni-partners-carousel {
    padding: 1rem 0 1.5rem;
  }
  .sp-uni-pc-container {
    padding: 0 1.2rem;
  }
  .sp-uni-pc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  .sp-uni-pc-title {
    font-size: 1.4rem;
  }
  .sp-uni-pc-card {
    flex: 0 0 calc(70% - 0.5rem);
    min-width: 220px;
  }
  .sp-uni-pc-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    right: -18px;
  }
}

@media (max-width: 480px) {
  .sp-uni-pc-container {
    padding: 0 1rem;
  }
  .sp-uni-pc-title {
    font-size: 1.25rem;
  }
  .sp-uni-pc-card {
    flex: 0 0 82%;
    min-width: 200px;
  }
  .sp-uni-pc-card-body {
    padding: 1.2rem 0.75rem 0.75rem 2.8rem;
  }
  .sp-uni-pc-card-name {
    font-size: 0.8rem;
  }
}

/* 3. Why Section + CTA */
.studies-p-uni-why {
  position: relative;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(180deg, #f8faff 0%, #eef2ff 50%, #f0f4ff 100%);
  z-index: 10;
  overflow: hidden;
}

/* ── Decorative layer ── */
.studies-p-uni-why-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* — Orbs (solid bokeh circles) — */
.sp-uni-why-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 71, 255, 0.06);
}

.sp-uni-why-orb--1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: 4%;
  background: rgba(99, 102, 241, 0.09);
  animation: sp-dual-float 7s ease-in-out infinite;
}

.sp-uni-why-orb--2 {
  width: 100px;
  height: 100px;
  top: 25%;
  right: 6%;
  background: rgba(0, 71, 255, 0.07);
  animation: sp-dual-float 6s ease-in-out infinite 1s;
}

.sp-uni-why-orb--3 {
  width: 55px;
  height: 55px;
  bottom: 18%;
  left: 10%;
  background: rgba(139, 92, 246, 0.09);
  animation: sp-dual-float 5s ease-in-out infinite 0.5s;
}

.sp-uni-why-orb--4 {
  width: 40px;
  height: 40px;
  top: 55%;
  right: 22%;
  background: rgba(0, 71, 255, 0.06);
  animation: sp-dual-float 8s ease-in-out infinite 2s;
}

.sp-uni-why-orb--5 {
  width: 70px;
  height: 70px;
  top: 10%;
  left: 45%;
  background: rgba(59, 130, 246, 0.06);
  animation: sp-dual-float 6.5s ease-in-out infinite 1.5s;
}

.sp-uni-why-orb--6 {
  width: 30px;
  height: 30px;
  bottom: 30%;
  right: 35%;
  background: rgba(99, 102, 241, 0.08);
  animation: sp-dual-float 4.5s ease-in-out infinite 0.8s;
}

.sp-uni-why-orb--7 {
  width: 45px;
  height: 45px;
  bottom: 8%;
  left: 55%;
  background: rgba(139, 92, 246, 0.06);
  animation: sp-dual-float 7.5s ease-in-out infinite 2.5s;
}

/* — Rings (hollow spinning circles) — */
.sp-uni-why-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 71, 255, 0.07);
  background: transparent;
}

.sp-uni-why-ring--1 {
  width: 130px;
  height: 130px;
  top: 12%;
  left: 2%;
  animation: sp-dual-spin 22s linear infinite;
}

.sp-uni-why-ring--2 {
  width: 80px;
  height: 80px;
  bottom: 22%;
  right: 4%;
  border-color: rgba(139, 92, 246, 0.09);
  animation: sp-dual-spin 16s linear infinite reverse;
}

.sp-uni-why-ring--3 {
  width: 55px;
  height: 55px;
  top: 40%;
  left: 30%;
  border-color: rgba(59, 130, 246, 0.06);
  animation: sp-dual-spin 18s linear infinite;
}

.sp-uni-why-ring--4 {
  width: 95px;
  height: 95px;
  top: 8%;
  right: 18%;
  border-color: rgba(99, 102, 241, 0.05);
  animation: sp-dual-spin 25s linear infinite reverse;
}

/* — Glows (large blurred light blobs) — */
.sp-uni-why-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.sp-uni-why-glow--1 {
  width: 280px;
  height: 280px;
  top: -70px;
  right: 8%;
  background: rgba(99, 102, 241, 0.12);
  animation: sp-dual-pulse 5s ease-in-out infinite;
}

.sp-uni-why-glow--2 {
  width: 220px;
  height: 220px;
  bottom: -60px;
  left: 12%;
  background: rgba(0, 71, 255, 0.09);
  animation: sp-dual-pulse 6s ease-in-out infinite 1.5s;
}

.sp-uni-why-glow--3 {
  width: 160px;
  height: 160px;
  top: 40%;
  left: 50%;
  background: rgba(139, 92, 246, 0.07);
  animation: sp-dual-pulse 7s ease-in-out infinite 3s;
}

/* — Stars (small decorative sparkles) — */
.sp-uni-why-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.3);
}

.sp-uni-why-star::before,
.sp-uni-why-star::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.sp-uni-why-star::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.sp-uni-why-star::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.sp-uni-why-star--1 {
  top: 18%;
  left: 20%;
  animation: sp-dual-pulse 3s ease-in-out infinite;
}

.sp-uni-why-star--2 {
  top: 35%;
  right: 15%;
  width: 5px;
  height: 5px;
  animation: sp-dual-pulse 3.5s ease-in-out infinite 0.5s;
}

.sp-uni-why-star--3 {
  bottom: 25%;
  left: 40%;
  width: 4px;
  height: 4px;
  animation: sp-dual-pulse 4s ease-in-out infinite 1s;
}

.sp-uni-why-star--4 {
  top: 65%;
  right: 30%;
  width: 5px;
  height: 5px;
  animation: sp-dual-pulse 3.2s ease-in-out infinite 1.5s;
}

.sp-uni-why-star--5 {
  bottom: 12%;
  right: 12%;
  width: 4px;
  height: 4px;
  animation: sp-dual-pulse 3.8s ease-in-out infinite 2s;
}

/* — Dashes (floating line segments) — */
.sp-uni-why-dash {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  background: rgba(99, 102, 241, 0.1);
}

.sp-uni-why-dash--1 {
  width: 40px;
  top: 22%;
  right: 25%;
  transform: rotate(-25deg);
  animation: sp-dual-float 5s ease-in-out infinite 0.3s;
}

.sp-uni-why-dash--2 {
  width: 30px;
  bottom: 35%;
  left: 20%;
  transform: rotate(15deg);
  animation: sp-dual-float 6s ease-in-out infinite 1.2s;
}

.sp-uni-why-dash--3 {
  width: 25px;
  top: 50%;
  right: 8%;
  transform: rotate(-40deg);
  animation: sp-dual-float 4.5s ease-in-out infinite 0.7s;
}

/* — Dots (tiny particles) — */
.sp-uni-why-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 71, 255, 0.12);
}

.sp-uni-why-dot--1 {
  top: 15%;
  left: 35%;
  animation: sp-dual-float 3.5s ease-in-out infinite;
}

.sp-uni-why-dot--2 {
  top: 45%;
  right: 20%;
  background: rgba(139, 92, 246, 0.15);
  animation: sp-dual-float 4s ease-in-out infinite 0.5s;
}

.sp-uni-why-dot--3 {
  bottom: 15%;
  left: 25%;
  animation: sp-dual-float 3s ease-in-out infinite 1s;
}

.sp-uni-why-dot--4 {
  top: 70%;
  left: 50%;
  background: rgba(59, 130, 246, 0.12);
  animation: sp-dual-float 4.5s ease-in-out infinite 1.5s;
}

.sp-uni-why-dot--5 {
  bottom: 40%;
  right: 10%;
  animation: sp-dual-float 3.8s ease-in-out infinite 0.8s;
}

.sp-uni-why-dot--6 {
  top: 30%;
  left: 60%;
  background: rgba(99, 102, 241, 0.1);
  width: 3px;
  height: 3px;
  animation: sp-dual-float 5s ease-in-out infinite 2s;
}

.studies-p-uni-why-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  box-shadow:
    0 4px 24px rgba(0, 71, 255, 0.04),
    0 20px 60px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 1;
}

.studies-p-uni-why-heading {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.studies-p-uni-why-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-uni-primary);
  font-weight: 800;
}

.studies-p-uni-why-heading h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Outfit", sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.studies-p-uni-why-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.studies-p-uni-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  padding: 2.2rem 2.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.studies-p-uni-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 71, 255, 0.1);
}

.studies-p-uni-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.studies-p-uni-card p {
  margin: 0;
  color: #5f6b85;
  font-size: 0.93rem;
  line-height: 1.55;
}

.studies-p-uni-card-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #42507a;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.studies-p-uni-card-topline i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(0, 71, 255, 0.1);
  color: var(--sp-uni-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.studies-p-uni-card-vision {
  grid-column: 1;
  grid-row: 1 / span 2;
  background: linear-gradient(145deg, #182347 0%, #22387b 45%, #2b4cb5 100%);
  color: #fff;
  border: none;
  padding: 2.35rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.studies-p-uni-card-vision h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.95rem;
}

.studies-p-uni-card-vision p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(226, 232, 255, 0.92);
}

.studies-p-uni-vision-points {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.studies-p-uni-vision-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f3f6ff;
}

.studies-p-uni-vision-points i {
  font-size: 1rem;
}

.studies-p-uni-card-experience {
  grid-column: 2 / 4;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

.studies-p-uni-card-reach {
  grid-column: 2;
}

.studies-p-uni-card-governance {
  grid-column: 3;
}

/* CTA inside Why section */
.studies-p-uni-why-cta {
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.studies-p-uni-btn-why {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  padding: 1rem 2.2rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow:
    0 4px 16px rgba(59, 130, 246, 0.25),
    0 8px 32px rgba(79, 70, 229, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.studies-p-uni-btn-why:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 24px rgba(59, 130, 246, 0.35),
    0 12px 40px rgba(79, 70, 229, 0.2);
  color: #fff;
}

.studies-p-uni-btn-why i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.studies-p-uni-btn-why:hover i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .studies-p-uni-why-shell {
    padding: 1.5rem;
  }
  .studies-p-uni-why-layout {
    grid-template-columns: 1fr 1fr;
  }
  .studies-p-uni-card-vision {
    grid-column: auto;
    grid-row: auto;
  }
  .studies-p-uni-card-experience,
  .studies-p-uni-card-reach,
  .studies-p-uni-card-governance {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 768px) {
  .studies-p-uni-why {
    padding: 3rem 1rem 2.5rem;
  }
  .studies-p-uni-why-layout {
    grid-template-columns: 1fr;
  }
  .studies-p-uni-card {
    padding: 1.5rem 1.25rem;
  }
  .studies-p-uni-card-vision {
    padding: 1.5rem 1.25rem;
  }
  .studies-p-uni-card-experience,
  .studies-p-uni-card-reach,
  .studies-p-uni-card-governance {
    grid-column: auto;
    grid-row: auto;
  }
  .studies-p-uni-why-heading h2 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
  }
  .studies-p-uni-why-cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .studies-p-uni-why {
    padding: 2rem 0.5rem;
  }
  .studies-p-uni-why-shell {
    padding: 0.75rem;
  }
  .studies-p-uni-card {
    padding: 1.25rem 1rem;
  }
  .studies-p-uni-card h3 {
    font-size: 0.95rem;
  }
  .studies-p-uni-card p {
    font-size: 0.85rem;
  }
  .studies-p-uni-card-vision {
    padding: 1.25rem 1rem;
  }
  .studies-p-uni-card-vision h3 {
    font-size: 1.05rem;
  }
  .studies-p-uni-card-vision p {
    font-size: 0.88rem;
  }
  .studies-p-uni-vision-points span {
    font-size: 0.8rem;
    padding: 0.45rem 0.7rem;
  }
  .studies-p-uni-why-heading h2 {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
  }
  .studies-p-uni-btn-why {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 999px;
  }
  .sp-uni-why-orb,
  .sp-uni-why-ring,
  .sp-uni-why-glow,
  .sp-uni-why-star,
  .sp-uni-why-dash,
  .sp-uni-why-dot {
    display: none;
  }
}

/* 4. (removed — accordion section deleted) */

/* 6. FAQ Section (Contemporary Accordion) */
.studies-p-uni-faq {
  position: relative;
  padding: 2.5rem 2rem 3rem;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
  overflow: hidden;
  z-index: 10;
}

/* ── Fantasy Decorations ── */
.sp-faq-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Morphing blobs */
.sp-faq-blob {
  position: absolute;
  pointer-events: none;
}

.sp-faq-blob--1 {
  width: 400px;
  height: 400px;
  top: -60px;
  right: -80px;
  animation: spFaqBlobFloat 20s ease-in-out infinite;
}

.sp-faq-blob--2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -60px;
  animation: spFaqBlobFloat 24s ease-in-out infinite 3s;
}

/* Constellation */
.sp-faq-constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Hexagonal grid */
.sp-faq-hex-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

/* Floating rings */
.sp-faq-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  opacity: 0.06;
}

.sp-faq-ring--1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 5%;
  border-color: #7c3aed;
  animation: spFaqRingSpin 25s linear infinite;
}

.sp-faq-ring--2 {
  width: 80px;
  height: 80px;
  top: 25%;
  left: 8%;
  border-color: #3b82f6;
  animation: spFaqRingSpin 20s linear infinite reverse;
}

.sp-faq-ring--3 {
  width: 160px;
  height: 160px;
  bottom: 20%;
  right: 5%;
  border-color: #6366f1;
  animation: spFaqRingSpin 30s linear infinite;
}

/* Glow orbs */
.sp-faq-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.sp-faq-glow--1 {
  width: 250px;
  height: 250px;
  top: 10%;
  left: -5%;
  background: rgba(124, 58, 237, 0.04);
  animation: spFaqGlowPulse 6s ease-in-out infinite;
}

.sp-faq-glow--2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: -3%;
  background: rgba(59, 130, 246, 0.04);
  animation: spFaqGlowPulse 8s ease-in-out infinite 2s;
}

@keyframes spFaqBlobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(8px, -12px) rotate(2deg); }
  66% { transform: translate(-6px, 8px) rotate(-1deg); }
}

@keyframes spFaqRingSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spFaqGlowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

/* ── Container ── */
.studies-p-uni-faq-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.studies-p-uni-faq-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 1.2rem;
}

.studies-p-uni-faq-header h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

.studies-p-uni-faq-header h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.studies-p-uni-faq-header p {
  margin: 0;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

.studies-p-uni-header-divider {
  width: 28px;
  height: 2.5px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  margin: 0 auto 0.5rem;
  border-radius: 2px;
}

.studies-p-uni-faq-accordion {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: start;
}

.studies-p-uni-faq-item {
  background: #fff;
  border: 1px solid #f1f3f5;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
}

.studies-p-uni-faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.studies-p-uni-faq-item.active {
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.06);
}

.studies-p-uni-faq-item.active::before {
  opacity: 1;
}

.studies-p-uni-faq-question {
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.35;
  gap: 0.5rem;
  transition: color 0.25s ease;
}

.studies-p-uni-faq-item.active .studies-p-uni-faq-question {
  color: #7c3aed;
}

.faq-icon-wrapper {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  transition: all 0.25s ease;
  flex-shrink: 0;
  font-size: 0.7rem;
}

.studies-p-uni-faq-item.active .faq-icon-wrapper {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: white;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.studies-p-uni-faq-item .ph-plus {
  transition: transform 0.25s ease;
}

.studies-p-uni-faq-item.active .ph-plus {
  transform: rotate(45deg);
}

.studies-p-uni-faq-answer {
  padding: 0 1rem 0;
  color: #64748b;
  line-height: 1.6;
  font-size: 0.82rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease,
    opacity 0.3s ease;
}

.studies-p-uni-faq-item.active .studies-p-uni-faq-answer {
  max-height: 300px;
  padding: 0 1rem 0.85rem;
  opacity: 1;
}

@media (max-width: 768px) {
  .studies-p-uni-faq {
    padding: 1.5rem 1rem 2rem;
  }
  .studies-p-uni-faq-accordion {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .studies-p-uni-faq-header {
    margin-bottom: 0.8rem;
  }
  .studies-p-uni-faq-header h2 {
    font-size: clamp(1.2rem, 4vw, 1.4rem);
  }
  .studies-p-uni-faq-header p {
    font-size: 0.78rem;
  }
  .studies-p-uni-faq-question {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
  .studies-p-uni-faq-answer {
    padding: 0 0.85rem 0;
    font-size: 0.78rem;
  }
  .studies-p-uni-faq-item.active .studies-p-uni-faq-answer {
    padding: 0 0.85rem 0.75rem;
  }
  .sp-faq-blob,
  .sp-faq-ring,
  .sp-faq-glow {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .studies-p-uni-faq {
    padding: 1rem 0.6rem 1.5rem;
  }
  .studies-p-uni-faq-header h2 {
    font-size: 1.1rem;
  }
  .studies-p-uni-faq-header p {
    font-size: 0.72rem;
  }
  .studies-p-uni-faq-header {
    margin-bottom: 0.6rem;
  }
  .studies-p-uni-faq-question {
    padding: 0.65rem 0.7rem;
    font-size: 0.75rem;
  }
  .faq-icon-wrapper {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  .studies-p-uni-faq-answer {
    padding: 0 0.7rem 0;
    font-size: 0.75rem;
  }
  .studies-p-uni-faq-item.active .studies-p-uni-faq-answer {
    padding: 0 0.7rem 0.65rem;
  }
  .sp-faq-blob,
  .sp-faq-constellation,
  .sp-faq-hex-grid,
  .sp-faq-ring,
  .sp-faq-glow {
    display: none;
  }
}

@media (max-width: 1100px) {
  .sp-uni-why {
    padding: 4rem 2rem 3.5rem;
  }

  .sp-uni-why-shell {
    padding: 1.6rem;
  }

  .sp-uni-why-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .sp-uni-card-vision,
  .sp-uni-card-experience,
  .sp-uni-card-reach,
  .sp-uni-card-governance {
    grid-column: auto;
    grid-row: auto;
  }

  .sp-uni-card-vision {
    padding: 1.75rem 1.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sp-uni-why {
    padding: 3rem 1rem 2.5rem;
  }

  .sp-uni-why-layout {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════
    7. Campus Digital — Dashboard showcase
   ═══════════════════════════════════════════════════════════ */
.sp-uni-campus {
  position: relative;
  background: linear-gradient(135deg, #0a0e2a 0%, #0f1642 50%, #1a1250 100%);
  border-radius: 28px;
  margin: 2.5rem 1.5rem;
  padding: 2rem 0 0;
  overflow: hidden;
}

/* Background Container */
.sp-uni-campus-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Morphing Blobs */
.sp-uni-campus-blob {
  position: absolute;
  width: 400px;
  height: 400px;
}

.sp-uni-campus-blob:first-child {
  top: -100px;
  right: -50px;
}

.sp-uni-campus-blob:nth-child(2) {
  bottom: -100px;
  left: -50px;
}

.sp-uni-campus-blob-path--1 {
  animation: spUniCampusBlobMorph1 20s ease-in-out infinite;
}

.sp-uni-campus-blob-path--2 {
  animation: spUniCampusBlobMorph2 25s ease-in-out infinite;
}

@keyframes spUniCampusBlobMorph1 {
  0%, 100% { d: path("M45.3,-58.2C57.9,-51.3,66.9,-37.5,71.1,-22.6C75.3,-7.7,74.7,8.3,68.5,21.4C62.3,34.5,50.5,44.7,37.6,51.8C24.7,58.9,10.7,62.9,-3.8,68.3C-18.3,73.7,-33.3,80.5,-45.6,74.8C-57.9,69.1,-67.5,50.9,-72.6,32.4C-77.7,13.9,-78.3,-4.9,-72.2,-20.1C-66.1,-35.3,-53.3,-46.9,-39.8,-53.4C-26.3,-59.9,-12.1,-61.3,2.4,-64.8C16.9,-68.3,32.7,-65.1,45.3,-58.2Z"); }
  33% { d: path("M38.9,-51.4C50.9,-44.8,61.6,-33.5,66.8,-19.8C72,-6.1,71.7,10,65.5,23.5C59.3,37,47.2,47.9,33.8,54.5C20.4,61.1,5.7,63.4,-9.5,67.5C-24.7,71.6,-40.4,77.5,-51.8,71.2C-63.2,64.9,-70.3,46.4,-74.1,27.9C-77.9,9.4,-78.4,-9.1,-72.2,-24.3C-66,-39.5,-53.1,-51.4,-39.5,-57.6C-25.9,-63.8,-11.6,-64.3,1.3,-66.2C14.2,-68.1,26.9,-58,38.9,-51.4Z"); }
  66% { d: path("M42.1,-55.3C54.8,-49.2,65.3,-37.3,70.5,-23.1C75.7,-8.9,75.6,7.5,69.4,21.1C63.2,34.7,50.9,45.5,37.5,52.4C24.1,59.3,9.6,62.3,-5.3,67.8C-20.2,73.3,-35.5,81.3,-47.4,76.1C-59.3,70.9,-67.8,52.5,-73.1,34C-78.4,15.5,-80.5,-3.1,-75.3,-18.8C-70.1,-34.5,-57.6,-47.3,-43.8,-53.2C-30,-59.1,-15,-58.1,0.5,-58.8C16,-59.5,29.4,-61.4,42.1,-55.3Z"); }
}

@keyframes spUniCampusBlobMorph2 {
  0%, 100% { d: path("M39.5,-51.2C52.9,-44.7,67,-35.1,72.8,-22C78.6,-8.9,76.1,7.7,68.8,21.3C61.5,34.9,49.3,45.5,36.1,52.5C22.9,59.5,8.7,62.9,-5.1,69.1C-18.9,75.3,-32.3,84.3,-43.5,79.5C-54.7,74.7,-63.7,56.1,-69.1,37.3C-74.5,18.5,-76.3,-0.5,-71.3,-16.2C-66.3,-31.9,-54.5,-44.3,-41.3,-51C-28.1,-57.7,-13.4,-58.7,0.8,-59.9C15,-61.1,26.1,-57.7,39.5,-51.2Z"); }
  50% { d: path("M43.2,-56.7C55.9,-50.1,66.1,-37.4,71.5,-22.8C76.9,-8.2,77.5,8.3,71.5,22.1C65.5,35.9,52.9,47,39.3,53.5C25.7,60,11.1,62,-4.1,68.2C-19.3,74.4,-35.1,84.8,-46.8,80.1C-58.5,75.4,-66.1,55.6,-71.5,36.5C-76.9,17.4,-80.1,-1,-75.5,-16.7C-70.9,-32.4,-58.5,-45.4,-44.8,-51.8C-31.1,-58.2,-16.1,-58,0.2,-58.3C16.5,-58.6,30.5,-63.3,43.2,-56.7Z"); }
}

/* Constellation */
.sp-uni-campus-constellation {
  position: absolute;
  inset: 0;
}

.sp-uni-campus-constellation svg {
  width: 100%;
  height: 100%;
}

.sp-uni-campus-const-line {
  stroke: rgba(99, 102, 241, 0.12);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  animation: spUniCampusLineDash 20s linear infinite;
}

@keyframes spUniCampusLineDash {
  to { stroke-dashoffset: -50; }
}

.sp-uni-campus-const-dot {
  fill: rgba(139, 92, 246, 0.3);
  animation: spUniCampusDotPulse 3s ease-in-out infinite;
}

.sp-uni-campus-const-dot--active {
  fill: rgba(167, 139, 250, 0.6);
  animation: spUniCampusDotPulse 2s ease-in-out infinite;
}

@keyframes spUniCampusDotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* Hexagonal Grid */
.sp-uni-campus-hex-grid {
  position: absolute;
  right: 0;
  top: 10%;
  width: 400px;
  height: 250px;
}

.sp-uni-campus-hex-grid svg {
  width: 100%;
  height: 100%;
}

.sp-uni-campus-hex {
  fill: none;
  stroke: rgba(99, 102, 241, 0.08);
  stroke-width: 1;
  animation: spUniCampusHexPulse 5s ease-in-out infinite;
}

.sp-uni-campus-hex:nth-child(2n) { animation-delay: 0.3s; }
.sp-uni-campus-hex:nth-child(3n) { animation-delay: 0.6s; }
.sp-uni-campus-hex:nth-child(4n) { animation-delay: 0.9s; }
.sp-uni-campus-hex:nth-child(5n) { animation-delay: 1.2s; }

@keyframes spUniCampusHexPulse {
  0%, 100% { opacity: 0.2; stroke: rgba(99, 102, 241, 0.08); }
  50% { opacity: 0.7; stroke: rgba(139, 92, 246, 0.2); }
}

/* Orbit System */
.sp-uni-campus-orbit {
  position: absolute;
}

.sp-uni-campus-orbit--1 {
  top: 15%;
  left: 5%;
}

.sp-uni-campus-orbit--2 {
  bottom: 20%;
  right: 10%;
}

.sp-uni-campus-orbit-ring {
  position: absolute;
  border: 1.5px dashed rgba(99, 102, 241, 0.15);
  border-radius: 50%;
  animation: spUniCampusOrbitSpin 30s linear infinite;
}

.sp-uni-campus-orbit--1 .sp-uni-campus-orbit-ring {
  width: 150px;
  height: 150px;
  top: -75px;
  left: -75px;
}

.sp-uni-campus-orbit--1 .sp-uni-campus-orbit-ring--inner {
  width: 100px;
  height: 100px;
  top: -50px;
  left: -50px;
  animation-direction: reverse;
  animation-duration: 20s;
  border-color: rgba(139, 92, 246, 0.12);
}

.sp-uni-campus-orbit--2 .sp-uni-campus-orbit-ring {
  width: 120px;
  height: 120px;
  top: -60px;
  left: -60px;
  animation-duration: 25s;
}

.sp-uni-campus-orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(167, 139, 250, 0.6);
  border-radius: 50%;
  top: -4px;
  left: -4px;
  animation: spUniCampusOrbitDot 3s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

@keyframes spUniCampusOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes spUniCampusOrbitDot {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.5); opacity: 1; }
}

/* Wave System */
.sp-uni-campus-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

.sp-uni-campus-wave-path {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 8 4;
  animation: spUniCampusWaveDash 15s linear infinite;
}

.sp-uni-campus-wave-path--1 {
  stroke: rgba(99, 102, 241, 0.1);
  animation-duration: 12s;
}

.sp-uni-campus-wave-path--2 {
  stroke: rgba(139, 92, 246, 0.08);
  animation-duration: 18s;
  animation-delay: 0.5s;
}

.sp-uni-campus-wave-path--3 {
  stroke: rgba(167, 139, 250, 0.06);
  animation-duration: 24s;
  animation-delay: 1s;
}

@keyframes spUniCampusWaveDash {
  to { stroke-dashoffset: -60; }
}

/* Floating Rings */
.sp-uni-campus-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(99, 102, 241, 0.12);
  animation: spUniCampusRingFloat 8s ease-in-out infinite;
}

.sp-uni-campus-ring--1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 15%;
  animation-duration: 10s;
}

.sp-uni-campus-ring--2 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 8%;
  animation-duration: 12s;
  animation-delay: 1s;
}

.sp-uni-campus-ring--3 {
  width: 100px;
  height: 100px;
  top: 30%;
  right: 5%;
  animation-duration: 14s;
  animation-delay: 2s;
}

.sp-uni-campus-ring--4 {
  width: 50px;
  height: 50px;
  top: 70%;
  right: 15%;
  animation-duration: 9s;
  animation-delay: 0.5s;
}

.sp-uni-campus-ring--5 {
  width: 70px;
  height: 70px;
  bottom: 15%;
  left: 30%;
  animation-duration: 11s;
  animation-delay: 1.5s;
}

@keyframes spUniCampusRingFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(90deg); }
  50% { transform: translate(-5px, 10px) rotate(180deg); }
  75% { transform: translate(8px, 5px) rotate(270deg); }
}

/* Diamond Scatter */
.sp-uni-campus-diamond {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(139, 92, 246, 0.2);
  transform: rotate(45deg);
  animation: spUniCampusDiamondPulse 4s ease-in-out infinite;
}

.sp-uni-campus-diamond--1 {
  top: 25%;
  left: 20%;
  animation-delay: 0s;
}

.sp-uni-campus-diamond--2 {
  top: 45%;
  right: 20%;
  animation-delay: 1s;
  width: 8px;
  height: 8px;
}

.sp-uni-campus-diamond--3 {
  bottom: 30%;
  left: 35%;
  animation-delay: 2s;
  width: 10px;
  height: 10px;
}

.sp-uni-campus-diamond--4 {
  top: 15%;
  right: 30%;
  animation-delay: 0.5s;
  width: 6px;
  height: 6px;
}

@keyframes spUniCampusDiamondPulse {
  0%, 100% { opacity: 0.3; transform: rotate(45deg) scale(1); }
  50% { opacity: 0.8; transform: rotate(45deg) scale(1.3); }
}

/* Glow Orbs */
.sp-uni-campus-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: spUniCampusGlowPulse 6s ease-in-out infinite;
}

.sp-uni-campus-glow--1 {
  width: 200px;
  height: 200px;
  background: rgba(99, 102, 241, 0.1);
  top: -50px;
  left: 10%;
}

.sp-uni-campus-glow--2 {
  width: 150px;
  height: 150px;
  background: rgba(139, 92, 246, 0.08);
  bottom: -30px;
  right: 20%;
  animation-delay: 2s;
}

.sp-uni-campus-glow--3 {
  width: 120px;
  height: 120px;
  background: rgba(167, 139, 250, 0.06);
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes spUniCampusGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.sp-uni-campus-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sp-uni-campus-layout {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
}

/* ── Left: Copy ── */
.sp-uni-campus-copy {
  flex: 0 0 36%;
  padding-top: 0.5rem;
}

.sp-uni-campus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.6rem;
}
.sp-uni-campus-badge i {
  font-size: 0.75rem;
  color: #818cf8;
}

.sp-uni-campus-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 0.5rem;
}

.sp-uni-campus-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin: 0 0 0.5rem;
  max-width: 360px;
}

.sp-uni-campus-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.8rem;
  white-space: nowrap;
}
.sp-uni-campus-check i {
  font-size: 0.85rem;
  color: #34d399;
}

/* CTA buttons */
.sp-uni-campus-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.sp-uni-campus-btn {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  padding: 0.5rem 1.1rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sp-uni-campus-btn--outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}
.sp-uni-campus-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.sp-uni-campus-btn--solid {
  color: #fff;
  background: var(--sp-uni-primary);
  border: 1px solid var(--sp-uni-primary);
}
.sp-uni-campus-btn--solid:hover {
  background: #2563eb;
  border-color: #2563eb;
}

/* Stats */
.sp-uni-campus-stats {
  display: flex;
  gap: 1rem;
}
.sp-uni-campus-stat {
  display: flex;
  flex-direction: column;
}
.sp-uni-campus-stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.sp-uni-campus-stat-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.05rem;
}

/* ── Right: Visual area ── */
.sp-uni-campus-visual {
  flex: 1;
  position: relative;
  margin-left: -1.4rem;
  padding-top: 0.5rem;
}

/* Dashboard image */
.sp-uni-campus-dashboard {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3.08rem;
}
.sp-uni-campus-dashboard img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1.5rem;
}

/* Floating feature cards — absolutely positioned on the right */
.sp-uni-campus-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem 1.2rem;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
  animation: campusFloat 6s ease-in-out infinite;
  width: 260px;
  right: -8px;
}

.sp-uni-campus-float strong {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b1a33;
  display: block;
  line-height: 1.2;
}
.sp-uni-campus-float span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
  display: block;
}

.sp-uni-campus-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 71, 255, 0.08);
  color: var(--sp-uni-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* stagger animation delays */
.sp-uni-campus-float--1 {
  top: 0;
  animation-delay: 0s;
}
.sp-uni-campus-float--2 {
  top: 20%;
  animation-delay: 1s;
}
.sp-uni-campus-float--3 {
  top: 40%;
  animation-delay: 2s;
}
.sp-uni-campus-float--4 {
  top: 60%;
  animation-delay: 3s;
}
.sp-uni-campus-float--5 {
  top: 80%;
  animation-delay: 4s;
}

@keyframes campusFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .sp-uni-campus-layout {
    flex-direction: column;
    align-items: center;
  }
  .sp-uni-campus-copy {
    flex: none;
    width: 100%;
    text-align: center;
  }
  .sp-uni-campus-desc,
  .sp-uni-campus-check {
    margin-left: auto;
    margin-right: auto;
  }
  .sp-uni-campus-actions {
    justify-content: center;
  }
  .sp-uni-campus-stats {
    justify-content: center;
  }
  .sp-uni-campus-visual {
    width: 100%;
    max-width: 600px;
  }
  .sp-uni-campus-float {
    display: none;
  }
}

@media (max-width: 992px) {
  .sp-uni-campus {
    margin: 1.5rem 1.5rem;
    padding: 2rem 0 0;
  }
  .sp-uni-campus-container {
    padding: 0 1.2rem;
  }
  .sp-uni-campus-title {
    font-size: 1.6rem;
  }
  .sp-uni-campus-check {
    flex-wrap: wrap;
    justify-content: center;
  }
  .sp-uni-campus-stats {
    gap: 1.5rem;
  }
  .sp-uni-campus-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .sp-uni-campus {
    margin: 2rem 1rem;
    border-radius: 20px;
    padding: 2rem 0 0;
  }
  .sp-uni-campus-container {
    padding: 0 1rem;
  }
  .sp-uni-campus-title {
    font-size: 1.5rem;
  }
  .sp-uni-campus-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .sp-uni-campus-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .sp-uni-campus-float {
    display: none;
  }
  .sp-uni-campus-dashboard {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .sp-uni-campus {
    margin: 1rem 0.5rem;
    border-radius: 16px;
    padding: 1.5rem 0 0;
  }
  .sp-uni-campus-container {
    padding: 0 0.8rem;
  }
  .sp-uni-campus-title {
    font-size: 1.2rem;
  }
  .sp-uni-campus-desc {
    font-size: 0.8rem;
  }
  .sp-uni-campus-btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    white-space: normal;
  }
  .sp-uni-campus-stat-num {
    font-size: 1.2rem;
  }
  .sp-uni-campus-stat-label {
    font-size: 0.65rem;
  }
  .sp-uni-campus-check {
    font-size: 0.78rem;
    gap: 0.4rem;
  }
}

/* 7b. Editorial Section (Épure Académique) — legacy */
.sp-uni-editorial {
  padding: 1rem 2rem 8rem; /* Reduced top padding further */
  background: #ffffff;
  color: #111;
  font-family: "Cormorant Garamond", serif;
}

.sp-uni-editorial-container {
  max-width: 1200px;
  margin: 0 auto;
}

.sp-uni-editorial-header {
  text-align: center;
  margin-bottom: 3rem;
}

.sp-uni-editorial-count {
  display: block;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #9ca3af;
  margin-bottom: 1rem;
}

.sp-uni-editorial-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 2rem;
}

.sp-uni-editorial-divider {
  width: 1px;
  height: 60px;
  background-color: #d1d5db;
  margin: 0 auto;
}

.sp-uni-editorial-grid-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.sp-uni-editorial-grid {
  display: flex;
  gap: 3rem;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: max-content;
}

.sp-uni-ed-card {
  width: calc(33.333% - 2rem);
  flex-shrink: 0;
  max-width: 360px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.4s ease;
}

.sp-uni-editorial-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}

.sp-uni-nav-btn {
  width: 45px;
  height: 45px;
  border: 1px solid #d1d5db;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #111;
}

.sp-uni-nav-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.sp-uni-editorial-cta-wrap {
  text-align: center;
  margin-top: 4rem;
}

.sp-uni-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.sp-uni-btn-text i {
  transition: transform 0.3s ease;
}

.sp-uni-btn-text:hover {
  border-bottom: 1px solid #111;
}

.sp-uni-btn-text:hover i {
  transform: translateX(4px);
}

/* ── CTA "Voir toutes les formations" ── */
.sp-uni-ed-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #0f172a;
  color: #ffffff !important;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-uni-ed-cta-btn:hover {
  transform: translateY(-3px);
  background: #1e293b;
  color: #ffffff !important;
}

.sp-uni-ed-cta-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.sp-uni-ed-cta-btn:hover i {
  transform: translateX(5px);
}

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

.sp-uni-ed-card:nth-child(1) {
  animation-delay: 0.1s;
}
.sp-uni-ed-card:nth-child(2) {
  animation-delay: 0.2s;
}
.sp-uni-ed-card:nth-child(3) {
  animation-delay: 0.3s;
}
.sp-uni-ed-card:nth-child(4) {
  animation-delay: 0.4s;
}

.sp-uni-ed-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sp-uni-ed-image-wrap {
  margin: 0 0 1.5rem;
  padding: 0;
  overflow: hidden;
  border-radius: 8px; /* Slightly rounded, max 8px */
  background: #f3f4f6;
  aspect-ratio: 4/3;
}

.sp-uni-ed-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.sp-uni-ed-card-link:hover .sp-uni-ed-image {
  transform: scale(1.02);
}

.sp-uni-ed-content {
  padding: 0 0.5rem;
}

.sp-uni-ed-uni-name {
  display: block;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.sp-uni-ed-course-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
  color: #111;
  margin: 0 0 1.2rem;
  position: relative;
  display: inline-block;
}

.sp-uni-ed-course-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ff222d; /* Accent color: warm orange */
  transition: width 0.4s ease;
}

.sp-uni-ed-card-link:hover .sp-uni-ed-course-title::after {
  width: 100%;
}

.sp-uni-ed-meta-divider {
  width: 40px;
  height: 1px;
  background-color: #e5e7eb;
  margin: 0 0 1rem;
}

.sp-uni-ed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  font-size: 0.75rem;
  color: #9ca3af;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sp-uni-ed-price {
  color: #111;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sp-uni-editorial {
    padding: 5rem 1.5rem;
  }
  .sp-uni-editorial-grid {
    gap: 1.5rem;
  }
  .sp-uni-ed-card {
    width: 280px; /* Fixed width on mobile for horizontal scroll or snap */
  }
  .sp-uni-editorial-grid-wrapper {
    overflow: hidden; /* Disable native scroll to avoid conflict with JS */
  }
}

/* ═══════════════════════════════════════════════════════════
   8. Nos formations phares — Filterable cards carousel
   ═══════════════════════════════════════════════════════════ */
.sp-uni-formations {
  position: relative;
  padding: 2rem 0 3rem;
  background: #fff;
  overflow: hidden;
}

/* Background Container */
.sp-uni-formations-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Gradient Mesh */
.sp-uni-formations-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.02) 0%, transparent 60%);
  animation: spUniFormMeshShift 15s ease-in-out infinite alternate;
}

@keyframes spUniFormMeshShift {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Floating Circles */
.sp-uni-formations-circle {
  position: absolute;
  border-radius: 50%;
  animation: spUniFormCircleFloat 10s ease-in-out infinite;
}

.sp-uni-formations-circle--1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  animation-duration: 12s;
}

.sp-uni-formations-circle--2 {
  width: 80px;
  height: 80px;
  top: 60%;
  left: 10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation-duration: 14s;
  animation-delay: 1s;
}

.sp-uni-formations-circle--3 {
  width: 150px;
  height: 150px;
  top: 20%;
  right: 8%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  animation-duration: 16s;
  animation-delay: 2s;
}

.sp-uni-formations-circle--4 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  right: 15%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
  animation-duration: 11s;
  animation-delay: 0.5s;
}

.sp-uni-formations-circle--5 {
  width: 100px;
  height: 100px;
  bottom: 10%;
  left: 40%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.04) 0%, transparent 70%);
  animation-duration: 13s;
  animation-delay: 1.5s;
}

@keyframes spUniFormCircleFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(15px, -20px); }
  50% { transform: translate(-10px, 15px); }
  75% { transform: translate(12px, 8px); }
}

/* Abstract Lines */
.sp-uni-formations-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sp-uni-formations-line {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 10 5;
  animation: spUniFormLineDash 20s linear infinite;
}

.sp-uni-formations-line--1 {
  stroke: rgba(124, 58, 237, 0.08);
  animation-duration: 15s;
}

.sp-uni-formations-line--2 {
  stroke: rgba(59, 130, 246, 0.06);
  animation-duration: 20s;
  animation-delay: 0.5s;
}

.sp-uni-formations-line--3 {
  stroke: rgba(16, 185, 129, 0.05);
  animation-duration: 25s;
  animation-delay: 1s;
}

@keyframes spUniFormLineDash {
  to { stroke-dashoffset: -100; }
}

/* Particle Dots */
.sp-uni-formations-particles {
  position: absolute;
  inset: 0;
}

.sp-uni-formations-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  animation: spUniFormParticlePulse 4s ease-in-out infinite;
}

.sp-uni-formations-particle:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.sp-uni-formations-particle:nth-child(2) { top: 25%; left: 25%; animation-delay: 0.3s; width: 3px; height: 3px; }
.sp-uni-formations-particle:nth-child(3) { top: 40%; left: 12%; animation-delay: 0.6s; }
.sp-uni-formations-particle:nth-child(4) { top: 55%; left: 30%; animation-delay: 0.9s; width: 5px; height: 5px; }
.sp-uni-formations-particle:nth-child(5) { top: 70%; left: 18%; animation-delay: 1.2s; }
.sp-uni-formations-particle:nth-child(6) { top: 85%; left: 35%; animation-delay: 1.5s; width: 3px; height: 3px; }
.sp-uni-formations-particle:nth-child(7) { top: 20%; right: 20%; animation-delay: 0.2s; }
.sp-uni-formations-particle:nth-child(8) { top: 35%; right: 10%; animation-delay: 0.5s; width: 5px; height: 5px; }
.sp-uni-formations-particle:nth-child(9) { top: 50%; right: 25%; animation-delay: 0.8s; }
.sp-uni-formations-particle:nth-child(10) { top: 65%; right: 12%; animation-delay: 1.1s; width: 3px; height: 3px; }
.sp-uni-formations-particle:nth-child(11) { top: 80%; right: 30%; animation-delay: 1.4s; }
.sp-uni-formations-particle:nth-child(12) { top: 10%; right: 35%; animation-delay: 1.7s; width: 4px; height: 4px; }

@keyframes spUniFormParticlePulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

/* Gradient Bars */
.sp-uni-formations-bar {
  position: absolute;
  height: 2px;
  border-radius: 2px;
  animation: spUniFormBarGrow 8s ease-in-out infinite;
}

.sp-uni-formations-bar--1 {
  width: 150px;
  top: 30%;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), transparent);
  animation-delay: 0s;
}

.sp-uni-formations-bar--2 {
  width: 120px;
  top: 60%;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12), transparent);
  animation-delay: 2s;
}

.sp-uni-formations-bar--3 {
  width: 180px;
  bottom: 25%;
  left: 20%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
  animation-delay: 4s;
}

@keyframes spUniFormBarGrow {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1.2); }
}

/* Soft Blob */
.sp-uni-formations-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  opacity: 0.8;
}

.sp-uni-formations-blob-path {
  animation: spUniFormBlobMorph 20s ease-in-out infinite;
}

@keyframes spUniFormBlobMorph {
  0%, 100% { d: path("M44.7,-76.4C58.8,-69.2,71.8,-59.1,79.6,-45.8C87.4,-32.5,90,-16.3,88.4,-0.9C86.8,14.4,81,28.9,72.4,41.4C63.8,53.9,52.4,64.5,39.3,71.5C26.2,78.5,11.4,82,-3.2,87.4C-17.8,92.8,-32.2,100.1,-44.4,96.5C-56.6,92.9,-66.6,78.4,-74.4,63.5C-82.2,48.6,-87.8,33.3,-89.2,17.7C-90.6,2.1,-87.8,-13.8,-81.5,-28.5C-75.2,-43.2,-65.4,-56.7,-52.8,-64.4C-40.2,-72.1,-24.8,-74,-9.1,-76.6C6.6,-79.2,30.6,-83.6,44.7,-76.4Z"); }
  50% { d: path("M40.2,-68.3C52.9,-61.8,64.5,-52.3,72.3,-39.8C80.1,-27.3,84.1,-11.8,82.5,3.1C80.9,18,73.7,32.3,64.3,44.2C54.9,56.1,43.3,65.6,30.1,72.1C16.9,78.6,2.1,82.1,-12.5,83.5C-27.1,84.9,-41.5,84.2,-53.1,77.1C-64.7,70,-73.5,56.5,-78.8,42C-84.1,27.5,-85.9,12,-84.2,-3.1C-82.5,-18.2,-77.3,-32.9,-68.5,-44.7C-59.7,-56.5,-47.3,-65.4,-34,-71.3C-20.7,-77.2,-6.5,-80.1,4.5,-87.5C15.5,-94.9,27.5,-74.8,40.2,-68.3Z"); }
}

/* Cross Pattern */
.sp-uni-formations-cross {
  position: absolute;
  width: 20px;
  height: 20px;
  animation: spUniFormCrossSpin 10s linear infinite;
}

.sp-uni-formations-cross::before,
.sp-uni-formations-cross::after {
  content: '';
  position: absolute;
  background: rgba(124, 58, 237, 0.1);
}

.sp-uni-formations-cross::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
}

.sp-uni-formations-cross::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
}

.sp-uni-formations-cross--1 {
  top: 20%;
  left: 15%;
  animation-duration: 12s;
}

.sp-uni-formations-cross--2 {
  top: 50%;
  right: 12%;
  animation-duration: 15s;
  animation-delay: 1s;
  width: 16px;
  height: 16px;
}

.sp-uni-formations-cross--3 {
  bottom: 20%;
  left: 30%;
  animation-duration: 18s;
  animation-delay: 2s;
  width: 14px;
  height: 14px;
}

@keyframes spUniFormCrossSpin {
  to { transform: rotate(360deg); }
}

.sp-uni-formations-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2.5rem;
  position: relative;
}

/* Header */
.sp-uni-formations-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.sp-uni-formations-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.sp-uni-formations-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-uni-formations-see-all {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(124,58,237,0.2);
  position: relative;
  overflow: hidden;
  animation: spBtnAggressive 1.8s ease-in-out infinite;
}

.sp-uni-formations-see-all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: spBtnShimmer 2.4s ease-in-out infinite;
  pointer-events: none;
}

.sp-uni-formations-see-all::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6, #6366f1, #7c3aed);
  background-size: 300% 300%;
  z-index: -1;
  animation: spBtnBorderGlow 2s ease infinite;
  opacity: 0.4;
}

.sp-uni-formations-see-all:hover {
  gap: 0.8rem;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(124,58,237,0.4);
  color: #fff;
  animation: none;
}

.sp-uni-formations-see-all:hover::after {
  opacity: 1;
}

.sp-uni-formations-see-all i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.sp-uni-formations-see-all:hover i {
  transform: translateX(4px);
}

/* Filter Tabs */
.sp-uni-formations-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.sp-uni-formations-tab {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.sp-uni-formations-tab:hover {
  border-color: #cbd5e1;
  color: #334155;
}

.sp-uni-formations-tab.active {
  background: var(--sp-uni-primary);
  color: #fff;
  border-color: var(--sp-uni-primary);
}

/* Track wrapper */
.sp-uni-formations-track-wrap {
  position: relative;
  overflow: hidden;
}

/* Track */
.sp-uni-formations-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0.5rem 0 1rem;
}

/* Card */
.sp-uni-f-card {
  flex: 0 0 calc(20% - 0.8rem);
  min-width: 200px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.2,0.9,0.4,1),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sp-uni-f-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c3aed, #3b82f6, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sp-uni-f-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 24px rgba(124,58,237,0.06),
    0 20px 50px rgba(0,0,0,0.04);
}

.sp-uni-f-card:hover::after {
  opacity: 1;
}

/* Card image */
.sp-uni-f-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.sp-uni-f-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.sp-uni-f-card:hover .sp-uni-f-card-img {
  transform: scale(1.08);
}

/* Badge */
.sp-uni-f-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  color: #fff;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  text-transform: uppercase;
}

.sp-uni-f-badge--master   { background: linear-gradient(135deg, #0047ff, #3b82f6); }
.sp-uni-f-badge--licence  { background: linear-gradient(135deg, #009933, #10b981); }
.sp-uni-f-badge--mba      { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.sp-uni-f-badge--certif   { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.sp-uni-f-badge--courte   { background: linear-gradient(135deg, #f97316, #fb923c); }
.sp-uni-f-badge--executive{ background: linear-gradient(135deg, #1e293b, #334155); }

/* Bookmark button */
.sp-uni-f-card-bookmark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #64748b;
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  backdrop-filter: blur(4px);
}

.sp-uni-f-card-bookmark:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Card body */
.sp-uni-f-card-body {
  padding: 1rem 1rem 1.1rem;
}

.sp-uni-f-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.3rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.sp-uni-f-card:hover .sp-uni-f-card-title {
  color: #7c3aed;
}

.sp-uni-f-card-university {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  margin: 0 0 0.6rem;
}

/* Meta */
.sp-uni-f-card-meta {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.sp-uni-f-card-meta span {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.sp-uni-f-card-meta i {
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Link */
.sp-uni-f-card-link {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.3s ease, color 0.3s ease;
  position: relative;
}

.sp-uni-f-card-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #7c3aed, #3b82f6);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.sp-uni-f-card:hover .sp-uni-f-card-link {
  gap: 0.6rem;
  color: #7c3aed;
}

.sp-uni-f-card:hover .sp-uni-f-card-link::after {
  width: 100%;
}

.sp-uni-f-card-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.sp-uni-f-card:hover .sp-uni-f-card-link i {
  transform: translateX(3px);
}

/* Nav arrow */
.sp-uni-formations-nav {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--sp-uni-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  z-index: 10;
}

.sp-uni-formations-nav:hover {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  box-shadow: 0 6px 24px rgba(124,58,237,0.3);
  transform: translateY(-50%) scale(1.08);
}

/* Filter animation */
.sp-uni-f-card.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .sp-uni-f-card {
    flex: 0 0 calc(25% - 0.75rem);
  }
}

@media (max-width: 992px) {
  .sp-uni-f-card {
    flex: 0 0 calc(33.333% - 0.67rem);
  }
}

@media (max-width: 768px) {
  .sp-uni-formations-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .sp-uni-f-card {
    flex: 0 0 calc(70% - 0.5rem);
    min-width: 220px;
  }
  .sp-uni-formations-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    right: -18px;
  }
}

@media (max-width: 480px) {
  .sp-uni-f-card {
    flex: 0 0 85%;
    min-width: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════
   9. Quiz IA — Trouvez le parcours (avec robot)
   ═══════════════════════════════════════════════════════════ */
.sp-uni-quiz {
  padding: 3rem 0 4rem;
  background: linear-gradient(135deg, #f0f0ff 0%, #e8ecff 100%);
}

.sp-uni-quiz-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

/* Left: Copy */
.sp-uni-quiz-copy {
  flex: 0 0 38%;
}

.sp-uni-quiz-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 0.8rem;
}

.sp-uni-quiz-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* CTA Button */
.sp-uni-quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0047ff 0%, #6c3aed 100%);
  padding: 0.75rem 1.6rem;
  border-radius: 40px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 71, 255, 0.25);
}

.sp-uni-quiz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 71, 255, 0.35);
}

.sp-uni-quiz-btn i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.sp-uni-quiz-btn:hover i {
  transform: translateX(3px);
}

/* Social proof */
.sp-uni-quiz-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sp-uni-quiz-avatars {
  display: flex;
}

.sp-uni-quiz-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}

.sp-uni-quiz-avatar:first-child {
  margin-left: 0;
}

.sp-uni-quiz-social-text {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
}

.sp-uni-quiz-social-text strong {
  color: #0f172a;
  font-weight: 700;
}

/* Right: Steps Card + Reco + Robot */
.sp-uni-quiz-steps-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  overflow: visible;
  margin-left: -1.5rem;
}

.sp-uni-quiz-steps-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Steps row */
.sp-uni-quiz-steps {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.sp-uni-quiz-step {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.sp-uni-quiz-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0047ff 0%, #6c3aed 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
}

.sp-uni-quiz-step-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem;
}

.sp-uni-quiz-step-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: #94a3b8;
  margin: 0 0 0.7rem;
  line-height: 1.4;
}

/* Select dropdown */
.sp-uni-quiz-select-wrap {
  position: relative;
}

.sp-uni-quiz-select {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sp-uni-quiz-select:focus {
  outline: none;
  border-color: var(--sp-uni-primary);
}

.sp-uni-quiz-select-icon {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #94a3b8;
  pointer-events: none;
}

/* Arrow between steps */
.sp-uni-quiz-arrow {
  display: flex;
  align-items: center;
  padding-top: 0.3rem;
  color: #94a3b8;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Recommendation card — next to white card, above robot */
.sp-uni-quiz-reco {
  flex: 0 0 160px;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: 220px;
}

.sp-uni-quiz-reco-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.sp-uni-quiz-reco-count {
  font-family: "DM Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #64748b;
  margin: 0 0 0.8rem;
  line-height: 1.4;
}

.sp-uni-quiz-reco-count strong {
  color: var(--sp-uni-primary);
  font-weight: 700;
}

.sp-uni-quiz-reco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  background: var(--sp-uni-primary);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.sp-uni-quiz-reco-btn:hover {
  background: var(--sp-uni-primary-container);
  transform: translateY(-1px);
}

.sp-uni-quiz-reco-btn i {
  font-size: 0.8rem;
}

/* Robot — behind reco card, shifted right */
.sp-uni-quiz-robot {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

/* Arrow between card and reco */
.sp-uni-quiz-arrow-outer {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  color: #94a3b8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-uni-quiz-container {
    flex-direction: column;
    gap: 2rem;
  }
  .sp-uni-quiz-copy {
    flex: none;
    text-align: center;
  }
  .sp-uni-quiz-social {
    justify-content: center;
  }
  .sp-uni-quiz-steps-card {
    flex-direction: column;
  }
  .sp-uni-quiz-steps {
    flex-direction: column;
    gap: 1rem;
  }
  .sp-uni-quiz-arrow {
    transform: rotate(90deg);
    justify-content: center;
    padding: 0;
  }
  .sp-uni-quiz-steps-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .sp-uni-quiz-arrow-outer {
    transform: rotate(90deg);
    justify-content: center;
    padding: 0.5rem 0;
  }
  .sp-uni-quiz-reco {
    flex: none;
    width: 100%;
  }
  .sp-uni-quiz-robot {
    display: none;
  }
}

@media (max-width: 768px) {
  .sp-uni-quiz {
    padding: 2rem 0;
  }
  .sp-uni-quiz-container {
    padding: 0 1rem;
  }
  .sp-uni-quiz-steps-card {
    padding: 1.25rem;
  }
  .sp-uni-quiz-robot {
    display: none;
  }
}

@media (max-width: 480px) {
  .sp-uni-quiz {
    padding: 1.5rem 0;
  }
  .sp-uni-quiz-container {
    padding: 0 0.6rem;
  }
  .sp-uni-quiz-steps-card {
    padding: 1rem;
  }
  .sp-uni-quiz-steps {
    gap: 0.75rem;
  }
  .sp-uni-quiz-select {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   11. Testimonials — Ils en parlent mieux que nous
   ═══════════════════════════════════════════════════════════ */
.sp-uni-testimonials {
  padding: 3rem 0 4rem;
  background: #fff;
}

.sp-uni-testimonials-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* Title */
.sp-uni-testimonials-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.2rem;
}

.sp-uni-testimonials-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Filter Tabs */
.sp-uni-testimonials-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sp-uni-testimonials-tab {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.sp-uni-testimonials-tab:hover {
  border-color: #cbd5e1;
  color: #334155;
}

.sp-uni-testimonials-tab.active {
  background: var(--sp-uni-primary);
  color: #fff;
  border-color: var(--sp-uni-primary);
}

/* Track wrapper */
.sp-uni-testimonials-track-wrap {
  position: relative;
  overflow: hidden;
}

/* Track */
.sp-uni-testimonials-track {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0.5rem 2.8rem;
}

/* Card */
.sp-uni-t-card {
  flex: 0 0 calc(25% - 0.9rem);
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sp-uni-t-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Quote icon */
.sp-uni-t-card-quote {
  margin-bottom: 0.8rem;
}

.sp-uni-t-card-quote i {
  font-size: 1.8rem;
  color: var(--sp-uni-primary);
  line-height: 1;
}

/* Quote text */
.sp-uni-t-card-text {
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}

/* Author */
.sp-uni-t-card-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.8rem;
  border-top: 1px solid #f1f5f9;
}

.sp-uni-t-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sp-uni-t-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sp-uni-t-card-name {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
}

.sp-uni-t-card-role {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #64748b;
}

.sp-uni-t-card-school {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: #94a3b8;
}

/* Nav arrows */
.sp-uni-testimonials-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--sp-uni-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  z-index: 2;
}

.sp-uni-testimonials-nav:hover {
  background: var(--sp-uni-primary);
  border-color: var(--sp-uni-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 71, 255, 0.25);
}

.sp-uni-testimonials-prev {
  left: 0;
}

.sp-uni-testimonials-next {
  right: 0;
}

/* Filter animation */
.sp-uni-t-card.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-uni-t-card {
    flex: 0 0 calc(33.333% - 0.8rem);
  }
}

@media (max-width: 768px) {
  .sp-uni-t-card {
    flex: 0 0 calc(70% - 0.6rem);
    min-width: 220px;
  }
}

@media (max-width: 480px) {
  .sp-uni-t-card {
    flex: 0 0 85%;
    min-width: 200px;
  }
}

/* 12. Actualités & Ressources */
.sp-uni-news {
  padding: 2rem 0 2rem;
  background: #fff;
}

.sp-uni-news-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.sp-uni-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.sp-uni-news-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.3rem;
}

.sp-uni-news-title em {
  font-style: normal;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sp-uni-news-subtitle {
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.sp-uni-news-view-all {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sp-uni-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sp-uni-news-view-all:hover {
  color: var(--sp-uni-primary-container);
}

.sp-uni-news-view-all i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.sp-uni-news-view-all:hover i {
  transform: translateX(3px);
}

/* Track wrapper */
.sp-uni-news-track-wrap {
  position: relative;
  overflow: hidden;
}

/* Track */
.sp-uni-news-track {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 0.5rem 0 1rem;
}

/* Card */
.sp-uni-n-card {
  flex: 0 0 calc(25% - 0.9rem);
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sp-uni-n-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 3px 8px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Card image */
.sp-uni-n-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sp-uni-n-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sp-uni-n-card:hover .sp-uni-n-card-img {
  transform: scale(1.05);
}

/* Badge */
.sp-uni-n-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: #fff;
}

/* Favorite button */
.sp-uni-n-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 0.9rem;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.sp-uni-n-card-fav:hover {
  color: #ef4444;
  background: #fff;
}

/* Card body */
.sp-uni-n-card-body {
  padding: 1rem 1.2rem 1.2rem;
}

.sp-uni-n-card-date {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.4rem;
}

.sp-uni-n-card-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 0.8rem;
}

.sp-uni-n-card-link {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sp-uni-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.sp-uni-n-card-link:hover {
  color: var(--sp-uni-primary-container);
}

.sp-uni-n-card-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.sp-uni-n-card-link:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-uni-n-card {
    flex: 0 0 calc(33.333% - 0.8rem);
  }
}

@media (max-width: 768px) {
  .sp-uni-news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .sp-uni-n-card {
    flex: 0 0 calc(70% - 0.6rem);
    min-width: 240px;
  }
}

@media (max-width: 480px) {
  .sp-uni-n-card {
    flex: 0 0 85%;
    min-width: 220px;
  }
}

/* 13. Dual CTA — Étudiants & Institutions */
.sp-uni-dual-cta {
  padding: 4rem 2rem 2rem;
  background: #fff;
  position: relative;
  z-index: 1;
}

.sp-uni-dual-cta-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 1.2rem;
}

/* Panel base */
.sp-uni-dual-panel {
  flex: 1;
  border-radius: 20px;
  padding: 2.5rem 2rem 0;
  position: relative;
  display: flex;
  min-height: 280px;
}

/* Panel — Students */
.sp-uni-dual-panel--students {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #3b82f6 100%);
  overflow: visible;
}

/* Swap visual/content sides for students panel */
.sp-uni-dual-panel--students .sp-uni-dual-panel-visual {
  right: auto;
  left: 0;
}

.sp-uni-dual-panel--students .sp-uni-dual-panel-content {
  margin-left: auto;
  padding-left: 2rem;
}

.sp-uni-dual-panel--students .sp-uni-dual-img-student {
  right: auto;
  left: -50px;
  object-position: top center;
}

/* Panel — Institutions */
.sp-uni-dual-panel--institutions {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #60a5fa 100%);
  overflow: hidden;
}

/* ── Decorative layer ── */
.sp-uni-dual-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Solid orbs — soft bokeh circles */
.sp-uni-dual-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

/* Students panel orbs */
.sp-uni-dual-orb--1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: 30%;
  background: rgba(255, 255, 255, 0.07);
  animation: sp-dual-float 6s ease-in-out infinite;
}

.sp-uni-dual-orb--2 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 15%;
  background: rgba(139, 92, 246, 0.15);
  animation: sp-dual-float 8s ease-in-out infinite 1s;
}

.sp-uni-dual-orb--3 {
  width: 35px;
  height: 35px;
  top: 35%;
  left: 45%;
  background: rgba(255, 255, 255, 0.1);
  animation: sp-dual-float 5s ease-in-out infinite 0.5s;
}

/* Institutions panel orbs */
.sp-uni-dual-orb--4 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 20%;
  background: rgba(96, 165, 250, 0.12);
  animation: sp-dual-float 7s ease-in-out infinite 0.5s;
}

.sp-uni-dual-orb--5 {
  width: 50px;
  height: 50px;
  bottom: 30%;
  left: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: sp-dual-float 6s ease-in-out infinite 1.5s;
}

.sp-uni-dual-orb--6 {
  width: 25px;
  height: 25px;
  top: 50%;
  right: 35%;
  background: rgba(255, 255, 255, 0.12);
  animation: sp-dual-float 4.5s ease-in-out infinite 0.8s;
}

/* Rings — hollow circles */
.sp-uni-dual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

.sp-uni-dual-ring--1 {
  width: 80px;
  height: 80px;
  top: 15%;
  right: 20%;
  animation: sp-dual-spin 20s linear infinite;
}

.sp-uni-dual-ring--2 {
  width: 50px;
  height: 50px;
  bottom: 20%;
  left: 35%;
  border-color: rgba(139, 92, 246, 0.15);
  animation: sp-dual-spin 15s linear infinite reverse;
}

.sp-uni-dual-ring--3 {
  width: 70px;
  height: 70px;
  top: 20%;
  right: 40%;
  animation: sp-dual-spin 18s linear infinite;
}

.sp-uni-dual-ring--4 {
  width: 40px;
  height: 40px;
  bottom: 35%;
  left: 25%;
  border-color: rgba(96, 165, 250, 0.15);
  animation: sp-dual-spin 12s linear infinite reverse;
}

/* Glow — large soft light blobs */
.sp-uni-dual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
}

.sp-uni-dual-glow--1 {
  width: 200px;
  height: 200px;
  top: -40px;
  right: 10%;
  background: rgba(139, 92, 246, 0.2);
  animation: sp-dual-pulse 4s ease-in-out infinite;
}

.sp-uni-dual-glow--2 {
  width: 180px;
  height: 180px;
  bottom: -30px;
  left: 30%;
  background: rgba(59, 130, 246, 0.2);
  animation: sp-dual-pulse 5s ease-in-out infinite 1s;
}

/* Animations */
@keyframes sp-dual-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes sp-dual-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sp-dual-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* Content */
.sp-uni-dual-panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 55%;
  padding-bottom: 2.5rem;
}

.sp-uni-dual-panel-label {
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}

.sp-uni-dual-panel-label i {
  font-size: 0.75rem;
}

.sp-uni-dual-panel-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 1.4rem;
}

.sp-uni-dual-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  text-decoration: none;
  width: fit-content;
  position: relative;
  z-index: 2;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.sp-uni-dual-panel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  color: #fff;
}

.sp-uni-dual-panel-btn i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.sp-uni-dual-panel-btn:hover i {
  transform: translateX(3px);
}

/* Visual container */
.sp-uni-dual-panel-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
}

/* Student image — transparent PNG, bleeds out of card */
.sp-uni-dual-img-student {
  position: absolute;
  right: -30px;
  top: -25%;
  height: 200%;
  width: auto;
  object-fit: contain;
  object-position: top center;
  mask-image: linear-gradient(to bottom, black 58%, transparent 63%);
  -webkit-mask-image: linear-gradient(to bottom, black 58%, transparent 63%);
}

/* Building image — full photo, clipped to panel */
.sp-uni-dual-img-building {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

/* Responsive */
@media (max-width: 900px) {
  .sp-uni-dual-cta-container {
    flex-direction: column;
  }

  .sp-uni-dual-panel {
    min-height: 260px;
  }

  .sp-uni-dual-panel-content {
    max-width: 65%;
  }

  .sp-uni-dual-panel--students .sp-uni-dual-panel-content {
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  .sp-uni-dual-cta {
    padding: 3rem 1.5rem 1.5rem;
  }
  .sp-uni-dual-panel {
    padding: 2.5rem 2rem 0;
    min-height: 260px;
  }
  .sp-uni-dual-panel-content {
    max-width: 70%;
  }
  .sp-uni-dual-panel-title {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-dual-cta {
    padding: 2.5rem 1rem 1rem;
  }

  .sp-uni-dual-panel {
    padding: 2rem 1.5rem 0;
    min-height: 240px;
  }

  .sp-uni-dual-panel-content {
    max-width: 60%;
  }

  .sp-uni-dual-panel-title {
    font-size: 1rem;
  }
}

/* ── Packages Carousel Section ── */
.studies-p-uni-packages-carousel-section {
  padding: 6rem 0;
  background: #ffffff;
  overflow: hidden;
}

.sp-uni-packages-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

/* ═══════════════════════════════════════════════════════════
   Responsive Corrections — Mobile-first polish
   ═══════════════════════════════════════════════════════════ */

/* ── Campus Digital ── */
@media (max-width: 768px) {
  .sp-uni-campus-dashboard {
    max-width: 100%;
    margin-top: 1.5rem;
  }
  .sp-uni-campus-dashboard img {
    margin-bottom: -0.8rem;
  }
}

/* ── Formations Tabs — horizontal scroll on mobile ── */
@media (max-width: 768px) {
  .sp-uni-formations-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.3rem;
    gap: 0.4rem;
  }
  .sp-uni-formations-tabs::-webkit-scrollbar {
    display: none;
  }
  .sp-uni-formations-tab {
    flex: 0 0 auto;
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
  }
  .sp-uni-formations-nav {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-formations-tabs {
    gap: 0.3rem;
  }
  .sp-uni-formations-tab {
    font-size: 0.68rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ── Testimonials — tighter cards ── */
@media (max-width: 768px) {
  .sp-uni-testimonials {
    padding: 2rem 0 3rem;
  }
  .sp-uni-testimonials-container {
    padding: 0 1rem;
  }
  .sp-uni-testimonials-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    gap: 0.4rem;
    padding-bottom: 0.3rem;
  }
  .sp-uni-testimonials-tabs::-webkit-scrollbar {
    display: none;
  }
  .sp-uni-testimonials-tab {
    flex: 0 0 auto;
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }
  .sp-uni-t-card {
    padding: 1.15rem;
  }
  .sp-uni-testimonials-track {
    padding: 0.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-t-card {
    padding: 1rem;
  }
  .sp-uni-testimonials-track {
    padding: 0.5rem 1rem;
  }
  .sp-uni-testimonials-tab {
    font-size: 0.68rem;
    padding: 0.35rem 0.8rem;
  }
}

/* ── News — tighter cards ── */
@media (max-width: 768px) {
  .sp-uni-news {
    padding: 1.5rem 0 2rem;
  }
  .sp-uni-news-container {
    padding: 0 1rem;
  }
  .sp-uni-n-card-body {
    padding: 0.85rem 1rem 1rem;
  }
  .sp-uni-n-card-title {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
  }
  .sp-uni-n-card-link {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-n-card-body {
    padding: 0.75rem 0.85rem 0.85rem;
  }
  .sp-uni-n-card-title {
    font-size: 0.78rem;
  }
}

/* ── Dual CTA — improved 480px ── */
@media (max-width: 480px) {
  .sp-uni-dual-panel {
    padding: 1.5rem 1.2rem 0;
    min-height: 220px;
  }
  .sp-uni-dual-panel-content {
    max-width: 65%;
  }
  .sp-uni-dual-panel-label {
    font-size: 0.58rem;
    margin-bottom: 0.6rem;
  }
  .sp-uni-dual-panel-btn {
    font-size: 0.7rem;
    padding: 0.55rem 1.1rem;
  }
  .sp-uni-dual-img-student {
    height: 180%;
    right: -20px;
  }
}

/* ── Quiz IA — tighter 480px ── */
@media (max-width: 480px) {
  .sp-uni-quiz-copy {
    padding: 0 0.4rem;
  }
  .sp-uni-quiz-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
  .sp-uni-quiz-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }
  .sp-uni-quiz-btn {
    font-size: 0.8rem;
    padding: 0.65rem 1.3rem;
  }
  .sp-uni-quiz-social {
    margin-top: 1rem;
    gap: 0.6rem;
  }
  .sp-uni-quiz-avatar {
    width: 28px;
    height: 28px;
  }
  .sp-uni-quiz-reco {
    padding: 1.2rem 0.8rem;
    min-height: 180px;
  }
}

/* ── Why Section — tighter 480px ── */
@media (max-width: 480px) {
  .sp-uni-why {
    padding: 2rem 0.6rem 1.5rem;
  }
  .sp-uni-why-shell {
    padding: 1.2rem;
    border-radius: 16px;
  }
}

/* ── Campus Digital — tighter 480px ── */
@media (max-width: 480px) {
  .sp-uni-campus {
    margin: 1rem 0.5rem;
    border-radius: 16px;
  }
  .sp-uni-campus-container {
    padding: 0 0.7rem;
  }
  .sp-uni-campus-title {
    font-size: 1.15rem;
  }
  .sp-uni-campus-desc {
    font-size: 0.78rem;
  }
  .sp-uni-campus-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
  }
  .sp-uni-campus-stat-num {
    font-size: 1.1rem;
  }
  .sp-uni-campus-stat-label {
    font-size: 0.6rem;
  }
  .sp-uni-campus-dashboard {
    margin-top: 1rem;
  }
  .sp-uni-campus-dashboard img {
    margin-bottom: -0.5rem;
  }
}

/* ── Formations section container padding ── */
@media (max-width: 768px) {
  .sp-uni-formations-container {
    padding: 0 1rem;
  }
  .sp-uni-formations {
    padding: 1.5rem 0 2rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-formations-container {
    padding: 0 0.6rem;
  }
  .sp-uni-formations {
    padding: 1rem 0 1.5rem;
  }
}

/* ── News section container padding ── */
@media (max-width: 768px) {
  .sp-uni-news-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .sp-uni-news-container {
    padding: 0 0.6rem;
  }
}

/* ── Editorial section 480px ── */
@media (max-width: 480px) {
  .sp-uni-editorial {
    padding: 2rem 0.8rem 4rem;
  }
  .sp-uni-editorial-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .sp-uni-ed-card {
    width: 240px;
  }
  .sp-uni-ed-course-title {
    font-size: 1.1rem;
  }
  .sp-uni-ed-cta-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
  .sp-uni-editorial-count {
    font-size: 0.55rem;
  }
}

/* ── FAQ 1024px tablet ── */
@media (max-width: 1024px) {
  .studies-p-uni-faq {
    padding: 2rem 1.5rem 2.5rem;
  }
  .studies-p-uni-faq-accordion {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .sp-faq-blob {
    opacity: 0.4;
  }
  .sp-faq-constellation,
  .sp-faq-hex-grid {
    opacity: 0.3;
  }
}

/* ── Hero info banner overflow fix ── */
@media (max-width: 768px) {
  .sp-hero {
    overflow: hidden;
  }
}

/* ── Tablet (1024px) spacing polish ── */
@media (max-width: 1024px) {
  .sp-uni-news-container,
  .sp-uni-testimonials-container,
  .sp-uni-formations-container {
    padding: 0 1.5rem;
  }
  .sp-uni-why-shell {
    padding: 1.5rem;
  }
  .studies-p-uni-card {
    padding: 1.5rem;
  }
  .sp-uni-campus {
    margin: 2rem 1rem;
  }
  .sp-uni-campus-container {
    padding: 0 1.2rem;
  }
}

/* ── Tablet (769-1024px) Why layout: 2 columns ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .studies-p-uni-why-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .studies-p-uni-card-vision,
  .studies-p-uni-card-experience,
  .studies-p-uni-card-reach,
  .studies-p-uni-card-governance {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ── Why section: CTA full width at 768px ── */
@media (max-width: 768px) {
  .studies-p-uni-btn-why {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    font-size: 0.88rem;
  }
}

/* ── Campus Digital: tighter 768px ── */
@media (max-width: 768px) {
  .sp-uni-campus {
    margin: 1.5rem 0.8rem;
    border-radius: 20px;
  }
  .sp-uni-campus-container {
    padding: 0 1rem;
  }
  .sp-uni-campus-title {
    font-size: 1.3rem;
  }
  .sp-uni-campus-desc {
    font-size: 0.82rem;
  }
  .sp-uni-campus-features {
    flex-direction: column;
    gap: 0.6rem;
  }
  .sp-uni-campus-feature {
    font-size: 0.75rem;
  }
  .sp-uni-campus-actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .sp-uni-campus-btn {
    width: 100%;
    justify-content: center;
  }
  .sp-uni-campus-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ── Quiz IA: sharper 768px ── */
@media (max-width: 768px) {
  .sp-uni-quiz-steps {
    gap: 0.8rem;
  }
  .sp-uni-quiz-step {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }
  .sp-uni-quiz-select {
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
  }
  .sp-uni-quiz-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Testimonials: improved 768px ── */
@media (max-width: 768px) {
  .sp-uni-testimonials-title {
    font-size: 1.3rem;
  }
  .sp-uni-t-card-text {
    font-size: 0.78rem;
  }
}
