:root {
  --primary: #1A3A6E;
  --primary-dark: #10294f;
  --accent: #F97316;
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --soft: #f8fafc;
}

/* Shared layout and brand primitives. */
* {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header and navigation states. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}

.logo-mark {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  box-shadow: 0 10px 24px rgb(26 58 110 / 18%);
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links.is-open {
  display: flex;
  position: absolute;
  inset-inline: 1rem;
  top: 5rem;
  flex-direction: column;
  gap: 0.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgb(15 23 42 / 12%);
}

.nav-links.is-open a {
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.nav-links.is-open a:hover {
  background: #fff7ed;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  content: "";
  left: 0;
}

.menu-icon::before {
  top: -0.4rem;
}

.menu-icon::after {
  top: 0.4rem;
}

/* Reusable sections, buttons and cards. */
.hero-section {
  position: relative;
  min-height: calc(100vh - 4.75rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(16 41 79 / 92%) 0%, rgb(26 58 110 / 78%) 52%, rgb(15 23 42 / 38%) 100%),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero {
  background:
    linear-gradient(90deg, rgb(16 41 79 / 95%), rgb(26 58 110 / 78%)),
    url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.section-pad {
  padding-block: 4rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 30px rgb(249 115 22 / 22%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ea580c;
  box-shadow: 0 18px 36px rgb(249 115 22 / 30%);
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.feature-card,
.course-card,
.info-panel {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: var(--surface);
  box-shadow: 0 12px 32px rgb(15 23 42 / 6%);
}

.feature-card,
.course-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card:hover,
.course-card:hover {
  transform: translateY(-4px);
  border-color: rgb(249 115 22 / 45%);
  box-shadow: 0 20px 44px rgb(15 23 42 / 10%);
}

.icon-box {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--accent);
  background: #fff7ed;
  font-weight: 900;
}

.form-field {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(249 115 22 / 14%);
}

.footer-link {
  transition: color 180ms ease;
}

.footer-link:hover {
  color: #fdba74;
}

/* Floating contact action shown on every page. */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #25D366;
  box-shadow: 0 16px 32px rgb(37 211 102 / 35%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 40px rgb(37 211 102 / 42%);
}

.whatsapp-float svg {
  width: 1.7rem;
  height: 1.7rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-block: 5.5rem;
  }
}
