/* =========================
   CLEAN BASE STYLES (single source of truth)
   ========================= */

*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
img{ max-width:100%; height:auto; display:block; }

:root{
  --wrap: 1120px;
  --text:#0b1220;
  --muted:#4a5568;
  --line:#e5e7eb;
  --dark:#0b1220;

  /* MHFA green */
  --accent:#61A534;
  --accent-dark:#4e8b2a;
}

/* Prevent sideways scroll */
html, body{ width:100%; overflow-x:hidden; }

/* Sticky footer layout (safe) */
body.page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}
main{ flex:1 0 auto; }
.site-footer{ margin-top:auto; }

/* Container */
.wrap{
  max-width:var(--wrap);
  width:100%;
  margin:0 auto;
  padding:0 20px;
}

/* =========================
   TOP NAV (fixed)
   ========================= */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  background:#fff;
  border-bottom:1px solid var(--line);
  z-index:1000;
}

.topbar-inner{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.topnav{
  display:flex;
  gap:34px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.topnav-link{
  position:relative;
  text-decoration:none;
  color:#111;
  font-weight:700;
  font-size:17px;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:16px 0;
}

.topnav-link:hover{ color:var(--accent); }

.topnav-link.active::after,
.topnav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:100%;
  height:3px;
  background:var(--accent);
  border-radius:3px;
}

/* =========================
   SECTIONS
   ========================= */
.section{
  padding:110px 0 60px; /* 110 accounts for fixed nav */
}

/* =========================
   HOME HERO (only index uses this)
   ========================= */
.hero{
  position:relative;
  height: clamp(520px, 70vh, 760px);
  margin-top:76px; /* below fixed nav */
  overflow:hidden;
}

.hero-media{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)),
    url("/images/hero.jpg") center/cover no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:24px;
}

.hero-center{ max-width: 900px; color:#fff; }

.hero-brand{
  margin:0;
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing:.10em;
  text-transform:uppercase;
  font-weight:800;
  line-height:1.1;
}

.hero-tagline{
  margin-top:18px;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
  opacity:.9;
}

/* Remove any accidental hero lines */
.hero hr,
.hero .accent,
.hero .accent-line,
.hero .hero-accent,
.hero .line,
.hero .underline,
.hero .divider,
.hero .rule,
.hero .bar{ display:none !important; }

/* =========================
   HOME CARDS
   ========================= */
.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}

.card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  background:#fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 44px rgba(0,0,0,.09);
  border-color: rgba(11,18,32,.14);
}

.card h2{ margin:0 0 10px; font-size:18px; font-weight:800; }
.card p{ margin:0; color:var(--muted); line-height:1.65; }

/* =========================
   COURSES (premium)
   ========================= */
.page-head{ margin:0 0 22px; }
.page-title{ margin:0 0 8px; font-size:34px; }
.page-subtitle{ margin:0; color:var(--muted); max-width:70ch; line-height:1.6; }

.courses-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}

.course-card{
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:20px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.course-card:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 44px rgba(0,0,0,.09);
  border-color: rgba(11,18,32,.14);
}

.course-top{ display:flex; gap:16px; align-items:flex-start; }

.course-icon{
  width:54px;
  height:54px;
  border-radius:14px;
  background: linear-gradient(135deg, #f4f7fb, #eef2f7);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#0b1220;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  flex-shrink:0;
}
.course-icon svg{
  width:26px;
  height:26px;
  display:block;
  max-width:none;
}

.course-head h2{ margin:0 0 8px; font-size:18px; line-height:1.25; }
.course-head p{ margin:0; color:var(--muted); line-height:1.6; font-size:14.5px; }

.course-bullets{
  margin:16px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.course-bullets li{
  position:relative;
  padding-left:18px;
  font-size:14px;
  line-height:1.5;
}
.course-bullets li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(11,18,32,.22);
}

.course-actions{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* Premium buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-decoration:none;
  border:1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color:#fff;
  box-shadow: 0 12px 26px rgba(97,165,52,.25);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(97,165,52,.32);
}

.btn-outline{
  background: transparent;
  color:#0b1220;
  border-color: rgba(11,18,32,.22);
}
.btn-outline:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(11,18,32,.10);
  border-color: rgba(11,18,32,.34);
}

/* =========================
   ABOUT: accreditations panel
   ========================= */
.accreditations{ margin-top:60px; }
.accreditations-title{
  text-align:center;
  font-size:14px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:800;
  color:#6b7280;
  margin:0 0 26px;
}

.accreditations-panel{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:80px;
  padding:50px 60px;
  border-radius:20px;
  background: rgba(255,255,255,.85);
  border:1px solid rgba(97,165,52,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.06);
}

.acc-badge{
  height:140px;
  width:auto;
}

/* =========================
   FOOTER
   ========================= */
.site-footer{
  background: var(--dark);
  color: rgba(255,255,255,.92);
  padding:26px 0;
}
.footer-inner{ display:grid; gap:8px; font-size:14px; }
.footer-legal{ color: rgba(255,255,255,.70); font-size:12px; line-height:1.55; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px){
  .cards{ grid-template-columns:1fr; }
  .courses-grid{ grid-template-columns:1fr; }
  .hero{ height:420px; }
}/* ===== CONTACT PAGE GREEN BACKGROUND ===== */

body.page.contact{
  background: #61A534;
}

body.page.contact main{
  background: transparent;
}body.page.contact{
  background: linear-gradient(
    180deg,
    #9BD772 0%,
    #7FC554 100%
  );
}/* ===== CONTACT PAGE – SOFT EXECUTIVE GREEN ===== */

body.page.contact{
  background: linear-gradient(
    180deg,
    #EAF5E3 0%,
    #DDEFD2 100%
  );
}

body.page.contact main{
  background: transparent;
}body.page.contact{
  background: #F4F9F1;
}/* ===== SOFT EXECUTIVE BACKGROUND FOR INTERNAL PAGES ===== */

body.page.about,
body.page.courses,
body.page.feedback{
  background: #F4F9F1;   /* subtle green wash */
}

body.page.about main,
body.page.courses main,
body.page.feedback main{
  background: transparent;
}/* =========================
   CLIENT BUTTON GRID (Premium)
   ========================= */

.clients-section{
  padding: 80px 0;
}

.clients-header{
  text-align: center;
  margin-bottom: 40px;
}

.clients-title{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
}

.clients-subtitle{
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.clients-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.client{
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  box-shadow: 0 10px 26px rgba(11,18,32,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.client:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11,18,32,.10);
  border-color: rgba(11,18,32,.18);
}/* =========================
   CLIENT BUTTONS – Corporate Glass
   ========================= */

.clients-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.client{
  padding: 18px 16px;
  border-radius: 16px;

  /* Glass effect */
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.06);

  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  color: #0b1220;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.client:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0,0,0,.10);
  border-color: rgba(97,165,52,.35); /* subtle brand accent */
}/* ===== HOME PAGE SOFT EXECUTIVE GREEN ===== */

body.page.home{
  background: #F4F9F1;
}

body.page.home main{
  background: transparent;
}