/* Contact Form Styling */
.contact-section {
    background: #f9f9f9;
    padding: 3rem 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    margin: 2rem auto 0 auto;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #1a4d3e;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #f5f5f5;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid #1a4d3e;
    outline: none;
    background: #fff;
}

.contact-form button.btn-yellow {
    align-self: flex-end;
    padding: 0.8rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #1a4d3e;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background-image: url('img/african_inst.jfif');
    background-size: 110%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    color: white;
    position: relative;
    min-height: 500px;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        background-size: 110%;
        background-position: center center;
    }
    50% {
        background-size: 120%;
        background-position: 40% 60%;
    }
    100% {
        background-size: 110%;
        background-position: 60% 40%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 140, 0, 0.7);
    z-index: 1;
}

.hero-scratch {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url('img/slider-scratch.webp');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 1;
    pointer-events: none;
    z-index: 3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin: 1rem 0;
    line-height: 1.2;
}

.hero-content p {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
}

.badge-yellow {
    background: #ffd700;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-yellow {
    background: #ffd700;
    color: #333;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s;
}

.btn-yellow:hover {
    transform: translateY(-2px);
}

.hero-image img {
    width: 70%;
    border-radius: 50%;
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    display: block;
    margin: 0 auto;
}

/* Action Cards */
.action-cards {
    padding: 3rem 0;
}

.action-cards .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.card > * {
    position: relative;
    z-index: 2;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-storytelling {
    background-image: url('img/afri-story-telling.jpg');
}

.card-workshops {
    background-image: url('img/workshop.png');
}

.card-speaking {
    background-image: url('img/Speaking.png');
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Headquarters Section */
.headquarters {
    padding: 4rem 0;
    background: #f8f9fa;
}

.headquarters .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hq-images {
    display: flex;
    gap: 1rem;
}

.hq-images > img {
    width: 50%;
    border-radius: 10px;
    object-fit: cover;
}

.hq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 50%;
}

.hq-grid img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.hq-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
}

/* Stories/Podcast Section */
.stories {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-top: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.podcast-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.podcast-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.podcast-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.play-icon:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.podcast-content {
    padding: 1.5rem;
}

.episode-label {
    background: #667eea;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    font-weight: 600;
}

.podcast-content h3 {
    margin: 1rem 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.3rem;
}

.episode-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.podcast-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #999;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.duration, .date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.podcast-content audio {
    width: 100%;
    height: 40px;
    border-radius: 20px;
    outline: none;
}

.podcast-content audio::-webkit-media-controls-panel {
    background-color: #f5f7fa;
    border-radius: 20px;
}

/* Donation Form */
.donation-form {
    padding: 4rem 0;
    background: #f8f9fa;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #2c3e50;
    margin-top: 1rem;
}

.amount-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.amount-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.amount-btn.active,
.amount-btn:hover {
    background: #ffd700;
    border-color: #ffd700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.btn-large {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

/* Image Banner */
.image-banner {
    padding: 2rem 0;
}

.image-banner .container {
    position: relative;
}

.image-banner img {
    width: 100%;
    border-radius: 10px;
    max-height: 400px;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 {
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.author span {
    color: #999;
    font-size: 0.9rem;
}

.testimonials > .container > .btn-yellow {
    display: block;
    margin: 0 auto;
}

/* Bottom CTA */
.bottom-cta {
    background: linear-gradient(135deg, #1a7366 0%, #1a4d3e 100%);
    padding: 4rem 0;
    color: white;
}

.bottom-cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-image img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: #34495e;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: #ffd700;
    color: #333;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: #ffd700;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container,
    .headquarters .container,
    .bottom-cta .container {
        grid-template-columns: 1fr;
    }

    .action-cards .container,
    .causes-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #1a4d3e;
        flex-direction: column;
        gap: 1.5rem;
        width: 180px;
        padding: 1.5rem 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        z-index: 2000;
    }
    .nav-menu.nav-menu-active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2100;
        margin-left: 1rem;
    }
    .hamburger .bar {
        width: 26px;
        height: 3px;
        background: #ffd700;
        margin: 3px 0;
        border-radius: 2px;
        transition: 0.3s;
    }
    .hamburger.is-active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .hamburger.is-active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    @media (max-width: 768px) {
        .hamburger {
            display: flex;
        }
        .nav-menu {
            position: absolute;
            right: 20px;
            top: 60px;
        }
    }
    @media (min-width: 769px) {
        .hamburger {
            display: none;
        }
        .nav-menu {
            display: flex !important;
            position: static;
            flex-direction: row;
            gap: 2rem;
            background: none;
            width: auto;
            padding: 0;
            box-shadow: none;
        }
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
