/* ===== CSS Variables - Ghana Colors ===== */
:root {
    --ghana-red: #CF0921;
    --ghana-gold: #FCD20E;
    --ghana-green: #006B3F;
    --primary-black: #1a1a1a;
    --white: #ffffff;
    --light-bg: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ghana-red) 33%, var(--ghana-gold) 33%, var(--ghana-gold) 66%, var(--ghana-green) 66%);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--ghana-green);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 24px;
    background: linear-gradient(to bottom, var(--ghana-red) 0%, var(--ghana-red) 33%, var(--ghana-gold) 33%, var(--ghana-gold) 66%, var(--ghana-green) 66%, var(--ghana-green) 100%);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
}

.logo-icon::after {
    content: "★";
    color: black;
    font-size: 14px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    margin-left: auto;
}

.nav-menu .links {
    display: flex;
    gap: 25px;
}

.nav-menu .links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu .links a:hover {
    color: var(--ghana-green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: var(--ghana-green);
    background: var(--light-bg);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%), url('images/diaspora.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 100px 20px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin-left: 5%;
}

.hero-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--ghana-gold);
    border-radius: 20px;
    color: var(--primary-black);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-statistics {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ghana-gold);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--ghana-gold);
}

.stat-label {
    display: block;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 5px;
}

/* ===== Section Styles ===== */
main {
    padding-top: 60px;
}

section {
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.125rem;
    line-height: 1.7;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--ghana-green);
    border-radius: 25px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}


.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

/* ===== Intro Section ===== */
.intro-section {
    background: var(--light-bg);
}

.connection-ways {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.connect-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.connect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.connect-icon {
    font-size: 2rem;
    color: var(--ghana-green);
    margin-bottom: 15px;
}

.connect-card h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.connect-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== Heritage Abroad Section ===== */
.heritage-abroad-section {
    background: var(--white);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.heritage-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.heritage-img {
    height: 180px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.heritage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.heritage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.heritage-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(0, 107, 63, 0.1);
}

.heritage-icon {
    font-size: 2rem;
    color: var(--ghana-green);
    margin-bottom: 15px;
}

.heritage-card h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.heritage-card p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1rem;
}

.heritage-action {
    background: rgba(0, 107, 63, 0.08);
    border-left: 3px solid var(--ghana-green);
    padding: 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.heritage-action strong {
    color: var(--ghana-green);
}

/* ===== Programs Section ===== */
.programs-section {
    background: var(--light-bg);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.program-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
}

.program-img {
    height: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.program-icon {
    font-size: 2rem;
    color: var(--ghana-green);
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== Digital Section ===== */
.digital-section {
    background: var(--white);
}

.digital-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.digital-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
}

.digital-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.digital-icon {
    font-size: 1.8rem;
    color: var(--ghana-green);
    margin-bottom: 12px;
}

.digital-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.digital-card ul {
    text-align: left;
}

.digital-card li {
    color: var(--text-gray);
    font-size: 1rem;
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.digital-card li:last-child {
    border-bottom: none;
}

/* ===== Giving Section ===== */
.giving-section {
    background: var(--light-bg);
}

.giving-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.giving-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
}

.giving-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.giving-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ghana-green);
    margin-bottom: 8px;
}

.giving-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.giving-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* ===== Facts Section ===== */
.facts-section {
    background: var(--ghana-green);
}

.facts-section .section-header h2,
.facts-section .section-header p {
    color: var(--white);
}

.facts-section .section-tag {
    background: var(--ghana-gold);
    color: var(--primary-black);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: var(--transition);
}

.fact-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ghana-gold);
    margin-bottom: 10px;
}

.fact-card h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 8px;
}

.fact-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* ===== Footer ===== */
footer {
    background: var(--primary-black);
    padding: 40px 20px 20px;
    border-top: 4px solid var(--ghana-green);
}

footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ghana-red) 33%, var(--ghana-gold) 33%, var(--ghana-gold) 66%, var(--ghana-green) 66%);
    margin-bottom: 40px;
    margin-top: -44px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 30px;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--ghana-gold);
    margin-bottom: 12px;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-section p {
    color: #aaa;
    font-size: 1rem;
}

.footer-section ul a {
    color: #aaa;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--ghana-gold);
}

.footer-section ul li {
    margin-bottom: 8px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid #aaa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghana-gold);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--ghana-gold);
    color: var(--primary-black);
    border-color: var(--ghana-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 0.8rem;
}

/* ===== Stats Section ===== */
.stats-section {
    background: linear-gradient(135deg, var(--ghana-green) 0%, #008a52 100%);
    padding: 40px 20px;
}

.global-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}

.global-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.global-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2rem;
    color: var(--ghana-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-info .stat-suffix {
    font-size: 1rem;
    color: var(--ghana-gold);
    font-weight: 600;
}

.stat-info .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 3px;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .global-images {
        gap: 15px;
    }
    
    .global-img {
        width: 250px;
        height: 170px;
    }
    
    .connection-ways {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .heritage-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid,
    .digital-options,
    .giving-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-statistics {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .connection-ways,
    .programs-grid,
    .digital-options,
    .giving-options,
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
    
    .global-images {
        flex-direction: column;
        align-items: center;
    }
    
    .global-img {
        width: 100%;
        max-width: 350px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 15px 50px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section {
        padding: 40px 15px;
    }
}
