/* ============================
   CSS VARIABLES & RESET
   ============================ */
:root {
  --gold-dark:   #5a3b00;
  --gold:        #caa24a;
  --gold-light:  #e8c97a;
  --gold-dim:    rgba(202, 162, 74, 0.15);
  --bg-beige:    #f4efe7;
  --bg-white:    #ffffff;
  --text-dark:   #222222;
  --text-muted:  #6b6b6b;
  --shadow-sm:   0 2px 12px rgba(90,59,0,0.08);
  --shadow-md:   0 8px 32px rgba(90,59,0,0.12);
  --shadow-lg:   0 20px 60px rgba(90,59,0,0.16);
  --radius:      14px;
  --radius-sm:   8px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ============================
   UTILITY
   ============================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 100px 0; }

.gold-text { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 0.35em 1.1em;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag--light { color: var(--gold-light); background: rgba(255,255,255,0.12); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.section-title--light { color: #fff; }

.section-divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 4px;
  margin: 20px auto 0;
}

.section-divider--light { background: var(--gold-light); }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 2em;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(202,162,74,0.35);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ============================
   TOP BAR
   ============================ */
.top-bar {
  background: var(--bg-beige);
  border-bottom: 1px solid rgba(90,59,0,0.10);
  padding: 0.55rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.top-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

.top-bar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.top-bar__left span {
  display: flex;
  align-items: center;
  gap: 0.45em;
}

.top-bar__left i { color: var(--gold); font-size: 0.72rem; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--gold-dark);
}

.navbar__menu a:hover::after,
.navbar__menu a.active::after { width: 100%; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://eij-management.com/wp-content/uploads/2026/02/hero_image-1.jpg') center center / cover no-repeat;
  text-align: center;
  padding: 120px 2rem 80px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 20, 5, 0.82) 0%,
    rgba(60, 38, 5, 0.72) 50%,
    rgba(20, 14, 4, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease both;
}

.hero__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(202,162,74,0.18);
  border: 1px solid rgba(202,162,74,0.35);
  padding: 0.4em 1.2em;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero__headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.80);
  max-width: 600px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-hint i { font-size: 0.85rem; }

/* ============================
   SERVICES
   ============================ */
.services { background: var(--bg-white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(90,59,0,0.09);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--gold);
  color: #fff;
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.service-card__text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
  color: var(--gold-dark);
  gap: 0.7em;
}

/* ============================
   WHY AFRICA
   ============================ */
.why-africa {
  background: var(--gold-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.why-africa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(202,162,74,0.12) 0%, transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(202,162,74,0.08) 0%, transparent 45%);
}

.why-africa .container { position: relative; z-index: 1; }

.why-africa__text {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  font-weight: 300;
  line-height: 1.85;
}

.why-africa__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(202,162,74,0.25);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.stat-box:hover {
  background: rgba(202,162,74,0.1);
  border-color: rgba(202,162,74,0.5);
  transform: translateY(-4px);
}

.stat-box__icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.stat-box__number {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-box__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ============================
   PROCESS
   ============================ */
.process { background: var(--bg-beige); }

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  max-width: 240px;
}

.process-step__circle {
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid rgba(90,59,0,0.10);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  position: relative;
  transition: var(--transition);
  gap: 2px;
}

.process-step__circle i {
  font-size: 1.4rem;
  color: var(--gold);
}

.process-step__circle:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: scale(1.06);
  box-shadow: var(--shadow-lg);
}

.process-step__circle:hover i { color: #fff; }
.process-step__circle:hover .process-step__number { color: rgba(255,255,255,0.6); }

.process-step__number {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.process-step__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.process-step__text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-step__arrow {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  padding-top: 30px;
  opacity: 0.55;
  flex-shrink: 0;
}

/* ============================
   ABOUT
   ============================ */
.about { background: var(--bg-beige); }

.about__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about__badge {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(202,162,74,0.35);
}

.about__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

/* ============================
   CONTACT
   ============================ */
.contact { background: var(--bg-white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-item__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-item__icon {
  background: var(--gold);
  color: #fff;
}

.contact-item h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FORM */
.contact__form {
  background: var(--bg-white);
  border: 1px solid rgba(90,59,0,0.10);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85em 1.1em;
  border: 1.5px solid rgba(90,59,0,0.14);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  background: var(--bg-beige);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(202,162,74,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e05252;
}

.form-error {
  display: none;
  font-size: 0.75rem;
  color: #e05252;
  margin-top: 0.3em;
}

.form-error.visible { display: block; }

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9em 1.2em;
  background: rgba(46,180,90,0.1);
  border: 1px solid rgba(46,180,90,0.3);
  border-radius: var(--radius-sm);
  color: #2eb45a;
  font-size: 0.88rem;
  font-weight: 500;
}

.form-success.visible { display: flex; align-items: center; gap: 0.5em; }

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--gold-dark);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(202,162,74,0.1) 0%, transparent 50%);
}

.footer .container { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  gap: 3rem;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.footer__text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.footer__links li {
  margin-bottom: 0.65rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: color var(--transition), gap var(--transition);
}

.footer__links a i {
  font-size: 0.65rem;
  color: var(--gold);
}

.footer__links a:hover {
  color: var(--gold-light);
  gap: 0.75em;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.footer__contact i { color: var(--gold); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }

.footer__bottom {
  padding: 1.6rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.03em;
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   RESPONSIVE — 1200px
   ============================ */
@media (max-width: 1200px) {
  .services__grid       { gap: 1.5rem; }
  .why-africa__stats    { grid-template-columns: repeat(2, 1fr); }
  .footer__grid         { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ============================
   RESPONSIVE — 768px
   ============================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Top bar */
  .top-bar__left { gap: 0.75rem; font-size: 0.72rem; }

  /* Navbar */
  .navbar__toggle { display: flex; }

  .navbar__menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    z-index: 999;
  }

  .navbar__menu.open { display: flex; }

  .navbar__menu li { width: 100%; }

  .navbar__menu a {
    display: block;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }

  .navbar__menu a::after { display: none; }
  .navbar__menu a:hover { background: var(--bg-beige); }

  /* Hero */
  .hero { min-height: 90vh; padding: 100px 1.5rem 70px; }
  .hero__headline { font-size: 2.2rem; }
  .hero__actions { flex-direction: column; align-items: center; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }

  /* Stats */
  .why-africa__stats { grid-template-columns: repeat(2, 1fr); }

  /* Process */
  .process__steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .process-step { max-width: 340px; width: 100%; }
  .process-step__arrow { display: none; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding-top: 60px; }
}

/* ============================
   RESPONSIVE — 480px
   ============================ */
@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 60px 0; }

  .top-bar__left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero__headline { font-size: 1.9rem; }
  .hero__sub { font-size: 0.92rem; }

  .why-africa__stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-box { padding: 1.8rem 1rem; }

  .contact__form { padding: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }

  .navbar__inner { padding: 0 1.2rem; }
}
