 :root {
            --primary: #1e40af;
            --secondary: #10b981;
            --accent: #60a5fa;
            --light: #f8fafc;
            --dark: #0f172a;
            --gradient: linear-gradient(135deg, #1e40af 0%, #10b981 100%);
        }
        * { margin:0; padding:0; box-sizing:border-box; }
        body { font-family: 'Segoe UI', system-ui, sans-serif; color: var(--dark); background: var(--light); line-height: 1.7; }
        header { background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
        nav { max-width: 1300px; margin: 0 auto; padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; }
        .logo-img { max-height: 60px; width: auto; }
        .nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: color 0.3s ease; }
        .nav-links a:hover { color: var(--secondary); }
        .menu-toggle { display: none; font-size: 2rem; cursor: pointer; color: var(--primary); }

        /* Hero Slider */
        .hero { position: relative; height: 85vh; min-height: 600px; overflow: hidden; }
        .slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; transition: transform 1s ease-in-out; }
        .slide { min-width: 100%; height: 100%; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: white; position: relative; }
        .slide::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); }
        .slide-content { position: relative; z-index: 2; max-width: 1000px; padding: 30px; }
        .slide h1 { font-size: 4.2rem; margin-bottom: 24px; font-weight: 800; text-shadow: 0 4px 12px rgba(0,0,0,0.5); }
        .slide p { font-size: 1.6rem; max-width: 900px; margin: 0 auto 50px; opacity: 0.95; }
        .btn { display: inline-block; padding: 16px 40px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: all 0.4s ease; box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
        .btn.primary { background: white; color: var(--primary); }
        .btn.secondary { background: var(--secondary); color: white; }
        .btn:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }





 @media (max-width: 768px) {
            .nav-links { display: none; flex-direction: column; position: absolute; top: 80px; left: 0; width: 100%; background: white; padding: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
            .nav-links.active { display: flex; }
            .menu-toggle { display: block; }
            .hero { height: 70vh; }
            .slide h1 { font-size: 3rem; }
            .slide p { font-size: 1.3rem; }
            .about-container { flex-direction: column; gap: 50px; text-align: center; }
        }
        /* About Section - Pro Layout */
        #about { padding: 120px 30px; max-width: 1300px; margin: 0 auto; background: white; }
        .about-container { display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
        .about-logo { flex: 1; min-width: 300px; text-align: center; }
        .about-logo img { max-width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
        .about-text { flex: 2; min-width: 400px; }
        .about-text p { font-size: 1.3rem; margin-bottom: 30px; color: #334155; }
        .about-text strong { color: var(--secondary); font-size: 1.4rem; }
        .read-more { display: inline-block; margin-top: 30px; padding: 14px 32px; background: var(--primary); color: white; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s; }
        .read-more:hover { background: var(--secondary); transform: translateY(-3px); }

        section { padding: 100px 30px; max-width: 1300px; margin: 0 auto; }
        h2 { text-align: center; font-size: 3rem; margin-bottom: 60px; color: var(--primary); position: relative; }
        h2::after { content: ''; width: 80px; height: 4px; background: var(--secondary); display: block; margin: 20px auto 0; border-radius: 2px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
        .card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.08); transition: all 0.4s ease; }
        .card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
        .card img { width: 100%; height: 220px; object-fit: cover; }
        .card-content { padding: 30px; text-align: center; }
        
        
        

        /* Team, Partners, CTA, Footer styles (same as before with minor tweaks) */
        footer {
    background: var(--dark);
    color: white;
    padding: 100px 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.footer-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-grid h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.footer-grid h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background: white;
    position: absolute;
    bottom: -8px;
    left: 0;
}

.footer-grid p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;          /* Text justified kwa mwonekano pro */
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.footer-grid strong {
    color: var(--accent);
}

.social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}

.social a {
    color: white;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.social a:hover {
    color: var(--secondary);
    transform: translateY(-5px) scale(1.2);
}

footer > p:last-child {
    font-size: 0.98rem;
    opacity: 0.9;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        gap: 50px;
    }
    .footer-grid p {
        text-align: center;       /* Justified inaweza kuwa mbaya kwenye mobile narrow, revert to center */
    }
    .social {
        gap: 20px;
    }
}
        
        
        
        
        .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
        .team-member { text-align: center; background: white; padding: 30px 20px; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.06); }
        .team-member img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 5px solid var(--accent); margin-bottom: 20px; }
        .partners img { max-width: 160px; margin: 25px 40px; filter: grayscale(60%); transition: all 0.4s; }
        .partners img:hover { filter: grayscale(0%); transform: scale(1.12); }
       

/* News & Stories Section */
/* Updated News & Stories - Grid Layout */
#news {
    background: #ffffff;
    padding: 120px 30px;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 70px;
}

.news-header h2 {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.news-header p {
    font-size: 1.4rem;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-top: 5px solid var(--secondary);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(16,185,129,0.15);
}

.card-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.card-excerpt {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 24px;
}

.card-footer {
    text-align: center;
}

.read-more {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .news-card {
        margin: 0 10px;
    }
}


/* New Pro About Section - Centered & Card-Based */
       
.about-intro {
    max-width: 1000px;
    margin: 0 auto 70px;
    text-align: justify;          /* Text justified kwa pro look */
    font-size: 1.28rem;
    line-height: 1.95;
    color: #1e293b;
    hyphens: auto;                /* Hyphenation kwa text justified ili isionekane mbaya */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.about-intro p {
    margin-bottom: 32px;          /* Spacing bora kati ya paragraphs */
    text-indent: 0;               /* No indent, ili iwe clean */
}

.about-intro p:first-of-type::first-letter {
    font-size: 2.8rem;            /* Drop cap kwa paragraph ya kwanza - pro touch */
    float: left;
    margin: 0 12px 0 0;
    line-height: 1;
    font-weight: 800;
    color: var(--primary);
}

/* Optional: Add subtle quote-like styling for belief paragraph */
.about-intro p:nth-child(2) {
    font-style: italic;
    color: #334155;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin: 40px 0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .about-intro {
        font-size: 1.18rem;
        line-height: 1.85;
        text-align: left;         /* Justified inaweza kuwa mbaya kwenye mobile narrow screens, revert to left */
    }
    .about-intro p:first-of-type::first-letter {
        font-size: 2.4rem;
    }
}
  

#about {
    padding: 120px 30px;
    background: #ffffff;
    position: relative;
}

#about .section-title {
    text-align: center;
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

#about .section-title::after {
    content: '';
    width: 100px;
    height: 5px;
    background: var(--secondary);
    display: block;
    margin: 20px auto 0;
    border-radius: 3px;
}

.about-intro {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.9;
    color: #1e293b;
}

.about-intro p {
    margin-bottom: 28px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.highlight-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border-top: 5px solid var(--secondary);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.highlight-card h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.highlight-card h3::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--secondary);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.highlight-card p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.8;
}

.read-more-container {
    text-align: center;
    margin-top: 70px;
}

.read-more {
    display: inline-block;
    padding: 16px 48px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.2);
}

.read-more:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    #about {
        padding: 80px 20px;
    }
    #about .section-title {
        font-size: 2.6rem;
    }
    .about-intro {
        font-size: 1.2rem;
    }
    .highlight-card {
        padding: 30px 20px;
    }
}

