/* ===== Global Styles ===== */
:root {
    /* Navy Blue Color Palette */
    --navy-primary: #001f3f;
    --navy-dark: #001a35;
    --navy-light: #003366;
    --navy-accent: #0056b3;
    --gold-accent: #d4af37;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

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

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

a {
    text-decoration: none;
    color: var(--navy-accent);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--navy-dark);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--gold-accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
}

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

/* ===== Header Styles ===== */
.top-bar {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 1rem;
}

.social-links a {
    color: var(--white);
    margin-left: 0.8rem;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--gold-accent);
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--navy-primary);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--navy-accent);
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

.main-nav a:hover:after {
    width: 100%;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--navy-primary);
    color: var(--white);
    border: 2px solid var(--navy-primary);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--gold-accent);
    color: var(--navy-primary);
    border: 2px solid var(--gold-accent);
}

.btn-secondary:hover {
    background-color: #c9a227;
    border-color: #c9a227;
    color: var(--navy-primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
}

.btn-outline:hover {
    background-color: var(--navy-primary);
    color: var(--white);
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.8)), 
                url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== Section Styles ===== */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--medium-gray);
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Event Cards ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--gold-accent);
    color: var(--navy-primary);
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    line-height: 1;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.event-details {
    padding: 1.5rem;
}

.event-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
    display: flex;
    gap: 1rem;
}

.event-meta i {
    margin-right: 0.3rem;
    color: var(--navy-accent);
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== Footer Styles ===== */
.main-footer {
    background-color: var(--navy-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold-accent);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--gold-accent);
    color: var(--navy-primary);
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.quick-links a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 0.8rem;
    color: var(--gold-accent);
    margin-top: 0.2rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
}
/* Leadership Gallery Styles */
.leadership-section {
    background-color: var(--off-white);
    padding: 4rem 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.leadership-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.leadership-card:hover {
    transform: translateY(-5px);
}

.leadership-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.leadership-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 31, 63, 0.8);
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Members Section Styles */
.members-section {
    padding: 4rem 0;
}

.members-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.members-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.members-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sector-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
}

.sector-card i {
    font-size: 2rem;
    color: var(--navy-accent);
    margin-bottom: 1rem;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 31, 63, 0.8);
    color: white;
    padding: 0.8rem;
    font-size: 0.9rem;
}

.gallery-upload {
    grid-column: 1 / -1;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#photo-upload-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: end;
}

/* Mission Section Styles */
.mission-section {
    background: linear-gradient(rgba(0, 31, 63, 0.9), rgba(0, 31, 63, 0.9)), 
                url('/assets/images/mission-bg.jpg') center/cover;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-content h2 {
    color: white;
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.mission-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    color: var(--gold-accent);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}
/* Africa Theme Colors */
:root {
    --africa-green: #00843D;
    --africa-gold: #FDCE00;
    --africa-red: #EF3340;
}

/* Sector Tags */
.sector-tag {
    display: inline-block;
    background-color: var(--africa-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin: 0.3rem;
    font-size: 0.8rem;
}

/* Project Tabs */
.projects-tabs .tab-header {
    display: flex;
    border-bottom: 2px solid var(--africa-gold);
    margin-bottom: 1.5rem;
}

.projects-tabs .tab-link {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    position: relative;
}

.projects-tabs .tab-link.active {
    font-weight: bold;
}

.projects-tabs .tab-link.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--africa-red);
}

/* Event Badges */
.event-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.event-badge.virtual {
    background-color: var(--africa-green);
    color: white;
}

.event-badge.location {
    background-color: var(--africa-gold);
    color: var(--navy-primary);
}
/* Africa Leadership Styles */
.leadership-section {
    background-color: var(--off-white);
    padding: 4rem 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.leadership-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.leadership-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.leadership-caption {
    padding: 1.5rem;
    text-align: center;
}

.leadership-caption h4 {
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.leadership-caption p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

.leadership-caption p:last-child {
    color: var(--africa-green);
    font-weight: 600;
}

/* Country Flags (optional) */
.leadership-card::after {
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    background-image: var(--country-flag);
    background-size: cover;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* About Page Styles */
.page-hero {
    padding: 8rem 0 6rem;
    color: white;
    text-align: center;
}

.breadcrumbs {
    padding: 1rem 0;
    background-color: var(--light-gray);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--navy-primary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mv-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.mv-icon {
    font-size: 2rem;
    color: var(--africa-green);
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    margin: 3rem 0;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--africa-gold);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-year {
    position: absolute;
    left: -2rem;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--navy-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-image {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 4px;
}

.board-members {
    margin-top: 1.5rem;
}

.board-member {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.board-member img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.company {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.report-cover {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border: 1px solid var(--light-gray);
}

/* Events Page Styles */
.events-filters {
    background-color: var(--off-white);
    padding: 2rem 0;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.filter-group select, 
.filter-group input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-date-badge {
    background-color: var(--navy-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.event-date-badge .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.event-content {
    padding: 1rem 1rem 1rem 0;
}

.event-meta {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.event-meta i {
    margin-right: 0.3rem;
    color: var(--africa-green);
}

.event-category {
    display: inline-block;
    background-color: var(--africa-green);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin: 0.5rem 0;
}

.event-excerpt {
    color: var(--dark-gray);
    margin: 1rem 0;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.event-price {
    font-weight: bold;
    color: var(--navy-primary);
}

.event-price.free {
    color: var(--africa-green);
}

.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.no-results i {
    font-size: 3rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

/* Membership Page Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--africa-gold);
    margin-bottom: 1rem;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tier-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card.featured {
    border: 2px solid var(--africa-gold);
}

.tier-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--africa-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tier-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--navy-primary);
    margin: 1rem 0;
}

.tier-price span {
    font-size: 1rem;
    font-weight: normal;
    color: var(--medium-gray);
}

.tier-features {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.tier-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--light-gray);
}

.tier-features li::before {
    content: '✓';
    color: var(--africa-green);
    margin-right: 0.5rem;
}

.corporate-membership {
    background: var(--off-white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.corporate-membership ul {
    display: inline-block;
    text-align: left;
    margin: 1rem 0;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

/* Resources Page Styles */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--dark-gray);
}

.category-card:hover {
    transform: translateY(-5px);
    color: var(--navy-primary);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--africa-green);
    margin-bottom: 1rem;
}

.category-link {
    color: var(--navy-primary);
    font-weight: 600;
    margin-top: 1rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.report-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.report-image {
    position: relative;
}

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

.report-type {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 31, 63, 0.8);
    color: white;
    padding: 0.3rem;
    text-align: center;
    font-size: 0.8rem;
}

.report-meta {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0.5rem 0;
}

.report-meta .date {
    margin-right: 1rem;
}

.report-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.report-downloads {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.webinars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.webinar-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.webinar-date {
    background-color: var(--navy-primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.webinar-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.webinar-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.webinar-meta {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin: 0.5rem 0;
}

.webinar-meta i {
    margin-right: 0.3rem;
    color: var(--africa-green);
}

.webinar-price {
    font-weight: bold;
    color: var(--navy-primary);
}

.webinar-price.free {
    color: var(--africa-green);
}

.member-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--africa-gold);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
}

.alert i {
    margin-right: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--africa-green);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.regional-offices {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.office-card {
    background: var(--off-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.office-card h4 {
    color: var(--navy-primary);
    margin-bottom: 0.5rem;
}

.office-card p {
    margin: 0.3rem 0;
}

.office-card i {
    margin-right: 0.5rem;
    color: var(--africa-green);
}

.contact-map {
    background: var(--off-white);
    padding: 3rem 0;
    text-align: center;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.department-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.department-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.department-card h4 {
    color: var(--navy-primary);
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        order: -1;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .event-card,
    .report-card,
    .webinar-card {
        grid-template-columns: 1fr;
    }
    
    .event-date-badge,
    .report-image,
    .webinar-date {
        display: none;
    }
}
.hero-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
/* Gallery Page Styles */
.gallery-controls {
    background-color: var(--off-white);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.controls-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: var(--navy-primary);
    color: white;
    border-color: var(--navy-primary);
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
}

.view-btn.active {
    background-color: var(--navy-primary);
    color: white;
    border-color: var(--navy-primary);
}

/* Main Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-grid.list-view {
    display: block;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-grid:not(.list-view) .gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-grid.list-view .gallery-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.gallery-grid.list-view .media-wrapper {
    flex: 0 0 300px;
}

.gallery-grid.list-view .media-info {
    padding: 1.5rem;
}

.media-wrapper {
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .media-overlay {
    transform: translateY(0);
}

.media-overlay h3 {
    margin-bottom: 0.5rem;
}

.media-overlay p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.media-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.media-meta i {
    margin-right: 0.3rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--africa-red);
}

.media-info {
    padding: 1rem;
}

.media-info h3 {
    margin-bottom: 0.5rem;
}

.media-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Archive View */
.gallery-archive {
    margin: 2rem 0;
}

.archive-year {
    margin-bottom: 3rem;
}

.archive-year h2 {
    border-bottom: 2px solid var(--africa-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.archive-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.archive-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
}

.archive-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.archive-video-thumb,
.archive-external-thumb {
    position: relative;
}

.archive-video-thumb .play-icon,
.archive-external-thumb .play-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
}

.archive-item-info {
    padding: 0.5rem 0;
}

.archive-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-item-info p {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox-content {
    display: flex;
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

#lightbox-image {
    max-width: 70%;
    height: auto;
    object-fit: contain;
}

.lightbox-info {
    padding: 2rem;
    flex: 1;
}

.lightbox-info h3 {
    margin-bottom: 1rem;
}

.lightbox-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.lightbox-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.close-lightbox {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.lightbox-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.lightbox-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* Video Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    background: white;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    margin-bottom: 1rem;
}

.video-info p {
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* Gallery Upload Form */
.gallery-upload {
    background-color: var(--off-white);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--light-gray);
}

#gallery-upload-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .lightbox-content {
        flex-direction: column;
        max-width: 90%;
    }
    
    #lightbox-image {
        max-width: 100%;
        max-height: 60vh;
    }
    
    .gallery-grid.list-view .gallery-item {
        flex-direction: column;
    }
    
    .gallery-grid.list-view .media-wrapper {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) {
    .controls-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .archive-items {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.accs-video-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.accs-video-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Projects Section Styling */
.projects-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    flex-wrap: wrap;
}

.project-meta i {
    margin-right: 5px;
    color: #e74c3c;
}

.project-content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-highlights ul {
    margin: 1rem 0;
    padding-left: 1.2rem;
}

.project-highlights li {
    margin-bottom: 0.5rem;
    color: #34495e;
}

.project-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
}

.export-markets {
    margin: 1.5rem 0;
}

.export-markets span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #34495e;
}

.market-flags {
    display: flex;
    gap: 0.8rem;
}

.flag {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.flag.us {
    background: #f1f8fe;
    color: #3c78d8;
    border: 1px solid #3c78d8;
}

.flag.eu {
    background: #f8f5ff;
    color: #674ea7;
    border: 1px solid #674ea7;
}

.flag.uk {
    background: #fff8f8;
    color: #cc0000;
    border: 1px solid #cc0000;
}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #e74c3c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.subsection {
    margin-top: 4rem;
}

.subsection-title {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e74c3c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}