
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:gold;
    color:#333;
}

header{
    position:fixed;
    top:0;
    width:100%;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    font-size:26px;
    font-weight:bold;
    color:#0a3d91;
}

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav ul li a{
    text-decoration:none;
    color:#222;
    font-weight:600;
}

.donate-btn{
    background:#f7b500;
    color:white;
    padding:12px 24px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
}

.hero{
    height:100vh;
    background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
    url('img/watoto.jpg') center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
}

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

.hero h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

.btn{
    display:inline-block;
    padding:15px 30px;
    margin:10px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
}

.btn-primary{
    background:#f7b500;
    color:white;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.section{
    padding:90px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:40px;
    color:#0a3d91;
}

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}




.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.progress{
    width:100%;
    height:10px;
    background:#ddd;
    border-radius:20px;
    overflow:hidden;
    margin:15px 0;
}

.progress span{
    display:block;
    height:100%;
    background:#0a3d91;
}

.card button{
    background:#0a3d91;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:30px;
    cursor:pointer;
}

.highlight{
    background:#0a3d91;
    color:white;
}

.highlight-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.highlight img{
    width:100%;
    border-radius:15px;
}

.donation-form{
    background:white;
    max-width:700px;
    margin:auto;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.donation-form input,
.donation-form select{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:10px;
}

.donation-form button{
    width:100%;
    padding:15px;
    border:none;
    background:#f7b500;
    color:white;
    border-radius:10px;
    font-weight:bold;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.news-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.news-card .content{
    padding:20px;
}

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}
.about img{
    width:100%;
    border-radius:15px;
}

.newsletter{
    background:#f7b500;
    color:white;
    text-align:center;
}

.newsletter input{
    width:350px;
    max-width:100%;
    padding:15px;
    border:none;
    border-radius:30px;
}

.newsletter button{
    padding:15px 25px;
    border:none;
    border-radius:30px;
    margin-left:10px;
    font-weight:bold;
}

footer{
    background:inherit;
    color:red;
    padding:60px 8%;
    height: 350px;
}

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

footer a{
    color:#ccc;
    text-decoration:color;
    display:block;
    margin:10px 0;
}
.copyright{
    align-content: center;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    color: #9749b;
}

@media(max-width:768px){

.hero h1{
    font-size:38px;
}

.highlight-container,
.about{
    grid-template-columns:1fr;
}

nav{
    display:none;
}
}

/* zingine */

    /* Multi-Function Card Schema */
    .donation-card {
      background-color: var(--card-bg);
      border-radius: var(--border-radius);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
      width: 100%;
      max-width: 400px;
      overflow: hidden;
      border: 1px solid var(--secondary-color);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .donation-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    /* Photo Styling */
    .card-photo-wrapper {
      position: relative;
      width: 100%;
      height: 220px;
      background-color: #eaecef;
    }
    .card-photo {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .badge {
      position: absolute;
      top: 16px;
      left: 16px;
      background-color: rgba(30, 35, 41, 0.85);
      color: #fff;
      padding: 6px 12px;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 20px;
    }

    /* Card Content */
    .card-content {
      padding: 24px;
    }
    .card-title {
      font-size: 1.4rem;
      margin-bottom: 12px;
      font-weight: 700;
    }
    .card-description {
      font-size: 0.95rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 24px;
    }

    /* Accepted Payment Icons strip inside the card */
    .payment-methods {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      padding-top: 16px;
      border-top: 1px solid var(--secondary-color);
      color: var(--text-muted);
      font-size: 0.85rem;
    }
    .payment-methods .icons {
      font-size: 1.25rem;
      display: flex;
      gap: 8px;
    }
    .fa-cc-mastercard { color: #ff5f00; }
    .fa-cc-visa { color: #00579f; }
    .fa-bitcoin { color: #f7931a; }

    /* Action Buttons Layer layout (Side-by-Side) */
    .card-actions {
      display: flex;
      gap: 12px;
    }
    .btn {
      flex: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 16px;
      font-size: 0.95rem;
      font-weight: 600;
      text-decoration: none;
      border-radius: 10px;
      transition: all 0.2s ease;
      text-align: center;
    }
    /* Read More styles */
    .btn-readmore {
      background-color: var(--secondary-color);
      color: var(--text-main);
    }
    .btn-readmore:hover {
      background-color: var(--secondary-hover);
    }

    /* Donate styles */
    .btn-donate {
      background-color: var(--primary-color);
      color: #000000;
    }
    .btn-donate:hover {
      background-color: var(--primary-hover);
    }
    
     :root {
      --bg-color: #f8f9fa;
      --card-bg: #ffffff;
      --text-main: #1e2329;
      --text-muted: #707a8a;
      --primary-color: #f0b90b; /* Binance yellow inspired accent */
      --primary-hover: #d4a307;
      --secondary-color: #eaecef;
      --secondary-hover: #dcdfe4;
      --border-radius: 16px;
    }
    
    .social-icons a {
    color: #333; /* Icon color */
    margin: 0 10px; /* Spacing between icons */
    font-size: 24px; /* Icon size */
    transition: color 0.3s ease;
}

/* Change color on hover */
.social-icons a:hover {
    color: #007bff; 
}


/*.    mwisho      */ 

            /* Floating WhatsApp Button Styling */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Keeps it on top of all other elements */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effects */
.whatsapp-floating-btn:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* Icon sizing inside the circle */
.whatsapp-floating-btn svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

/* Smooth adjustments for mobile devices */
@media (max-width: 768px) {
    .whatsapp-floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-floating-btn svg {
        width: 28px;
        height: 28px;
    }
}


            
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    min-height:200vh;
}

/* HEADER */

header{
    position:sticky;
    top:0;
    width:100%;
    background:#fff;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.nav-container{
    max-width:1400px;
    margin:auto;
    padding:15px 25px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* LOGO */

.logo{
    margin-right: 50px;
    font-size:1.8rem;
    font-weight:700;
    color:#2563eb;
    text-decoration:none;
}

/* DESKTOP MENU */

.nav-links{
    margin-left: 60px;
    margin-right: auto;
    display:flex;
    list-style:none;
    gap:30px;
}

.nav-links li{
    position:relative;
}

.nav-links a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:#2563eb;
}

/* DROPDOWN */

.dropdown{
    position:absolute;
    top:35px;
    left:0;
    background:white;
    min-width:220px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
}

.dropdown a{
    display:block;
    padding:12px 18px;
}

.dropdown a:hover{
    background:#f5f7ff;
}

.nav-links li:hover .dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

/* RIGHT SIDE */

.right-side{
    display:flex;
    margin-left: auto;
    align-items:center;
    width: 100%;
    gap: 53px;
}

.lang-btn{
    margin-left: 20px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#f4f4f4;
    cursor:pointer;
    font-size:18px;
    transition:.3s;
}

.lang-btn:hover{
    background:#2563eb;
    color:white;
}

.cta-btn{
    margin-left: auto;
    padding:12px 24px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.cta-btn:hover{
    background:#1749b8;
}

/* MOBILE MENU */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
}

@media(max-width:900px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:white;
        flex-direction:column;
        gap:0;
        max-height:0;
        overflow:hidden;
        transition:.4s;
        box-shadow:0 5px 20px rgba(0,0,0,.08);
    }

    .nav-links.active{
        max-height:500px;
    }

    .nav-links li{
        width:100%;
    }

    .nav-links a{
        display:block;
        padding:16px 25px;
    }

    .dropdown{
        position:static;
        opacity:1;
        visibility:visible;
        transform:none;
        box-shadow:none;
        display:none;
        background:#f8f8f8;
        border-radius:0;
    }

    .nav-links li:hover .dropdown{
        display:block;
    }

    .cta-btn{
        display:none;
        margin-left: 50px;
    }
}



        .logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    font-size:1.5rem;
    font-weight:700;
    color:#222;
}


            
.logo img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}





/* --- PRIVACY POLICY MODAL OVERLAY ARCHITECTURE --- */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Modern deep slate tinted overlay background */
    backdrop-filter: blur(4px); /* Trendy frosted glass background blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Stays securely on top of headers and video containers */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Activated Window Visibility Hook */
.policy-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Inner Card Box Container */
.policy-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh; /* Prevents card from spilling off mobile viewport limits */
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column; /* Splits card into separate static header/footer and fluid center areas */
    overflow: hidden;
    margin: 20px;
    transform: translateY(25px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.policy-modal-overlay.is-visible .policy-modal-card {
    transform: translateY(0);
}

/* Header Area Styling Layout */
.policy-modal-header {
    background: #222e35; /* Custom brand deep blue/slate tint */
    color: #ffffff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.policy-modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Top Corner Closing X Styling Layout */
.policy-close-corner {
    background: transparent;
    border: none;
    color: #a0aec0;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 0;
}
.policy-close-corner:hover {
    color: #ffffff;
}

/* Scrollable Text Body Layout Area */
.policy-modal-body {
    padding: 30px 25px;
    overflow-y: auto; /* Forces long policy content chunks to stay scrollable natively inside the card */
    color: #2d3748;
    line-height: 1.6;
    font-size: 0.95rem;
}

.policy-modal-body h3 {
    font-size: 1.1rem;
    color: #222e35;
    margin-top: 25px;
    margin-bottom: 10px;
}

.policy-modal-body p {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Bottom Footer Container Action Segment */
.policy-modal-footer {
    padding: 15px 25px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end; /* Snaps action buttons directly down into the right corner */
}

/* Primary Form Close Action Button Layout */
.policy-close-action-btn {
    background: #3182ce; /* Match accent theme blueprint color */
    color: white;
    border: none;
    padding: 10px 22px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.policy-close-action-btn:hover {
    background: #2b6cb0;
}

/* --- PRIVACY POLICY MODAL OVERLAY ARCHITECTURE END  --- */



