/* ========================
   Theme Colors
======================== */
:root {
    --primary-color: #ff6600;   /* neon orange */
    --secondary-color: #ff0000; /* bright red */
    --text-color: #333;
    --header-bg: #fff;           /* header background white */
}

/* ========================
   Reset
======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: var(--text-color);
}

/* ========================
   Container
======================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================
   Header & Navigation
======================== */
header {
    background-color: var(--header-bg);
    padding: 15px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* Logo */
header .logo img.logo-img {
    height: 50px;
    width: auto;
}

header .logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.8em;
    font-weight: bold;
}

/* Navigation - Desktop */
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================
   Hero Section
======================== */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(255,102,0,0.8), rgba(255,0,0,0.8)), url('images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
}

.hero h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

/* ========================
   Buttons
======================== */
.btn {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* ========================
   Main Content
======================== */
main {
    padding: 40px 0;
    background-color: #fff;
    min-height: 70vh;
}

/* Headings */
h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Paragraphs */
p {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* ========================
   Footer
======================== */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* ========================
   About / Mission
======================== */
.about {
    text-align: center;
    padding: 60px 20px;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* ========================
   Founder / Dorcus Kangu Andati
======================== */
.about-founder {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.about-founder h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.founder-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

.imageframe {
    flex: 1 1 300px;
    max-width: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.imageframe img {
    width: 100%;
    height: auto;
    display: block;
}

.founder-text {
    flex: 2 1 500px;
    text-align: left;
    color: #555;
}

.founder-text p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.founder-text blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid var(--primary-color);
    background: #f8f8f8;
    font-style: italic;
    border-radius: 5px;
}

.founder-text blockquote cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    color: var(--secondary-color);
    font-style: normal;
}

/* ========================
   Programs
======================== */
.programs {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.programs h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.program-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.program {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 25px 20px;
    width: 300px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.program h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.program p {
    color: #333;
    font-size: 1rem;
}

/* ========================
   Testimonials
======================== */
.testimonials {
    padding: 60px 20px;
    background: #f0f0f0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonial {
    max-width: 700px;
    margin: 0 auto 25px;
    font-style: italic;
    color: #555;
    padding: 15px 20px;
    border-left: 4px solid var(--primary-color);
    background: #fff;
    border-radius: 5px;
}

/* ========================
   Call-to-Action
======================== */
.cta {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 10px;
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.cta .btn {
    margin: 10px;
}

/* ========================
   Newsletter Signup
======================== */
.newsletter {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.newsletter h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter input[type="email"] {
    padding: 12px 15px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    flex: 1 1 250px;
    max-width: 400px;
}

.newsletter button {
    padding: 12px 25px;
    border-radius: 5px;
    border: none;
    background: var(--secondary-color);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background: var(--primary-color);
}

/* ========================
   Impact Stats / Counters
======================== */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.stat h3 {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-size: 1.2em;
    color: #555;
}

/* ========================
   Blog / Featured Stories
======================== */
.blog {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
}

.blog h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.blog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    width: 300px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.blog-post h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.blog-post p {
    font-size: 1rem;
    color: #333;
}

.blog-post .btn-secondary {
    margin-top: 10px;
}

/* ========================
   Gallery / Images
======================== */
.gallery {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.gallery h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-grid img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* ========================
   Donation Section
======================== */
.donate {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 10px;
}

.donate h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.donate p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* ========================
   Social Media Links
======================== */
.social {
    padding: 60px 20px;
    text-align: center;
    background: #f8f8f8;
}

.social h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
}

/* ========================
   Responsive Styles
======================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    header .header-container {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        position: absolute;
        top: 80px;
        left: 0;
        padding: 15px 0;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links.show li a {
        color: #fff;
        font-weight: bold;
    }

    .nav-links.show li a:hover {
        color: #ff0;
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
    }

    header .logo img.logo-img {
        height: 50px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .hero h2 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .program-list {
        flex-direction: column;
        align-items: center;
    }

    .program {
        width: 90%;
    }

    .cta h2, .about h2, .about-founder h2, .programs h2, .testimonials h2, .newsletter h2 { font-size: 2em; }

    /* Added sections responsive */
    .stats { flex-direction: column; gap: 20px; }
    .blog-list, .gallery-grid { flex-direction: column; align-items: center; }
    .blog-post, .gallery-grid img { width: 90%; }
    .donate h2, .social h2, .stats .stat h3 { font-size: 2em; }
}
