/* Kingdom Exim Ghana Ltd — shared styles */
:root {
  --blue: #1a3a8c;
  --blue-dark: #10245e;
  --blue-deep: #0c1c4a;
  --gold: #c9a227;
  --gold-light: #e6c96a;
  --white: #ffffff;
  --offwhite: #f6f7fb;
  --slate: #232838;
  --muted: #5d6678;
  --line: #e3e7f0;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(16, 36, 94, 0.10);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--blue-dark);
  line-height: 1.25;
  margin-bottom: 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section.alt { background: var(--offwhite); }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(16, 36, 94, 0.08);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 64px; width: auto; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 6px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover { color: var(--blue); background: var(--offwhite); text-decoration: none; }
.main-nav a.nav-link.active { color: var(--blue); border-bottom: 3px solid var(--gold); border-radius: 0; }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-deep);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  border: 2px solid var(--gold);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.header-cta { margin-left: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1.3rem;
  color: var(--blue-dark);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 60%, #27479e 100%);
  color: #fff;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: 1.15rem; max-width: 46em; }
.hero .btn { margin-top: 12px; }

.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  padding: 64px 0 56px;
  border-bottom: 6px solid var(--gold);
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 52em; margin-bottom: 0; }
.page-hero .eyebrow { color: var(--gold-light); }

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.division { margin-bottom: 40px; }
.division:last-child { margin-bottom: 0; }
.division h2 { padding-bottom: 10px; border-bottom: 3px solid var(--gold); display: inline-block; }

/* ---------- Leadership ---------- */
.leaders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.leader {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.leader img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; }
.leader-body { padding: 26px 28px 30px; }
.leader-body .role { color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 6px; }
.leader-body h3 { font-size: 1.5rem; margin-bottom: 0.35em; }
.leader-body p { color: var(--muted); margin-bottom: 0; }

/* ---------- Stages ---------- */
.stages { list-style: none; counter-reset: stage; display: grid; gap: 16px; }
.stages li {
  counter-increment: stage;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px 18px 78px;
  position: relative;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--blue-dark);
  font-size: 1.08rem;
}
.stages li::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* ---------- Recognition ---------- */
.recognition {
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  border-top: 6px solid var(--gold);
}
.recognition h2 { color: #fff; }
.recognition p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) , var(--blue-dark));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 40em; margin: 0 auto 1.4em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact-item { margin-bottom: 22px; }
.contact-item .label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.contact-item a { font-size: 1.1rem; font-weight: 600; }

form.contact-form { display: grid; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.95rem; }
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
form.contact-form input:focus,
form.contact-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
form.contact-form textarea { min-height: 140px; resize: vertical; }

.newsletter { display: flex; gap: 10px; margin-top: 12px; }
.newsletter input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; }

/* ---------- News ---------- */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.article .date { color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article h2 { margin-top: 8px; }
.note { color: var(--muted); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,0.85); margin-top: 0; }
.footer-top { padding: 56px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 72px; width: auto; margin-bottom: 16px; background: #fff; border-radius: 8px; padding: 6px; }
.footer-line1 { font-weight: 700; color: #fff; letter-spacing: 0.04em; margin-bottom: 10px; }
.footer-line2 { margin-bottom: 10px; }
.footer-line2 a { color: var(--gold-light); }
.footer-line3 { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.site-footer h4 { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: var(--gold-light); }
.footer-profile { margin-top: 18px; }
.footer-profile .btn { padding: 10px 22px; font-size: 0.95rem; }
.social { display: flex; gap: 12px; margin-top: 4px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff; transition: background 0.2s, border-color 0.2s;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); text-decoration: none; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 0; font-size: 0.88rem; color: rgba(255,255,255,0.6); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 12px 24px rgba(16,36,94,0.15);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 24px 20px; }
  .main-nav a.nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.nav-link.active { border-bottom: 1px solid var(--line); border-left: 4px solid var(--gold); padding-left: 12px; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .leaders { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 72px 0 64px; }
  .brand img { height: 52px; }
  .newsletter { flex-direction: column; }
  .recognition { padding: 28px; }
}
