/* ============================================================
   IFM-IT CENTER — Design System Ultra 2025
   Navy #0B1F4B | Gold #C9A935 | Glassmorphism + Mesh Gradient
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0B1F4B;
  --navy-dark:   #060f27;
  --navy-light:  #1a3a70;
  --navy-mid:    #0d2860;
  --gold:        #C9A935;
  --gold-light:  #e8c84a;
  --gold-dark:   #a8891f;
  --gold-glow:   rgba(201,169,53,.35);
  --white:       #FFFFFF;
  --gray-50:     #F8F9FA;
  --gray-100:    #F1F3F5;
  --gray-200:    #E9ECEF;
  --gray-400:    #CED4DA;
  --gray-500:    #4b5563;
  --gray-700:    #111827;
  --gray-900:    #0a0a0a;
  --success:     #22c55e;
  --danger:      #ef4444;
  --linux:       linear-gradient(135deg,#f59e0b,#d97706);
  --secu:        linear-gradient(135deg,#ef4444,#b91c1c);
  --virt:        linear-gradient(135deg,#3b82f6,#1d4ed8);
  --backup:      linear-gradient(135deg,#10b981,#047857);
  --reseau:      linear-gradient(135deg,#8b5cf6,#6d28d9);
  --default-cat: linear-gradient(135deg,var(--navy),var(--navy-light));
  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   36px;
  --shadow-sm:   0 2px 12px rgba(11,31,75,.07);
  --shadow-md:   0 8px 32px rgba(11,31,75,.14);
  --shadow-lg:   0 20px 64px rgba(11,31,75,.22);
  --shadow-gold: 0 8px 32px rgba(201,169,53,.35);
  --t:           all .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Buttons — Next Gen ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
  transform: translateX(-100%);
  transition: transform .5s ease;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 4px 24px var(--gold-glow);
  font-weight: 800;
}
.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(201,169,53,.55);
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--navy-dark); }

.btn-lg  { padding: 1rem 2.6rem; font-size: 1.05rem; }
.btn-sm  { padding: .45rem 1.1rem; font-size: .82rem; }
.btn-icon{ padding: .75rem; width: 3rem; height: 3rem; justify-content: center; }

@keyframes pulse-gold {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,169,53,.5); }
  50%      { box-shadow: 0 0 0 14px rgba(201,169,53,0); }
}
.btn-pulse { animation: pulse-gold 2.2s infinite; }

/* ── Layout ── */
.container    { max-width: 1220px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 6rem 0; }
.section-sm   { padding: 3.5rem 0; }

/* ── Page Header (pages intérieures) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 7rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,53,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,53,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-header-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .6rem;
  position: relative; z-index: 1;
}
.page-header-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto .5rem;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.page-header .breadcrumb {
  position: relative; z-index: 1;
  margin-top: 1rem;
  display: flex; align-items: center; gap: .5rem;
  justify-content: center;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.page-header .breadcrumb a { color: var(--gold); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--t);
  background: rgba(6,15,39,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar.scrolled {
  background: rgba(6,15,39,.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 4px 32px rgba(0,0,0,.4), 0 1px 0 rgba(201,169,53,.2);
  padding: .65rem 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.navbar-logo { height: 54px; width: auto; filter: drop-shadow(0 2px 8px rgba(201,169,53,.3)); }
.navbar-logo-text {
  display: flex;
  flex-direction: column;
}
.navbar-logo-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1;
}
.navbar-logo-main span { color: var(--gold); }
.navbar-tagline {
  font-size: .6rem;
  color: rgba(201,169,53,.8);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 600;
  margin-top: .15rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.nav-link {
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  font-weight: 500;
  padding: .5rem .55rem;
  border-radius: var(--radius-sm);
  transition: var(--t);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }

.navbar-cta { margin-left: .75rem; }

/* ── Dropdown Nav ── */
.nav-dropdown { position: relative; }
.nav-has-dropdown { cursor: pointer; display:flex; align-items:center; gap:.3rem; }
.nav-arrow { font-size:.6rem; transition:transform .2s ease; margin-left:.1rem; }
.nav-dropdown:hover .nav-arrow { transform:rotate(180deg); }

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0a1a38;
  border: 1px solid rgba(201,169,53,.25);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 300px;
  padding: .6rem .5rem;
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  flex-direction: column;
  gap: 0;
  animation: dropIn .18s ease;
}
@keyframes dropIn {
  from { opacity:0; transform:translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.nav-dropdown:hover .nav-submenu { display: flex; }

/* Section title inside dropdown */
.nav-submenu-title {
  font-size: .66rem;
  font-weight: 800;
  color: #C9A935 !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 1rem .2rem;
  pointer-events: none;
  display: block;
}
.nav-submenu-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: .35rem .75rem;
}
.nav-submenu li a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  border-radius: 6px;
  font-size: .84rem;
  color: rgba(255,255,255,.82);
  transition: var(--t);
  white-space: nowrap;
}
.nav-submenu li a:hover { color: var(--gold); background: rgba(201,169,53,.1); }
.nav-submenu li a i { width:18px; text-align:center; font-size:.82rem; }
.nav-cert-icon { width:18px !important; text-align:center; font-size:.82rem; flex-shrink:0; }
.nav-cert-logo {
  width: 22px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}
.nav-submenu-all {
  color: var(--gold) !important;
  font-weight: 700 !important;
  font-size: .82rem !important;
}
.nav-submenu-all:hover { background: rgba(201,169,53,.15) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--t);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO — Mesh Gradient + Animated Background
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy-dark);
}

/* Animated mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 70% 50% at 15% 60%, rgba(201,169,53,.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 15%, rgba(26,58,112,.9) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(11,31,75,1) 0%, transparent 50%),
    linear-gradient(135deg, #040c1e 0%, #0B1F4B 40%, #0d2860 70%, #1a3a70 100%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.05) rotate(2deg); }
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: orb-float linear infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--gold); top: -15%; left: -10%; animation-duration: 20s; }
.orb-2 { width: 350px; height: 350px; background: #3b82f6; bottom: -10%; right: -5%; animation-duration: 15s; animation-direction: reverse; }
.orb-3 { width: 250px; height: 250px; background: var(--gold-light); top: 40%; left: 50%; animation-duration: 18s; animation-delay: -5s; }
@keyframes orb-float {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(30px,-20px) scale(1.1); }
  66%  { transform: translate(-20px,30px) scale(.95); }
  100% { transform: translate(0,0) scale(1); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,53,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,53,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 0%, transparent 100%);
}

/* Particles */
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,169,53,.2);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(110vh) scale(0); opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 130px 0 90px;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(201,169,53,.12);
  border: 1px solid rgba(201,169,53,.4);
  color: var(--gold-light);
  padding: .45rem 1.1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;box-shadow:0 0 8px var(--gold);} 50%{opacity:.3;box-shadow:none;} }

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 1.6rem;
  text-shadow: 0 4px 32px rgba(0,0,0,.3);
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  border-radius: 2px;
}
.hero-typed-wrapper { min-height: 1.2em; display: inline-block; }
.hero-typed { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 2.8rem;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px var(--gold-glow);
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-top: .3rem;
}

/* Floating cards */
.hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hero-card-float { position: relative; width: 100%; height: 100%; }
.float-card {
  position: absolute;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  color: white;
  font-size: .82rem;
  animation: float-y 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 180px;
}
.float-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg,rgba(201,169,53,.08),transparent);
}
.float-card-1 { top: 22%; right: 12%; animation-delay: 0s; }
.float-card-2 { top: 47%; right: 4%; animation-delay: 2s; }
.float-card-3 { top: 68%; right: 20%; animation-delay: 4s; }
.float-card .card-icon { font-size: 2rem; flex-shrink: 0; }
.float-card strong { display: block; font-size: .88rem; font-weight: 700; }
.float-card small { opacity: .65; font-size: .72rem; }
@keyframes float-y { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-14px); } }

/* ── Partners strip ── */
.partners-strip {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
  overflow: hidden;
}
.partners-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll-partners 20s linear infinite;
  width: max-content;
}
.partner-text {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  opacity: .6;
  white-space: nowrap;
  transition: var(--t);
  cursor: default;
}
.partner-text:hover { opacity: 1; color: var(--gold-dark); }
@keyframes scroll-partners {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: linear-gradient(135deg,rgba(201,169,53,.12),rgba(201,169,53,.06));
  color: var(--gold-dark);
  border: 1px solid rgba(201,169,53,.3);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.1rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .85rem;
  line-height: 1.15;
}
.section-title span {
  background: linear-gradient(135deg,var(--gold-dark),var(--gold),var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  color: var(--gray-700);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}
.divider {
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 1.25rem auto 0;
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* ══════════════════════════════════════════
   FORMATION CARDS — Premium Design
   ══════════════════════════════════════════ */
.formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.formation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(11,31,75,.08);
  transition: var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
}
.formation-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(201,169,53,.06), transparent);
  opacity: 0;
  transition: var(--t);
  pointer-events: none;
  z-index: 0;
}
.formation-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 24px 64px rgba(11,31,75,.2), 0 0 0 1px rgba(201,169,53,.25);
}
.formation-card:hover::before { opacity: 1; }

/* Card Header with category-specific gradients */
.card-header-img {
  height: 195px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-header-img img { width: 100%; height: 100%; object-fit: cover; }
.card-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,15,39,.75) 0%, transparent 55%);
}

/* Category backgrounds */
.card-header-img[data-cat="Linux"]         { background: linear-gradient(135deg, #d97706 0%, #b45309 40%, #7c3aed 100%); }
.card-header-img[data-cat="Sécurité"]      { background: linear-gradient(135deg, #dc2626 0%, #991b1b 40%, #0B1F4B 100%); }
.card-header-img[data-cat="Virtualisation"]{ background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 40%, #0c1a4a 100%); }
.card-header-img[data-cat="Backup"]        { background: linear-gradient(135deg, #059669 0%, #047857 40%, #065f46 100%); }
.card-header-img[data-cat="Réseau"]        { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 40%, #0B1F4B 100%); }

/* Tech circuit pattern overlay on card headers */
.card-header-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.card-icon-big {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
  animation: icon-breathe 3s ease-in-out infinite;
}
@keyframes icon-breathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.06);} }

/* Font Awesome icon for formation cards */
.card-icon-fa {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  animation: icon-breathe 3s ease-in-out infinite;
}
.card-icon-fa i {
  font-size: 2.2rem;
  color: #ffffff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

/* Make formation cards clickable */
.formation-card-link:hover .formation-card {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.formation-card-link { color: inherit; }

.card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 3;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  padding: .3rem .85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.card-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
}
.card-meta-item i { font-size: .9rem; color: var(--gold-dark); }

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .65rem;
  line-height: 1.3;
}

.card-desc {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.6rem;
  border-top: 1px solid var(--gray-100);
  background: linear-gradient(135deg, var(--gray-50), rgba(201,169,53,.03));
  position: relative;
  z-index: 1;
}
.card-price { display: flex; flex-direction: column; }
.price-label { font-size: .68rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.price-value { font-family: 'Poppins', sans-serif; font-size: 1.15rem; font-weight: 900; color: var(--navy); }
.price-value.free { color: var(--success); }

/* Category filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .55rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 4px 16px var(--gold-glow);
  transform: translateY(-2px);
}

/* ── Stats Section ── */
.stats-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,53,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.stats-section::after {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(201,169,53,.12), transparent 70%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0;
  transition: var(--t);
}
.stat-card:hover::after { opacity: 1; }
.stat-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .5rem;
  text-shadow: 0 0 30px rgba(201,169,53,.4);
}
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ── Why Cards ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--t);
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { font-size: 2.8rem; margin-bottom: 1.25rem; display: block; }
.why-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .65rem;
}
.why-desc { font-size: .92rem; color: var(--gray-700); line-height: 1.7; }

/* ── Diplômes ── */
.diplomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.diplome-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--t);
  border: 1px solid rgba(201,169,53,.15);
  position: relative;
  overflow: hidden;
}
.diplome-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,53,.08), transparent);
  opacity: 0;
  transition: var(--t);
}
.diplome-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); border-color: rgba(201,169,53,.4); }
.diplome-card:hover::before { opacity: 1; }
.diplome-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.diplome-nom { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 800; color: var(--gold); margin-bottom: .4rem; }
.diplome-org { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.diplome-desc { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,.15), transparent 65%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  position: relative; z-index: 1;
}
.cta-desc { color: rgba(6,15,39,.7); font-size: 1.1rem; margin-bottom: 2.2rem; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Footer ── */
.footer {
  background: var(--navy-dark);
  padding: 5rem 0 0;
  position: relative;
  color: rgba(255,255,255,.72);
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand-logo { height: 52px; width: auto; margin-bottom: 1.25rem; filter: brightness(1.1); }
.footer-brand-desc { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1.5rem; max-width: 280px; }

/* ── Footer partner badges ── */
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.5rem;
}
.footer-badge-item {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.fb-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201,169,53,.18);
  border: 1px solid rgba(201,169,53,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C9A935 !important;
  font-size: .85rem;
}
.footer-badge-item span {
  font-size: .8rem;
  color: rgba(255,255,255,.72) !important;
  line-height: 1.45;
}
.footer-badge-item span strong {
  color: #ffffff !important;
  font-weight: 700;
}

.footer-social { display: flex; gap: .75rem; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--t);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .75rem;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-links a i { font-size: .7rem; color: var(--gold); transition: var(--t); }
.footer-links a:hover { color: var(--gold); padding-left: .3rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  color: rgba(255,255,255,.6);
  font-size: .88rem;
}
.footer-contact-icon { color: var(--gold); font-size: .95rem; margin-top: .15rem; flex-shrink: 0; }
.footer-contact-item a { color: inherit; transition: var(--t); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
}
.footer-copy { font-size: .82rem; color: rgba(255,255,255,.38); }
.footer-copy a { color: var(--gold); }

/* ── Floating buttons ── */
.back-top {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: var(--t);
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c3e);
  color: var(--white);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--t);
  z-index: 999;
  animation: pulse-green 2.5s infinite;
}
@keyframes pulse-green {
  0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4);}
  50%{box-shadow:0 4px 40px rgba(37,211,102,.7);}
}
.whatsapp-float:hover { transform: scale(1.12); }

/* ── Forms ── */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: .01em;
}
.form-control {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--t);
  outline: none;
  background: var(--white);
  color: var(--gray-900);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,169,53,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

/* ── Alert / Flash ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Page Hero (formations/inscription etc.) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,53,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,169,53,.12);
  border: 1px solid rgba(201,169,53,.3);
  color: var(--gold-light);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.page-hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: .8rem;
  position: relative; z-index: 1;
}
.page-hero-title span { color: var(--gold); }
.page-hero-desc {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  position: relative; z-index: 1;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: .65rem; }

/* ── Formation Detail ── */
.formation-detail { padding: 4rem 0; }
.formation-detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.formation-detail-content {}
.formation-detail-title { font-family:'Poppins',sans-serif; font-size:2.2rem; font-weight:900; color:var(--navy); margin-bottom:1rem; }
.formation-tags { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom:1.75rem; }
.formation-tag {
  padding:.35rem .9rem;
  border-radius:50px;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.tag-cat  { background:rgba(201,169,53,.12); color:var(--gold-dark); border:1px solid rgba(201,169,53,.25); }
.tag-niv  { background:#dbeafe; color:#1e40af; border:1px solid #bfdbfe; }
.tag-dur  { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.formation-desc-full { font-size:1rem; color:var(--gray-700); line-height:1.8; margin-bottom:2rem; }
.programme-list { counter-reset:prog; display:flex; flex-direction:column; gap:.75rem; }
.programme-item {
  display:flex; align-items:flex-start; gap:1rem;
  padding:1rem 1.25rem;
  background:var(--gray-50);
  border-radius:var(--radius-md);
  border-left:4px solid var(--gold);
  font-size:.92rem;
  color:var(--gray-900);
  transition:var(--t);
}
.programme-item:hover { background:rgba(201,169,53,.07); transform:translateX(4px); }
.programme-num {
  font-family:'Poppins',sans-serif;
  font-weight:900;
  color:var(--gold-dark);
  font-size:.9rem;
  min-width:24px;
}
.formation-sidebar {}
.sidebar-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  border:1px solid var(--gray-200);
  overflow:hidden;
  position:sticky;
  top:90px;
  box-shadow:var(--shadow-md);
}
.sidebar-header {
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  padding:1.75rem;
  text-align:center;
}
.sidebar-price {
  font-family:'Poppins',sans-serif;
  font-size:2rem;
  font-weight:900;
  color:var(--gold);
  margin-bottom:.3rem;
}
.sidebar-price-sub { font-size:.82rem; color:rgba(255,255,255,.6); }
.sidebar-body { padding:1.5rem; display:flex; flex-direction:column; gap:.85rem; }
.sidebar-info-item { display:flex; align-items:center; gap:.75rem; font-size:.9rem; color:var(--gray-700); }
.sidebar-info-item i { color:var(--gold-dark); width:18px; text-align:center; }
.sidebar-cta { padding:0 1.5rem 1.5rem; }

/* ── Inscription ── */
.inscription-grid { display:grid; grid-template-columns:1.3fr 1fr; gap:3rem; align-items:start; }
.inscription-form-card {
  background:var(--white);
  border-radius:var(--radius-xl);
  padding:2.5rem;
  box-shadow:var(--shadow-lg);
  border:1px solid var(--gray-100);
}
.inscription-info-card {
  background:linear-gradient(135deg,var(--navy),var(--navy-mid));
  border-radius:var(--radius-xl);
  padding:2.5rem;
  color:var(--white);
  position:sticky;
  top:100px;
  border:1px solid rgba(201,169,53,.15);
}
.info-card-title { font-family:'Poppins',sans-serif; font-size:1.35rem; font-weight:800; color:var(--gold); margin-bottom:1.5rem; }
.info-item { display:flex; gap:1rem; margin-bottom:1.25rem; align-items:flex-start; }
.info-icon-wrap { width:40px; height:40px; border-radius:10px; background:rgba(201,169,53,.12); border:1px solid rgba(201,169,53,.2); display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.info-icon-wrap i { color:var(--gold); }
.info-text-title { font-size:.85rem; font-weight:700; color:var(--gold-light); margin-bottom:.25rem; }
.info-text-desc  { font-size:.83rem; color:rgba(255,255,255,.65); line-height:1.6; }

/* ── Admin Layout ── */
.admin-layout { display:flex; min-height:100vh; background:var(--gray-50); }
.admin-sidebar {
  width:260px; flex-shrink:0;
  background:linear-gradient(180deg,var(--navy-dark),var(--navy));
  padding:0;
  display:flex; flex-direction:column;
  position:fixed; top:0; left:0; bottom:0;
  overflow-y:auto;
  z-index:100;
  box-shadow:4px 0 24px rgba(0,0,0,.3);
}
.admin-main { margin-left:260px; flex:1; padding:2rem; }
.admin-topbar {
  background:var(--white);
  border-bottom:1px solid var(--gray-200);
  padding:.85rem 2rem;
  display:flex; align-items:center; justify-content:space-between;
  margin-left:260px;
  position:sticky; top:0; z-index:99;
  box-shadow:var(--shadow-sm);
}
.admin-topbar-title { font-family:'Poppins',sans-serif; font-size:1.1rem; font-weight:800; color:var(--navy); }
.admin-sidebar-brand {
  padding:1.75rem 1.5rem;
  border-bottom:1px solid rgba(255,255,255,.07);
  display:flex; align-items:center; gap:.75rem;
}
.admin-brand-text { font-family:'Poppins',sans-serif; font-size:1.05rem; font-weight:900; color:var(--white); }
.admin-brand-sub  { font-size:.7rem; color:var(--gold); opacity:.8; }
.admin-nav { padding:1.5rem 0; flex:1; }
.admin-nav-section { padding:.25rem 1.25rem; font-size:.68rem; font-weight:800; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.15em; margin-top:1rem; margin-bottom:.4rem; }
.admin-nav-link {
  display:flex; align-items:center; gap:.9rem;
  padding:.75rem 1.5rem;
  color:rgba(255,255,255,.65);
  font-size:.9rem; font-weight:500;
  transition:var(--t);
  border-left:3px solid transparent;
}
.admin-nav-link i { width:18px; text-align:center; font-size:.95rem; }
.admin-nav-link:hover { color:var(--white); background:rgba(255,255,255,.06); border-left-color:var(--gold); }
.admin-nav-link.active { color:var(--gold); background:rgba(201,169,53,.1); border-left-color:var(--gold); font-weight:700; }
.admin-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200);
  margin-bottom:1.75rem;
  overflow:hidden;
}
.admin-card-header {
  padding:1.25rem 1.5rem;
  border-bottom:1px solid var(--gray-100);
  display:flex; align-items:center; justify-content:space-between;
  background:linear-gradient(135deg,var(--gray-50),var(--white));
}
.admin-card-title { font-family:'Poppins',sans-serif; font-size:1rem; font-weight:800; color:var(--navy); }
.admin-card-body { padding:1.5rem; }
.stats-widgets { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; margin-bottom:2rem; }
.widget {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  border:1px solid var(--gray-200);
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:.5rem;
  position:relative; overflow:hidden;
}
.widget::before { content:''; position:absolute; top:0;left:0;right:0;height:3px; }
.widget-blue::before   { background:linear-gradient(90deg,#3b82f6,#60a5fa); }
.widget-gold::before   { background:linear-gradient(90deg,var(--gold-dark),var(--gold-light)); }
.widget-green::before  { background:linear-gradient(90deg,#10b981,#34d399); }
.widget-purple::before { background:linear-gradient(90deg,#8b5cf6,#a78bfa); }
.widget-icon { font-size:2rem; }
.widget-label { font-size:.78rem; color:var(--gray-500); font-weight:600; text-transform:uppercase; letter-spacing:.07em; }
.widget-value { font-family:'Poppins',sans-serif; font-size:2.2rem; font-weight:900; color:var(--navy); line-height:1; }

/* ── Tables ── */
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; }
th { background:var(--navy); color:var(--white); padding:.85rem 1rem; font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; text-align:left; }
th:first-child { border-radius:var(--radius-sm) 0 0 0; }
th:last-child  { border-radius:0 var(--radius-sm) 0 0; }
td { padding:.9rem 1rem; border-bottom:1px solid var(--gray-100); font-size:.9rem; color:var(--gray-700); vertical-align:middle; }
tr:last-child td { border-bottom:none; }
tr:hover td { background:var(--gray-50); }
.badge {
  display:inline-flex; align-items:center; gap:.3rem;
  padding:.25rem .75rem;
  border-radius:50px;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.badge-success { background:#dcfce7; color:#166534; }
.badge-warning { background:#fef9c3; color:#854d0e; }
.badge-danger  { background:#fee2e2; color:#991b1b; }
.badge-info    { background:#dbeafe; color:#1e40af; }

/* ── Login Page ── */
.login-page {
  min-height:100vh;
  background:linear-gradient(135deg,var(--navy-dark),var(--navy));
  display:flex; align-items:center; justify-content:center;
  padding:2rem;
  position:relative;
  overflow:hidden;
}
.login-page::before {
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(201,169,53,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(201,169,53,.04) 1px,transparent 1px);
  background-size:60px 60px;
}
.login-card {
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(24px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-xl);
  padding:3rem 2.5rem;
  width:100%; max-width:440px;
  position:relative; z-index:1;
}
.login-logo { text-align:center; margin-bottom:2rem; }
.login-title {
  font-family:'Poppins',sans-serif;
  font-size:1.6rem; font-weight:900; color:var(--white); text-align:center;
  margin-bottom:.5rem;
}
.login-sub { font-size:.88rem; color:rgba(255,255,255,.5); text-align:center; margin-bottom:2rem; }
.login-card .form-label { color:rgba(255,255,255,.8); }
.login-card .form-control {
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
  color:var(--white);
}
.login-card .form-control:focus { border-color:var(--gold); box-shadow:0 0 0 4px rgba(201,169,53,.12); }

/* ══════════════════════════════════════════
   HERO SLIDER — Cinematic Video-Style
══════════════════════════════════════════ */
.hs-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy-dark);
}

/* Slides */
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.hs-slide.hs-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
  position: relative;
}

/* Animated backgrounds */
.hs-bg-anim {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hs-slide-1 .hs-bg-anim { background: linear-gradient(145deg, #060f27 0%, #0B1F4B 50%, #0d1f3c 100%); }
.hs-slide-2 .hs-bg-anim { background: linear-gradient(145deg, #0c1e4a 0%, #1a3a6e 50%, #0a1529 100%); }
.hs-slide-3 .hs-bg-anim { background: linear-gradient(145deg, #0d0826 0%, #1e0b4a 50%, #2d1264 100%); }
.hs-slide-4 .hs-bg-anim { background: linear-gradient(145deg, #031a2b 0%, #0d3350 50%, #062540 100%); }

/* Animated grid overlay */
.hs-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,53,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Glowing orbs */
.hs-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}
.hs-orb-a { width: 600px; height: 600px; top: -200px; left: -100px; background: rgba(201,169,53,.13); animation-duration: 15s; }
.hs-orb-b { width: 400px; height: 400px; bottom: -100px; right: -100px; background: rgba(26,58,112,.5); animation-duration: 10s; animation-delay: -5s; }
.hs-orb-c { width: 300px; height: 300px; top: 50%; right: 30%; background: rgba(201,169,53,.08); animation-duration: 18s; animation-delay: -8s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(40px,-30px) scale(1.08); }
  66%       { transform: translate(-20px,40px) scale(.95); }
}

/* Code rain canvas */
.hs-code-rain { position: absolute; inset: 0; opacity: .08; }

/* Circuit lines (slide 2) */
.hs-circuit {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg,   rgba(59,130,246,.06) 1px, transparent 1px),
    linear-gradient(90deg,  rgba(59,130,246,.06) 1px, transparent 1px),
    radial-gradient(circle at 20% 50%, rgba(59,130,246,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,169,53,.06) 0%, transparent 40%);
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%;
}

/* Hex pattern (slide 3) */
.hs-hex-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' viewBox='0 0 56 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50 0 16 28 0 56 16 56 50 28 66 28 100' fill='none' stroke='%23C9A935' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}

/* Container layout */
.hs-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 120px;
  padding-bottom: 100px;
  min-height: calc(100vh - 90px);
}

/* Content */
.hs-content { flex: 1; max-width: 600px; }
.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(201,169,53,.12);
  border: 1px solid rgba(201,169,53,.3);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: slideInLeft .7s .2s both;
}
.hs-dot-pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hs-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  animation: slideInLeft .7s .35s both;
}
.hs-gold { color: var(--gold); }

.hs-sub {
  font-size: clamp(.88rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: slideInLeft .7s .5s both;
}

.hs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: slideInLeft .7s .65s both;
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  font-weight: 700;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* Certification badges row */
.hs-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  animation: slideInLeft .7s .8s both;
}
.hs-badge-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

/* Programme cards inside slide */
.hs-prog-cards {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: slideInLeft .7s .5s both;
}
.hs-prog-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  backdrop-filter: blur(8px);
  flex: 1;
  min-width: 180px;
  transition: var(--t);
}
.hs-prog-card:hover { background: rgba(255,255,255,.14); border-color: rgba(201,169,53,.5); }
.hs-prog-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hs-prog-card strong { color: var(--white); font-size: .95rem; display: block; font-family: 'Poppins',sans-serif; font-weight: 800; }
.hs-prog-card span   { color: rgba(255,255,255,.65); font-size: .78rem; display: block; }
.hs-prog-price { color: var(--gold) !important; font-weight: 700 !important; font-size: .88rem !important; margin-top: .2rem; }

/* Partner logos in slide 4 */
.hs-partner-logos-hero {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: slideInLeft .7s .5s both;
}
.hs-partner-badge {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 130px;
  transition: transform .2s ease;
}
.hs-partner-badge:hover { transform: translateY(-3px); }
.hs-partner-logo-img { height: 64px; max-width: 160px; width: auto; object-fit: contain; margin: 0 auto .5rem; display:block; }
.hs-partner-badge span { font-size: .72rem; color: var(--navy) !important; font-weight: 700; display: block; margin-top:.4rem; }

/* Video background for slides */
.hs-video-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hs-video-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,31,75,.68);
  z-index: 1;
}

/* Right visual area */
.hs-visual-right {
  flex-shrink: 0;
  width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slideInRight .8s .3s both;
}
.hs-poster-right .hs-poster-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transform: perspective(800px) rotateY(-6deg);
  transition: transform .4s ease;
}
.hs-poster-right:hover .hs-poster-img { transform: perspective(800px) rotateY(0deg); }

/* Floating cards (slide 1) */
.hs-float-cards { position: relative; width: 360px; height: 320px; }
.hs-float-card {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,169,53,.25);
  border-radius: var(--radius-md);
  padding: .85rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  min-width: 190px;
  animation: cardFloat 5s ease-in-out infinite;
}
.hs-float-card span { font-size: 1.6rem; }
.hs-float-card strong { display: block; color: var(--white); font-size: .88rem; }
.hs-float-card small  { color: rgba(255,255,255,.55); font-size: .72rem; }
.fc-1 { top: 0;   left: 40px;  animation-delay: 0s; }
.fc-2 { top: 90px; left: 0;   animation-delay: -1.5s; }
.fc-3 { top: 175px; left: 50px; animation-delay: -3s; }
.fc-4 { top: 255px; left: 15px; animation-delay: -4.5s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats bar */
.hs-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,169,53,.15);
  padding: 1rem 0;
  z-index: 3;
}
.hs-stat { display: flex; flex-direction: column; align-items: center; gap: .1rem; }
.hs-stat-n { font-family: 'Poppins',sans-serif; font-size: 1.8rem; font-weight: 900; color: var(--gold); line-height: 1; }
.hs-stat span:last-child { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hs-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* Controls */
.hs-prev, .hs-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  color: var(--white);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--t);
  display: flex; align-items: center; justify-content: center;
}
.hs-prev { left: 1.5rem; }
.hs-next { right: 1.5rem; }
.hs-prev:hover, .hs-next:hover { background: rgba(201,169,53,.3); border-color: var(--gold); }

/* Dot navigation */
.hs-dots {
  position: absolute;
  bottom: 80px; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem;
  z-index: 10;
}
.hs-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.hs-dot.hs-dot-active { background: var(--gold); width: 28px; border-radius: 5px; }

/* Progress bar */
.hs-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.1); z-index: 10; }
.hs-progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); width: 0%; transition: width linear; }

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slider responsive */
@media (max-width: 900px) {
  .hs-container { flex-direction: column; padding-top: 100px; padding-bottom: 140px; gap: 2rem; text-align: center; }
  .hs-visual-right { width: 100%; max-width: 380px; }
  .hs-float-cards { display: none; }
  .hs-actions { justify-content: center; }
  .hs-badges-row { justify-content: center; }
  .hs-prog-cards { justify-content: center; }
  .hs-partner-logos-hero { justify-content: center; }
}
@media (max-width: 600px) {
  .hs-title { font-size: 1.85rem; }
  .hs-prog-cards { flex-direction: column; }
  .hs-actions { flex-direction: column; }
  .hs-actions .btn { width: 100%; justify-content: center; }
  .hs-stat-n { font-size: 1.4rem; }
  .hs-dots { bottom: 100px; }
  .hs-prev { left: .5rem; }
  .hs-next { right: .5rem; }
}

/* ── Container SM ── */
.container-sm { max-width:860px; margin:0 auto; padding:0 1.5rem; }

/* ══════════════════════════════════════════
   PROGRAMME PAGES (Bachelor / Master)
══════════════════════════════════════════ */
.prog-intro {
  display:flex; align-items:flex-start; gap:1.5rem;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  color:var(--white);
  border-radius:var(--radius-lg);
  padding:2rem 2.5rem;
  margin-bottom:2rem;
}
.prog-intro-icon {
  font-size:2.5rem;
  color:var(--gold);
  flex-shrink:0;
  width:64px; height:64px;
  background:rgba(201,169,53,.15);
  border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center;
}
.prog-intro-title { font-family:'Poppins',sans-serif; font-size:1.35rem; font-weight:800; color:var(--white); margin-bottom:.5rem; }
.prog-intro-desc  { color:rgba(255,255,255,.8); line-height:1.7; }

.prog-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:2rem;
}

.prog-card {
  background:var(--white);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  border:1px solid var(--gray-200);
  transition:transform .3s ease, box-shadow .3s ease;
}
.prog-card:hover { transform:translateY(-6px); box-shadow:0 28px 80px rgba(11,31,75,.2); }

.prog-card-header {
  padding:2.5rem 2rem;
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.prog-card-header::after {
  content:'';
  position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.prog-header-badge {
  display:inline-block;
  padding:.25rem .9rem;
  border-radius:50px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  color:var(--white);
  margin-bottom:1rem;
}
.prog-header-icon {
  font-size:2.2rem;
  margin-bottom:.75rem;
  opacity:.9;
}
.prog-card-title {
  font-family:'Poppins',sans-serif;
  font-size:1.05rem;
  font-weight:800;
  line-height:1.4;
  margin-bottom:.5rem;
}
.prog-card-acronym {
  font-size:1.5rem;
  font-weight:900;
  letter-spacing:.06em;
  opacity:.7;
  font-family:'Poppins',sans-serif;
}

.prog-card-body { padding:1.75rem; }

.prog-price-box {
  background:linear-gradient(135deg,var(--gray-50),var(--white));
  border:2px solid var(--gold);
  border-radius:var(--radius-md);
  padding:1.25rem 1.5rem;
  margin-bottom:1.5rem;
  text-align:center;
}
.prog-price-label { font-size:.78rem; color:var(--gray-500); font-weight:600; text-transform:uppercase; letter-spacing:.06em; margin-bottom:.25rem; }
.prog-price-amount { display:flex; align-items:center; justify-content:center; gap:.75rem; margin-bottom:.25rem; }
.prog-price-old { color:var(--gray-500); text-decoration:line-through; font-size:1rem; }
.prog-price-new { color:var(--navy); font-family:'Poppins',sans-serif; font-size:1.7rem; font-weight:900; }
.prog-price-details { font-size:.78rem; color:var(--gray-500); }

.prog-section-title {
  font-family:'Poppins',sans-serif;
  font-size:.85rem;
  font-weight:800;
  color:var(--navy);
  text-transform:uppercase;
  letter-spacing:.06em;
  margin:1.25rem 0 .75rem;
  display:flex;
  align-items:center;
  gap:.5rem;
}
.prog-section-title i { color:var(--gold); }

.prog-list {
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.prog-list li {
  padding:.5rem .75rem;
  background:var(--gray-50);
  border-radius:var(--radius-sm);
  font-size:.88rem;
  color:var(--gray-700);
  border-left:3px solid var(--gold);
}

.prog-modules { display:flex; flex-direction:column; gap:.6rem; }
.prog-module {
  display:flex;
  gap:.85rem;
  align-items:flex-start;
  padding:.75rem;
  background:var(--gray-50);
  border-radius:var(--radius-md);
  transition:background .2s;
}
.prog-module:hover { background:rgba(201,169,53,.08); }
.mod-num {
  background:var(--navy);
  color:var(--white);
  font-size:.7rem;
  font-weight:800;
  padding:.25rem .5rem;
  border-radius:6px;
  flex-shrink:0;
  font-family:'Poppins',sans-serif;
  letter-spacing:.04em;
  margin-top:.1rem;
}
.prog-module strong { font-size:.88rem; color:var(--navy); display:block; }
.prog-module div { font-size:.8rem; color:var(--gray-500); line-height:1.5; }

.prog-info-row {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.75rem;
  margin:1.25rem 0;
}
.prog-info-item {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  text-align:center;
  padding:.75rem;
  background:var(--gray-50);
  border-radius:var(--radius-md);
}
.prog-info-item i { color:var(--gold); font-size:1.1rem; }
.prog-info-item strong { font-size:.78rem; color:var(--navy); font-weight:700; display:block; }
.prog-info-item div { font-size:.78rem; color:#111 !important; }

.prog-cta { width:100%; justify-content:center; margin-top:.5rem; }

/* ══════════════════════════════════════════
   TERMS & CONDITIONS PAGE
══════════════════════════════════════════ */
.terms-card {
  background:var(--white);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-md);
  overflow:hidden;
  border:1px solid var(--gray-200);
  padding:0;
}
.terms-update {
  padding:1rem 2rem;
  background:var(--gray-50);
  border-bottom:1px solid var(--gray-200);
  font-size:.82rem;
  color:var(--gray-500);
  font-weight:500;
}
.terms-section {
  padding:1.75rem 2rem;
  border-bottom:1px solid var(--gray-100);
}
.terms-section:last-child { border-bottom:none; }
.terms-section h2 {
  font-family:'Poppins',sans-serif;
  font-size:1.05rem;
  font-weight:800;
  color:var(--navy);
  margin-bottom:1rem;
  display:flex;
  align-items:center;
  gap:.6rem;
}
.terms-section h2 i { color:var(--gold); font-size:1rem; }
.terms-section h3 { font-size:.9rem; font-weight:700; color:var(--navy); margin:1rem 0 .5rem; }
.terms-section p  { font-size:.9rem; color:var(--gray-700); line-height:1.75; margin-bottom:.75rem; }
.terms-section ul { list-style:none; display:flex; flex-direction:column; gap:.4rem; }
.terms-section ul li {
  padding:.5rem .75rem;
  background:var(--gray-50);
  border-radius:6px;
  font-size:.88rem;
  color:var(--gray-700);
  border-left:3px solid var(--gold);
}
.terms-section a { color:var(--gold-dark); text-decoration:underline; }

/* ══════════════════════════════════════════
   TESTIMONIALS SECTION
══════════════════════════════════════════ */
.testimonials-section {
  padding:5rem 0;
  background:linear-gradient(180deg,var(--gray-50) 0%,var(--white) 100%);
}
.testimonials-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.5rem;
  margin-top:2.5rem;
}
.testimonial-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:1.75rem;
  box-shadow:var(--shadow-md);
  border:1px solid var(--gray-200);
  position:relative;
  transition:transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.testimonial-card::before {
  content:'\201C';
  position:absolute;
  top:1rem; right:1.5rem;
  font-size:5rem;
  color:var(--gold);
  opacity:.12;
  font-family:Georgia,serif;
  line-height:1;
}
.testimonial-stars {
  color:var(--gold);
  font-size:.95rem;
  margin-bottom:.75rem;
  letter-spacing:.05em;
}
.testimonial-text {
  font-size:.9rem;
  color:var(--gray-700);
  line-height:1.75;
  margin-bottom:1.25rem;
  font-style:italic;
}
.testimonial-author {
  display:flex;
  align-items:center;
  gap:.85rem;
  border-top:1px solid var(--gray-100);
  padding-top:1rem;
}
.testimonial-avatar {
  width:44px; height:44px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--navy-light));
  display:flex; align-items:center; justify-content:center;
  color:var(--white);
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1rem;
  flex-shrink:0;
}
.testimonial-name  { font-weight:700; font-size:.9rem; color:var(--navy); }
.testimonial-poste { font-size:.78rem; color:var(--gray-500); }

/* ══════════════════════════════════════════
   PARTNERS / ACCREDITATIONS SECTION
══════════════════════════════════════════ */
.accreditations-section {
  padding:5rem 0;
  background: linear-gradient(135deg,#071428 0%,#0B1F4B 60%,#071428 100%);
}
.accreditations-section .section-title,
.accreditations-section h2.section-title { color:#ffffff !important; -webkit-text-fill-color: unset !important; }
.accreditations-section .section-title span {
  background: linear-gradient(135deg,var(--gold-dark),var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.accreditations-section .section-label { color:var(--gold) !important; }
.accreditations-section .section-desc  { color:rgba(255,255,255,.72) !important; }
.accreditations-section .divider { background:var(--gold); }

.partners-logos-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.75rem;
  margin-top:2.5rem;
}
@media (max-width:900px) {
  .partners-logos-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:520px) {
  .partners-logos-grid { grid-template-columns:1fr; }
}
.partner-logo-card {
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-lg);
  padding:2rem 1.5rem;
  text-align:center;
  transition:all .35s ease;
  position:relative;
  overflow:hidden;
}
.partner-logo-card::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold-light));
  transform:scaleX(0);
  transition:transform .35s ease;
}
.partner-logo-card:hover { background:rgba(255,255,255,.1); transform:translateY(-5px); border-color:rgba(201,169,53,.45); box-shadow:0 12px 40px rgba(0,0,0,.4); }
.partner-logo-card:hover::before { transform:scaleX(1); }

/* Logo wrapper */
.partner-logo-img-wrap {
  height:130px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1.1rem;
  background:#ffffff;
  border-radius:14px;
  padding:14px 18px;
  overflow:hidden;
}
.partner-real-logo {
  max-height:100px;
  max-width:220px;
  width:auto;
  height:auto;
  object-fit:contain;
  transition:transform .3s ease;
  display:block;
}
.partner-logo-card:hover .partner-real-logo { transform:scale(1.06); }
.partner-logo-icon {
  font-size:3rem;
  margin-bottom:.75rem;
  display:block;
}
.partner-logo-badge {
  display:inline-block;
  background:rgba(201,169,53,.2);
  color:#C9A935 !important;
  border:1px solid rgba(201,169,53,.4);
  border-radius:50px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.08em;
  padding:.22rem .8rem;
  margin-bottom:.8rem;
  text-transform:uppercase;
}
.partner-logo-name {
  color:#ffffff !important;
  font-family:'Poppins',sans-serif;
  font-weight:800;
  font-size:1.05rem;
  margin-bottom:.45rem;
}
.partner-logo-desc {
  font-size:.83rem;
  color:rgba(255,255,255,.68) !important;
  line-height:1.7;
}
.partner-logo-img {
  width:80px; height:80px;
  object-fit:contain;
  margin:0 auto .75rem;
}

/* ══════════════════════════════════════════
   INSCRIPTION FORM — Improved
══════════════════════════════════════════ */
.form-section { padding:4rem 0 5rem; }
.form-card {
  background:var(--white);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg);
  padding:2.5rem;
  max-width:780px;
  margin:0 auto;
  border:1px solid var(--gray-200);
}
.form-title {
  font-family:'Poppins',sans-serif;
  font-size:1.5rem;
  font-weight:900;
  color:var(--navy);
  margin-bottom:.35rem;
}
.form-subtitle { font-size:.9rem; color:var(--gray-500); margin-bottom:2rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; }
.form-group { margin-bottom:1.25rem; }
.form-label {
  display:block;
  font-weight:600;
  font-size:.85rem;
  color:var(--navy);
  margin-bottom:.45rem;
  letter-spacing:.02em;
}
.form-label span { color:var(--danger); }
.form-control {
  width:100%;
  padding:.8rem 1rem;
  border:2px solid var(--gray-200);
  border-radius:var(--radius-md);
  font-size:.92rem;
  color:var(--gray-900);
  background:var(--white);
  transition:border-color .2s, box-shadow .2s;
  font-family:'Inter',sans-serif;
  appearance:none;
}
.form-control:focus {
  outline:none;
  border-color:var(--navy);
  box-shadow:0 0 0 4px rgba(11,31,75,.08);
}
.form-control.error { border-color:var(--danger); box-shadow:0 0 0 4px rgba(239,68,68,.1); }
.form-control::placeholder { color:var(--gray-400); }
select.form-control { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23495057' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; padding-right:2.5rem; }
textarea.form-control { resize:vertical; min-height:110px; }
.form-error { display:flex; align-items:center; gap:.4rem; color:var(--danger); font-size:.8rem; margin-top:.35rem; font-weight:500; }

/* formation info box */
#formation-info {
  margin-top:.6rem;
  padding:.75rem 1rem;
  background:rgba(11,31,75,.04);
  border-radius:var(--radius-md);
  border-left:3px solid var(--gold);
  font-size:.83rem;
  color:var(--navy);
}

/* ══════════════════════════════════════════
   ADDITIONAL RESPONSIVE — New Components
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .prog-grid { grid-template-columns:1fr; }
  .prog-info-row { grid-template-columns:1fr 1fr; }
  .testimonials-grid { grid-template-columns:repeat(2,1fr); }
  .partners-logos-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns:1fr; gap:0; }
  .form-card { padding:1.5rem; }
  .prog-card-header { padding:1.75rem 1.5rem; }
  .prog-card-body   { padding:1.25rem; }
  .prog-info-row    { grid-template-columns:1fr; }
  .prog-intro { flex-direction:column; padding:1.5rem; }
  .terms-section { padding:1.25rem; }
  .testimonials-grid { grid-template-columns:1fr; }
  .partners-logos-grid { grid-template-columns:1fr 1fr; }
  .testimonials-section { padding:3rem 0; }
  .accreditations-section { padding:3rem 0; }
}

@media (max-width: 480px) {
  .partners-logos-grid { grid-template-columns:1fr; }
  .prog-intro-icon { width:48px; height:48px; font-size:1.6rem; }
  .page-header-title { font-size:2rem; }
  .prog-price-new { font-size:1.4rem; }
}
.login-card .form-control::placeholder { color:rgba(255,255,255,.3); }

/* ── Animations ── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .formation-detail-grid { grid-template-columns: 1fr; }
  .inscription-grid { grid-template-columns: 1fr; }
  .admin-sidebar { width: 220px; }
  .admin-main, .admin-topbar { margin-left: 220px; }
  .stats-widgets { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .navbar-nav { display:none; position:fixed; top:0;left:0;right:0;bottom:0; background:rgba(6,15,39,.98); flex-direction:column; justify-content:center; align-items:center; gap:1rem; z-index:999; }
  .navbar-nav.open { display:flex; }
  .nav-link { font-size:1.2rem; padding:.8rem 1.5rem; }
  .hamburger { display:flex; z-index:1000; }
  .hero-visual { display:none; }
  .hero-content { padding:100px 0 70px; }
  .why-grid { grid-template-columns:1fr; }
  .formations-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .footer-grid { grid-template-columns:1fr; gap:2rem; }
  .admin-sidebar { transform:translateX(-100%); transition:var(--t); }
  .admin-sidebar.open { transform:translateX(0); }
  .admin-main, .admin-topbar { margin-left:0; }
  .stats-widgets { grid-template-columns:1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stats-widgets { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .hero-title { font-size:2.2rem; }
}

/* ── Utilities ── */
.text-center { text-align:center; }
.text-gold   { color:var(--gold); }
.text-navy   { color:var(--navy); }
.text-muted  { color:var(--gray-500); }
.fw-bold     { font-weight:700; }
.fw-black    { font-weight:900; }
.mt-1 { margin-top:.5rem; }
.mt-2 { margin-top:1rem; }
.mt-3 { margin-top:1.5rem; }
.mt-4 { margin-top:2rem; }
.mb-4 { margin-bottom:2rem; }
.d-flex { display:flex; }
.gap-1  { gap:.5rem; }
.gap-2  { gap:1rem; }
.hidden { display:none !important; }
