/* ===== RUSH SCHOOL THEME CSS ===== */
/* Based on original React/Tailwind/shadcn design */

/* Custom Properties */
:root {
  --rush-primary: hsl(247, 60%, 76%);
  --rush-deep: hsl(247, 60%, 70%);
  --rush-light: hsl(252, 65%, 83%);
  --rush-iris: hsl(209, 100%, 91%);
  --rush-mist: hsl(252, 25%, 96%);
  --rush-graphite: hsl(240, 10%, 19%);
  --rush-night: hsl(240, 18%, 10%);
  --gradient-rush: linear-gradient(135deg, var(--rush-primary) 0%, var(--rush-deep) 100%);
  --gradient-rush-soft: linear-gradient(135deg, var(--rush-light) 0%, var(--rush-iris) 100%);
  --gradient-hero: linear-gradient(135deg, var(--rush-night) 0%, hsl(240, 25%, 15%) 50%, hsl(247, 30%, 20%) 100%);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(196, 148, 241, 0.15);
  --radius: 1rem;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rush-graphite);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
ul { list-style: none; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== INTRO SPLASH ===== */
.intro-splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--rush-night);
  display: flex; align-items: center; justify-content: center;
  transition: transform .7s cubic-bezier(.76,0,.24,1);
}
.intro-splash.hidden { transform: translateY(-100%); }
.intro-content { text-align: center; }
.intro-logo {
  width: 200px; height: auto; margin: 0 auto 32px;
  opacity: 0; transform: scale(0.8);
  animation: intro-logo .9s ease-out forwards;
}
.intro-bar-container {
  width: 200px; height: 3px; background: rgba(255,255,255,.1);
  border-radius: 99px; overflow: hidden;
}
.intro-bar {
  height: 100%; width: 0;
  background: var(--gradient-rush);
  border-radius: 99px;
  animation: intro-bar 1.1s ease-out forwards;
}

@keyframes intro-logo {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes intro-bar {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--rush-night);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.header-logo { flex-shrink: 0; }
.header-logo-img { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 35px; width: auto; display: block; }
.header-nav { display: flex; align-items: center; gap: 8px; }
.header-nav {
  position: relative;
  z-index: 101;
}
.header-menu { display: flex; align-items: center; gap: 4px; }
.header-menu > li > a {
  display: block; padding: 8px 14px;
  font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: white; border-radius: 8px;
  transition: color .3s, background .3s;
}
.header-menu > li > a:hover { color: var(--rush-light); }
.header-menu .current-menu-item > a { color: var(--rush-light); }
.header-actions { margin-left: 16px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; background: var(--rush-graphite); border: none;
  border-radius: 12px; cursor: pointer; padding: 14px 12px;
}
.hamburger span {
  display: block; height: 2px; background: white; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.marquee-item{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:180px;
    padding:0 24px;
}

.marquee-item img{
    max-width:140px;
    max-height:50px;
    object-fit:contain;
    filter:brightness(0) invert(1);
    opacity:.85;
    transition:.3s ease;
}

.marquee-item img:hover{
    opacity:1;
    transform:scale(1.05);
}





/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rush-night);
  z-index: 99;

  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: transform .4s cubic-bezier(.76,0,.24,1), opacity .4s;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner { padding: 32px 24px 100px; }
.mobile-menu-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-list li a {
  display: flex; align-items: center; padding: 16px 20px;
  font-size: .875rem; font-weight: 700; letter-spacing: .05em;
  color: rgba(255,255,255,.7); border-radius: 12px;
  text-transform: uppercase;
}
.mobile-menu-list li a:hover,
.mobile-menu-list li a.active { color: var(--rush-light); background: rgba(255,255,255,.05); }
.mobile-actions { margin-top: 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 999px;
  font-size: .875rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all .3s;
  line-height: 1.4;
}
.btn-rush {
  background: var(--gradient-rush); color: white;
  box-shadow: var(--shadow-soft);
}
.btn-rush:hover { opacity: .9; transform: translateY(-1px); box-shadow: var(--shadow-glow); }
.btn-dark {
  background: var(--rush-night); color: white;
  box-shadow: var(--shadow-card);
}
.btn-dark:hover { background: #000; }
.btn-outline {
  background: transparent; color: white;
  border: 2px solid rgba(255,255,255,.2);
}
.btn-outline:hover { border-color: var(--rush-primary); background: rgba(255,255,255,.05); }
.btn-white {
  background: white; color: var(--rush-night);
  box-shadow: var(--shadow-soft);
}
.btn-white:hover { background: var(--rush-mist); }
.w-full { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: .75rem; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  background: var(--gradient-hero); color: white;
  overflow: hidden; display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
  animation: ken-burns 22s ease-in-out infinite;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to right, var(--rush-night), rgba(12,10,25,.85) 50%, rgba(12,10,25,.3) 100%);
}
.hero-overlay-t { position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to bottom, var(--rush-night), transparent 50%, rgba(12,10,25,.4) 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: 3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.15'/%3E%3C/svg%3E");
  opacity: .3;
}
.hero-glows { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.hero-glow {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  filter: blur(80px); opacity: .2;
  background: var(--gradient-rush);
}
.hero-glow:nth-child(1) { top: -100px; right: -100px; }
.hero-glow:nth-child(2) { bottom: -150px; left: -100px; width: 300px; height: 300px; opacity: .15; }

.hero-content {
  position: relative; z-index: 5; width: 100%;
  padding: 120px 24px 80px;
}
.hero-content-inner { max-width: 720px; }
.hero-label {
  color: var(--rush-light); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
  line-height: .95; margin-bottom: 24px;
}
.hero-title-highlight { background: var(--gradient-rush); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc {
  font-size: 1.125rem; color: rgba(255,255,255,.8);
  max-width: 560px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-dots {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 8px;
}
.hero-dot {
  height: 4px; border-radius: 99px; border: none; cursor: pointer;
  transition: all .5s; background: rgba(255,255,255,.3);
}
.hero-dot.active { width: 40px; background: var(--rush-light); }
.hero-dot:not(.active) { width: 16px; }
.hero-dot:hover:not(.active) { background: rgba(255,255,255,.5); }

@keyframes ken-burns {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== TICKER BAR ===== */
.ticker-bar {
  background: var(--rush-night); color: white;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 14px 0;
}
.ticker-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ticker-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); padding: 4px 14px 4px 10px;
  border-radius: 99px; font-size: .6875rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.ticker-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: inline-block; }
.ticker-text {
  flex: 1; font-size: .8125rem; font-weight: 600;
  color: rgba(255,255,255,.7);
}
.ticker-text strong { color: white; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-dark { background: var(--rush-night); color: white; }
.section-label {
  color: var(--rush-primary); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800;
  margin-bottom: 16px; line-height: 1.15;
}
.section-title .text-gradient { background: var(--gradient-rush); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc {
  font-size: 1.0625rem; color: rgba(0,0,0,.55);
  max-width: 600px; line-height: 1.7;
  margin-bottom: 48px;
}
.section-dark .section-desc { color: rgba(255,255,255,.55); }

/* ===== FORMATION CARDS ===== */
.formations-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.formation-card {
  background: #fff; border: 1px solid var(--rush-mist);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: all .3s; display: flex; flex-direction: column;
}
.formation-card:hover { border-color: var(--rush-primary); box-shadow: var(--shadow-card); }
.formation-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--rush-mist); color: var(--rush-primary);
  padding: 4px 12px; border-radius: 99px; font-size: .75rem; font-weight: 700;
  align-self: flex-start; margin-bottom: 16px;
}
.formation-badge .icon { width: 16px; height: 16px; }
.formation-level {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(196,148,241,.15); color: var(--rush-graphite);
  padding: 4px 12px; border-radius: 99px; font-size: .75rem; font-weight: 700;
  align-self: flex-start; margin-bottom: 16px;
}
.formation-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.formation-subtitle { font-size: .875rem; color: rgba(0,0,0,.5); margin-bottom: 16px; }
.formation-desc { font-size: .9375rem; color: rgba(0,0,0,.65); line-height: 1.6; margin-bottom: 24px; flex: 1; }
.formation-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ===== WHY SECTION ===== */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--rush-mist); border-radius: var(--radius); padding: 32px;
  transition: all .3s;
}
.why-card:hover { box-shadow: var(--shadow-soft); }
.why-icon {
  width: 40px; height: 40px; margin-bottom: 24px;
  color: var(--rush-primary);
}
.why-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .9375rem; color: rgba(0,0,0,.55); line-height: 1.6; }

/* ===== ALUMNI / TESTIMONIALS ===== */
.alumni-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px;
  transition: all .3s;
}
.testimonial-card:hover { border-color: rgba(196,148,241,.4); }
.testimonial-quote {
  font-size: 1.0625rem; line-height: 1.7;
  color: rgba(255,255,255,.85); margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { font-weight: 800; }
.testimonial-role { font-size: .8125rem; color: var(--rush-light); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.testimonial-current { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ===== MARQUEE / PARTNERS ===== */
.marquee-section { background: var(--rush-mist); overflow: hidden; }
.marquee-track {
  display: flex; gap: 48px; align-items: center;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-item {
  flex-shrink: 0; display: flex; align-items: center; gap: 12px;
  padding: 16px 24px; background: white; border-radius: 12px;
  box-shadow: var(--shadow-soft); font-weight: 700; font-size: 1rem;
}
.marquee-item::before {
  content: ''; display: block; width: 32px; height: 32px;
  background: var(--rush-mist); border-radius: 8px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 96px 0; text-align: center;
  background: var(--rush-mist);
}
.cta-section h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.0625rem; color: rgba(0,0,0,.55); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--rush-night); color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-desc { font-size: .9375rem; line-height: 1.7; margin: 16px 0; }
.footer-cert { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: var(--rush-primary); font-weight: 600; }
.footer-col h4 {
  color: white; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .9375rem; color: rgba(255,255,255,.7); }
.footer-col ul a:hover { color: var(--rush-light); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.footer-contact li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--rush-primary); }
.footer-social { margin-top: 24px; }
.footer-social span { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: white; display: block; margin-bottom: 12px; }
.social-links { display: flex; gap: 8px; }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.6);
  transition: all .3s;
}
.social-links a:hover { background: white; color: var(--rush-graphite); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .8125rem;
}
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav a { color: rgba(255,255,255,.5); }
.footer-bottom nav a:hover { color: var(--rush-light); }

/* ===== WHATSAPP WIDGET ===== */
.whatsapp-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 12px;
}
.whatsapp-toggle {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--gradient-rush); color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 20px rgba(196,148,241,.4);
  position: relative; transition: transform .3s;
}
.whatsapp-toggle:hover { transform: scale(1.05); }
.whatsapp-toggle.whatsapp-open svg { transform: rotate(45deg); }
.whatsapp-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #ef4444; color: white; font-size: .625rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.whatsapp-badge::before {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%; background: #ef4444; opacity: .3;
  animation: ping 1.5s ease-in-out infinite;
}
@keyframes ping {
  75%, 100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-bubble {
  display: none; width: 340px;
  background: white; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  overflow: hidden; animation: fade-up .3s ease-out both;
}
.whatsapp-bubble.open { display: block; }
.whatsapp-bubble-header {
  background: var(--gradient-rush); color: white;
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.whatsapp-bubble-header img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.whatsapp-bubble-header div { flex: 1; font-size: .8125rem; line-height: 1.3; }
.whatsapp-bubble-header strong { display: block; font-size: .9375rem; }
.online-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; margin-right: 4px; }
.whatsapp-close {
  background: none; border: none; color: white; font-size: 1.5rem;
  cursor: pointer; line-height: 1; padding: 0;
}
.whatsapp-bubble-body { padding: 16px 20px; }
.whatsapp-msg {
  background: #f1f5f9; border-radius: 8px 8px 8px 0;
  padding: 12px 16px; font-size: .875rem; line-height: 1.6;
  color: var(--rush-graphite);
}
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center;
  margin: 0 20px 16px; padding: 12px; border-radius: 999px;
  background: #25d366; color: white; font-weight: 700; font-size: .875rem;
  transition: opacity .3s;
}
.whatsapp-btn:hover { opacity: .9; color: white; }
.whatsapp-footer {
  text-align: center; padding: 12px; font-size: .6875rem;
  color: rgba(0,0,0,.4); border-top: 1px solid #f1f5f9;
  font-weight: 600;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--gradient-hero); color: white;
  padding: 120px 0 64px; position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--rush-light); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; margin-bottom: 16px;
}
.page-hero-label svg { width: 16px; height: 16px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1; margin-bottom: 16px; }
.page-hero h1 .text-gradient { background: var(--gradient-rush); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { font-size: 1.0625rem; color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.7; }
.page-hero-glows {
  position: absolute; inset: 0; overflow: hidden; z-index: 1;
}
.page-hero-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  filter: blur(80px); opacity: .15;
  background: var(--gradient-rush);
}
.page-hero-glow:nth-child(1) { top: -100px; right: -80px; }
.page-hero-glow:nth-child(2) { bottom: -100px; left: -80px; }

/* ===== FORMS ===== */
.form-container { max-width: 640px; margin: 0 auto; }
.form-card {
  background: white; border: 1px solid var(--rush-mist);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  margin-bottom: 6px; color: var(--rush-graphite);
}
.form-group label .required { color: #ef4444; }
.form-input, .form-select, .form-textarea {
  display: block; width: 100%; height: 44px;
  padding: 0 16px; border: 1px solid #e2e8f0;
  border-radius: 12px; font-family: inherit; font-size: .9375rem;
  color: var(--rush-graphite); background: white;
  transition: border-color .3s, box-shadow .3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--rush-primary);
  box-shadow: 0 0 0 3px rgba(196,148,241,.15);
}
.form-textarea { height: 120px; padding: 12px 16px; resize: vertical; }
.form-input.error, .form-select.error, .form-textarea.error { border-color: #ef4444; }
.form-error { font-size: .75rem; color: #ef4444; margin-top: 4px; }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; background: var(--gradient-rush); -webkit-background-clip: text; background-clip: text; color: transparent; }
.form-success p { font-size: .9375rem; color: rgba(0,0,0,.55); margin-bottom: 24px; line-height: 1.6; }
.form-submit { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== STAFF GRID ===== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}
.staff-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}
.staff-card:hover {
    transform: translateY(-6px);
}

.staff-photo {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
}
.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.staff-role {
    color: #777;
    margin-bottom: 16px;
    font-weight: 500;
}
.staff-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.staff-tag {
    background: #f3f3f3;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}
.staff-quote {
    line-height: 1.7;
    color: #444;
    font-size: 0.96rem;
}

/* ===== EVENTS GRID ===== */
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.event-card {
  border-radius: var(--radius); padding: 32px;
  transition: all .3s; position: relative; overflow: hidden;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.event-date { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; opacity: .7; }
.event-card h3 { font-size: 1.25rem; font-weight: 800; }

/* ===== DETAILED FORMATION PAGE ===== */
.formation-detail {
  padding: 64px 0;
}
.formation-detail .container { max-width: 800px; }
.formation-detail h2 {
  font-size: 1.5rem; font-weight: 800; margin: 40px 0 16px;
}
.formation-detail h2:first-child { margin-top: 0; }
.formation-detail ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.formation-detail ul li { margin-bottom: 8px; font-size: .9375rem; color: rgba(0,0,0,.65); line-height: 1.6; }
.formation-detail p { font-size: .9375rem; color: rgba(0,0,0,.65); line-height: 1.7; margin-bottom: 16px; }
.skills-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.skill-chip {
  background: var(--rush-mist); padding: 10px 16px;
  border-radius: 99px; font-size: .875rem; font-weight: 600;
  color: var(--rush-graphite); text-align: center;
}
.info-box {
  background: var(--rush-mist); border-radius: var(--radius);
  padding: 24px; margin-bottom: 24px;
}
.info-box h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.info-box h3 svg { width: 20px; height: 20px; color: var(--rush-primary); }

/* ===== ALTERNANCE PAGE ===== */
.alt-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--rush-night) 0%, hsl(240, 25%, 15%) 100%);
  color: white; position: relative; overflow: hidden;
}
.alt-hero .container { position: relative; z-index: 2; }
.alt-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1; margin-bottom: 16px; }
.alt-hero h1 .text-gradient { background: var(--gradient-rush); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alt-hero p { font-size: 1.0625rem; color: rgba(255,255,255,.7); max-width: 560px; line-height: 1.7; }
.alt-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px; margin: 48px 0;
}
.alt-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px;
  transition: all .3s;
}
.alt-card:hover { border-color: rgba(196,148,241,.4); }
.alt-card-icon { width: 40px; height: 40px; color: var(--rush-primary); margin-bottom: 20px; }
.alt-card h3 { font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 8px; }
.alt-card p { font-size: .9375rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ===== JPO ASIDE ===== */
.jpo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.jpo-aside { position: sticky; top: 96px; }
.jpo-aside h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }
.jpo-date-card {
  display: flex; gap: 16px; padding: 16px 20px;
  background: var(--rush-mist); border-radius: 12px;
  margin-bottom: 12px; align-items: center;
}
.jpo-date-icon { width: 40px; height: 40px; background: white; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.jpo-date-icon svg { width: 20px; height: 20px; color: var(--rush-primary); }
.jpo-date-info strong { display: block; font-size: .9375rem; }
.jpo-date-info span { font-size: .8125rem; color: rgba(0,0,0,.5); }
.jpo-date-info .place { color: var(--rush-primary); font-weight: 600; }

/* ===== TOAST ===== */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 16px 20px; border-radius: 12px;
  font-size: .875rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  animation: fade-up .3s ease-out both;
  max-width: 400px;
}
.toast-success { background: #065f46; color: white; }
.toast-error { background: #991b1b; color: white; }

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up .7s ease-out both; }
.animate-fade-up-d1 { animation: fade-up .7s ease-out .1s both; }
.animate-fade-up-d2 { animation: fade-up .7s ease-out .2s both; }
.animate-fade-up-d3 { animation: fade-up .7s ease-out .3s both; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .jpo-layout { grid-template-columns: 1fr; }
  .jpo-aside { position: static; }
}


@media (max-width: 992px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.mobile-menu {
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .formations-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .alumni-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .whatsapp-bubble { width: calc(100vw - 48px); right: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .formation-detail { padding: 40px 0; }
}

/* ===== LOADING SPINNER ===== */
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white; border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
