@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --navy: #0A1628;
  --red: #CC1F1F;
  --red-dark: #A01818;
  --gold: #F5A623;
  --white: #FFFFFF;
  --light: #F4F6FA;
  --gray: #6B7280;
  --border: #E5E7EB;
  --green: #16A34A;
  --green-dark: #15803D;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--navy); background: var(--white); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.5px;
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: 4px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* ── PAGE WRAPPER ── */
.page { padding-top: 64px; min-height: 100vh; }

/* ── SECTIONS ── */
.section { padding: 70px 5%; }
.section-alt { background: var(--light); }
.section-dark { background: var(--navy); }

.section-label {
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.section-dark .section-label { color: var(--gold); }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--navy); line-height: 1.15;
  margin-bottom: 0.8rem;
}
.section-dark .section-title { color: var(--white); }

.section-sub {
  font-size: 0.95rem; color: var(--gray);
  line-height: 1.7; max-width: 560px; margin-bottom: 2.5rem;
}
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 0.85rem 2rem; border-radius: 4px; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-full { width: 100%; text-align: center; }

/* ── FORM STYLES ── */
.form-card {
  background: var(--white); border-radius: 12px;
  padding: 2.5rem; border: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px; font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--navy); background: var(--white);
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,31,31,0.08);
}

.form-submit {
  width: 100%; padding: 1rem; border: none;
  border-radius: 6px; font-size: 1rem; font-weight: 700;
  cursor: pointer; font-family: 'Oswald', sans-serif;
  letter-spacing: 1px; text-transform: uppercase;
  transition: all 0.2s; margin-top: 0.5rem;
}

/* ── ALERT MSGS ── */
.alert {
  display: none; padding: 0.9rem 1.1rem;
  border-radius: 6px; margin-top: 1rem;
  font-size: 0.88rem; font-weight: 500;
}
.alert-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.alert-error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--navy); padding: 1.8rem 5%;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.contact-item { display: flex; align-items: center; gap: 0.75rem; color: var(--white); }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--gold); font-size: 1rem; flex-shrink: 0;
}
.contact-item p { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.contact-item strong { font-size: 0.9rem; display: block; }

/* ── FOOTER ── */
footer { background: #060D1A; padding: 3rem 5% 1.5rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h2 { font-family: 'Oswald', sans-serif; color: var(--white); font-size: 1.2rem; margin-bottom: 0.7rem; }
.footer-brand h2 span { color: var(--gold); }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 0.5rem; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 0.9rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.76rem; color: rgba(255,255,255,0.3); }
.footer-bottom strong { color: var(--gold); }

/* ── SESSION LOG ── */
.session-log { margin-top: 1.5rem; }
.session-log h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 0.8rem; }
.log-entry {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0.85rem 1rem; margin-bottom: 0.5rem;
  font-size: 0.82rem; position: relative;
}
.log-entry .le-name { font-weight: 600; color: var(--navy); }
.log-entry .le-detail { color: var(--gray); font-size: 0.76rem; margin-top: 0.15rem; }
.log-entry .le-time { color: var(--red); font-size: 0.75rem; margin-top: 0.15rem; }
.le-badge {
  display: inline-block; padding: 0.15rem 0.5rem;
  border-radius: 10px; font-size: 0.68rem; font-weight: 700;
  position: absolute; top: 0.85rem; right: 1rem;
}
.le-badge.active { background: rgba(22,163,74,0.12); color: #16A34A; }
.le-badge.done { background: rgba(107,114,128,0.12); color: var(--gray); }

/* ── PORTAL PAGE SPECIFIC ── */
.portal-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2040 100%);
  padding: 3rem 5% 2.5rem;
  text-align: center;
}
.portal-hero h1 { font-family: 'Oswald', sans-serif; font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.portal-hero h1 span { color: var(--gold); }
.portal-hero p { color: rgba(255,255,255,0.55); font-size: 0.92rem; }

.portal-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.portal-tab {
  padding: 0.9rem 2rem; font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none; background: none;
  color: var(--gray); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.portal-tab.active { color: var(--red); border-bottom-color: var(--red); }
.portal-tab:hover { color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .portal-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .contact-strip { flex-direction: column; }
}
