/* =========================
   RESET & BASE (MOBILE FIRST)
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --c1: #67ABDA;
  --c2: #4A88BE;
  --c3: #1F5885;
  --c4: #273856;
  --c5: #032241;
  --c6: #040E23;
}

body {
  background: #f5f7fa;
  color: #1f2933;
  line-height: 1.6;
}

/* =========================
   GLOBAL CONTAINER (SAFE SIDES)
========================= */
.section,
.header-content,
.hero-content,
.footer {
  max-width: 1200px;
  margin-inline: auto;
}

/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c4);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
}

.logo {
  height: 38px;
}

/* =========================
   NAVIGATION
========================= */
.nav-desktop {
  display: none;
}

/* Burger */
.burger {
  width: 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  height: 3px;
  width: 100%;
  background: var(--c1);
  border-radius: 2px;
  transition: transform .4s ease, opacity .3s ease;
}

/* Burger active */
.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c5);
  display: flex;
  flex-direction: column;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s ease, opacity .4s ease;
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.1);
  font-weight: 600;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  background: url("../images/ndc.webp") center/cover no-repeat;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px 18px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,14,35,.9),
    rgba(31,88,133,.7)
  );
}

.hero-content {
  position: relative;
  max-width: 680px;
  width: 100%;
  animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 1.9rem;
  margin-bottom: 14px;
}

.hero p {
  opacity: .9;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* CTA */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #032241;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 60px 18px;
}

.section h2 {
  text-align: center;
  color: var(--c3);
  margin-bottom: 35px;
  font-size: 1.6rem;
}

.section.alt {
  background: #eef3f8;
}

/* =========================
   CARDS / STEPS
========================= */
.cards,
.steps {
  display: grid;
  gap: 22px;
}

.card,
.step {
  background: #fff;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  border-left: 5px solid var(--c2);
}

/* =========================
   CTA
========================= */
.cta {
  background: linear-gradient(135deg, var(--c3), var(--c5));
  color: #fff;
  text-align: center;
  padding: 70px 18px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: var(--c6);
  color: rgba(255,255,255,.75);
  text-align: center;
  padding: 28px 18px;
  font-size: 13px;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.whatsapp {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #25d366;
  color: #fff;
  font-size: 22px;
  padding: 13px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.3);
}

/* =========================
   TABLET ≥ 768px
========================= */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 70px 24px;
  }
}

/* =========================
   DESKTOP ≥ 1024px
========================= */
@media (min-width: 1024px) {
  .nav-desktop {
    display: block;
  }

  .nav-desktop a {
    color: #fff;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 600;
  }

  .burger,
  .nav-mobile {
    display: none !important;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   SCROLL ANIMATION
========================= */
.card,
.step {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .7s ease, transform .7s ease;
}

.card.show,
.step.show {
  opacity: 1;
  transform: translateX(0);
}

.cards .card:nth-child(even),
.steps .step:nth-child(even) {
  transform: translateX(60px);
}

.cards .card:nth-child(even).show,
.steps .step:nth-child(even).show {
  transform: translateX(0);
}