/*
Theme Name: NSONA Diaspora Foundation
Theme URI: https://nsonadiaspora.org
Author: GitHub Copilot
Author URI: https://github.com
Description: WordPress theme conversion of the NSONA Diaspora Foundation page with editable homepage sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nsona
*/

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

:root {
  --gold: #a94a28;
  --gold-light: #e6d5a0;
  --deep: #1e4633;
  --warm: #f4ede4;
  --accent: #4a4238;
  --text: #1e2a2f;
}

body {
  font-family: 'Inter', sans-serif;
  background: #faf8f5;
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.custom-logo-link,
.custom-logo-link img {
  display: block;
}

.custom-logo-link img {
  height: 100px;
  width: auto;
  border-radius: 80px;
  position: relative;
  top: 5px;
  z-index: -1;
}

.logo-text .brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  color: var(--deep);
  line-height: 1.1;
}

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

.logo-text .tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #5a6f6e;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-weight: 500;
  flex-wrap: wrap;
}

.nav-links > a,
.wp-primary-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links > a:hover,
.nav-links > a.active,
.wp-primary-menu a:hover,
.wp-primary-menu .current-menu-item > a,
.wp-primary-menu .current_page_item > a {
  border-bottom-color: var(--gold);
  color: var(--deep);
}

.wp-primary-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-primary-menu li { list-style: none; }

.btn-outline {
  border: 1.5px solid var(--gold);
  padding: 8px 22px;
  border-radius: 40px;
  color: var(--deep);
  background: transparent;
  font-weight: 600;
  transition: 0.2s;
  cursor: default;
  white-space: nowrap;
}

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

/* Hero */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(145deg, #f8f2e9 0%, #fefcf9 100%);
  border-bottom: 1px solid #eee7db;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--deep);
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  font-size: 1.2rem;
  color: #3e5554;
  max-width: 700px;
  margin-top: 12px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat-value {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--deep);
}

.hero-stat-label { color: #5d7776; }

.brand-orb-wrap {
  display: flex;
  justify-content: center;
}

.brand-orb {
  background: #fff;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
}

.brand-orb-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--deep);
}

.brand-orb-subtitle {
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: #5a6f6e;
}

.brand-orb-ubuntu {
  font-size: 0.8rem;
  font-weight: 300;
  position: relative;
  top: 30px;
}

.quote-band {
  background: var(--deep);
  color: #fff;
  padding: 24px 0;
  margin-top: 40px;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  text-align: center;
}

.quote-band p {
  font-size: 1.3rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  color:#fff;
}

.quote-band small {
  display: block;
  opacity: 0.8;
  margin-top: 4px;
}

/* Generic section styles */
.section-pad { padding: 70px 0; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--deep);
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  text-align: center;
  color: #5d7776;
  max-width: 700px;
  margin: 0 auto 48px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.card {
  background: #fff;
  padding: 36px 32px;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0e8dd;
  transition: 0.2s;
}

.card:hover { border-color: var(--gold-light); }

.card i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--deep);
}

.card p { color: #2d4645; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-chip {
  background: #fff;
  padding: 18px 14px;
  border-radius: 60px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #e7ded2;
  color: var(--deep);
}

.value-chip i {
  margin-right: 8px;
  color: var(--gold);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.prog-item {
  background: #fff;
  padding: 28px 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #efe7db;
  transition: 0.15s;
}

.prog-item i {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.prog-item h4 {
  color: var(--deep);
  font-weight: 600;
}

.prog-item p {
  font-size: 0.9rem;
  color: #4e6b69;
}

.involve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.involve-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #f0e8dd;
}

.involve-card i {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.involve-card h4 {
  font-size: 1.3rem;
  color: var(--deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.board-list {
  list-style: none;
  line-height: 2.2;
}

.board-list li {
  border-bottom: 1px solid #eee7db;
  padding: 6px 0;
}

.board-list li strong { color: var(--deep); }

/* Blog cards on homepage */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.post-card {
  background: #fff;
  border: 1px solid #efe7db;
  border-radius: 20px;
  overflow: hidden;
}

.post-card-content { padding: 20px; }

.post-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--deep);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.post-card-meta {
  color: #5d7776;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.read-more {
  color: var(--deep);
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover { color: var(--gold); }

/* Content templates */
.page-title-block {
  padding: 54px 0;
  border-bottom: 1px solid #eee7db;
  background: linear-gradient(145deg, #f8f2e9 0%, #fefcf9 100%);
}

.page-title-block h1 {
  color: var(--deep);
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
}

.page-title-block p {
  color: #5d7776;
  margin-top: 8px;
}

.posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.entry-card {
  background: #fff;
  border: 1px solid #f0e8dd;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.entry-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.entry-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep);
}

.entry-card h2 a {
  text-decoration: none;
  color: inherit;
}

.entry-card h2 a:hover { color: var(--gold); }

.entry-meta {
  color: #5d7776;
  font-size: 0.9rem;
}

.entry-excerpt { color: #2d4645; }

.article-wrap,
.page-wrap {
  background: #fff;
  border: 1px solid #f0e8dd;
  border-radius: 24px;
  padding: 34px;
}

.article-wrap h1,
.page-wrap h1,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Playfair Display', serif;
  color: var(--deep);
}

.entry-content p,
.page-content p,
.article-wrap p { margin-bottom: 16px; }

.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol {
  margin: 0 0 20px 22px;
}

.entry-content a,
.page-content a { color: var(--accent); }

.wp-block-image,
figure { margin-bottom: 20px; }

.pagination-wrap {
  margin-top: 28px;
}

.pagination-wrap .nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pagination-wrap .page-numbers {
  border: 1px solid #e7ded2;
  border-radius: 8px;
  padding: 7px 12px;
  text-decoration: none;
  color: var(--deep);
}

.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.not-found {
  text-align: center;
  padding: 60px 0;
}

/* Footer */
.footer {
  background: var(--deep);
  color: #d4ddd9;
  padding: 50px 0 30px;
  margin-top: 30px;
}

.footer a {
  color: #c9a84c;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #fff;
}

.footer-brand span { color: var(--gold); }

.footer .social i {
  font-size: 1.4rem;
  margin-right: 16px;
  color: #d4ddd9;
  transition: 0.2s;
}

.footer .social i:hover { color: var(--gold); }

.footer-copy {
  border-top: 1px solid #335352;
  margin-top: 40px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-menu,
.footer-contact-list {
  list-style: none;
  margin-top: 8px;
  opacity: 0.8;
  line-height: 2.4;
}

.footer-menu li,
.footer-contact-list li { list-style: none; }

/* Utility */
.bg-warm { background: #f4efe8; }
.mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 20px; }
.text-gold { color: var(--gold); }

/* Responsive */
@media (max-width: 980px) {
  .home-hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .navbar .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    justify-content: center;
    margin-top: 8px;
    gap: 16px;
  }

  .wp-primary-menu { gap: 16px; }

  .page-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 600px) {
  .section-title { font-size: 2rem; }
  .page-hero h1 { font-size: 2rem; }
  .article-wrap,
  .page-wrap { padding: 24px; }
}



/* ============================================
   HEADER & NAVIGATION STYLES
   Modern, responsive, mobile-first design
   ============================================ */

/* --- CSS Variables --- */
:root {
  --header-bg: #ffffff;
  --header-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --primary-color: #1a5632;
  --primary-hover: #2d7a4a;
  --text-color: #2c3e50;
  --text-light: #6b7c8a;
  --mobile-breakpoint: 992px;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --overlay-bg: rgba(0, 0, 0, 0.5);
}

/* --- Base Header --- */
.navbar {
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  transition: box-shadow var(--transition-speed) ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 20px;
}

/* --- Logo Area --- */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  z-index: 10001;
}

.logo-image img {
  height: 70px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  transition: height var(--transition-speed) ease;
}

.custom-logo {
  height: 70px;
  width: auto;
}

.logo-text {
  line-height: 1.3;
}

.logo-text .brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.02em;
}

.logo-text .brand span {
  color: var(--text-color);
  font-weight: 400;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* --- Navigation Links (Desktop) --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links-inner {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
  background: rgba(26, 86, 50, 0.06);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* WordPress Menu Fallback */
.wp-primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-primary-menu li a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
}

.wp-primary-menu li a:hover,
.wp-primary-menu li.current-menu-item a {
  color: var(--primary-color);
  background: rgba(26, 86, 50, 0.06);
}

/* --- Donate Button --- */
.nav-cta-wrapper {
  margin-left: 8px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 86, 50, 0.3);
}

/* ============================================
   HAMBURGER MENU (Mobile)
   ============================================ */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10001;
  border-radius: var(--border-radius);
  transition: background var(--transition-speed) ease;
  position: relative;
}

.menu-toggle:hover {
  background: rgba(26, 86, 50, 0.06);
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  transition: all var(--transition-speed) cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform-origin: center;
}

/* Hamburger animation to X */
.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--primary-color);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--primary-color);
}

/* --- Mobile Menu Overlay --- */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  z-index: 9998;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.menu-overlay.active {
  opacity: 1;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet & Mobile */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 24px 32px;
    gap: 0;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
    transition: right var(--transition-speed) cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-links a,
  .wp-primary-menu li a {
    display: block;
    padding: 16px 12px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    width: 100%;
  }

  .nav-links a:last-child,
  .wp-primary-menu li:last-child a {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a.active,
  .wp-primary-menu li a:hover,
  .wp-primary-menu li.current-menu-item a {
    background: rgba(26, 86, 50, 0.06);
    padding-left: 20px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .wp-primary-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .wp-primary-menu li {
    width: 100%;
  }

  .nav-cta-wrapper {
    margin-left: 0;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(26, 86, 50, 0.1);
    width: 100%;
  }

  .nav-cta-wrapper .btn-outline {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .menu-overlay {
    display: block;
  }

  /* Logo adjustments for mobile */
  .logo-image img,
  .custom-logo {
    height: 55px;
  }

  .logo-text .brand {
    font-size: 1rem;
  }

  .logo-text .tagline {
    font-size: 0.68rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .navbar .container {
    padding: 8px 16px;
    gap: 12px;
  }

  .logo-image img,
  .custom-logo {
    height: 45px;
  }

  .logo-text .brand {
    font-size: 0.85rem;
  }

  .logo-text .tagline {
    font-size: 0.6rem;
  }

  .nav-links {
    width: 100%;
    max-width: 100vw;
    padding: 80px 20px 24px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .hamburger-line {
    width: 22px;
    height: 2.5px;
  }

  .nav-links a,
  .wp-primary-menu li a {
    padding: 14px 12px;
    font-size: 1rem;
  }
}

/* --- Reduced Motion Support --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .nav-links {
    transition: none;
  }
}

/* --- Focus Visible (Accessibility) --- */
.menu-toggle:focus-visible,
.nav-links a:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* --- Scroll Lock when menu is open --- */
body.menu-open {
  overflow: hidden;
}

/* --- Desktop: Hide overlay --- */
@media (min-width: 993px) {
  .menu-overlay {
    display: none !important;
  }
}

/* =========================================================
   NSONA HOME HERO
   ========================================================= */

.home-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(226, 180, 62, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffdf7 55%,
            #f7faf7 100%
        );
}


/* ---------------------------------------------------------
   HERO GRID
   --------------------------------------------------------- */

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 70px;
}


/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

.home-hero-content {
    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 24px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #16834a;
}

.hero-eyebrow-line {
    width: 38px;
    height: 3px;
    display: inline-block;

    background: linear-gradient(
        90deg,
        #d82027,
        #e2b43e,
        #16834a
    );

    border-radius: 10px;
}


.home-hero h1 {
    margin: 0 0 25px;

    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 850;

    color: #101010;
}

.home-hero h1 .text-gold {
    color: #d29d20;
}


.home-hero-subtitle {
    max-width: 610px;

    margin: 0 0 35px;

    font-size: 1.15rem;
    line-height: 1.75;

    color: #5e625f;
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;

    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.hero-stat {
    min-width: 125px;
    padding-right: 28px;
    margin-right: 28px;

    border-right: 1px solid rgba(0, 0, 0, 0.10);
}

.hero-stat:last-child {
    border-right: none;
}

.hero-stat-value {
    display: block;

    font-size: 1.8rem;
    line-height: 1;

    font-weight: 850;
    color: #16834a;
}

.hero-stat-label {
    display: block;

    margin-top: 7px;

    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;

    color: #737373;
}


/* =========================================================
   IMAGE AREA
   ========================================================= */

.home-hero-visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---------------------------------------------------------
   IMAGE FRAME
   --------------------------------------------------------- */

.hero-image-frame {
    position: relative;
    z-index: 3;

    width: min(100%, 650px);

    padding: 12px;

    background: #ffffff;

    border-radius:
        34px
        110px
        34px
        110px;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.16),
        0 10px 30px rgba(0, 0, 0, 0.08);

    transform: rotate(1.2deg);

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.hero-image-frame:hover {
    transform: rotate(0deg) translateY(-6px);

    box-shadow:
        0 45px 90px rgba(0, 0, 0, 0.20),
        0 15px 35px rgba(0, 0, 0, 0.10);
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.hero-image-inner {
    position: relative;

    overflow: hidden;

    aspect-ratio: 16 / 10;

    border-radius:
        27px
        100px
        27px
        100px;

    background: #111;
}

.hero-image-inner::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(216, 32, 39, 0.12),
            transparent 35%,
            transparent 65%,
            rgba(22, 131, 74, 0.12)
        );
}

.hero-image-inner img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1.015);

    transition: transform 0.8s ease;
}

.hero-image-frame:hover .hero-image-inner img {
    transform: scale(1.045);
}


/* ---------------------------------------------------------
   IMAGE CAPTION
   --------------------------------------------------------- */

.hero-image-caption {
    position: absolute;

    left: 35px;
    bottom: 28px;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 10px 17px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15);

    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.05em;

    color: #202020;

    backdrop-filter: blur(8px);
}

.caption-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #16834a;

    box-shadow:
        0 0 0 4px rgba(22, 131, 74, 0.14);
}


/* =========================================================
   DECORATIVE GHANA COLOUR LAYERS
   ========================================================= */

.hero-image-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


/* RED */

.hero-decoration-red {
    width: 125px;
    height: 125px;

    top: 5%;
    right: 0;

    background: #d82027;

    opacity: 0.95;

    z-index: 1;
}


/* GOLD */

.hero-decoration-gold {
    width: 85px;
    height: 85px;

    bottom: 8%;
    left: 1%;

    background: #e2b43e;

    z-index: 1;
}


/* GREEN */

.hero-decoration-green {
    width: 170px;
    height: 170px;

    right: -25px;
    bottom: 2%;

    background: #16834a;

    opacity: 0.95;

    z-index: 0;
}


/* ---------------------------------------------------------
   DECORATIVE STAR
   --------------------------------------------------------- */

.home-hero-visual::before {
    content: "★";

    position: absolute;

    top: 25px;
    left: 5%;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #101010;
    color: #ffffff;

    font-size: 1.35rem;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

    z-index: 4;

    transform: rotate(-10deg);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .home-hero h1 {
        font-size: clamp(2.7rem, 5vw, 4.2rem);
    }

    .home-hero-visual {
        min-height: 470px;
    }

}


@media (max-width: 850px) {

    .home-hero {
        padding: 65px 0 75px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .home-hero-content {
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .home-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stat {
        text-align: left;
    }

    .home-hero-visual {
        min-height: auto;
        padding: 15px 20px 30px;
    }

    .hero-image-frame {
        width: 100%;
        max-width: 650px;
    }

}


@media (max-width: 550px) {

    .home-hero {
        padding: 50px 0 60px;
    }

    .home-hero h1 {
        font-size: 2.8rem;
    }

    .home-hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-stat {
        min-width: 0;
        padding-right: 12px;
        margin-right: 12px;
    }

    .hero-stat-value {
        font-size: 1.35rem;
    }

    .hero-stat-label {
        font-size: 0.68rem;
    }

    .home-hero-visual {
        padding: 10px 5px 25px;
    }

    .hero-image-frame {
        padding: 8px;

        border-radius:
            25px
            70px
            25px
            70px;
    }

    .hero-image-inner {
        border-radius:
            20px
            62px
            20px
            62px;
    }

    .hero-image-caption {
        left: 20px;
        bottom: 20px;

        font-size: 0.65rem;
    }

    .hero-decoration-red {
        width: 75px;
        height: 75px;
    }

    .hero-decoration-gold {
        width: 55px;
        height: 55px;
    }

    .hero-decoration-green {
        width: 100px;
        height: 100px;
    }

    .home-hero-visual::before {
        width: 42px;
        height: 42px;

        font-size: 1rem;
    }
}