body { font-family: 'Open Sans', sans-serif; }
        h1, h2, h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;   }
        /* CAROUSEL HERO STYLES */
.hero-wrapper {
    position: relative;
    height: 100vh; /* Full screen height */
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* This makes the image darker so text is readable */
    position: relative;
}

/* This adds a dark shade over every photo automatically */
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

/* This forces the text to sit ON TOP of the slider */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Above the slider */
    text-align: center;
    color: white;
    width: 90%;
    max-width: 800px;
}
        .bg-green { background-color: #2E8B57; color: white; }
        .feature-icon { font-size: 3rem; color: #2E8B57; margin-bottom: 15px; }
        .volunteer-card { border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
        .btn-donate { background-color: #ff4500; color: white; padding: 10px 25px; border-radius: 30px; }
        .btn-donate:hover { background-color: #e03e00; color: white; }
    


        /* DONATION FORM STYLES */
.donation-btn-group .btn {
    border: 1px solid #ccc;
    color: #333;
    font-weight: bold;
    margin: 2px;
}
.donation-btn-group .btn.active-amount {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}
.payment-method-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    background: #f9f9f9;

}
.donation-btn-group .btn { border: 1px solid #ccc; font-weight: bold; margin: 2px; }
        .donation-btn-group .btn.active-amount { background-color: #0d6efd; color: white; border-color: #0d6efd; }
        .payment-method-box { border: 1px solid #ddd; border-radius: 8px; padding: 15px; margin-top: 20px; background: #f9f9f9; }


        /* IMPACT VISUAL COMPOSITION */
.impact-wrapper {
    position: relative;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto; /* Center it */
}

/* 1. The Tall Main Photo */
.main-impact-img {
    width: 90%;
    height: 500px; /* Force it tall */
    object-fit: cover;
    border-radius: 8px;
    margin-left: 10%; /* Shift right to make room for green box */
}

/* 2. The Green Floating Badge */
.impact-badge {
    position: absolute;
    top: 20%;
    left: 0;
    width: 220px;
    padding: 30px 20px;
    background-color: #2fb42a; /* Bright Green */
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2; /* Sit on top of photo */
}
/* The little Red Triangle shadow effect */
.impact-badge::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0; 
    height: 0; 
    border-top: 15px solid #a31d1d; /* Dark Red Shadow */
    border-left: 15px solid transparent;
}

/* 3. The Video Thumbnail Floating Card */
.video-float-card {
    position: absolute;
    bottom: 50px;
    right: -10px;
    width: 240px;
    padding: 10px;
    background: white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border-radius: 4px;
    cursor: pointer;
    z-index: 3; /* Sit on top of everything */
    transition: transform 0.3s ease;
}
.video-float-card:hover {
    transform: scale(1.05); /* Zoom slightly on hover */
}
.play-btn-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    background: #2fb42a;
    border-radius: 50%;
    display: flex;
    align-items: center; justify-content: center;
    color: white;
    font-size: 24px;
    border: 3px solid white;
}

/* MOBILE FIXES: Reset the float logic for phones */
@media (max-width: 768px) {
    .main-impact-img { width: 100%; margin: 0; height: 350px; }
    .impact-badge { position: relative; width: 100%; top: 0; left: 0; margin-bottom: -30px; }
    .video-float-card { position: relative; bottom: 0; right: 0; width: 100%; margin-top: -50px; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #1ebc57;
    transform: scale(1.1); /* Grow slightly on hover */
    color: white;
}

        /* =============================================
   MOBILE RESPONSIVENESS FIXES 
   ============================================= */

@media (max-width: 768px) {
    
    /* 1. Make the big headlines smaller on phones */
    h1.display-3, h1.display-5 {
        font-size: 2.5rem !important; /* Smaller text */
    }

    h2 {
        font-size: 1.8rem;
    }

    /* 2. Shrink the OSA Logo on mobile navigation */
    .navbar-brand img {
        height: 50px !important; /* Smaller logo for phone header */
        width: auto !important;
    }

    /* 3. Adjust the Hero Section/Carousel */
    .hero-wrapper, .carousel-item {
        height: 60vh; /* Takes 60% of screen height instead of full 100% */
        min-height: 500px; /* But never get too small */
    }

    .hero-content {
        width: 95%; /* Use full width on phone */
        text-align: center;
    }

    /* 4. Fix Buttons in the modal popup */
    .donation-btn-group .btn {
        flex: 1 1 45%; /* Make buttons side-by-side (2 per row) */
        margin: 5px !important;
    }
    
    /* 5. Make text readable on phone brightness */
    p.lead {
        font-size: 1rem;
    }
}


/* --- CUSTOM PDF DOWNLOAD BUTTON --- */
.btn-pdf-download {
    background-color: #ffffff;
    color: #d32f2f; /* Standard PDF Red */
    border: 2px solid #d32f2f;
    border-radius: 50px; /* Fully rounded pill shape */
    padding: 10px 25px;
    font-weight: 700; /* Bold text */
    text-transform: uppercase;
    font-size: 0.85rem; /* Neat and sharp */
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
    box-shadow: 0 4px 6px rgba(0,0,0,0.08); /* Soft shadow */
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-pdf-download:hover {
    background-color: #d32f2f;
    color: #ffffff !important;
    transform: translateY(-3px); /* Lifts up slightly */
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.25); /* Glow effect */
}


/* --- CUSTOM NAV BAR STYLES --- */
.navbar-custom {
    background-color: #ffffff; /* White background */
    border-bottom: 3px solid #2E8B57; /* Foundation Green accent line */
}

/* OSA KENYA Logo Text Style */
.navbar-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; /* Extra bold */
    font-size: 1.25rem;
    color: #000; /* Black for contrast */
    line-height: 1;
}
.navbar-logo-text small {
    color: #2E8B57; /* Green for the Thrive line */
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-top: -3px;
}

/* YouTube Button Style */
.btn-youtube {
    background-color: #ff0000; /* Red */
    color: white;
    border: 2px solid #ff0000;
    border-radius: 50px;
    padding: 8px 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.btn-youtube:hover {
    background-color: #cc0000;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Donate Button Style (Overriding the standard one) */
.btn-donate-nav {
    background-color: #ff4500; /* Bright Orange */
    color: white;
    border: 2px solid #ff4500;
    border-radius: 50px;
    padding: 8px 22px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.btn-donate-nav:hover {
    background-color: #e03e00;
    border-color: #e03e00;
}

/* Mobile Fixes for Buttons */
@media (max-width: 768px) {
    .navbar-toggler { border-color: #2E8B57; }
    .navbar-nav { margin-top: 10px; }
    .navbar-nav .nav-item { margin: 5px 0; }
    .navbar-nav .btn { width: 100%; text-align: center; }
}
