/* public/css/style.css */


:root {
    --primary-green: #02490b;
    --primary-green-dark: #013d08;
   
}
/* RESET DEFAULT SPACING */
html, body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

footer {
    margin: 0;
}

/* Force same font everywhere */
* {
    font-family: Arial, sans-serif !important;
}

h1, h2, p, a {
    font-family: inherit;
}

/* Header */
.site-header {
    background-color: #2c8d3f; /* Green header */
    height: 80px;             /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;          /* horizontal spacing */
    position: relative;
    z-index: 10;
} /* ===== GLOBAL PRIMARY COLOR ===== */
 :root { --primary-color: #27ae60; /* same as your CTA buttons */ }

/* ===== HEADER ===== */

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 700;
}

/* Navigation */
/* NAVIGATION CONTAINER */


/* NAV LINKS */
header nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.8px;

    transition: all 0.3s ease;
}

/* HOVER */
header nav a:hover {
    color: #d4f5dc; /* lighter green hover */
    text-decoration: none;
    border-bottom: 2px xolid #d4f5dc;
    padding-bottom: 3px;
}






/* ===== BUTTONS (match header) ===== */
.btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
}

.btn:hover {
    opacity: 0.9;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 768px) {

    /* Hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 2001;
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: white;
        border-radius: 5px;
        transition: 0.3s ease;
    }

    /* Overlay */
    #menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);

        opacity: 0;
        visibility: hidden;

        transition: 0.3s ease;

        z-index: 1998;
    }

    #menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Drawer */
    .site-header nav {
        position: fixed;

        top: 0;
        right: -100%;

        width: 85%;
        max-width: 340px;

        height: 100vh;

        background: white;

        display: flex;
        flex-direction: column;

        padding: 100px 25px 40px;

        transition: 0.4s ease;

        overflow-y: auto;

        z-index: 2000;

        border-radius: 20px 0 0 20px;
    }

    /* Open drawer */
    .site-header nav.active {
        right: 0;
    }

    /* Links */
    .site-header nav a {
        color: #222;
        text-decoration: none;

        font-size: 20px;
        font-weight: 500;

        padding: 18px 0;

        border-bottom: 1px solid #eee;
    }

    /* Dropdown container */
    .dropdown {
        width: 100%;
    }

    /* Hide dropdowns initially */
    .dropdown-menu {
        display: none;
        flex-direction: column;

        padding-left: 15px;
    }

    /* Show active dropdown */
    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .dropdown-menu a {
        font-size: 16px;
        padding: 12px 0;
        color: #555;
        border-bottom: none;
    }

    /* Dropdown toggle row */
    .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Arrow */
    .dropdown > a::after {
        content: "⌄";
        font-size: 18px;
        transition: 0.3s ease;
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }
}


/* Mobile dropdown arrow */
.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-arrow {
    font-size: 13px;
    transition: 0.3s ease;
}

/* Rotate arrow when open */
.dropdown.active .mobile-arrow {
    transform: rotate(180deg);
}



/* =========================
   FOOTER
========================= */

footer {
    background: #02490b;
    color: white;
    padding: 60px 8%;
    margin-top: 60px;
}

/* Main footer layout */
.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Footer titles */
.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

/* Paragraphs */
.footer-section p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;

    word-break: break-word;
}

/* Quick links wrapper */
.footer-links-wrapper {
    display: flex;
    gap: 60px;
}

/* Links column */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Footer links */
.footer-links a,
.social-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

/* Hover */
.footer-links a:hover,
.social-links a:hover {
    color: #9be26d;
}

/* Social links */
.social-links {
    margin-top: 20px;

    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

    footer {
        padding: 50px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-section {
        text-align: left;
    }

    .footer-section h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    /* Quick links in ONE LINE */
    .footer-links-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-links a {
        font-size: 15px;
    }

    .social-links {
        gap: 12px;
    }
}


/* Hero Section */



.hero-subtitle, .hero-description {
    font-size: 1.2rem;/* smaller paragraph text */
    line-height: 1.4;  /* tighter line spacing */
    max-width: 650px;  /* slightly narrower for readability */
    margin-bottom: 10px; /* reduced spacing between paragraphs */
    color:white !important;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;  /* smaller gap between buttons */
    flex-wrap: wrap;
    margin-top: 10px; /* small top margin for buttons */
}

.hero .btn { 
    padding: 14px 32px; /* smaller buttons */
    font-size: 1rem; /* smaller text */
    background: #2d7a3e !important; 
    color: white; 
    text-decoration: none; 
    border-radius: 6px; 
    transition: background 0.3s;
}

.hero .btn:hover { 
    background: #013d08;
     transform: translateY(-2px);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 0.5rem; }
    .hero-subtitle, .hero-description { font-size: 0.4rem; }
    .hero .btn { padding: 6px 11px; font-size: 0.95rem; }
}

/*backgroung image*/
/* HERO SECTION */
.hero {
    position: relative;
    height: 90vh;
    background: url('/images/3.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    justify-content: center;
    padding: 0 15px;
     text-align: center;
}

/* DARK OVERLAY for readability */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* adjust darkness here */
}

/* CONTENT */
.hero-content {
    position: relative;
    color: white;
    text-align: center;
    max-width: 800px;
    padding: 15px;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: center;
}

.hero-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
   
}

.hero-buttons .btn {
    margin: 10px;
}


/*blinking cursor effect*/
#typing-subtitle::after {
    content: "|";
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}



/**Home page list**/
/* INTERACTIVE LIST UPGRADE */
.how-we-work-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-we-work-list li {
    position: relative;

    display: inline-block;

    background: #f3f4f3;
    padding: 16px 20px 16px 26px;
    margin-bottom: 12px;

    border-radius: 10px;
    color: #2f4f2f;
    font-weight: 600;

    width: auto;
    max-width: fit-content;

    transition: all 0.3s ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);

    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(0.1s * var(--i));
}

/* LEFT ACCENT BAR */
.how-we-work-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: var(--primary-green);
    border-radius: 5px;
}

/* HOVER EFFECT (like your image) */
.how-we-work-list li:hover {
    background: #b7e4c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}




.cta-like-block {
    background: #76e476;
    padding: 20px 25px;
    border-radius: 12px;
    max-width: 800px;
    margin: 20px auto;

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.cta-like-block .text-block {
    margin: 0;
    font-weight: 600;
    color: #01300f;
}

.flow-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px auto;
}

.flow-item {
    background: #f6fbf6;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 600;
    color: #01300f;

    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

/* subtle hover like your other cards */
.flow-item:hover {
    background: #b7e4c7;
    transform: translateY(-2px);
}

.flow-arrow {
    font-weight: bold;
    color: #01300f;
}

.small-heading {
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}



/* Cards container */
.cards {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 35px;
    width: 100%;
}

/* Individual card */
.card {
    background: #f8faf8;
    padding: 26px 22px;

    width: auto;
    max-width: 220px;

    border-radius: 18px;
    text-align: left;

    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.04);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background-color 0.3s ease;

    font-family: inherit;
}

/* Card title */
.card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #02490b;
    line-height: 1.4;
}

/* Card text */
.card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Hover effect */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.12);
    background-color: #eef8f0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 90%;
        max-width: 340px;
    }
}

/* Menu toggle (hidden by default) */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
    color: white;
    margin-left: auto;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

h2 {
    text-align: center;        /* Center the text */
    margin-top: 50px;          /* Space above each heading */
    margin-bottom: 20px;       /* Space below each heading */
    font-size: 32px;           /* Adjust size as needed */
    color: #01300f;            /* Dark green to match theme */
    font-weight: 700;
}
h2 + p {
    text-align: center;
    max-width: 800px;          /* Limit width for readability */
    margin: 0 auto 40px auto;  /* Center and add space below */
    color: #4a6a4a;
    line-height: 1.6;
    font-size: 18px;
}
.text-block {
    color: #4a6a4a;     /* same green as "What We Do" */
    font-family: Arial, sans-serif;
    font-size: 18px;    /* same size */
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
}




.text-block + ul,
.text-block + ul li,
.text-block + ul li::marker {
    color:#4a6a4a !important;                     /* text and bullets color */
    font-family: 'YourFont', sans-serif !important; /* match paragraph font */
    font-size: 1rem !important;                 /* match paragraph size */
    line-height: 1.8 !important;                /* spacing between lines */
    list-style-position: inside !important;     /* align bullets nicely */
}

.text-block + ul li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(0.1s * var(--i));
}

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

/*image before Walking through partnership*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.image-section {
    text-align: center;
    margin: 40px 0;
}

.responsive-image {
    max-width: 100%;
    max-height: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.bgf-structure {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;

    flex-wrap: wrap;
    margin-top: 50px;
}

.bgf-block {
    background: #f8faf8;

    max-width: 320px;
    padding: 38px 30px;

    border-radius: 22px;

    text-align: left;

    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.04);

    transition: all 0.3s ease;
}

.bgf-block:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(0,0,0,0.12);

    background: #eef8f0;
}

.bgf-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.bgf-block h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;

    color: #01300f;
}

.bgf-block p {
    line-height: 1.8;
    color: #444;

    margin: 0;
}






/* List items with fade-in animation */
.how-we-work-list li {
    opacity: 0;                      /* start invisible */
    transform: translateY(20px);     /* slight slide-up */
    margin-bottom: 15px;
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--i) * 0.2s); /* staggered delay based on --i */
}

/* Bullet color */
.how-we-work-list li::marker {
    color:#4a6a4a;
}

/* Keyframes for fade-in */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Relationship with the organization */

/* Section styling */
.relationship-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'YourFont', sans-serif;
    color:#4a6a4a;
}

/* Section title */
.relationship-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* Paragraphs */
.relationship-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

/* List styling */
.relationship-list {
    list-style-type: disc;
    padding-left: 20px;
    max-width: 800px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
}

/* List items with fade-in animation */
.relationship-list li {
    opacity: 0;
    transform: translateY(20px);
    margin-bottom: 15px;
    animation: fadeInUp 0.6s forwards;
    animation-delay: calc(var(--i) * 0.2s);

    color: #4a6a4a !important; /*font text colour during animation*/
}

/* Bullet color */
.relationship-list li::marker {
    color:#4a6a4a;
}

/* Fade-in animation keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*Drop down menu*/

.nav-item.dropdown {
    position: relative;
}

/* dropdown box */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* always directly below parent */
    left: 0;
    background: #ffffff;
    min-width: 220px;
    border-radius: 5px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 99999;
}

/* dropdown links */
.dropdown-menu a {
    display: block;
    padding: 12px 15px;
    color: #333 !important;
    text-decoration: none;
}

/* hover effect */
.dropdown-menu a:hover {
    background: #f2f2f2;
}

/* show dropdown on hover */
.nav-item:hover .dropdown-menu {
    display: block;
}

/*image 4*/

/* Container */
.experience-image-container {
    margin-top: 30px;
    width: 100%;
}

/* Image */
.experience-image {
    display: block;
    width: 100%;     /* fills container fully */
    height: auto;

    border-radius: 10px; /* optional */
}

.experience-image:hover {
    transform: scale(1.02);
}

/*image 5*/

.institution-image-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.institution-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);

    transition: transform 0.3s ease;
}

.institution-image:hover {
    transform: scale(1.02);
}


/* ===== ECOSYSTEM SECTION ===== */
.ecosystem-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 

    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;

    background: white; /* keep background here */
}

/* Both columns */
.ecosystem {
    flex: 1;
    max-width: 45%;
}

.ecosystem-text {
    flex: 1;
    max-width: 55%;
}

/* Left diagram */
.ecosystem {
    text-align: center;
}

/* Flow */
.ecosystem-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px; /* slightly tighter spacing */
    margin-top: 20px;
}

/* Boxes */
.eco-box {
    width: 100%;
    max-width: 200px; /* reduced size */
    padding: 12px;     /* reduced padding */
    border-radius: 10px;
    font-weight: bold;
    color: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-size: 14px; /* helps text fit */
    line-height: 1.4;
}

/* Colors */
.partners { background: #1b5e20; }
.spv { background: #43a047; }
.bgf { background: #2d7a3e; }
.farmers { background: #596858; }

/* Text side */
.ecosystem-text {
    text-align: left;
}

.ecosystem-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.ecosystem-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    .ecosystem-section {
        flex-direction: column;
        text-align: center;
    }

    .ecosystem,
    .ecosystem-text {
        max-width: 100%;
    }

    .ecosystem-text {
        text-align: center;
    }
}

/* Container block */
.relationship-container {
    background: #f5f5f0;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 700px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* ===== RELATIONSHIP BLOCK ===== */

/* Container block */
.relationship-container {
    background: #f5f5f0;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 700px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* List styling */
.relationship-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List items */
.relationship-list li {
    font-weight: bold;
    margin-bottom: 12px;
    padding: 10px 12px;

    border-left: 4px solid #2d7a3e;
    background: white;
    border-radius: 6px;

    color: #222;

    cursor: pointer;

    /* Smooth interaction */
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Initial animation */
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.15s);
}

/* Hover (pop-out effect only) */
.relationship-list li:hover {
    transform: translateY(-5px) scale(1.02);
    background-color: #acf4b5;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Full screen centering */
.relationship-wrapper {
    display: flex;
    justify-content: center;   /* horizontal center */
    align-items: center;       /* vertical center */
    min-height: 100vh;             /* full viewport height */
}

/* Your container (unchanged except optional tweaks) */
.relationship-container {
    background: #f5f5f0;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


.about-relationship-section {
    max-width: 900px;
    margin: 60px auto; /* centers the whole section */
    padding: 20px;
    text-align: center; /* centers heading + paragraph */
}

/* Heading */
.about-relationship-section h2 {
    margin-bottom: 15px;
}

/* Paragraph */
.about-relationship-section p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
}

/* Container card */
.relationship-container {
    background: #f5f5f0;
    padding: 25px 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto; /* centers the card */

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* List styling */
.relationship-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List items */
.relationship-list li {
    font-weight: bold;
    margin-bottom: 12px;
    padding: 10px 12px;

    border-left: 4px solid #2d7a3e;
    background: white;
    border-radius: 6px;

    color: #222;

    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.15s);
}

/* Hover pop effect */
.relationship-list li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/*ecosystem animation*/

.eco-box {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

/* Stagger each box */
.partners { animation-delay: 0.2s; }
.spv { animation-delay: 0.5s; }
.bgf { animation-delay: 0.8s; }
.farmers { animation-delay: 1.1s; }

.eco-arrow {
    opacity: 0;
    animation: fadeUp 0.4s ease forwards;
}

/* Match arrows between boxes */
.eco-arrow:nth-of-type(1) { animation-delay: 0.35s; }
.eco-arrow:nth-of-type(2) { animation-delay: 0.65s; }
.eco-arrow:nth-of-type(3) { animation-delay: 0.95s; }

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

/*Hover*/
.eco-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.eco-box:hover{
box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/*guide arrow*/
.eco-box:hover + .eco-arrow {
    color: #02490b;
    font-weight: bold;
}

/* FORCE  to work */
.nav-item {
    position: relative;
    display: inline-block;
}

.nav-item:hover .dropdown-menu {
    display: block !important;
}

.dropdown-menu {
    top: 100% !important;
    left: 0;
}





/*bgf bgff diagram*/
.bgf-diagram {
    padding: 60px 20px;
    text-align: center;
    background: #f4f4f4;
}

.bgf-diagram h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #123;
}

.diagram {
    max-width: 1100px;
    margin: auto;
}

/* Rows */
.row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.center {
    justify-content: center;
}

.split {
    justify-content: space-between;
    align-items: flex-start;
}

/* Boxes */
.box {
    background: #0f3d35;
    color: white;
    padding: 18px 20px;
    border-radius: 10px;
    min-width: 220px;
    max-width: 260px;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.box small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    opacity: 0.85;
}

/* Special SPV box */
.highlight {
    background: #1e6b5c;
    font-weight: bold;
}

/* Branch layout */
.branch {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    flex: 1;
}

/* Smaller bottom boxes */
.box.small {
    min-width: 180px;
    font-size: 13px;
    padding: 14px;
}

/* Footer */
.diagram-footer {
    margin-top: 40px;
    font-size: 14px;
    color: #333;
}

.diagram-arrow {
    text-align: center;

    font-size: 2rem;
    font-weight: bold;

    color: #02490b;

    margin: 10px 0;
}

.small-arrow {
    font-size: 1.5rem;
    margin: 8px 0;
}



/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 768px) {

    .split {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 100%;
    }

    .row {
        flex-direction: column;
        align-items: center;
    }
}






/*Service page*/

.services-page {
    padding: 0;
}

/* HERO */
.services-hero {
    text-align: center;
    margin-bottom: 60px;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-hero h3 {
    margin-bottom: 15px;
    font-weight: normal;
}

.services-hero {
    text-align: center;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('/images/service.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 100px 20px;
    color: white;
}
/*Animation*/
.services-hero h1,
.services-hero h3,
.services-hero .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

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

.services-hero h1 {
    animation-delay: 0.2s;
}

.services-hero h3 {
    animation-delay: 0.5s;
}

.services-hero .btn-primary {
    animation-delay: 0.8s;
}

.btn-primary {
    transition: all 0.3s ease;
}

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

.btn-primary:active {
    transform: translateY(0px);
}





/* BUTTON */
.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #02490b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* INTRO */
.services-intro {
    max-width: 900px;
    margin: auto;
    margin-bottom: 60px;
    text-align: center;
}

/* GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
}

.service-card ul {
    margin-top: 10px;
    padding-left: 20px;
}

.role {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.service-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;

    transition: all 0.35s ease;

    /* initial subtle look */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
}
.service-card p,
.service-card li,
.service-card .role {
    color: #2f2f2f;
    font-family: inherit;
    font-weight: 500;
    line-height: 1,7;
}

/* hover effect */
.service-card:hover {
    transform: translateY(-10px);
     background-color: #a2eaa8;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/*image*/
/* image */
.partners-image {
    width: 100%;
    max-width: 900px;   /* match your section width */
    margin: 0 auto;     /* 🔥 centers it */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.partners-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* subtle zoom effect */
.partners-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partners-image img {
        height: 300px;
    }
}


/*Who we Work with container*/

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* CARD STYLE */
.partner-card {
    background: #ffffff;
    border-left: 5px solid #02490b;
    padding: 20px 25px;
    border-radius: 10px;
    min-width: 260px;
    max-width: 320px;
    text-align: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);

    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
    color: #02490b;

}


/* HOVER POP EFFECT */
.partner-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background: #96f1a1;
}
.partner-card:active {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    background: #96f1a1;
}

/* OPTIONAL TITLE STYLE */
.services-partners h2 {
    text-align: center;
    color: #02490b;
    margin-bottom: 10px;
}


/* SECTIONS */
.services-delivery,
.services-partners,
.services-cta {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.services-partners ul {
    list-style: none;
    padding: 0;
}

.services-partners li {
    margin: 10px 0;
}

/*view our projects*/
.services-cta-container {
    width: 100%;
    height: 400px; /* 🔥 makes it big */
    background: url('/images/486860064_9589078064513965_5699983833627297544_n.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    margin-top: 60px; /* space from section above */
}

/* dark overlay */


/* center button */
.services-cta {
    position: relative;
    text-align: center;
}
.btn-primary {
    font-size: 18px;
    padding: 12px 28px;
    background: #02490b;
    color: white;
    border-radius: 5px;
    text-decoration: none;

    transition: all 0.3s ease;

    /* subtle glow */
    box-shadow: 0 0 8px rgba(46, 125, 50, 0.5);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.8);
}

/*Drop down menu styling*/
/* dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* button */
.dropdown-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

/* dropdown box */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
}

/* links */
.dropdown-content a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: black;
    transition: background 0.3s;
}

/* hover effect */
.dropdown-content a:hover {
    background: #f2f2f2;
}

/* show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
html {
    scroll-behavior: smooth;
}







/* FOOTER NOTE */
.services-note {
    margin-top: 80px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.services-intro h3,
.services-grid h3,
.services-partners h3,
.services-delivery h3,
.services-cta h3 {
    color: #02490b;
}


html, body {
    overflow-x: hidden;
}





/*projects page*/



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

/* =========================
   HEADER
========================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 40px;
    background: #fff;

    border-bottom: none !important;
    box-shadow: none !important;

    position: sticky;
    top: 0;
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    padding: 10px 12px;
    transition: 0.3s;
}

nav a:hover {
    color: #02490b;
}

.projects-hero,
.projects-positioning,
.service-pillars,
.how-we-work,
.delivery-model,
.proof,
.offer-link,
.final-cta {
    padding: 70px 20px;
}



/* =========================
   DROPDOWN
========================= */
.nav-item {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: #fff;
    min-width: 220px;

    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);

    overflow: hidden;
    z-index: 9999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* =========================
   HERO SECTION
========================= */

.projects-hero {
    position: relative;

    width: 100%;

    min-height: 500px;

    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    background:
        linear-gradient(
            rgba(0,0,0,0.55),
            rgba(0,0,0,0.45)
        ),
        url('/images/Dokolo nursery melia seedlings.jpg') center/cover no-repeat;

    border-radius: 0 0 20px 20px;

    overflow: hidden;
}
.projects-hero p {
    font-size: 18px;   /* increase size */
    font-weight: 600;  /* make it bold */
    margin-top: 10px;  /* optional spacing from h1 */
}

/* DARK OVERLAY */
.projects-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20); /* adjust as needed */
    z-index: 1;
}

/* MAKE CONTENT SIT ABOVE OVERLAY */
.projects-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}

.projects-hero h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.projects-hero p {
    max-width: 700px;
    margin: 0 auto;
}

/* =========================
   SECTIONS BASE
========================= */
.projects-page-section {
    padding: 40px 25px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* =========================
   POSITIONING
========================= */
.projects-positioning {
    background: #f9f9f9;
    text-align: center;
}

.positioning-text {
    font-size: 18px;
    max-width: 900px;
    margin: auto;
    line-height: 1.7;
}

.positioning-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.positioning-points div {
    background: #55d360;
    padding: 14px 18px;
    border-radius: 8px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.05);

    font-weight: 600;
    cursor: pointer;

    transition: all 0.25s ease;

    text-align: center;
}

/* Hover effect */
.positioning-points div:hover {
    background: #d6edda; /* light green */
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

/* =========================
   SERVICE PILLARS (CARDS)
========================= */
.service-pillars h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.pillar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    transition:transform 0.3s ease, box-shadow 0.3s ease;
}


.pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background-color: #79ea8f;
}

/***How we Work**/

.how-we-work {
    text-align: center;
    background: #fff;
    padding: 20px 20px;
}

.process-steps {
    display: grid;
    text-align: left;
    gap: 10px;
    max-width: 600px;
    margin: 18px auto;
}

.process-steps div {
    background: #269735;
    padding: 12px 16px;
    border-radius: 8px;

    box-shadow: 0 2px 8px rgba(0,0,0,0.05);

    font-weight: 600; /* 🔥 makes text slightly bold */
    cursor: pointer;
    color: #fff;
  
}

.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 20px;
    margin: 50px auto;

    max-width: 1100px;
}

.flow-box {
    background: #f8faf8;

    padding: 18px 28px;
    border-radius: 18px;

    font-weight: 600;
    color: #01300f;

    box-shadow: 0 10px 24px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.04);

    transition: all 0.3s ease;
}

.flow-box:hover {
    transform: translateY(-4px);
    background: #eef8f0;
    box-shadow: 0 16px 32px rgba(0,0,0,0.10);
}

.flow-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #2d6a4f, #95d5b2);
    border-radius: 10px;
}



/* Hover effect */
.process-steps div:hover {
    background: #67e567; /* light green */
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.process-steps div:active {
    transform: scale(0.98);
}
/* =========================
   DELIVERY MODEL
========================= */

.model-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;

    max-width: 1000px;
    margin: 0 auto;
}

.model-grid div {
    display: inline-block;

    background: #ffffff;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(6px);

    border: 1px solid rgba(255, 255, 255, 0.15);

    padding: 10px 14px;   /* 🔥 smaller = CTA feel */
    border-radius: 999px; /* 🔥 pill shape */

    font-weight: 600;
    font-size: 14px;

    color: #02490b;

    cursor: pointer;

    transition: all 0.25s ease;

    text-align: center;
    line-height: 1.3;
}

/* Hover effect for whole card */
.model-grid div:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Strong text emphasis */
.model-grid div strong {
    display: block;
    font-size: 16px;
    color: #02490b;
    transition: all 0.25s ease;
}

/* Hover effect specifically for strong */
.model-grid div:hover strong {
    letter-spacing: 0.5px;
    color: #036b12;
}

.delivery-model {
    position: relative;
    padding: 80px 40px;

    background: url('/images/091222 Kiambere 023.jpg') center/cover no-repeat;
}

/* dark overlay for readability */
.delivery-model::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.55);
}

/* content sits above overlay */
.delivery-overlay {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;
}

/* =========================
   PROOF (MODERNIZED)
========================= */
.proof {
    text-align: center;
    padding: 80px 40px;
    background: #f7f9f7;
}

/* METRICS */
.metrics {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;

    flex-wrap: nowrap;      /* 🔥 prevents wrapping */
    overflow-x: auto;       /* 🔥 allows scroll on small screens */
}

.metric-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    min-width: 180px;

    box-shadow: 0 6px 15px rgba(0,0,0,0.08);

    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.metric-card span {
    font-size: 28px;
}

.metric-card h3 {
    margin: 10px 0 5px;
    color: #02490b;
}

.metric-card p {
    font-size: 14px;
    color: #555;
}

.metric-card:hover {
    transform: translateY(-6px);
    background: #a2eaa8;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* CASE STUDY */
.case {
    margin-top: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    background: #ffffff;
    padding: 30px;

    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    text-align: left;

    border-left: 5px solid #02490b;
}

.case h3 {
    margin-bottom: 10px;
    color: #02490b;
}

.case p {
    color: #555;
    line-height: 1.6;
}
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #2d7a3e;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.read-more:hover {
    text-decoration: underline;
    transform: translateX(4px);
}


/* TESTIMONIAL */
.testimonial {
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;

    font-style: italic;
    text-align: center;
    color: #444;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #02490b;
}

/* PHOTO STRIP */
.photo-strip {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.photo-strip img {
    width: 100%;
    max-width: 33%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;

    transition: transform 0.3s ease;
}

.photo-strip img:hover {
    transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {

    .proof {
        padding: 50px 20px;
    }

    .metrics {
        flex-direction: column;
        align-items: center;
    }

    .metric-card {
        width: 100%;
        max-width: 280px;
    }

    .case {
        text-align: center;
        padding: 20px;
    }

    .case h3 {
        font-size: 18px;
    }

    .case p {
        font-size: 14px;
    }

    .photo-strip {
        flex-direction: column;
    }

    .photo-strip img {
        max-width: 100%;
        height: 200px;
    }
}



    .metrics div {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* CASE CARD ADJUSTMENT */
    .case {
        padding: 20px;
        text-align: center;
    }

    .case h3 {
        font-size: 18px;
    }

    .case p {
        font-size: 14px;
    }


/* =========================
   CTA SECTIONS
========================= */

.offer-link,
.final-cta {
    text-align: center;
}

.final-cta {
    display: flex;
    justify-content: center;

    padding: 6px 10px;
}

.final-cta p {
    max-width: 500px;
    margin: 0 auto 20px auto;
}

/* IMAGE WRAPPER */
.cta-image-box {
    position: relative;

    width: 100%;
    max-width: 1100px;

    min-height: 420px;

    border-radius: 22px;

    background:
        linear-gradient(
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.45)
        ),
        url('/images/tractor3.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* CONTENT ABOVE IMAGE */
.cta-overlay {
    position: relative;
    z-index: 2;
}

/* BUTTON GROUP */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;

    justify-content: center;
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
    display: inline-block;
    padding: 12px 22px;

    background: #02490b;
    color: #fff;

    border-radius: 6px;
    text-decoration: none;

    transition: 0.3s;
}

.btn-primary:hover {
    background: #036b12;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 22px;

    background: #e0e0e0;
    color: #000;

    border-radius: 6px;
    text-decoration: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {


    nav {
        flex-direction: column;
        gap: 8px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
    }

    .positioning-points {
        flex-direction: column;
    }

    .metrics {
        flex-direction: column;
    }
}



.btn-primary {
    background: #02490b;
    color: #fff;
}

/* content above overlay */
.cta-overlay {
    position: relative;
    z-index: 2;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary {
        width: 80%;
        text-align: center;
    }
}



/*contact page*/

.contact-hero {
    position: relative;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: #fff;

    background: url('/images/img2.webp') center/cover no-repeat;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.contact-hero-overlay {
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Typing effect */
.typing-text {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #fff;
    width: 0;
    animation: typing 4s steps(40, end) forwards, blink 0.7s infinite;
}

@keyframes typing {
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/*map*/
.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/*contact section*/
.contact-section {
    padding: 60px 40px;
    background: #f7f9f7;
}

.contact-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

/*left side*/
.contact-info {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 12px;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-info h2 {
    color: #2d7a3e;
    margin-bottom: 20px;
}

.info-block {
    margin-bottom: 20px;
}

.info-block h4 {
    color: #02490b;
    margin-bottom: 5px;
}

/*form side*/
.contact-form {
    flex: 1.5;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;

    border: 1px solid #ccc;
    border-radius: 6px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.contact-form textarea {
    height: 150px;
}

/*mobile fix*/
@media (max-width: 768px) {

    .contact-container {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .typing-text {
        font-size: 14px;
        white-space: normal;
        border: none;
        animation: none;
        width: 100%;
    }

}

/*custom footer css*/
.contact-footer {
    background: #02490b;
    padding: 40px 20px;
    text-align: center;
    color: #fff;
}

.contact-footer .newsletter-form {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-footer .newsletter-form input {
    padding: 10px;
    border-radius: 6px;
    border: none;
    width: 250px;
}





/***Plantation**/

/* HERO */
.plantation-hero {
    background: #2d7a3e;
    color: white;
    text-align: center;
    padding: 90px 20px;
}

.hero-inner h1 {
    margin-bottom: 10px;
}
/*image*/
.plantation-hero {
    position: relative;
    background: url('/images/Agro Forestry.jpg') center/cover no-repeat;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: white;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* CONTENT ABOVE IMAGE */
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}


/* SECTION CONTAINER */
.plantation-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center; /* 🔥 everything centered */
}

/* 🔥 UNIFIED HEADING STYLE (H2 + H3 SAME LOOK) */
.plantation-section h2,
.plantation-section h3 {
    color: #2d7a3e;
    font-weight: 600;
    margin-bottom: 10px;
}

/* subtitle */
.subtitle {
    color: #666;
    margin-bottom: 30px;
}

/* CONTENT BLOCKS */
.block {
    margin-bottom: 35px;
}

/* force paragraph centering + readability */
.block p {
    line-height: 1.7;
    color: #333;
}

/* list styling */
.block ul {
    list-style: none;
    padding: 0;
}

.block li {
    margin: 6px 0;
    position: relative;
}

/* CTA */
.plantation-cta {
    background: #f4f4f4;
    text-align: center;
    padding: 70px 20px;
}

.cta-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2d7a3e;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
}


/* ================= MOBILE (≤ 768px) ================= */
@media (max-width: 768px) {

    /* HERO */
    .plantations-hero {
        padding: 60px 15px;
    }

    .plantations-hero h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .plantations-hero p {
        font-size: 14px;
    }

    /* SECTION */
    .project-section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .project-section h2 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* BLOCKS */
    .project-block h3 {
        font-size: 16px;
    }

    .project-block p {
        font-size: 14px;
        line-height: 1.6;
    }

    .project-block ul {
        padding-left: 18px;
    }

    .project-block li {
        font-size: 14px;
    }

    /* CTA */
    .projects-cta {
        padding: 40px 15px;
    }

    .projects-cta h2 {
        font-size: 20px;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 12px;
        font-size: 14px;
    }
}

/*Kiambere after image */
.image-container {
    max-width: 800px;   /* controls size */
    margin: 30px auto;
    padding: 0 20px;
}

.image-container img {
    width: 100%;
    height: auto;       /* 🔥 keeps correct proportions */
    max-height: 400px;  /* 🔥 prevents giant images */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}



.plantation-section p {
    max-width: 750px;          /* 🔥 creates clean text block */
    margin: 0 auto 20px auto;  /* 🔥 centers it */
    line-height: 1.7;
    color: #4a6a4a;            /* 🔥 same tone as your other text */
    font-size: 16px;
    font-weight: 520;
}

/* headings consistency */
.plantation-section h2,
.plantation-section h3 {
    color: #2d7a3e;
    font-weight: 600;
    text-align: center;
}

/***Key Charasteristics Animantion***/

/* MAIN CONTAINER */
.key-block {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #f6fbf6;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

/* TITLE */
.key-block h3 {
    text-align: center;
    color: #011205;
    margin-bottom: 20px;
    font-weight: 600;
}

/* LIST GRID */
.key-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

/* LIST ITEMS AS CARDS */
.key-list li {
    background: #ffffff;
    padding: 15px 18px;
    border-left: 4px solid #2d7a3e;
    border-radius: 10px;
    color: #3f5f3f;
    font-size: 15px;
    line-height: 1.5;

    transition: all 0.3s ease;
    cursor: default;
}

/* HOVER EFFECT */
.key-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    border-left: 4px solid #02490b;
    background: #7ceb7c;
}

/* ENTRY ANIMATION */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
}


/**Partners**/

/* =========================
   PARTNERS PAGE
========================= */

/* HERO */
.partners-hero {
    height: 350px;
    background: url('/images/seww.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
/* DARK OVERLAY */
.partners-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.50);   /* increase/decrease darkness here */

    z-index: 1;
}

.partners-hero::before {
    content: "";
    position: absolute;
    inset: 0;
   
}

.partners-hero-overlay {
    position: relative;
    z-index: 2;
}

.partners-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.partners-hero p {
    font-size: 18px;
}

/* GRID */
.partners-section {
    padding: 60px 20px;
    background: #f7f9f7;
}

.partners-grid {
    max-width: 1200px;
    margin: auto;

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

/* CARD */
.partner-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);

    transition: all 0.3s ease;
}

.partner-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-card h3 {
    color: #02490b;
    margin-bottom: 10px;
    font-size: 18px;
}

.partner-card p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

/* HOVER */
.partner-card:hover {
    transform: translateY(-6px);
    background: #a2eaa8;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* MOBILE */
@media (max-width: 768px) {
    .partners-hero h1 {
        font-size: 26px;
    }

    .partners-hero p {
        font-size: 14px;
    }
}


/***FAQs***/

/* FAQ LAYOUT */
.faq-section {
    padding: 60px 20px;
}

.faq-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* LEFT SIDE */
.faq-left {
    flex: 1;
}

/* RIGHT IMAGE */
.faq-right {
    flex: 1;
    position: sticky;
    top: 100px;
}

.faq-right img {
    width: 100%;
    border-radius: 12px;
}

/* FAQ ITEMS */
.faq-item {
    border-bottom: 1px solid #ddd;
}

/* QUESTION */
.faq-question {
    background: #f3f4f3;
    padding: 18px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: 0.3s;
}

.faq-question:hover {
    background: #b7e4c7;
}

/* ICON */
.faq-icon {
    position: absolute;
    right: 20px;
}

/* ANSWER */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
}

.faq-answer p {
    padding: 15px 18px;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    content: "-";
}

/* MOBILE */
@media (max-width: 768px) {
    .faq-container {
        flex-direction: column;
    }

    .faq-right {
        position: static;
    }
}
/* Container */
.info-box-container {
    max-width: 900px;
    margin: 20px auto;
}

/* Individual box */
.info-box {
    background: #f2f2f2;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
}

/* Green left bar */
.info-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: #02490b; /* your primary green */
    border-radius: 5px;
}

/* Text alignment */
.partners-intro,
.partners-subtitle {
    text-align: center;
}
/* Hover effect */
.info-box:hover {
    background: #e6f4ea; /* light green */
    transform: translateY(-3px);
}

/* Optional: make the bar slightly brighter on hover */
.info-box:hover::before {
    background: #045b11;
}

/* Text alignment */
.partners-intro,
.partners-subtitle {
    text-align: center;
}

/* Background container */
.flow-section {
    background-image: url('/images/101124 Kiambere 048.JPG'); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 60px 20px;
    text-align: center;
    position: relative;
    color: rgb(253, 255, 253);
}

/* Optional overlay for readability */
.flow-overlay {
    background: rgba(1, 53, 9, 0.894); /* dark overlay */
    padding: 30px;
    border-radius: 10px;
    display: inline-block;
}


/*REsource page*/

.resources-hero{
    background:
        linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
        url('/images/spray1.jpg');
    background-size:cover;
    background-position:center;
    height:450px;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
    color:white;
}

.resources-hero-overlay{
    max-width:900px;
    padding:20px;
}

.resources-hero h1{
    font-size:3.5rem;
    font-weight:700;
    margin-bottom:20px;
}

.resources-hero p{
    font-size:1.2rem;
    line-height:1.7;
}



.resources-section{
   
    padding:25px 20px 80px;
}


.alt-bg{
    background:#f8faf8;
}

.section-header{
    text-align:center;
    max-width:850px;
    margin:0 auto 50px;
}

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

.resource-card{
    background:#fff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.resource-card h3{
    margin-bottom:15px;
}

.resource-card p{
    margin-bottom:20px;
}

.coming-soon{
    display:inline-block;
    padding:10px 18px;
    background:#ececec;
    border-radius:6px;
    font-weight:600;
}

.resources-cta{
    padding:80px 20px;
    text-align:center;
    color:white;
    background: #fff;
    background-size:cover;
    background-position:center;
}

/*BGF at a Glance*/

/* =========================
   BGF AT A GLANCE SECTION
========================= */

.bgf-glance {
    padding: 80px 20px;
    background: #f7faf7;
}

.bgf-glance-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1f3d2b;
}

.bgf-glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.glance-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.glance-item h3 {
    font-size: 16px;
    color: #6b7c6f;
    margin-bottom: 10px;
    font-weight: 600;
}

.glance-item p {
    font-size: 18px;
    font-weight: 700;
    color: #1f3d2b;
}

/* Full width item */
.glance-item.full-width {
    grid-column: span 3;
}

/* Responsive */
@media (max-width: 768px) {
    .bgf-glance-grid {
        grid-template-columns: 1fr;
    }

    .glance-item.full-width {
        grid-column: span 1;
    }
}
/* =========================
   COUNTER HOVER EFFECT
========================= */

.counter-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* Hover state */
.counter-box:hover {
    background: #a2eaa8;   /* dark green */
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border: 1px solid #2f6b3f;
}

/* Text color change on hover */
.counter-box:hover h3,
.counter-box:hover p {
    color: #ffffff;
}