/* =========================================================
   NEXT LEARN CENTER — Main Stylesheet
   www.nextlearncenter.com
   ========================================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --orange:        #E8771A;
  --orange-dark:   #C25E0A;
  --orange-light:  #F2A96A;
  --orange-pale:   #FEF0E4;
  --dark:          #2D2D2D;
  --gray:          #555555;
  --gray-light:    #888888;
  --bg-light:      #F5F5F5;
  --bg-white:      #FFFFFF;
  --border:        #E5E5E5;

  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;

  --radius:        8px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,.16);
  --transition:    all .3s ease;
  --nav-height:    72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p  { font-size: 1rem; color: var(--gray); }

.text-orange  { color: var(--orange); }
.text-center  { text-align: center; }
.text-white   { color: #fff; }

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,119,26,.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,119,26,.45);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: .82rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }

/* ====================================================
   NAVIGATION
   ==================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--dark);
  text-transform: uppercase;
}
.navbar.scrolled .nav-logo-text .brand-name { color: var(--dark); }
.navbar:not(.scrolled) .nav-logo-text .brand-name { color: #fff; }
.nav-logo-text .brand-name { display: flex; flex-direction: column; }
.nav-logo-text .brand-name .brand-word { display: block; line-height: 1.15; }
.nav-logo-text .brand-name .brand-learn { color: var(--orange); }

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  color: rgba(255,255,255,.88);
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--dark); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: var(--orange); }
.navbar.scrolled .nav-link:hover { color: var(--orange); }
.nav-link.active { color: var(--orange); }

.nav-cta { margin-left: 12px; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-hamburger span { background: var(--dark); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { color: var(--dark); font-size: .95rem; padding: 12px 16px; }
.nav-mobile .nav-link:hover { background: var(--orange-pale); color: var(--orange); }
.nav-mobile .nav-cta { margin: 12px 0 0; }
.nav-mobile .btn { width: 100%; justify-content: center; }

/* ====================================================
   HERO
   ==================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,119,26,.22) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(242,169,106,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,119,26,.15);
  border: 1px solid rgba(232,119,26,.35);
  color: var(--orange-light);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 span { color: var(--orange); }
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; justify-content: center; }

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.hero-stat { text-align: center; }
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-number span { color: var(--orange); }
.hero-stat .stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  letter-spacing: .04em;
}
.hero-divider {
  width: 1px;
  background: rgba(255,255,255,.18);
  align-self: stretch;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 45%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,119,26,.18) 0%, transparent 70%);
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--orange-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ====================================================
   CARDS
   ==================================================== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Feature cards */
.feature-card {
  padding: 40px 32px;
  text-align: center;
}
.feature-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  background: var(--orange-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  transition: var(--transition);
}
.card:hover .feature-icon {
  background: var(--orange);
  transform: scale(1.08);
}
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: .95rem; text-align: justify; }

/* Formation cards */
.formation-card { display: flex; flex-direction: column; }
.formation-card-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.formation-card-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.formation-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.formation-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.badge-tech    { background: #EEF2FF; color: #4F46E5; }
.badge-mkt     { background: #F0FDF4; color: #16A34A; }
.badge-data    { background: #FFF7ED; color: var(--orange-dark); }
.badge-design  { background: #FDF4FF; color: #9333EA; }
.badge-mgmt    { background: #F0F9FF; color: #0369A1; }
.badge-cyber   { background: #FFF1F2; color: #BE123C; }

.formation-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.formation-card p  { font-size: .9rem; flex: 1; margin-bottom: 20px; }
.formation-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray);
}
.meta-item .meta-icon { font-size: .9rem; }
.formation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.formation-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}
.formation-price small {
  font-size: .7rem;
  color: var(--gray-light);
  font-weight: 400;
  display: block;
}

/* Team cards */
.team-card {
  padding: 36px 28px;
  text-align: center;
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-role {
  font-size: .85rem;
  color: var(--orange);
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}
.team-bio { font-size: .88rem; }

/* Value cards */
.value-card {
  padding: 36px 28px;
  border-top: 4px solid var(--orange);
}
.value-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}
.value-card h3 { margin-bottom: 12px; }

/* Testimonial cards */
.testimonial-card { padding: 36px 32px; }
.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-info .author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--dark);
}
.author-info .author-role {
  font-size: .8rem;
  color: var(--gray-light);
}

/* ====================================================
   GRIDS
   ==================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ====================================================
   SECTIONS — specific styles
   ==================================================== */

/* Why NLC */
.why-section { background: var(--bg-light); }

/* Stats section */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-number span { color: var(--orange); }
.stat-box .stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: var(--font-heading);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
}

/* Partners */
.partners-section { background: var(--bg-light); padding: 64px 0; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .82rem;
  color: var(--gray);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.partner-logo:hover {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 36px; }
.cta-banner .btn-cta-white {
  background: #fff;
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 100px;
  transition: var(--transition);
  display: inline-block;
  font-size: .95rem;
}
.cta-banner .btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.2);
}
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====================================================
   FORMATIONS PAGE
   ==================================================== */
.formations-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.formations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Sidebar */
.sidebar-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.sidebar-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .9rem;
}
.sidebar-contact-item .sc-icon {
  width: 36px; height: 36px;
  background: var(--orange-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.sidebar-contact-item .sc-info strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.sidebar-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-light);
  color: var(--gray);
}
.sidebar-highlights li::before {
  content: '✓';
  width: 22px; height: 22px;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-intro-visual {
  position: relative;
  height: 480px;
}
.about-visual-block {
  position: absolute;
  border-radius: var(--radius-lg);
}
.about-visual-main {
  width: 78%; height: 85%;
  top: 0; left: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.about-visual-accent {
  width: 45%; height: 48%;
  bottom: 0; right: 0;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.about-intro-text .section-label { margin-bottom: 12px; }
.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p { margin-bottom: 16px; line-height: 1.8; }
.about-intro-text .btn { margin-top: 12px; }

.checklist { margin: 20px 0; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .95rem;
  color: var(--gray);
}
.checklist li .check-icon {
  width: 24px; height: 24px;
  background: var(--orange-pale);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.cert-logo {
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.cert-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cert-card p { font-size: .85rem; }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Form */
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  margin: 0;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--orange);
  cursor: pointer;
  border: none;
  box-shadow: none;
}
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--dark);
  background: #fff;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,119,26,.12);
}
.form-group input:not([type="checkbox"]).error,
.form-group select.error,
.form-group textarea.error { border-color: #DC2626; }
.form-error-msg {
  font-size: .78rem;
  color: #DC2626;
  margin-top: 6px;
  display: none;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius);
  padding: 16px 20px;
  color: #16A34A;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  margin-top: 20px;
  text-align: center;
}

/* Contact info */
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: var(--transition);
}
.contact-info-item:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.ci-icon {
  width: 52px; height: 52px;
  background: var(--orange-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ci-text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 4px;
}
.ci-text p { font-size: .9rem; color: var(--gray); margin: 0; }
.ci-text a { color: var(--orange); }
.ci-text a:hover { text-decoration: underline; }

.map-placeholder {
  height: 240px;
  background: linear-gradient(135deg, #e8f4f8, #d1e8f0);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #B0D4E3;
  color: #4A90A4;
  font-family: var(--font-heading);
  font-weight: 600;
  gap: 12px;
  margin-top: 16px;
}
.map-placeholder .map-pin { font-size: 2.4rem; }
.map-placeholder p { font-size: .9rem; color: #4A90A4; }

/* FAQ */
.faq-section { background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  background: none;
}
.faq-question:hover { color: var(--orange); }
.faq-item.open .faq-question { color: var(--orange); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 300;
  transition: var(--transition);
  color: var(--gray);
}
.faq-item.open .faq-icon {
  background: var(--orange);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}
.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo { margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; max-width: 280px; margin-bottom: 28px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  color: rgba(255,255,255,.6);
}
.social-btn:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-links a::before { content: '›'; color: var(--orange); font-size: 1rem; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .9rem;
}
.footer-contact-item .fci-icon {
  color: var(--orange);
  font-size: .95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--orange); }

/* ====================================================
   SCROLL REVEAL ANIMATIONS
   ==================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.85); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
  animation: fadeInUp .7s ease both;
}
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .25s; }
.hero-content > *:nth-child(3) { animation-delay: .4s; }
.hero-content > *:nth-child(4) { animation-delay: .55s; }
.hero-content > *:nth-child(5) { animation-delay: .7s; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .formations-layout { grid-template-columns: 1fr; }
  .formations-layout .sidebar { order: -1; }
  .formations-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro-visual { height: 300px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }
  .nav-menu, .nav-cta.desktop-only { display: none; }
  .nav-hamburger { display: flex; }

  .hero { min-height: 100svh; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-divider { display: none; }
  .hero-stat .stat-number { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: center; }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .formations-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }

  .contact-form-card { padding: 32px 24px; }
  .section-header { margin-bottom: 36px; }
  .about-intro { gap: 40px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: .78rem; }
}

/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
#back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(232, 119, 26, 0.40);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, background .2s ease, box-shadow .2s ease;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--orange-dark);
  box-shadow: 0 10px 32px rgba(232, 119, 26, 0.55);
  transform: translateY(-3px);
}
#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
