/* Ahadu Consulting – static site styles */
:root {
  --navy: #152e68;
  --green: #388126;
  --green-dark: #2c6a1d;
  --text: #1d1c1c;
  --muted: #54595f;
  --light: #f6f6f6;
  --white: #fff;
  --max: 1140px;
  --radius: 25px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--green-dark); transform: scale(1.04); }
.btn-block { display: block; width: 100%; border-radius: 0; padding: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul a { color: #f3f3f3; text-decoration: none; font-size: 14px; letter-spacing: .3px; }
.site-nav ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.btn-nav { padding: 10px 22px; }

.menu-toggle {
  display: none;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 24px; height: 2px; background: var(--white); position: relative; content: "";
}
.menu-icon::before { position: absolute; top: -7px; }
.menu-icon::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy) url("../images/hero-bg.webp") center / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 190px 0 170px;
}
.hero-inner { max-width: 860px; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 400; margin-bottom: 30px; }
.hero h1 strong { font-weight: 700; }
.hero p { max-width: 720px; margin: 0 auto 30px; font-size: 15px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--green);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.pillar img { width: 50px; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-title {
  color: var(--green);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--navy);
  margin: 18px auto 0;
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }
.section-intro { text-align: center; max-width: 900px; margin: 0 auto 50px; font-size: 15px; }

.grid { display: grid; gap: 40px 50px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

h3 { color: var(--navy); font-size: 22px; font-weight: 500; }

/* Doing Business challenges */
.challenge { display: flex; gap: 20px; align-items: flex-start; }
.challenge .num {
  flex: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.challenge p { font-size: 15px; }

/* Why Ahadu */
.why {
  background: #eaf2f8 url("../images/why-ahadu.webp") center / cover no-repeat;
  padding: 80px 0;
}
.why-inner { display: flex; justify-content: flex-end; }
.why-card {
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 30px;
  padding: 40px 30px;
  max-width: 480px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.why-card p { font-size: 15px; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 15px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border: 2px solid var(--green);
  border-radius: 50%;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: 6px; top: 7px;
  width: 4px; height: 8px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Opportunities */
.opportunities-img { margin: 0 auto; max-width: 900px; width: 100%; }

/* Services */
.services { background: var(--navy); color: var(--white); }
.services h3 { color: var(--white); }
.services .section-title::after { background: var(--green); }
.service-list { max-width: 820px; margin: 30px auto 0; }
.service-list p { font-size: 15px; max-width: 320px; }

/* Industries */
.industry { text-align: center; }
.industry img { width: 70px; margin: 0 auto 14px; }
.industry h3 { color: var(--navy); }
.industry p { font-size: 15px; color: var(--muted); }

/* Partners */
.partners { background: var(--light) url("../images/world-map.webp") center / cover no-repeat; }
.country-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.country-grid li {
  border: 2px solid var(--green);
  background: rgba(255,255,255,.55);
  color: var(--navy);
  font-size: 18px;
  text-align: center;
  min-height: 90px;
  padding: 10px;
  display: grid;
  place-items: center;
  line-height: 1.25;
}

/* About */
.about-item { text-align: center; }
.about-item img { width: 137px; margin: 0 auto 14px; }
.about-item p { font-size: 15px; max-width: 300px; margin: 0 auto; }

/* Social Responsibility */
.social { background: var(--light); }
.social-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.social-inner p { font-size: 15px; max-width: 360px; }

/* Contact */
.contact {
  background: var(--light) url("../images/corner-accent.png") right bottom no-repeat;
}
.contact-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
address { font-style: normal; font-size: 15px; margin-bottom: 14px; }
.phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; margin-bottom: 20px;
}
.office-photo { max-width: 320px; }
.contact-form label { display: block; font-size: 14px; margin: 14px 0 6px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
  background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact-form button { margin-top: 20px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b00020; }
.mailto-fallback { font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer { padding: 20px 0; font-size: 14px; color: var(--muted); background: var(--light); border-top: 1px solid #e5e5e5; }
.site-footer p { margin: 0; }

.to-top {
  position: fixed; right: 20px; bottom: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; align-items: flex-start;
    padding: 10px 20px 20px;
    gap: 12px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav ul a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .hero { padding: 150px 0 110px; }
  .pillars { grid-template-columns: 1fr; gap: 14px; max-width: 360px; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .why { background-position: left center; padding: 60px 0; }
  .why-inner { justify-content: center; }
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid li { font-size: 16px; min-height: 70px; }
  .social-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
