:root {
    --primary-blue: #0A4D68;
    --primary-teal: #088395;
    --accent-orange: #FF6B35;
    --accent-gold: #F4B942;
    --neutral-light: #F8F9FA;
    --neutral-gray: #6C757D;
    --neutral-dark: #212529;
    --green-900: #0d2b0a;
    --green-800: #1a3a15;
    --green-700: #2D5A27;
    --green-600: #3a7032;
    --green-500: #4a8a42;
    --green-400: #6ab04c;
    --green-300: #8dcc6e;
    --green-200: #b8e89a;
    --green-100: #e8f7df;
    --lime: #a8d063;
    --gold: #c8b400;
    --cream: #f9f6ef;
    --white: #ffffff;
    --dark: #0f1f0d;
    --text: #2c3e25;
    --muted: #6b7c63;
    --border: #d4e5c8;
    --section-pad: 7rem 0;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Side by side */
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.about-val h5 {
    color: var(--primary-blue, #0A4D68);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.about-val p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Stack them on mobile */
@media (max-width: 768px) {
    .about-values {
        grid-template-columns: 1fr;
    }
}

.about-val {
    background: white;
    padding: .3rem;
    border-radius: 10px;
    border-left: 3px solid var(--green-400);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--neutral-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

/* Top Bar */
.top-bar {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

.top-bar i {
    margin-right: 0.5rem;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue) !important;
}

.navbar-brand .highlight {
    color: var(--accent-orange);
}

.navbar-nav .nav-link {
    color: var(--neutral-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.btn-donate-nav {
    background: var(--accent-orange);
    color: white;
    /* padding: 0.6rem 1.5rem; */
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.btn-donate-nav:hover {
    background: transparent;
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: #00000080;
    border-radius: 10px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    /* font-size: clamp(1.1rem, 2vw, 1.3rem); */
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0rem;
    /* max-width: 650px; */
    font-size: 13px;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

.btn-primary-custom:hover {
    background: transparent;
    color: white;
    border-color: white;
}

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

.btn-secondary-custom:hover {
    background: white;
    color: var(--primary-blue);
}

/* Stats Bar */
.stats-bar {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.08);
    margin-top: 0px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-teal);
    font-family: 'Playfair Display', serif;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--neutral-gray);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Custom 5-column grid */
.five-cols {
    display: flex;
    flex-wrap: wrap;
}

.five-cols .stat-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

@media (min-width: 768px) {
    .five-cols .stat-col {
        flex: 0 0 20%;
        max-width: 20%;
        border-right: 1px solid #dee2e6; /* Optional separator */
    }
    .five-cols .stat-col:last-child {
        border-right: none;
    }
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.btn-stat-more {
    font-size: 0.8rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.btn-stat-more:hover i {
    padding-left: 5px; /* Slight arrow nudge on hover */
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge {
    display: inline-block;
    background: rgba(8, 131, 149, 0.1);
    color: var(--primary-teal);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #26292b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--neutral-light);
}

.about-img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


.about-img {
    width: 100%;
    height: 834px;
    /* Or your preferred height */
    /* background-size: cover; */
    background-position: center;
    border-radius: 10px;
    /* Ensure the background-image provided inline by PHP takes priority */
}

.about-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    color: var(--neutral-gray);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    padding: 0.75rem 0;
    color: var(--neutral-dark);
    font-weight: 500;
}

.about-list li i {
    color: var(--accent-orange);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Programs Grid */
.programs-section {
    background: white;
}

.program-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
 
}

.program-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}


.program-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image covers area without stretching */
    transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
    transform: scale(1.1);
    /* Subtle zoom effect on hover */
}

.program-card-body {
    padding: 15px;
    flex-grow: 1;
    /* text-align: center; */
}

.program-card-body h4 {
    color: var(--primary-blue, #0A4D68);
    font-weight: 700;
    margin-bottom: 12px;
}

/* Maintain the bullet style from the previous step */
.program-features {
    list-style: none;
    padding: 0;
    /* margin-top: 15px; */
    /* border-top: 1px solid #f0f0f0; */
    padding-top: 15px;
    padding: 0px;
    margin: .5em;
}

.program-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: #555;
}

.program-features li::before {
    content: "•";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
}

.program-card h4 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.program-card p {
    color: var(--neutral-gray);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
}

.program-features li {
    /* padding: 0.4rem 0; */
    color: var(--neutral-gray);
    font-size: 0.95rem;
    margin-left: 0px;
    /* padding-left: 0px; */
}

.program-features li::before {
    content: '✓';
    color: var(--accent-orange);
    font-weight: bold;
    margin-right: 1.rem;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: white;
}

.impact-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.impact-section .section-title {
    color: white;
}

.impact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.impact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.impact-quote {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
}

.impact-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-orange);
    line-height: 0;
    display: block;
    margin-bottom: 0.5rem;
}

.impact-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    background: var(--accent-orange);
    margin-right: 1rem;
}

.impact-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.impact-role {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    background: var(--neutral-light);
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C5A 100%);
    border-radius: 15px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-light-custom {
    background: white;
    color: var(--accent-orange);
    border: 2px solid white;
}

.btn-light-custom:hover {
    background: transparent;
    color: white;
}

.btn-outline-light-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--accent-orange);
}

/* Partners Section */
.partners-section {
    background: white;
    padding: 4rem 0;
}

.partners-section h5 {
    text-align: center;
    color: var(--neutral-gray);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-logo {
    width: 150px;
    height: 80px;
    background: var(--neutral-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--neutral-gray);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: var(--neutral-light);
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.contact-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-orange);
}

.contact-card p {
    color: var(--neutral-gray);
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand .highlight {
    color: var(--accent-orange);
}

.footer-about {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-orange);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Stories Marquee */
.stories-marquee-section {
    background: white;
    padding: 4rem 0;
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}

.marquee-content {
    display: flex;
    animation: marquee 40s linear infinite;
    width: fit-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.story-item {
    flex: 0 0 400px;
    margin: 0 1rem;
    background: var(--neutral-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.story-item:hover {
    transform: translateY(-5px);
}

.story-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
}

.story-item-content {
    padding: 1.5rem;
}

.story-item-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.story-item-text {
    color: var(--neutral-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.story-item-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-gray);
    font-size: 0.85rem;
}

/* Publications Section */
.publications-section {
    background: var(--neutral-light);
}

.publication-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.publication-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.publication-icon {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    padding: 2rem;
    text-align: center;
}

.publication-icon i {
    font-size: 3rem;
    color: white;
}

.publication-content {
    padding: 2rem;
}

.publication-type {
    display: inline-block;
    background: rgba(8, 131, 149, 0.1);
    color: var(--primary-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.publication-title {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.publication-desc {
    color: var(--neutral-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #E9ECEF;
}

.publication-date {
    color: var(--neutral-gray);
    font-size: 0.85rem;
}

.btn-download {
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: var(--primary-blue);
    color: white;
}

/* Media Section */
.media-section {
    background: white;
}

.media-card {
    background: white;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.media-card:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.media-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
    overflow: hidden;
}

.media-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.media-card:hover .media-play-btn {
    background: var(--accent-orange);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.media-content {
    padding: 1.5rem;
}

.media-type {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.media-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.media-desc {
    color: var(--neutral-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.media-date {
    color: var(--neutral-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-blue) 100%);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7);
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .about-img {
        height: 350px;
    }

    .cta-box {
        padding: 3rem 2rem;
    }
}

.navbar-brand {
    gap: 12px !important;
}

.site-title-text {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: inherit !important;
}

img.custom-logo {
    height: 60px !important;
    width: 62px !important;
}

/* Highlighted text in logo */
.highlight {
    color: var(--accent-orange)!important;
    /* Change this hex code to your brand color */
    font-weight: 800;
    font-size: 24px !important;
}


/* Make sure it looks good next to logo */
.site-title-text {
    font-size: 1.65rem !important;
    font-weight: 700;
    line-height: 1;
    margin-left: 8px;
}

.stat-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 20px;
    /* Adjust based on your design */
}

/* Move the content up slightly on hover to make room for the button */
.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.btn-stat-more {
    position: absolute;
    bottom: -40px;
    /* Hide below the box */
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    /* Use your theme primary color */
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.stat-item:hover .btn-stat-more {
    bottom: 15px;
    /* Slide up into view */
    opacity: 1;
}


/* Fix for Visited Links in Programs */
.program-title-link, 
.program-title-link:visited {
    color: var(--primary-blue, #0A4D68) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.program-title-link:hover {
    color: var(--highlight-green, #08839557) !important;
}

/* Program Button Styling */
.btn-primary-custom {
    background-color: var(--primary-blue, #0A4D68);
    border-color: var(--primary-blue, #0A4D68);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--highlight-green, #088395);
    border-color: var(--highlight-green, #088395);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary-custom:visited {
    color: #ffffff !important; /* Ensures the button text stays white after clicking */
}

.program-excerpt.mb-3 {
    /* text-align: center; */
}

/* 1. Set the initial state (Hidden) */
.btn-program-hover {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); /* Start slightly lower */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 2. Set the hover state (Visible) */
/* When the user hovers over the .program-card, change the button inside it */
.program-card:hover .btn-program-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to original position */
}

/* 3. Ensure the card handles the transition smoothly */
.program-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.program-card:hover {
    border-color: rgba(10, 77, 104, 0.1); /* Subtle border on hover */
    background-color: #ffffff;
}

/* Extra: Make sure the visited state doesn't break the button colors */
.btn-program-hover:visited {
    color: #ffffff !important;
}


.impact-avatar>img.attachment-thumbnail.size-thumbnail.wp-post-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
} 
@keyframes marquee-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}
.story-item-image>img.attachment-thumbnail.size-thumbnail.wp-post-image {
    width: 100%;
    /* height: 100%; */
    /* border-radius: 50%; */
}

.share-links .btn {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 15px;
}

.story-content {
    font-size: 1.15rem;
    line-height: 1.8;
}

.story-date {
    font-size: 1rem;
    opacity: 0.9;
}

.publication-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden; /* Clips the image to the border radius */
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.publication-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents distortion */
    transition: transform 0.5s ease;
}

.publication-card:hover .publication-image img {
    transform: scale(1.1);
}

.publication-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.publication-type-badge {
    background: var(--accent-orange);
    color: white;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.publication-content {
    padding: 5px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.publication-title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    line-height: 1.4;
}

/* Ensure excerpt is restricted to keep cards even */
.publication-desc {
    margin-bottom: 20px;
}

.publication-desc p {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.press-thumb-gradient {
    height: 150px; 
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--highlight-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.cta-section {
    position: relative;
    z-index: 1;
}

.cta-box {
    box-shadow: 0 15px 40px rgba(10, 77, 104, 0.2);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C5A 100%) !important;
    border-radius: 15px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-box .btn-light {
    background-color: #fff;
    color: var(--primary-blue);
    border: none;
    font-weight: 700;
}

.cta-box .btn-light:hover {
    background-color: var(--highlight-green);
    color: #fff;
}

.partners-section {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover .grayscale {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo span {
    font-size: 0.9rem;
    color: #999;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li a {
    text-decoration: none;
    color: rgba(255,255,255,0.7);
    transition: 0.3s;
}
.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Ensure the dropdown wrapper is positioned correctly */
.nav-item.dropdown {
    position: relative;
}

/* Style the actual dropdown box */
.navbar-nav .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    padding: 15px 0;
    margin-top: 0; 
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    z-index: 1000;
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
}

/* Style the links inside the dropdown */
.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    color: #444;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0A4D68; /* Your primary blue */
    padding-left: 25px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ─── NAVBAR ─── */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  position: sticky; top:0; z-index:1000;
  padding: .8rem 0;
  transition: all .3s;
}
.navbar .container {display:flex;align-items:center;justify-content:space-between;gap: 0.5rem;}
.navbar-brand { display:flex; align-items:center; gap:.8rem; }
.navbar-logo-circle {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color:white; font-weight:700; font-size:1rem;
  font-family: 'Space Grotesk', sans-serif;
  flex-shrink:0;
}
.navbar-brand-text strong { font-family:'Cormorant Garamond',serif; font-size:1.5rem; color:var(--green-800); display:block; line-height:1; }
.navbar-brand-text span { font-size:.68rem; color:var(--muted); letter-spacing:1.5px; text-transform:uppercase; font-family:'Space Grotesk',sans-serif; }

.nav-list { display:flex; list-style:none; align-items:center; gap:.25rem; }
.nav-list > li { position:relative; }
.nav-link {
  display:flex; align-items:center; gap:.3rem;
  padding: .6rem .9rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}
.nav-link:hover, .nav-link.active { color: var(--green-700); background: var(--green-100); }
.nav-link .chev { font-size:.65rem; transition:.2s; margin-top:1px; }
.nav-list > li:hover .chev { transform:rotate(180deg); }

/* dropdowns */
/* .dropdown {
    display:none;
    position:absolute;
    top:calc(100% + .5rem);
    left:0;
    min-width:220px;
    background:white;
    border-radius:10px;
    box-shadow:0 15px 50px rgba(0,0,0,.12);
    border:1px solid var(--border);
    z-index:200;
    animation:dropIn .2s ease;
} */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;           /* flush — no gap to fall through */
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 15px 50px rgba(0,0,0,.12);
  border: 1px solid var(--border);
  z-index: 200;
  animation: dropIn .2s ease;

  padding-top: .5rem;  /* visual breathing room lives here */
}

.mega-trigger:hover .mega-dropdown {
  top: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  border-radius: 10px;
  margin-top: 5px;   /* ← add this, adjust the value until it sits right */
}


.mega-trigger {
  position: relative;
}


.mega-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px; /* must match your margin-top / gap value */
  background: transparent;
}


.mega-trigger:hover .mega-dropdown {
  display: block;
}
.nav-list > li:hover .dropdown { display:block; }
@keyframes dropIn { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.dropdown a {
  display:flex;
  align-items:center;
  gap:.7rem;
  padding: .7rem 1.2rem;
  font-size:.87rem;
  color:var(--text);
  transition:.2s;
  font-family:'Space Grotesk',sans-serif;
  font-weight:500;
  text-decoration: none;
}
.dropdown a:hover { background:var(--green-100); color:var(--green-700); padding-left:1.6rem; }
.dropdown .drop-icon { width:28px; height:28px; background:var(--green-100); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:.8rem; color:var(--green-600); flex-shrink:0; }
.drop-divider { border:none; border-top:1px solid var(--border); margin:.3rem 0; }
.drop-header { font-size:.65rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--muted); padding:.6rem 1.2rem .2rem; }

/* MEGA MENU */
.mega-dropdown {
  display:none; position:fixed; top:0; left:0; right:0;
  background:white; box-shadow:0 20px 60px rgba(0,0,0,.1);
  border-top:3px solid var(--green-700);
  z-index:200; padding:2.5rem 0;
  margin-top:0;
  animation:dropIn .2s ease;
}
.mega-trigger { position:static; }
.mega-trigger:hover .mega-dropdown { display:block; }
.mega-trigger:hover .mega-dropdown { top:100%; position:absolute; left:50%; transform:translateX(-50%); width:900px; border-radius:0 0 12px 12px; }
.mega-inner { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.mega-col-title { font-size:.68rem; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:var(--muted); margin-bottom:.8rem; padding-bottom:.5rem; border-bottom:2px solid var(--green-100); }
.mega-item { display:flex; align-items:flex-start; gap:.7rem; padding:.6rem .5rem; border-radius:8px; transition:.2s; cursor:pointer; }
.mega-item:hover { background:var(--green-100); }
.mega-icon { width:36px; height:36px; background:linear-gradient(135deg,var(--green-700),var(--green-400)); border-radius:8px; display:flex; align-items:center; justify-content:center; color:white; font-size:.85rem; flex-shrink:0; }
.mega-text strong { display:block; font-size:.85rem; color:var(--text); font-family:'Space Grotesk',sans-serif; font-weight:600; line-height:1.3; }
.mega-text span { font-size:.75rem; color:var(--muted); }
.navbar-actions { display:flex; align-items:center; gap:.75rem; }
.hamburger { display:none; flex-direction:column; gap:4px; cursor:pointer; padding:.5rem; }
.hamburger span { width:22px; height:2px; background:var(--text); border-radius:2px; transition:.3s; }



.mission-vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  /* border: 1px solid #c8dfbf; */
}

.mission-vision-block {
  padding: 3rem 2.8rem;
  position: relative;
  overflow: hidden;
    
}

/* dark card (Mission) */
.mission-vision-block:first-child {
  background: #1d4a18;
    border-radius:15px 0 0 15px
}

.mission-vision-block:first-child::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}

.mission-vision-block:first-child .wp-block-heading {
  font-style: italic;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.mission-vision-block:first-child p {
  color: rgba(255, 255, 255, .72);
  font-size: .925rem;
  line-height: 1.85;
}

/* light card (Vision) */
.mission-vision-block:last-child {
  background: #f4faf2;
  border-left: 1px solid #c8dfbf;
    border-radius:0px 15px 15px 0px
}

.mission-vision-block:last-child::before {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(29, 74, 24, .06);
  pointer-events: none;
}

.mission-vision-block:last-child .wp-block-heading {
  font-style: italic;
  color: #1d4a18;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.mission-vision-block:last-child p {
  color: #4a6645;
  font-size: .925rem;
  line-height: 1.85;
}

/* eyebrow labels — add these spans manually or via a block above each h3 */
.mission-vision-block:first-child .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(169, 211, 85, .15);
  border: 1px solid rgba(169, 211, 85, .3);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 1.5rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #a9d355;
}

.mission-vision-block:last-child .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 74, 24, .08);
  border: 1px solid rgba(29, 74, 24, .18);
  border-radius: 4px;
  padding: 5px 12px;
  margin-bottom: 1.5rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #1d4a18;
}

/* responsive */
@media (max-width: 700px) {
  .mission-vision-container {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .mission-vision-block:last-child {
    border-left: none;
    border-top: 1px solid #c8dfbf;
  }

  .mission-vision-block {
    padding: 2.5rem 2rem;
  }
}

.about-hero {
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Change to 'fixed' for a parallax effect */
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-color: #0A4D68; /* Fallback color if image fails */
   
}

.page-hero{
     border-radius: 0 0 30%;
}

/* Styling the breadcrumb separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\F285"; /* Bootstrap Icon Chevron Right */
    font-family: "bootstrap-icons";
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    padding-right: 15px;
}

.about-hero h1 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}


/* ── outer column wrapper ───────────────────── */
.about-photo-collage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── inner two-column row ────────────────────── */
.about-photo-collage > .wp-block-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 !important;
}

/* ── every image fills its cell ──────────────── */
.about-photo-collage .wp-block-image {
  margin: 0 !important;
  height: 100%;
}

.about-photo-collage .wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;

  /* remove WordPress inline width override */
  max-width: unset !important;
}

/* ── fix the wp-block-column cells ───────────── */
.about-photo-collage > .wp-block-columns .wp-block-column {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── top two images — fixed height ───────────── */
.about-photo-collage > .wp-block-columns .wp-block-column {
  height: 360px;   /* adjust to taste */
}

/* ── bottom full-width image ─────────────────── */
.about-photo-collage > .wp-block-image {
  margin: 0 !important;
  height: 240px;   /* adjust to taste */
}

.about-photo-collage > .wp-block-image img {
  border-radius: 10px;
}

/* ── optional: subtle hover zoom ─────────────── */
.about-photo-collage .wp-block-image img {
  transition: transform .45s ease;
}
.about-photo-collage .wp-block-image:hover img {
  transform: scale(1.04);
}

/* ── wrap images so zoom doesn't overflow ─────── */
.about-photo-collage .wp-block-image,
.about-photo-collage > .wp-block-columns .wp-block-column {
  overflow: hidden;
  border-radius: 10px;
}

/* ── mobile: stack everything ────────────────── */
@media (max-width: 700px) {
  .about-photo-collage > .wp-block-columns {
    grid-template-columns: 1fr !important;
  }

  .about-photo-collage > .wp-block-columns .wp-block-column {
    height: 260px;
  }

  .about-photo-collage > .wp-block-image {
    height: 200px;
  }
}

.team-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #eee;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    border-color: var(--primary-blue);
}

.member-image img {
    transition: transform 0.5s ease;
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.team-cta .bg-primary {
    /* Slightly darker or more vibrant blue than your standard bg-primary */
    background: linear-gradient(135deg, #0A4D68 0%, #088395 100%) !important;
    border: none;
}

.cta-circle-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.team-cta .btn-light {
    color: #0A4D68;
    transition: all 0.3s ease;
}

.team-cta .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.team-cta .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}



/* ═══ SECTION SHELL ════════════════════════════ */
.projects-section {
  padding: 7rem 0;
  background: #f5f0e8;        /* warm off-white */
  position: relative;
  overflow: hidden;
}

/* ── to use a photo background instead: ──
.projects-section {
  background:
    linear-gradient(rgba(245,240,232,.92), rgba(245,240,232,.92)),
    url('your-image.jpg') center / cover no-repeat fixed;
}
*/

/* dot texture overlay */
.projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #2d6b26 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .3;
  pointer-events: none;
}

/* soft blob accent top-right */
.projects-section::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,107,38,.08), transparent 70%);
  pointer-events: none;
}

/* ═══ HEADER ════════════════════════════════════ */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.projects-header .section-title {
  font-style: italic;
  color: #0f2b0c;
}

.projects-header .section-sub {
  color: #4a6645 !important;
}

/* ═══ GRID ══════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

/* ═══ ALL CARDS ═════════════════════════════════ */
.project-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(45,107,38,.12);
  box-shadow: 0 4px 24px rgba(15,43,12,.07);
  transition: transform .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15,43,12,.14);
}

.project-card.featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

/* ═══ IMAGE STRIP ═══════════════════════════════ */
.project-card-img {
  height: 90px;
  background: linear-gradient(145deg, #0f2b0c, #1d4a18, #2d6b26);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.18);
  position: relative;
}

.project-card.featured .project-card-img {
  flex: 1;
  min-height: 200px;
  height: auto;
}

/* ═══ TAG ═══════════════════════════════════════ */
.project-tag {
  position: absolute;
  top: .75rem;
  left: .9rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.18);
  border-radius: 3px;
  padding: .2rem .65rem;
}

.project-card.featured .project-tag {
  background: rgba(169,211,85,.22);
  border: 1px solid rgba(169,211,85,.4);
  color: #a9d355;
}


/* ═══ BODY ══════════════════════════════════════ */
.project-card-body {
  padding: 0.5rem 1.5rem 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-body h5 {
  font-size: .9rem;
  font-weight: 600;
  color: #0f2b0c;
  line-height: 1.4;
  margin: 0 0 .55rem;
}

.project-card.featured .project-card-body {
  justify-content: space-between;
}

.project-card.featured .project-card-body h5 {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}

.project-card-body p {
  font-size: .79rem;
  color: #4a6645;
  line-height: 1.75;
  margin: 0;
  flex: 1;
  padding: 0px;
}



/* ═══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card.featured {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
  }
  .project-card.featured .project-card-img {
    width: 220px;
    min-height: unset;
    flex: none;
  }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .project-card.featured .project-card-img {
    width: 100%;
    min-height: 160px;
  }
}

.project-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-body .mt-auto {
    margin-top: auto;
    padding-top: 15px;
}

.project-card-body .btn-primary:hover {
    background-color: #388E3C !important; /* Slightly darker corporate green */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.contact-page {
    background-color: #f8f9fa;
    padding-bottom: 80px;
}

.contact-page .mt-n5 {
    margin-top: -60px !important;
    position: relative;
    z-index: 10;
}

.contact-page .icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form .form-control:focus, 
.contact-form .form-select:focus {
    background-color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50 !important;
}

.contact-page .btn-success {
    transition: all 0.3s ease;
}

.contact-page .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2) !important;
}

.donate-page {
    background-color: #f0f2f5;
    padding-bottom: 100px;
}

.donate-page .mt-n5 {
    margin-top: -80px !important;
}

.donate-page .border-success {
    border-color: #4CAF50 !important;
}

/* Custom shadow for the donation card */
.donate-page .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.donate-page .btn-lg {
    transition: transform 0.3s ease;
}

.donate-page .btn-lg:hover {
    transform: scale(1.02);
}


.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Adjust spacing between logo and text */
}

.navbar-brand-text {
    font-weight: bold;
    color: inherit; /* Keeps your corporate colors */
}

/* Ensure the custom logo image doesn't get too large */
.site-logo img {
    /* max-height: 50px; */
    width: auto;
}

/* Container for the 3x3 layout */
.drop-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
    gap: 10px 20px; /* 10px vertical, 20px horizontal spacing */
    min-width: 650px; /* Wider container for 3 columns */
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}

/* Individual Item Styling */
.drop-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.drop-item:hover {
    background-color: #e6f4f1; /* Light version of Bero Ngima Teal */
    color: #088395;
    transform: translateX(3px);
}

.drop-icon {
    color: #088395;
    margin-right: 10px;
    font-size: 0.9rem;
}

.drop-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

/* Responsive: 2 columns on tablets, 1 on mobile */
@media (max-width: 992px) {
    .drop-grid-container {
        grid-template-columns: repeat(2, 1fr);
        min-width: 450px;
    }
}

@media (max-width: 576px) {
    .drop-grid-container {
        grid-template-columns: 1fr;
        min-width: 100%;
    }
}

.dropdown {
    position: absolute;
    left: 50%; /* Start at the middle of the parent link */
    transform: translateX(-50%); /* Move it 80% of its own width to the left */
    margin-left: 0; 
    border-radius 10px !important;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    line-height: 29px;
}