:root {
    --rrf-primary: #0b5d3b;      /* deep green - RRF brand tone, adjust in Admin > Site Settings if a palette is added later */
    --rrf-accent: #f2a71b;
    --rrf-dark: #0d1b12;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #222;
}

.btn-primary, .navbar-brand span.text-primary {
    background-color: var(--rrf-primary) !important;
    border-color: var(--rrf-primary) !important;
    color: #fff;
}

.text-primary { color: var(--rrf-primary) !important; }

.top-strip {
    background-color: var(--rrf-dark);
    color: #eee;
}
.top-strip a { color: #eee; margin-left: .5rem; }

/* ---------- Hero carousel ---------- */
.hero-carousel .carousel-item {
    height: 520px;
    background-size: cover;
    background-position: center;
}
.hero-carousel .carousel-caption {
    bottom: 15%;
    text-align: left;
    left: 8%;
    right: auto;
    max-width: 600px;
    background: rgba(0,0,0,.45);
    padding: 1.5rem 2rem;
    border-radius: .5rem;
}
@media (max-width: 768px) {
    .hero-carousel .carousel-item { height: 360px; }
    .hero-carousel .carousel-caption { left: 5%; right: 5%; max-width: none; padding: 1rem 1.25rem; }
}

/* ---------- Impact stat counters ---------- */
.impact-stat .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--rrf-primary);
}

/* ---------- Cards ---------- */
.rrf-card {
    border: 1px solid #eee;
    border-radius: .75rem;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
}
.rrf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.08);
}
.rrf-card img { height: 200px; object-fit: cover; width: 100%; }

.service-icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(11,93,59,.1);
    border-radius: 50%;
    color: var(--rrf-primary);
    font-size: 1.5rem;
}

.partner-logo {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: .75;
    transition: all .2s ease;
}
.partner-logo:hover { filter: none; opacity: 1; }

.team-photo { height: 260px; object-fit: cover; width: 100%; }

/* ---------- Forms ---------- */
.form-control:focus, .form-select:focus {
    border-color: var(--rrf-primary);
    box-shadow: 0 0 0 .2rem rgba(11,93,59,.15);
}

/* ---------- Rich text content (from admin WYSIWYG editor) ---------- */
.content-body { line-height: 1.75; }
.content-body h1, .content-body h2, .content-body h3 { color: var(--rrf-primary); margin-top: 1.5rem; }
.content-body img { max-width: 100%; height: auto; border-radius: .5rem; }
.content-body ul, .content-body ol { padding-left: 1.5rem; }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--rrf-primary); }
.pagination .page-item.active .page-link { background-color: var(--rrf-primary); border-color: var(--rrf-primary); }
