
/*
Theme Name: Hope Foundation
Author: Your Organisation
Description: A custom Bootstrap theme for an NGO website.
Version: 1.0
Text Domain: hope-foundation
*/

/* Your custom website styles go below this line. */

:root {
    --brand-green: #176b45;
    --brand-dark: #123b2c;
    --brand-light: #edf6ef;
    --brand-orange: #e8a23a;
}

body {
    font-family: Arial, sans-serif;
    color: #28352d;
}

.navbar-brand {
    color: var(--brand-green);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--brand-orange);
}

.nav-link {
    font-weight: 600;
    color: #35483b;
}

.nav-link:hover {
    color: var(--brand-green);
}

.btn-brand {
    background-color: var(--brand-green);
    color: white;
    border: 1px solid var(--brand-green);
    padding: 12px 24px;
    font-weight: 600;
}

.btn-brand:hover {
    background-color: var(--brand-dark);
    color: white;
}

.hero {
    background: var(--brand-light);
    padding: 70px 0;
}

.hero h1 {
    color: var(--brand-dark);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-image {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 18px;
}

.section-label {
    color: var(--brand-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.program-card {
    border: 0;
    border-radius: 14px;
    height: 100%;
    transition: transform 0.2s ease;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-icon {
    background: var(--brand-light);
    color: var(--brand-green);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 25px;
}

.impact-section {
    background: var(--brand-dark);
    color: white;
}

.impact-number {
    color: #f4c36d;
    font-size: 2.5rem;
    font-weight: 800;
}

footer {
    background: #0d2d21;
    color: #e1ebe4;
}

footer a {
    color: #e1ebe4;
    text-decoration: none;
}

footer a:hover {
    color: #f4c36d;
}

@media (max-width: 767px) {
    .hero {
        padding: 45px 0;
    }

    .hero-image {
        height: 280px;
    }
}

/* Keep the hero content aligned in two columns */
.hero .row {
    display: flex;
    align-items: center;
}

.hero .hero-image {
    display: block;
    max-width: 100%;
}

/* Prevent oversized content on smaller screens */
.hero h1 {
    overflow-wrap: break-word;
}