/* ============================================================
   DNA Europe Vocational Training — Brand Stylesheet
   Palette: Navy #1E2A7A · Gold #F5C400/#FFD700 · Black · White
   ============================================================ */

:root {
  --navy: #1E2A7A;
  --navy-dark: #16205e;
  --navy-deep: #101743;
  --gold: #F5C400;
  --eu-blue: #003399;
  --eu-blue-bright: #1a4fd6;
  --gold-bright: #FFD700;
  --black: #000000;
  --white: #ffffff;
  --ink: #1a1f36;
  --grey: #5a607a;
  --grey-light: #eef0f7;
  --bg-soft: #f7f8fc;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(16, 23, 67, 0.10);
  --shadow-lg: 0 18px 50px rgba(16, 23, 67, 0.18);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; }
p  { color: var(--grey); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(245, 196, 0, 0.18);
  border: 1px solid rgba(245, 196, 0, 0.45);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: #dfe7ff;
  box-shadow: 0 10px 26px rgba(245, 196, 0, 0.45);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-dark);
  box-shadow: 0 10px 26px rgba(30, 42, 122, 0.38);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo img { height: 50px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  border-radius: 2px;
  background: var(--eu-blue);
  transition: width .22s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--navy); }

.nav-cta {
  background: var(--eu-blue);
  color: var(--white) !important;
  font-weight: 700;
  padding: 11px 22px !important;
  border-radius: 999px;
  transition: background .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { background: var(--eu-blue-bright); box-shadow: 0 8px 20px rgba(0,51,153,.35); }
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16,23,67,0.92) 18%, rgba(30,42,122,0.62) 60%, rgba(16,23,67,0.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 110px;
  max-width: 760px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--white); border-bottom: 4px solid var(--eu-blue-bright); }
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  max-width: 600px;
  margin-bottom: 34px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (interior pages) */
.page-hero { padding: 84px 0 72px; }
.page-hero .hero-inner { padding: 0; }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
  text-align: center;
}
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
}

/* ---------- Cards ---------- */
.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; }

.card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 196, 0, 0.6);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }
.card .card-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--grey-light);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--navy);
}
.card .card-link:hover { color: var(--eu-blue); }

.card-icon {
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 20px;
}

/* Photo cards (sectors, gallery) */
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform .2s ease, box-shadow .2s ease;
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.photo-card:hover img { transform: scale(1.06); }
.photo-card .photo-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 36px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--eu-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  padding-left: 36px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 1rem;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--eu-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checklist li strong { color: var(--navy); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: 2px; }
.quote-text { color: var(--ink); font-size: 1rem; font-style: italic; }
.quote-author { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.quote-author span { display: block; font-weight: 500; color: var(--grey); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery .photo-card { aspect-ratio: 1 / 1; }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 70%);
  color: var(--white);
  text-align: center;
  padding: 84px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "★";
  position: absolute;
  font-size: 26rem;
  color: rgba(255, 215, 0, 0.06);
  right: -60px; top: -90px;
  pointer-events: none;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 32px; font-size: 1.08rem; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 42px;
  max-width: 760px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid #d6dae8;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 42, 122, 0.12);
  background: var(--white);
}
.form-card .btn { width: 100%; margin-top: 22px; }
.form-note { font-size: 0.84rem; color: var(--grey); margin-top: 14px; text-align: center; }
.hidden { display: none; }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { text-align: center; }
.contact-card .card-icon { margin: 0 auto 18px; }
.contact-card a { font-weight: 700; }
.contact-card a:hover { color: var(--eu-blue); }

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--navy-deep, #101a52) 0%, #0d1440 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, 0.75); transition: color .15s ease; }
.footer a:hover { color: var(--white); }

.footer-logo-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-block;
  margin-bottom: 18px;
}
.footer-logo-card img { height: 56px; width: auto; }
.footer-tagline { max-width: 300px; color: rgba(255,255,255,.7); }

.footer-eu {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 30px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-eu-logos { display: flex; gap: 14px; align-items: center; }
.footer-eu-logos .eu-card {
  background: var(--white);
  border-radius: 8px;
  padding: 8px 12px;
}
.footer-eu-logos img { height: 40px; width: auto; }
.footer-eu p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); max-width: 760px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .grid-3, .grid-4, .steps, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 84px 0 76px; }
  .grid-2, .grid-3, .grid-4, .steps, .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .nav-cta { margin-top: 10px; text-align: center; width: 100%; }
}

@media (max-width: 478px) {
  .gallery { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Slogan */
.footer-slogan { font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: .2px; }

/* ---------- Motion upgrades ---------- */
.card, .photo-card, .quote-card, .contact-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover, .quote-card:hover, .contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(15, 23, 60, 0.14);
}
.photo-card { overflow: hidden; }
.photo-card:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 18px 36px rgba(15, 23, 60, 0.16); }
.photo-card img { transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.06); }

.stat-num { transition: transform .3s ease; }
.stats-grid > div:hover .stat-num { transform: scale(1.12); }

.card-icon { transition: transform .35s ease; }
.card:hover .card-icon { transform: rotate(-6deg) scale(1.1); }

.btn { transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }

.hero-badge { animation: badge-float 4s ease-in-out infinite; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-bg { animation: hero-zoom 18s ease-in-out infinite alternate; }
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero-bg { animation: none; }
  .card, .photo-card, .quote-card, .contact-card, .btn, .stat-num, .card-icon { transition: none; }
}

/* EU credentials */
.footer-ids { color: rgba(255,255,255,.75); font-size: .88rem; margin-top: 8px; letter-spacing: .3px; }
.footer-ids strong { color: rgba(255,255,255,.95); }

/* Video section */
.video-wrap { display: flex; justify-content: center; margin-top: 34px; }
.video-wrap iframe {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 60, 0.18);
}
