/* ============================================================
   4FRONT EMERGENCY TRAINING CENTER  —ndash;  SHARED STYLESHEET
   UPDATE EMAIL: Replace 4frontetc@gmail.com with info@4frontetc.com
   when Google Workspace is live
   ============================================================ */

:root {
  --navy:        #0D1F4E;
  --navy-deep:   #080f2a;
  --navy-mid:    #0a1a3a;
  --green:       #2ECC40;
  --green-dark:  #1A7A26;
  --blue:        #1E7BC4;
  --blue-dark:   #1560A0;
  --red:         #E8231A;
  --gold:        #C9921A;
  --off-white:   #F4F1EC;
  --stone:       #6B7A74;
  --near-black:  #0F1A14;
  --grad-ombre:  linear-gradient(135deg, var(--green) 0%, var(--blue) 50%, var(--red) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy-deep);
  color: var(--off-white);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

.section p, .page-sub, .program-body p, .prose p, p.body-text {
  text-align: justify;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
.display { font-family: 'Bebas Neue', Impact, sans-serif; letter-spacing: 0.04em; line-height: 0.92; }
.label   { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.subhead { font-family: 'Rajdhani', sans-serif; font-weight: 600; letter-spacing: 0.04em; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,15,42,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,123,196,0.2);
  padding: 0 2rem; height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; }

.nav-logo img { height: 38px; width: auto; }

.nav-wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.1em; line-height: 1; }
.nav-wordmark span.g { color: var(--green); }
.nav-wordmark .sub {
  font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(244,241,236,0.5); display: block; margin-top: 1px;
}

.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a {
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,241,236,0.7); transition: color 0.2s;
}
.nav-links a:hover { color: var(--off-white); }
.nav-links a.active { color: var(--green); }

.nav-cta {
  background: var(--green) !important; color: var(--navy) !important;
  padding: 8px 20px !important; border-radius: 3px; font-weight: 700 !important;
}
.nav-cta:hover { background: #25a833 !important; }

/* BUTTONS */
.btn-primary {
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--green); color: var(--navy);
  padding: 14px 32px; border-radius: 3px; border: none;
  cursor: pointer; display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #25a833; transform: translateY(-1px); }

.btn-secondary {
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--off-white);
  padding: 13px 32px; border-radius: 3px;
  border: 1.5px solid rgba(244,241,236,0.3);
  cursor: pointer; display: inline-block; transition: border-color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: rgba(244,241,236,0.7); transform: translateY(-1px); }

.btn-blue {
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--blue); color: white;
  padding: 14px 32px; border-radius: 3px; border: none;
  cursor: pointer; display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* PAGE HEADER (interior pages) */
.page-header {
  padding: 8rem 4rem 4rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(30,123,196,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(30,123,196,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-header-inner { position: relative; z-index: 1; max-width: 700px; }
.page-eyebrow { color: var(--green); margin-bottom: 0.75rem; }
.page-title { font-size: clamp(52px, 7vw, 80px); color: var(--off-white); margin-bottom: 1rem; }
.page-sub { font-size: 18px; color: rgba(244,241,236,0.65); max-width: 560px; line-height: 1.65; }

/* SECTIONS */
.section { padding: 5rem 4rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { color: var(--green); margin-bottom: 0.75rem; }
.section-title { font-size: clamp(38px, 5vw, 52px); color: var(--off-white); margin-bottom: 0.5rem; }
.section-sub { font-size: 17px; color: rgba(244,241,236,0.6); max-width: 560px; margin-bottom: 3rem; }

/* DIVIDERS */
.divider { height: 1px; background: linear-gradient(to right, transparent, rgba(30,123,196,0.3), rgba(46,204,64,0.3), transparent); margin: 0 4rem; }
.ombre-line { height: 2px; background: var(--grad-ombre); opacity: 0.4; }

/* TRUST BAR */
.trust-bar {
  background: var(--blue); padding: 0.75rem 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.trust-item {
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(244,241,236,0.9); display: flex; align-items: center; gap: 8px;
}
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(244,241,236,0.5); flex-shrink: 0; }

/* CREDENTIALS BAR */
.cred-bar {
  padding: 1.75rem 4rem;
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cred-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(244,241,236,0.4);
}
.cred-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cred-dot.green { background: var(--green); }
.cred-dot.blue  { background: var(--blue); }
.cred-dot.red   { background: var(--red); }
.cred-dot.gold  { background: var(--gold); }

/* FOOTER */
.footer {
  background: #050c1a; padding: 1.75rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid rgba(30,123,196,0.15);
}
.footer-left, .footer-right {
  font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; color: rgba(244,241,236,0.3);
}
.footer-right a { color: var(--blue); }
.footer-right a:hover { color: var(--off-white); }

/* COMING SOON BADGE */
.coming-soon {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(232,35,26,0.15); color: var(--red);
  padding: 4px 10px; border-radius: 2px;
  border: 1px solid rgba(232,35,26,0.3);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section, .page-header { padding: 3rem 1.5rem; }
  .page-header { padding-top: 6rem; }
  .divider { margin: 0 1.5rem; }
  .cred-bar, .footer { padding: 1.5rem; }
  .footer { flex-direction: column; text-align: center; }
  .trust-bar { gap: 1rem; }
  .footer-address { display: block; margin-top: 0.25rem; }
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--off-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 15, 42, 0.98);
  backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  padding: 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.8);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav a.active { color: var(--green); }
.mobile-nav .mobile-cta {
  margin-top: 1.5rem;
  background: var(--green);
  color: var(--navy) !important;
  text-align: center;
  padding: 1rem !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-size: 18px !important;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
}
