.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}
.hero-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Remove default container horizontal padding inside hero so centering is exact */
.hero .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 1200px;
}

.hero-text-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    white-space: normal; /* allow wrapping if needed */
    margin: 0 auto; /* center block */
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: #2E7D32;
    margin: 1.5rem auto;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
    color: #ffffff;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: #2E7D32;
    border: 2px solid #2E7D32;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: transparent;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out;
}

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Who We Are and What We Do Sections - New Compact Design */
.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1rem 0;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateX(5px);
    background: rgba(46, 125, 50, 0.1);
}

.feature-card i {
    font-size: 1.2rem;
    color: var(--primary-green);
    min-width: 20px;
}

.feature-card span {
    font-size: 0.95rem;
    color: var(--dark-text);
    font-weight: 500;
}

.who-we-are-visual {
    position: relative;
}

.who-we-are-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10,20,6,0.08);
}

/* Section demarcation: visually separate 'Who We Are' and 'What We Do' */
.who-we-are, .what-we-do {
    padding: 0.5rem 0;
}

.who-we-are {
    background: linear-gradient(180deg, rgba(244,251,246,1) 0%, rgba(255,255,255,1) 100%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.what-we-do {
    background: #ffffff;
    padding: 3rem 0;
}

.section-title {
    display: inline-block;
    background: transparent;
    padding: 0.25rem 0.5rem;
}

.section-separator {
    height: 8px;
    background: linear-gradient(90deg, rgba(46,125,50,0.15), rgba(46,125,50,0));
    margin: 1.5rem 0 2rem 0;
    border-radius: 4px;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

/* What We Do Section - Background Image Design */
.what-we-do {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('farm.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 4rem 0;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.what-we-do-content {
    position: relative;
    z-index: 1;
}

.what-we-do-header {
    text-align: center;
    margin-bottom: 3rem;
}

.what-we-do-header .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.what-we-do-header .section-text {
    color: white;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10, 20, 6, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(10, 20, 6, 0.2);
    border-color: var(--primary-green);
    background: rgba(0, 0, 0, 0.85);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.4rem;
    color: white;
}

.service-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.service-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

.what-we-do-visual {
    text-align: center;
}

.what-we-do-visual img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(10,20,6,0.08);
    margin: 0 auto;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.feature-list li i {
    color: #2E7D32;
    margin-right: 1rem;
}

.stat-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.activity-item {
    padding: 1.2rem;
    background: rgba(46, 125, 50, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
}

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

.activity-item i {
    font-size: 2.5rem;
    color: #2E7D32;
    margin-bottom: 1.2rem;
}

.activity-item h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0 1rem 0;
    color: #2E7D32;
    font-weight: 600;
    width: 100%;
}

.activity-item p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
    text-align: left;
    text-justify: left;
}

@media (max-width: 768px) {
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem 0;
    }

    .feature-cards {
        gap: 0.5rem;
    }

    .feature-card {
        padding: 0.5rem;
    }

    .what-we-do {
        padding: 3rem 0;
        background-attachment: scroll;
    }

    .what-we-do-header {
        margin-bottom: 2rem;
    }

    .what-we-do-header .section-text {
        padding: 0.75rem;
    }

    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .service-card {
        padding: 1rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
    }

    .service-icon i {
        font-size: 1.2rem;
    }

    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 1rem 0;
}

/* Section CTA (Learn More) */
.section-cta {
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    text-align: center;
    width: 100%;
}

.section-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: #2E7D32;
    border: 2px solid #2E7D32;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.section-cta-button:hover {
    background: transparent;
    color: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .section-cta {
        margin-top: 1rem;
    }
    
    .section-cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
        min-width: 160px;
    }
}

.metric-labels-row, .metric-details-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 2rem;
}

.metric-labels-row .metric-label, .metric-details-row .metric-detail {
    flex: 1 1 0;
    text-align: left;
    min-width: 0;
    width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
    box-sizing: border-box;
}

.metric-labels-row .metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0.25rem 0 0.1rem 0;
    line-height: 1.2;
}

.metric-details-row .metric-detail {
    color: var(--light-text);
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0.1rem 0 0.5rem 0;
    opacity: 0.9;
    text-align: center;
}

.metric-nowrap {
    white-space: nowrap;
}

.metric-values-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 0.5rem auto;
    gap: 1rem;
}

.metric-values-row .metric-value {
    flex: 1 1 0;
    text-align: left;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    width: calc(25% - 0.75rem);
    min-width: calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
    box-sizing: border-box;
    height: 100%;
}

.metric-values-row .metric-value span {
    display: block;
    text-align: center;
}

.metric-grid-titles {
    margin-top: 0;
}

/* New grid layout for grouped metric items */
.metric-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 180px);
    grid-auto-rows: auto;
    gap: 1.5rem;
    align-items: start;
    padding: 0;
    box-sizing: border-box;
    width: auto;
}

.metric-card-grid .metric-item {
    background: white;
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100px;
    width: 180px;
    box-sizing: border-box;
    overflow: hidden;
}

.metric-card-grid .metric-item:not(:first-child) {
    border-left: 1px solid rgba(0,0,0,0.06);
    padding-left: 1rem;
}

.metric-card-grid .metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.4rem;
    /* make values occupy a consistent height so labels align horizontally */
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.metric-card-grid .metric-value .metric-number {
    display: inline;
}

.metric-card-grid .metric-label {
    font-size: 0.85rem; /* reduced title font size */
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.15rem;
    line-height: 1.1;
    min-height: 1.4rem; /* reserve space so first words align */
    width: 100%;
}

.metric-card-grid .metric-detail {
    font-size: 0.85rem;
    color: var(--light-text);
    opacity: 0.95;
    width: 100%;
}

/* Left-align titles and details in each metric column */
.metric-card-grid .metric-label,
.metric-card-grid .metric-detail {
    text-align: left;
    display: block;
    width: 100%;
}

/* Responsive: stack metrics vertically on small screens */
@media (max-width: 768px) {
    .metric-card-grid {
        grid-template-columns: 1fr;
        padding: 1rem 1rem; /* reduce padding on small screens but keep left/right spacing */
    }

    .metric-card-grid .metric-item:not(:first-child) {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 1rem;
    }

    .metric-card-grid .metric-value {
        font-size: 1.6rem;
    }

    .metric-card-grid .metric-label {
        font-size: 0.95rem;
    }

    .metric-card-grid .metric-detail {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .metric-card-grid .metric-value {
        font-size: 1.4rem;
    }

    .metric-card-grid .metric-label {
        font-size: 0.9rem;
    }

    .metric-card-grid .metric-detail {
        font-size: 0.8rem;
    }
}

/* Reset and Base Styles */
p {
    text-align: justify;
    text-justify: inter-word;
}

/* Reset for specific elements that shouldn't be justified */
.hero-subtitle,
.cta-text p,
.testimonial-author,
.footer-bottom p,
.copyright,
.social-links p,
.button,
.btn,
.nav-links a,
.footer-links a,
.hero-title,
h1, h2, h3, h4, h5, h6 {
    text-align: inherit;
    text-justify: auto;
}

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

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2c;
    --light-green: #6b9d3e;
    --accent-green: #8bc34a;
    --earth-brown: #5d4e37;
    --light-earth: #8b7355;
    --cream: #f5f1e8;
    --off-white: #fafaf8;
    --dark-text: #1a1a1a;
    --medium-text: #4a4a4a;
    --light-text: #6a6a6a;
    --border-color: #e0ddd4;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* navbar height variable used to offset fixed header */
    --nav-height: 105px;
}

/* ensure page content is not hidden under the fixed navbar */
body {
    padding-top: var(--nav-height);
}

/* Reduce the top offset for smaller screens where the navbar is shorter */
@media (max-width: 768px) {
    :root {
        --nav-height: 72px;
    }

    body {
        padding-top: var(--nav-height);
    }
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Make all images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
}

/* Specific container for content that should be contained */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Project Area Section */
.area-section {
    position: relative;
    padding: 4rem 0;
    color: #ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('allreagulatory.jpg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.area-section .section-header {
    position: relative;
    z-index: 2;
}

.area-section .section-title {
    color: #ffffff;
}

.area-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.area-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.area-content strong {
    color: #8bc34a;
    font-weight: 600;
}

/* Remove padding from navbar container */
.navbar .container {
    padding: 0;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Navigation */
:root {
    --nav-bg: rgba(248, 249, 250, 0.98);
    --nav-text: #2d3748;
    --nav-hover: rgba(0, 0, 0, 0.05);
    --nav-active: rgba(0, 0, 0, 0.1);
    --nav-border: rgba(0, 0, 0, 0.05);
    --nav-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--nav-border);
    display: flex;
    align-items: center;
    min-height: 80px;
    padding: 10px 0;
    box-shadow: var(--nav-shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    box-sizing: border-box;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
    margin: 0;
    padding: 15px 0; /* Increased vertical padding */
    height: 100%;
    box-sizing: border-box;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-image {
    height: 120px; /* Increased logo size */
    width: auto;
    max-width: 700px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 10px 30px; /* Increased padding */
    object-fit: contain;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links[aria-expanded="true"] {
    transform: translateX(0) !important;
}

.nav-links li {
    margin: 0 0.5rem;
    position: relative;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 6px;
    left: 1rem;
    background-color: var(--accent-green);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 2rem);
    left: 1rem;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
    margin-left: auto;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Restore default navbar ordering: logo on the left */
.nav-links {
    order: initial;
}

.hamburger {
    order: initial;
    margin-left: auto;
}

.logo {
    order: initial;
    margin-left: 0;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--nav-text);
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 2px 0;
}

.hamburger span + span {
    margin-top: 6px;
}

.hamburger.active {
    background-color: transparent;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
    .navbar {
        min-height: 100px;
        padding: 8px 0;
    }
    
    .logo {
        padding: 10px 0;
    }
    
    .logo-image {
        height: 75px; /* Slightly smaller for tablet */
        padding: 8px 20px;
    }
    
    .logo {
        height: 100%;
        padding: 5px 0;
    }
    
    .logo-image {
        height: 60px;  /* Adjusted for tablet */
        width: auto;
        padding: 0 15px;
    }

    .nav-content {
        height: 100%;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        width: 100%;
        height: 65px;
        padding: 0 1.25rem;
        background: transparent;
    }

    /* Restore original order on mobile: logo on left, hamburger on right */
    .nav-links {
        order: 2;
    }

    .hamburger {
        order: 3;
        margin-left: auto;
    }

    .logo {
        order: 1;
        margin-left: 0;
    }

    /* Modern Hamburger Menu */
    .menu-trigger {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        margin-right: 1rem;
        cursor: pointer;
        border-radius: 0;
        transition: background-color 0.3s;
    }

    .menu-trigger:hover {
        background-color: transparent;
    }

    .menu-trigger__lines {
        position: relative;
        width: 20px;
        height: 2px;
        background-color: var(--primary-green);
        transition: all 0.3s ease;
    }

    .menu-trigger__lines::before,
    .menu-trigger__lines::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background-color: var(--primary-green);
        transition: all 0.3s ease;
    }

    .menu-trigger__lines::before {
        transform: translateY(-6px);
    }

    .menu-trigger__lines::after {
        transform: translateY(6px);
    }

    .menu-trigger.active .menu-trigger__lines {
        background: transparent;
    }

    .menu-trigger.active .menu-trigger__lines::before {
        transform: rotate(45deg);
    }

    .menu-trigger.active .menu-trigger__lines::after {
        transform: rotate(-45deg);
    }

    /* Mobile Menu Panel */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--off-white);
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease-in-out;
        transform: translateX(-100%);
    }

    .mobile-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-menu__header {
        height: 65px;
        padding: 0 1.25rem;
        display: flex;
        align-items: center;
        background: white;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .mobile-menu__nav {
        padding: 1.5rem;
        height: calc(100vh - 65px);
        overflow-y: auto;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        padding: 1rem 1.25rem;
        color: var(--dark-text);
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.2s ease;
    }

    .nav-icon {
        margin-right: 1rem;
        font-size: 1.25rem;
    }

    .nav-text {
        font-size: 1rem;
        font-weight: 500;
    }

    .nav-links li a:hover,
    .nav-links li a:focus {
        background: rgba(45, 80, 22, 0.08);
        transform: translateX(4px);
    }

    .nav-links li a.active {
        background: var(--primary-green);
        color: white;
    }

    .logo-image {
        height: 40px;
        width: auto;
    }
}

    .nav-links li {
        width: 100%;
        margin: 0.5rem 0;
        opacity: 1;
        transform: none;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--dark-text);
        border-radius: 8px;
        background: transparent;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
    }

    .nav-links a:hover {
        color: var(--primary-green);
        padding-left: 2rem;
    }

    .nav-links a.active {
        color: var(--primary-green);
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary-green);
        transform: translateX(4px);
    }


/* Additional mobile refinements */
@media (max-width: 992px) {
    .navbar {
        min-height: 80px;
        padding: 10px 0;
        position: relative;
    }
    
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
        margin-left: auto;
        margin-right: 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 100px; /* Increased from 80px to 100px */
        right: -320px;
        width: 300px;
        height: calc(100vh - 100px); /* Adjusted to match new top position */
        background: rgba(248, 249, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 25px 0; /* Increased padding for better spacing */
        margin: 0;
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
        border-radius: 0 0 0 12px; /* Added rounded corners to bottom left */
    }
    
    .nav-links[aria-expanded="true"] {
        transform: translateX(-100%);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 14px 30px; /* Increased padding for better touch targets */
        font-size: 1.05rem; /* Slightly larger text */
        color: #2d3748;
        transition: all 0.2s ease;
        margin: 2px 10px; /* Added margin between items */
        border-radius: 6px; /* Rounded corners for menu items */
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
        background: rgba(0, 0, 0, 0.05);
        color: #2E7D32;
        transform: translateX(5px);
    }
    
    .nav-overlay {
        position: fixed;
        top: 100px; /* Match this with new navbar height + extra space */
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .logo {
        padding: 8px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 90px;
        padding: 5px 0;
    }
    
    .logo {
        padding: 8px 0;
    }
    
    .logo-image {
        height: 60px; /* Smaller for mobile */
        padding: 5px 15px;
    }

    .nav-content {
        height: 56px;
    }

    .logo {
        height: 90px;
        padding: 8px 0;
    }
    
    .logo-image {
        height: 60px;  /* Increased for mobile */
        padding: 0 12px;
    }

    .nav-links {
        width: 100%;
        padding: 90px 1.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .nav-links {
        width: 100%;
        padding: 80px 1.5rem 2rem;
    }

    .logo {
        height: 80px;
        padding: 5px 0;
    }
    
    .logo-image {
        height: 50px;  /* Increased for very small screens */
        padding: 0 8px;
    }
}

/* Buttons */
.cta-button,
.hero .cta-button,
.cta-button.primary,
.cta-button.secondary {
    background: #FF6B00; /* Solid orange */
    color: white;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button:hover,
.hero .cta-button:hover,
.cta-button.primary:hover,
.cta-button.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #FF8C00, #FF8C00);
    color: white;
}

.cta-button:active,
.hero .cta-button:active,
.cta-button.primary:active,
.cta-button.secondary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #FF8C00;
    color: #FF8C00;
}

.cta-button.secondary:hover {
    background: #FF8C00;
    color: white;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-title.animate {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle.animate {
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('farm2.jpeg') center/cover no-repeat fixed;
    margin-top: 0;
    padding-top: 70px;
    overflow: hidden;
    color: white;
    animation: fadeIn 1.5s ease-in-out;
}

/* Hide the img element since we're using background-image */
.hero .image-background {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0.8; transform: scale(1.05); }
    to { opacity: 1; transform: scale(1); }
}

/* Fallback for browsers that don't support video */
.no-video .video-background video {
    display: none;
}

.no-video .video-background video + img {
    display: block;
}

/* Hero overlay — semi-opaque layer to improve text contrast over background image */
.hero-overlay {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: rgba(0, 0, 0, 0.45); /* adjust opacity to taste */
    z-index: 1;
    display: block;
    pointer-events: none; /* allow clicks through to any controls if present */
}

/* Slightly reduce overlay on very small screens so image still reads */
@media (max-width: 480px) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.35);
    }
}

/* Ensure hero content is properly spaced on mobile */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: 90vh;
    }
    
    .hero::before {
        background-attachment: scroll;
        background-position: 60% center;
        animation: none;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--spacing-xl) 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    text-align: justify;
    text-justify: inter-word;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 1;
    /* make subtitle text white for maximum readability over the hero image */
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    margin-top: var(--spacing-xs);
    opacity: 0.9;
}

button, .button, .btn, .cta-button {
    display: inline-block;
    background-color: #FF6B00; /* Orange color */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: var(--spacing-md);
}

.about-hero-unique .hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f0f0f0;
    object-fit: cover;
}

.about-card-hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f0f0f0;
}

.team-member img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Add hover effect on team member images */
.team-member img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Timeline Grid Layout */
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.timeline-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.milestone-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f0f0f0;
    min-height: 300px;
    object-fit: cover;
}

.about-card-hero { overflow: hidden; }
.about-card-hero img { display:block; width:100%; height:auto; object-fit:cover; margin:0; background:none; }

.about-hero-inner .hero-visual { overflow: hidden; }
.about-hero-inner .hero-visual img { display:block; width:100%; height:auto; object-fit:cover; margin:0; background:none; }

.timeline-visual { display:flex; align-items:center; }
.timeline-visual .milestone-image { width:100%; height:auto; object-fit:cover; display:block; margin:0; }

@media (max-width: 768px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-visual {
        order: -1;
    }
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-green));
    margin: 0 auto;
    border-radius: 2px;
}

.vision-section {
    background-color: white;
}

.vision-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--medium-text);
    max-width: 1000px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.about-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.1);
    border-color: var(--secondary-green);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.about-card h3 {
    font-size: 1.4rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.about-card p {
    color: var(--medium-text);
    line-height: 1.7;
}

.impact-section {
    background: linear-gradient(to bottom, var(--cream), var(--off-white));
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.impact-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-green);
    transition: all 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.impact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    text-align: center;
}

.impact-card p {
    color: var(--medium-text);
    line-height: 1.7;
    text-align: center;
    text-justify: auto;
}

.outcomes-section {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.outcomes-title {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.outcome-item {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.outcome-item h4 {
    color: var(--secondary-green);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.outcome-item ul {
    list-style: none;
    padding-left: 0;
}

.outcome-item li {
    color: var(--medium-text);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.outcome-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.activities-section {
    background-color: white;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.activity-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.activity-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.activity-icon {
    font-size: 2.5rem;
}

.activity-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    font-weight: 700;
}

.activity-list {
    list-style: none;
    padding-left: 0;
}

.activity-list li {
    color: var(--medium-text);
    padding: 0.6rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.activity-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-green);
    font-weight: bold;
    font-size: 1.5rem;
}

.area-section {
    /* use a landscape photo as the background for Project Area */
    position: relative;
    background-image: url('finance.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3.5rem 0;
}

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

.area-section .title-underline {
    background: linear-gradient(90deg, var(--accent-green), white);
}

.area-content p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

/* overlay + stacking so text remains readable on top of the image */
.area-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.48));
    z-index: 0;
}
.area-section .container { position: relative; z-index: 1; }
.area-section .section-title { color: #fff; }
.area-section .area-content p { color: #f3f6f3; }

@media (max-width: 768px) {
    .area-section { padding: 2.25rem 0; }
}

.area-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-box h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-green);
    font-weight: 700;
}

.info-box p {
    line-height: 1.7;
    opacity: 0.95;
}

/* Impact page specific styles (scoped) */
.impact-hero {
    background: linear-gradient(180deg, rgba(6,29,15,0.55), rgba(6,29,15,0.35));
    padding: 3.5rem 0;
}
.impact-hero .impact-hero-inner {
    display:flex; gap:2rem; align-items:center; justify-content:space-between;
}
.impact-hero .impact-hero-copy { flex:1; }
.impact-hero .eyebrow { color:var(--secondary-green); font-weight:700; margin-bottom:0.5rem; }
.impact-hero-title { font-size:2.1rem; color:#fff; margin-bottom:0.6rem; }
.impact-hero-lead { color: rgba(255,255,255,0.95); max-width:60ch; margin-bottom:1rem; }
.impact-hero-ctas .cta-button { margin-right:0.6rem; }
.impact-hero-media img { width:420px; max-width:45vw; border-radius:10px; box-shadow:0 10px 30px rgba(2,18,6,0.25); display:block; }

.impact-metrics { padding:2rem 0; }
.metrics-grid { display:flex; gap:1rem; justify-content:center; align-items:stretch; }
.metric-card { background:#fff; padding:1.1rem 1.25rem; border-radius:8px; box-shadow:0 8px 24px rgba(10,20,6,0.05); text-align:center; min-width:180px; }
.metric-value { font-size:1.6rem; font-weight:800; color:var(--primary-green); }
.metric-label { color:var(--medium-text); margin-top:0.25rem; }

.impact-highlights { padding:2.5rem 0; }
.highlights-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.highlight-card { background:#fff; padding:1.25rem; border-radius:10px; box-shadow:0 8px 24px rgba(10,20,6,0.04); }
.highlight-card h3 { margin-top:0; color:var(--dark-text); }

.impact-outcomes { padding:2rem 0; }
.outcomes-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.outcome-card { background:var(--cream); padding:1rem; border-radius:8px; border:1px solid var(--border-color); }

.impact-mrv { padding:2.5rem 0; }

.impact-cta { padding:2.25rem 0; background:linear-gradient(90deg,#fbfff7,#f7fbf6); border-top:1px solid rgba(0,0,0,0.03); }

@media (max-width: 980px) {
    .impact-hero .impact-hero-inner { flex-direction:column; text-align:center; }
    .impact-hero-media img { max-width:90%; }
    .highlights-grid { grid-template-columns:1fr; }
    .outcomes-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 600px) {
    .outcomes-grid { grid-template-columns:1fr; }
    .metrics-grid { flex-direction:column; }
}

.funding-section {

/* Team section modern styling */
.team-section .team-intro.modern {
    text-align: center;
    margin-bottom: 2rem;
}

.team-section .team-intro.modern .lead {
    max-width: 900px;
    margin: 0 auto;
    color: var(--medium-text);
    font-size: 1.05rem;
}

.team-grid.modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(23, 23, 23, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(23,23,23,0.12);
}

.member-top {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.member-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9f4ea, #f6faf6);
    color: #2d5016;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 6px 18px rgba(23,23,23,0.04);
    overflow: hidden;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-initials {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.05rem;
}

.member-meta .member-name {
    font-size: 1.05rem;
    margin: 0;
}

.member-meta .member-title {
    margin: 0;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.member-bio {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.approvals-section.modern-approvals {
    margin-top: 2.25rem;
}

.modern-grid-approvals {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.approval-item {
    background: #f6faf6;
    color: var(--dark-text);
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

@media (max-width: 1100px) {
    .team-grid.modern-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    .team-grid.modern-grid { grid-template-columns: repeat(2, 1fr); }
    .member-avatar { width: 56px; height: 56px; }
}

@media (max-width: 480px) {
    .team-grid.modern-grid { grid-template-columns: 1fr; }
    .member-avatar { width: 48px; height: 48px; }
}
    background-color: var(--off-white);
}

.funding-content {
    max-width: 1000px;
    margin: 0 auto;
}

.funding-highlight {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-bottom: var(--spacing-lg);
}

.funding-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.funding-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-green);
    margin: var(--spacing-md) 0;
}

.funding-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.breakdown-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.breakdown-label {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.breakdown-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-green);
}

.funding-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.detail-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--accent-green);
}

.detail-card h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.detail-card p {
    color: var(--medium-text);
    line-height: 1.7;
}

.integrity-section {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-lg);
}

.integrity-section h3 {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.integrity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.integrity-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
}

.integrity-card h4 {
    font-size: 1.3rem;
    color: var(--secondary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.integrity-card p {
    color: var(--medium-text);
    line-height: 1.7;
}

.team-section {
    background-color: white;
    padding-top: var(--spacing-xl);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.team-intro p {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.team-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.1);
    border-color: var(--secondary-green);
}

.team-member-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.member-title {
    font-size: 0.95rem;
    color: var(--light-text);
    font-weight: 500;
}

.member-bio {
    color: var(--medium-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.approvals-section {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.approvals-section h3 {
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.approvals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-sm);
}

.approval-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm);
    border-radius: 8px;
    color: white;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.approval-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    margin: 0.6rem;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
     display: flex;
     align-items: center;
     gap: 0.7rem;
}

.approval-logo {
    height: 3.5rem;
    width: auto;
    border-radius: 0.3rem;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
    margin-right: 0.7rem;
    object-fit: contain;
}

.approval-badge:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    border-color: var(--accent-green);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.contact-section {
    background: var(--cream);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    font-size: 2rem;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin: 0.5rem 0;
    font-weight: 600;
    width: 100%;
    line-height: 1.4;
}

.contact-item a {
    color: var(--secondary-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--light-green);
    text-decoration: underline;
}

.contact-item p {
    color: var(--medium-text);
    line-height: 1.6;
}

/* ===== Footer Styles ===== */
.footer {
    background-color: #1a3a0a;
    color: #ffffff;
    padding: 5rem 0 2rem;
    position: relative;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #4CAF50);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #4CAF50;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: #4CAF50;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

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

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

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook:hover { background-color: #3b5998; }
.social-link.twitter:hover { background-color: #1DA1F2; }
.social-link.linkedin:hover { background-color: #0077B5; }
.social-link.instagram:hover { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.newsletter-form button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #4CAF50;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
    background-color: #43A047;
    transform: translateY(-2px);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #ffffff;
}

/* Keep footer logo reasonable on small screens */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 0.8rem 1.5rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .nav-content {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
    }

    .logo-image {
        height: 60px;  /* Increased from 50px */
        width: auto;
        transform: none;
    }

    .hamburger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        margin-left: 1rem;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2.5px;
        background-color: var(--primary-green);
        border-radius: 0;
        transition: all 0.3s ease;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background-color: white;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background-color: white;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--primary-green);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        margin: 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        color: #ffffff;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        display: block;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        padding-left: 2.2rem;
        color: #ffffff;
        text-decoration: none;
    }
    
    .nav-links a.active {
        color: #ffffff;
        background-color: var(--primary-green);
        font-weight: 600;
    }
    .nav-links a::before {
        background: #ffffff;
    }
    
    /* Logo size and spacing for all screen sizes */
    .logo {
        padding: 0 1rem;
    }
    
    .logo-image {
        height: 65px;
        width: auto;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-card {
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .funding-amount {
        font-size: 3rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: var(--spacing-sm);
    }
    
    .stat-card {
        min-width: 120px;
        padding: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    padding: 8rem var(--spacing-md) 4rem;
    margin-top: 0;
    padding-top: 120px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* CTA Button Styles */
.cta-button-container {
    margin-top: 2.5rem;
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6B00; /* Orange color */
    color: white;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button:active, button:active, .button:active, .btn:active {
    transform: translateY(1px);
    background-color: #CC4D00; /* Even darker orange when pressed */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover, button:hover, .button:hover, .btn:hover {
    background-color: #E65C00; /* Darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon, button:hover .cta-icon, .button:hover .cta-icon, .btn:hover .cta-icon {
    transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta-button, button, .button, .btn {
        width: 100%;
        max-width: none;
        padding: 1rem 1.5rem;
    }
}

/* Carousel Styles */
.carousel-section {
    background-color: #000;
    margin-bottom: 0;
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    height: 600px;
}

.carousel-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.8s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: var(--accent-green);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Gallery Grid Styles */
.gallery-grid-section {
    background-color: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: var(--spacing-md);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Spacing between recent and older galleries */
.older-gallery {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(46, 125, 50, 0.1);
}

.older-gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.older-gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    margin: 0;
    position: relative;
    display: inline-block;
}

.older-gallery-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 2px;
}

/* Gallery View More Button */
.gallery-more-container {
    text-align: center;
    margin-top: 3rem;
}

.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.gallery-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.gallery-more-btn i {
    transition: transform 0.3s ease;
}

.gallery-more-btn.expanded i {
    transform: rotate(180deg);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

/* Hide navigation overlay when modal is active */
.image-modal[style*="block"] ~ .nav-overlay,
.image-modal[style*="block"] + * .nav-overlay {
    display: none !important;
}

.modal-content {
    position: relative;
    margin: 0 auto;
    padding: 2rem;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-info {
    text-align: center;
    color: white;
    margin-top: 1.5rem;
    max-width: 600px;
}

.modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.modal-info p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Gallery Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 1rem;
        max-width: 95%;
        max-height: 95vh;
    }

    .close-modal {
        top: 0.5rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .modal-image {
        max-height: 60vh;
    }

    .modal-info {
        margin-top: 1rem;
        padding: 0 1rem;
    }

    .modal-info h3 {
        font-size: 1.4rem;
    }

    .modal-info p {
        font-size: 1rem;
    }

    .gallery-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 0.5rem;
        max-width: 98%;
        max-height: 98vh;
    }

    .close-modal {
        top: 0.5rem;
        right: 0.5rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }

    .modal-image {
        max-height: 50vh;
    }

    .modal-info h3 {
        font-size: 1.2rem;
    }

    .modal-info p {
        font-size: 0.9rem;
    }

    .gallery-more-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Why Invest Section */
.why-invest-section {
    position: relative;
    background: url('field2.jpg') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    color: white;
    overflow: hidden;
}

.why-invest-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.why-invest-section .container {
    position: relative;
    z-index: 2;
}

.why-invest-section .section-title,
.why-invest-section .section-subtitle,
.why-invest-section .invest-card h3,
.why-invest-section .invest-card p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.why-invest-section .title-underline::after {
    background: white;
}

.why-invest-section .invest-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-green);
    transition: all 0.3s ease;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.why-invest-section .invest-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-green);
}

/* Universal mobile rule to hide all carousel navigation buttons */
@media (max-width: 768px) {
    .carousel-btn,
    .carousel-btn.prev,
    .carousel-btn.next {
        display: none !important;
    }
    
    /* Enhanced carousel dots for mobile */
    .carousel-dots {
        display: none; /* Hide dots container */
    }
    
    /* Small arrow indicators on sides */
    .carousel-nav-arrows {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 20px;
        z-index: 15;
    }
    
    .carousel-arrow {
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        font-size: 12px;
        font-weight: bold;
        color: #333;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }
    
    .carousel-arrow:hover {
        background: #ffffff;
        transform: scale(1.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-arrow.prev {
        order: 1;
    }
    
    .carousel-arrow.next {
        order: 2;
    }
    
    /* Touch-friendly carousel container */
    .carousel-container {
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        user-select: none;
        -webkit-user-select: none;
    }
    
    .carousel-slide {
        touch-action: none;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .why-invest-section {
        padding: 3rem 0;
    }
    
    .why-invest-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .why-invest-section .invest-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .why-invest-section .invest-card {
        width: 100%;
        margin: 0 0 1rem 0;
        padding: 1.2rem;
    }
    
    .why-invest-section .invest-card h3 {
        font-size: 1.2rem;
        margin: 0.5rem 0;
    }
    
    .why-invest-section .invest-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .investment-image-container {
        margin-top: 2rem;
    }
    
    .investment-image-wrapper {
        min-height: 300px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .why-invest-section {
        padding: 2.5rem 0;
    }
    
    .why-invest-section .section-title {
        font-size: 1.6rem;
        padding: 0 1rem;
    }
    
    .why-invest-section .invest-card {
        padding: 1rem;
    }
    
    .why-invest-section .invest-card h3 {
        font-size: 1.1rem;
    }
    
    .why-invest-section .invest-card p {
        font-size: 0.9rem;
    }
    
    .investment-image-wrapper {
        min-height: 250px;
    }
}

/* Monitoring Section */
.monitoring-section {
    background: var(--cream);
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.monitoring-title {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.monitoring-text {
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Section */
.timeline-section {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-lg);
    border: 2px solid var(--border-color);
}

.timeline-section h3 {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.timeline-subtitle {
    text-align: center;
    color: var(--medium-text);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.timeline-info p {
    color: var(--medium-text);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Additional Contacts */
.additional-contacts {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    margin-top: var(--spacing-xl);
}

.additional-contacts h3 {
    font-size: 2rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.contact-person {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.contact-person h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.contact-role {
    color: var(--light-text);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.contact-person p {
    margin: 0.3rem 0;
}

.contact-person a {
    color: var(--secondary-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-person a:hover {
    color: var(--light-green);
    text-decoration: underline;
}

/* Responsive Updates for New Elements */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem var(--spacing-sm) 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel-container {
        height: 400px;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        padding: 0.7rem 0.9rem;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 300px;
    }
    
    .carousel-caption {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

/* Investment Section Styles */
.investment-section {
    background: linear-gradient(to bottom, white, var(--cream));
    padding: 5rem 0;
}

.section-header.metric-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header.metric-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header .investment-intro {
    font-size: 1.2rem;
    color: var(--medium-text);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.investment-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: relative;
}

.investment-image-container {
    flex: 0 0 45%;
    position: relative;
    overflow: visible;
    margin-top: 2rem;
    margin-left: -2rem; /* moved right from -6rem */
    transition: margin 0.3s ease;
}

.investment-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--primary-green);
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.investment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.5s ease;
    transform: scale(1.05);
}

.investment-image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    z-index: -1;
    opacity: 0.1;
    border-radius: 50%;
    transform: rotate(5deg);
    transition: all 0.4s ease;
}

.investment-image-container:hover {
    transform: translateY(-5px);
}

.investment-image-container:hover .investment-image-wrapper {
    transform: rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.investment-image-container:hover::before {
    transform: rotate(-2deg);
    opacity: 0.15;
}

.investment-content {
    flex: 1;
    padding: 0;
    width: 100%;
    margin-left: 3rem;
    position: relative;
    z-index: 1;
}

.investment-metrics {
    display: flex;
    align-items: flex-start;
    margin: 1.5rem 0 2rem;
    width: 100%;
    position: relative;
    left: -6rem;
}

@media (max-width: 992px) {
    .investment-container {
        flex-direction: column;
    }
    
    .investment-image-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto 2rem;
    }
    
    .investment-metrics {
        grid-template-columns: 1fr;
    }
}

.investment-highlight {
    max-width: 1000px;
    margin: 0 auto;
}

.investment-main {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.investment-main h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.investment-intro {
    font-size: 1.2rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    transition: transform 0.5s ease;
    transform: scale(1.05);
    margin-right: 2rem;
    margin: 2.5rem 0 3rem;
}

.metric-card {
    border-radius: 12px;
    padding: 1rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: fit-content; /* shrink-wrap to inner grid */
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem; /* ensure consistent padding around inner cards */
    box-sizing: border-box;
}

.metric-grid {
    display: grid;
    /* use fixed column width so parent can fit exactly 4 cards */
    grid-template-columns: repeat(4, 160px);
    gap: 0.25rem; /* minimal gap between small cards */
    position: relative;
    padding: 0.25rem 0;
    width: auto;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    right: -0.5rem;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 0, 0, 0.08), 
        transparent);
}

.metric-grid {
    position: relative;
}


.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.5rem; /* tighter padding */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    height: 100%;
    flex: 0 0 auto;
    width: 160px; /* explicit card width to match grid column */
    margin: 0;
    box-sizing: border-box;
}

/* Ensure all text within the small metric cards is centered */
.metric-item {
    align-items: center; /* center flex children horizontally */
    text-align: center;  /* ensure text nodes are centered */
}

.metric-item .metric-value,
.metric-item .metric-label,
.metric-item .metric-detail {
    width: 100%;
    text-align: center;
}

/* Extra specificity to ensure labels are centered across the stylesheet */
.metric-card .metric-item .metric-label {
    text-align: center !important;
    margin: 0.25rem auto;
}

.justify-metric {
    align-items: flex-start !important;
    text-align: left !important;
}

/* Explicitly override any left-alignment for labels inside metric items */
.metric-item > .metric-label {
    display: block;
    width: 100%;
    text-align: center !important;
    margin: 0.25rem 0;
}

/* Force the numeric values to be perfectly centered */
.metric-item .metric-value {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.metric-item:hover {
    transform: translateY(-3px);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    position: relative;
    display: block;
    line-height: 1.2;
    width: 100%;
}

.metric-value::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 3px;
}
.metric-content {
    padding: 0 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0.25rem 0;
    line-height: 1.2;
}

.metric-detail {
    color: var(--light-text);
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0.1rem 0 0;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .metric-item:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .investment-content {
        padding: 0.5rem 0 0 0;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .metric-item {
        padding: 1rem;
        min-height: auto;
    }
    
    .metric-item::after {
        display: none;
    }
    
    .metric-grid::before,
    .metric-grid::after {
        display: none;
    }
    
    .metric-grid::before {
        display: none;
    }
    
    .metric-item {
        padding: 1.2rem 0.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 0.95rem;
    }
    
    .metric-detail {
        font-size: 0.85rem;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .investment-container {
        display: flex;
        gap: 4rem;
        align-items: flex-start;
        position: relative;
    }

    .investment-content {
        flex: 1;
        max-width: 60%;
    }

    .investment-image-container {
        flex: 0 0 35%;
        position: relative;
        min-height: 400px;
        margin-top: 1.5rem;
    }

    .investment-image-wrapper {
        height: 100%;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
    }

    .investment-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .investment-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .investment-section {
        padding: 4rem 0;
    }
    
    .investment-image-container {
        min-height: 300px;
    }
    
    .image-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
}

/* Why Invest Section */
.approvals-showcase {
    position: relative;
    /* Background updated to the requested regulatory approvals image */
    background: url('allreagulatory.jpg.png') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    overflow: hidden;
    color: white;
    z-index: 1;
}

.approvals-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.approvals-showcase .container {
    position: relative;
    z-index: 2;
}

.approvals-showcase .section-title,
.approvals-showcase .section-subtitle,
.approvals-showcase .invest-card h3,
.approvals-showcase .invest-card p {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.approvals-showcase .title-underline::after {
    background: white;
}

.approvals-showcase .invest-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-green);
}

.why-invest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 100%;
}

.invest-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-green);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.invest-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.invest-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.invest-card:hover .invest-image {
    transform: scale(1.05);
}

.invest-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.invest-number {
    position: absolute;
    top: 5px;
    right: 18px;
    background: var(--secondary-green);
    color: white;
    min-width: 52px;
    min-height: 52px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    border: 2px solid white;
    padding: 10px;
    box-sizing: border-box;
}

.invest-card h3 {
    font-size: 1.2rem;
    color: var(--primary-green);
    margin: 0.5rem 0;
    padding-right: 40px;
    line-height: 1.3;
}

.invest-card p {
    color: var(--medium-text);
    line-height: 1.5;
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .invest-card {
        padding: 1rem;
        padding-top: 2.5rem;
    }
    
    .invest-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
        right: 15px;
    }
    
    .invest-card h3 {
        font-size: 1.1rem;
        padding-right: 40px;
    }
    
    .invest-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Returns Section */
.returns-section {
    position: relative;
    color: white;
    background: url('finance.jpg') no-repeat center center;
    background-size: cover;
    padding: 5rem 0;
    overflow: hidden;
}

.returns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.returns-section .container {
    position: relative;
    z-index: 2;
}

.returns-section .section-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.returns-section .title-underline {
    background: linear-gradient(90deg, var(--accent-green), white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.returns-breakdown {
    margin-bottom: var(--spacing-xl);
}

.return-card.featured {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.return-card h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

.funding-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.split-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.split-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-green);
    margin-bottom: var(--spacing-xs);
}

.split-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.split-divider {
    font-size: 3rem;
    font-weight: 300;
    opacity: 0.7;
}

.returns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.return-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.return-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.return-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.return-item h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.return-item p {
    line-height: 1.7;
    opacity: 0.95;
}

/* Advantages Section */
.advantages-section {
    background-color: var(--off-white);
    /* create clear separation from surrounding sections */
    padding-top: calc(var(--spacing-xl) + 1rem);
    padding-bottom: calc(var(--spacing-xl) + 2rem);
    margin-bottom: var(--spacing-lg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.advantage-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-top: calc(var(--spacing-md) + 30px);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.advantage-card p {
    color: var(--medium-text);
    line-height: 1.7;
}

/* About Need Section */
.about-need {
    padding: 5rem 0;
    background-color: #fff;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.about-need p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: left;
}

.section-header.text-center {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-underline {
    height: 4px;
    width: 80px;
    background: var(--primary-color);
    margin: 0 0 2rem 0;
    position: relative;
    border-radius: 2px;
}

.title-underline.center {
    margin: 0 0 2rem 0;
}

/* Grid layout for about need section */
.about-need .grid-2.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.project-text .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 2.5rem;
}

.project-highlights {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.highlight-text h3 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.highlight-text p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.project-visual {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8fafc;
    transition: all 0.3s ease;
    padding: 0.5rem;
    background-clip: padding-box;
}

.project-visual:hover {
    transform: translateY(-5px);
}

/* Project image styling */
.project-image {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-visual:hover .project-image img {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-visual:hover .image-caption {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-need .grid-2.split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-need .project-image {
        max-width: 600px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 768px) {
    .about-need {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-need p {
        font-size: 1.1rem;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
    background: url('garden.jpg.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text .section-subtitle {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 1.5rem 0 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6B00; /* Orange color */
    color: white;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #FF6B00; /* Orange color */
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    border: 2px solid transparent;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    background: #E65C00; /* Darker orange on hover */
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: white;
}

.cta-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-icon {
    transform: translateX(4px);
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-stat {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.cta-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.cta-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: white;
    line-height: 1.2;
}

.cta-stat span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cta-content h2 {
        font-size: 2.4rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-stats {
        gap: 2rem;
    }
    
    .cta-stat strong {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta-stat:not(:last-child)::after {
        display: none;
    }
    
    .cta-stat {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .cta-stat:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-stat strong {
        font-size: 1.6rem;
    }
}

/* Highlights Section */
.highlights-section {
    background-color: #f9f9f9;
    padding: 5rem 0;
}

.highlights-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.highlight-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-green);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.highlight-number {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.highlight-card h3 {
    color: var(--primary-green);
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.highlight-card p {
    color: var(--medium-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.highlight-icon {
    font-size: 2.5rem;
    text-align: right;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 1rem !important;
    }
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-card h3 {
        font-size: 1.3rem;
    }
}

/* Testimonials/Endorsements Section */
.testimonials-section {
    background-color: white;
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.endorsement-card {
    background: var(--cream);
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    min-height: 140px;
}

.endorsement-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-green);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.1);
}

.endorsement-logo {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.endorsement-card h4 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keep long endorsement titles on a single line */
.endorsement-card h4 {
    white-space: nowrap;
    overflow: visible;
}

/* Prevent approval badges from wrapping their text */
.approval-badge {
    white-space: nowrap;
}

.endorsement-card p {
    color: var(--medium-text);
    line-height: 1.6;
    font-size: 0.95rem; /* slightly reduced to help justification */
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin: 0.5rem 0 0 0;
    /* keep the final line left-aligned (do not center) */
    text-align-last: left;
    -moz-text-align-last: left;
    /* limit measure to improve word spacing when justified */
    max-width: 44ch;
    width: 100%;
}

.approvals-showcase {
    position: relative;
    /* Ensure the approvals area uses the regulatory image (keeps previously set spacing/rounded corners) */
    background: url('allreagulatory.jpg.png') no-repeat center center;
    background-size: cover;
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
}

.approvals-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4));
    z-index: 1;
    backdrop-filter: blur(1px);
}

.approvals-showcase h3 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 3;
    padding: 0 1rem;
}

.approvals-list {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.approval-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 25px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Quick Contact Section */
.quick-contact-section {
    position: relative;
    background: url('getstarted.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    /* add extra space above this section so it separates from the approvals block */
    margin-top: var(--spacing-lg);
    padding: calc(var(--spacing-xl) + 1rem) 0 calc(var(--spacing-lg) - 0.5rem) 0;
    overflow: hidden;
}

.quick-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.quick-contact-section .container {
    position: relative;
    z-index: 2;
}

.quick-contact-section .section-title,
.quick-contact-section .quick-contact-intro,
.quick-contact-section .contact-option-card h4,
.quick-contact-section .contact-link {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.quick-contact-section .title-underline::after {
    background: white;
}

.quick-contact-section .contact-option-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quick-contact-section .contact-option-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quick-contact-section .contact-icon-large {
    color: var(--accent-green);
    text-shadow: none;
}

.quick-contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-option-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.contact-icon-large {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.contact-option-card h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.contact-link {
    color: var(--secondary-green);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--light-green);
    text-decoration: underline;
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .nav-content {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
        flex: 0 0 auto;
    }

    .logo-image {
        height: 55px;
        width: auto;
        padding: 0;
    }

    .nav-links {
        order: 2;
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: left;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }

    .hamburger {
        order: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .hamburger:hover {
        background: transparent;
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2.5px;
        background-color: var(--primary-green);
        border-radius: 0;
        margin: 3px 0;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }

    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 65px;
        padding: 0.5rem 0.8rem;
    }

    .logo-image {
        height: 50px;
    }

    .nav-links {
        top: 65px;
        height: calc(100vh - 65px);
        padding: 1.5rem 1rem;
    }

    .nav-links a {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }

    .hamburger {
        width: 32px;
        height: 32px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .nav-overlay {
        top: 65px;
        height: calc(100vh - 65px);
    }
}

@media (max-width: 360px) {
    .navbar {
        height: 60px;
        padding: 0.5rem 0.6rem;
    }

    .logo-image {
        height: 45px;
    }

    .nav-links {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 1.2rem 0.8rem;
    }

    .nav-links a {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .hamburger {
        width: 30px;
        height: 30px;
    }

    .hamburger span {
        width: 18px;
        height: 2px;
        margin: 2.5px 0;
    }

    .nav-overlay {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Touch-friendly navigation */
@media (hover: none) and (pointer: coarse) {
    .hamburger {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Mobile Optimization - Facebook-like Structure */
@media (max-width: 768px) {
    /* Navigation - Mobile First */
    .navbar {
        padding: 0;
        height: 1cm;
    }
    
    .nav-content {
        padding: 0 0.5rem;
        min-height: 1cm;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
        height: 1cm;
        align-items: center;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;  /* Match the navbar height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 1cm);
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
        padding: 1.5rem 1rem;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        transition: left 0.3s ease;
        z-index: 1000;
        border-right: none;
        position: relative;
    }
    
    .home-page .nav-links::after,
    .gallery-page .nav-links::after,
    .about-page .nav-links::after,
    .team-page .nav-links::after,
    .contact-page .nav-links::after {
        display: none !important;
        content: none !important;
    }
    
    .nav-links::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.2) 100%);
        pointer-events: none;
        border-radius: 0 0 0 12px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        padding: 0 0.8rem;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 1.2rem;
        border-radius: 8px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.05);
        margin-bottom: 0.3rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.15);
        border-left-color: var(--accent-green);
        transform: translateX(5px);
    }
    
    /* Hero Section - Mobile */
    .hero {
        min-height: 70vh;
        margin-top: 60px;
        padding: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: var(--spacing-sm) 0 var(--spacing-md);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin: var(--spacing-md) 0;
    }
    
    .stat-card {
        width: 100%;
        padding: var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Page Header - Mobile */
    .page-header {
        padding: 6rem var(--spacing-sm) 3rem;
        margin-top: 0;
        padding-top: 100px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Carousel - Mobile Optimized */
    .carousel-container {
        height: 300px;
        border-radius: 0;
    }
    
    .carousel-caption {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 5px;
    }
    
    .carousel-btn.next {
        right: 5px;
    }
    
    .carousel-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    @media (max-width: 480px) {
        .carousel-btn {
            display: none;
        }
    }
    
    /* Section Spacing - Mobile */
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Investment Section - Mobile */
    .investment-main h3 {
        font-size: 1.5rem;
    }
    
    .investment-intro {
        font-size: 1rem;
    }
    
    .investment-metrics {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .metric-box {
        padding: var(--spacing-sm);
    }
    
    .metric-icon {
        font-size: 2.5rem;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .metric-label {
        font-size: 1rem;
    }
    
    /* Why Invest - Mobile */
    .why-invest-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .invest-card {
        padding: 1rem;
        padding-top: 2.5rem;
    }
    
    .invest-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
        right: 15px;
    }
    
    .invest-card h3 {
        font-size: 1.1rem;
        padding-right: 40px;
    }
    
    .invest-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Returns Section - Mobile */
    .split-amount {
        font-size: 2.2rem;
    }
    
    .split-label {
        font-size: 1.1rem;
    }
    
    .split-divider {
        font-size: 2rem;
    }
    
    .returns-grid {
        grid-template-columns: 1fr;
    }
    
    .return-item {
        padding: var(--spacing-sm);
    }
    
    .return-icon {
        font-size: 2rem;
    }
    
    .return-item h4 {
        font-size: 1.1rem;
    }
    
    .return-item p {
        font-size: 0.95rem;
    }
    
    /* Advantages - Mobile */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .advantage-card {
        padding: var(--spacing-sm);
        padding-top: calc(var(--spacing-sm) + 40px);
        min-height: 160px;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .advantage-badge {
        position: absolute;
        top: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--accent-green);
        color: #fff;
        font-size: 1.1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

    .advantage-card h3 {
        font-size: 1.15rem;
        margin-top: 0.25rem;
        color: var(--primary-green);
    }

    .advantage-card p {
        font-size: 0.98rem;
        color: var(--medium-text);
        margin: 0;
        line-height: 1.6;
    }
    
    /* CTA Section - Mobile */
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cta-stat strong {
        font-size: 1.5rem;
    }
    
    .cta-stat span {
        font-size: 0.9rem;
    }
    
    /* Endorsements - Mobile */
    .endorsements-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .endorsement-card {
        padding: var(--spacing-sm);
    }
    
    .endorsement-logo {
        font-size: 3rem;
    }
    
    .endorsement-card h4 {
        font-size: 1.2rem;
    }
    
    .endorsement-card p {
        font-size: 0.95rem;
    }
    
    .approvals-showcase {
        padding: var(--spacing-md);
    }
    
    .approvals-showcase h3 {
        font-size: 1.5rem;
    }
    
    .approvals-list {
        flex-direction: column;
        align-items: stretch;
    }
    
    .approval-badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    /* Contact Options - Mobile */
    .contact-options {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .contact-option-card {
        padding: var(--spacing-md);
    }
    
    .contact-icon-large {
        font-size: 3rem;
    }
    
    .contact-option-card h4 {
        font-size: 1.2rem;
    }
    
    .contact-link {
        font-size: 1rem;
    }
    
    /* Gallery Grid - Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
    
    /* About Grid - Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .about-card {
        padding: var(--spacing-sm);
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
    }
    
    .about-card p {
        font-size: 0.95rem;
    }
    
    /* Impact Grid - Mobile */
    .impact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .impact-card {
        padding: var(--spacing-sm);
    }
    
    .impact-icon {
        font-size: 2.5rem;
    }
    
    .impact-card h3 {
        font-size: 1.2rem;
    }
    
    .impact-card p {
        font-size: 0.95rem;
    }
    
    /* Outcomes - Mobile */
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .outcome-item {
        padding: var(--spacing-sm);
    }
    
    .outcome-item h4 {
        font-size: 1.1rem;
    }
    
    .outcome-item ul li {
        font-size: 0.9rem;
    }
    
    /* Activities Grid - Mobile */
    .activities-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .activity-card {
        padding: var(--spacing-sm);
    }
    
    .activity-icon {
        font-size: 2.5rem;
    }
    
    .activity-card h3 {
        font-size: 1.2rem;
    }
    
    .activity-list li {
        font-size: 0.9rem;
    }
    
    /* Team Grid - Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .team-card {
        padding: var(--spacing-sm);
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-title {
        font-size: 0.9rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
    
    /* Funding Section - Mobile */
    .funding-amount {
        font-size: 2.5rem;
    }
    
    .funding-breakdown {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .breakdown-item {
        padding: var(--spacing-sm);
    }
    
    .breakdown-value {
        font-size: 2rem;
    }
    
    .breakdown-label {
        font-size: 1rem;
    }
    
    .funding-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .detail-card {
        padding: var(--spacing-sm);
    }
    
    .detail-card h4 {
        font-size: 1.1rem;
    }
    
    .detail-card p {
        font-size: 0.95rem;
    }
    
    .integrity-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .integrity-card {
        padding: var(--spacing-sm);
    }
    
    .integrity-card h4 {
        font-size: 1.1rem;
    }
    
    .integrity-card p {
        font-size: 0.95rem;
    }
    
    /* Contact Section - Mobile */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        gap: var(--spacing-sm);
    }
    
    .contact-item {
        padding: var(--spacing-sm);
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
    }
    
    .contact-item a,
    .contact-item p {
        font-size: 0.95rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .contact-person {
        padding: var(--spacing-sm);
    }
    
    .contact-person h4 {
        font-size: 1.1rem;
    }
    
    /* Footer Responsive Enhancements */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-section,
    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-about {
        order: 1;
    }
    
    .footer-links-section {
        order: 2;
    }
    
    .footer-contact {
        order: 3;
    }
    
    .footer-logo {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-img {
        height: 50px;
        width: auto;
    }
    
    .footer-logo-text {
        margin-left: 1rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .footer-logo-text p {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }
    
    .footer-about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .footer-heading {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-links li {
        margin: 0;
    }
    
    .footer-links a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }
    
    .footer-contact p {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-social {
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        margin: 0 0.5rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-links-bottom {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links-bottom a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        height: 45px;
    }
    
    .footer-logo-text {
        margin-left: 0.8rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .footer-logo-text p {
        font-size: 0.85rem;
    }
    
    .footer-about-text {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-heading {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        margin: 0 0.3rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links-bottom {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .footer-links-bottom a {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 40px;
        margin-bottom: 0.5rem;
    }
    
    .footer-logo-text {
        margin-left: 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .footer-logo-text p {
        font-size: 0.8rem;
    }
    
    .footer-about-text {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        margin: 0 0.2rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-links-bottom a {
        font-size: 0.75rem;
    }
}

/* Touch-friendly footer */
@media (hover: none) and (pointer: coarse) {
    .footer-links a,
    .footer-links-bottom a,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        min-width: 44px;
    }
}
    
    .footer-links-bottom {
        justify-content: flex-start;
        gap: 1rem;
    }
    
    /* Monitoring Section - Mobile */
    .monitoring-title {
        font-size: 1.5rem;
    }
    
    .monitoring-text {
        font-size: 1rem;
    }
    
    /* Timeline Section - Mobile */
    .timeline-section h3 {
        font-size: 1.5rem;
    }
    
    .timeline-subtitle {
        font-size: 1rem;
    }
    
    .timeline-info p {
        font-size: 0.95rem;
    }
    
    /* Area Section - Mobile */
    .area-content p {
        font-size: 1rem;
    }
    
    .area-info {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .info-box {
        padding: var(--spacing-sm);
    }
    
    .info-box h4 {
        font-size: 1.1rem;
    }
    
    .info-box p {
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .carousel-caption h3 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .split-amount {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .nav-links {
        width: 260px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Mobile Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch target sizes for mobile */
    .cta-button, button, .button, .btn {
        min-height: 44px;
        min-width: 44px;
        background-color: #FF6B00; /* Orange color */
        color: white;
    }
    
    .dot {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .dot::before {
        content: '';
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        transition: all 0.3s ease;
    }
    
    .dot.active::before {
        background-color: var(--accent-green);
        transform: scale(1.2);
    }
    
    /* Remove hover effects on touch devices */
    .metric-box:hover,
    .invest-card:hover,
    .advantage-card:hover,
    .endorsement-card:hover,
    .contact-option-card:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    /* Make carousel buttons more prominent on mobile */
    .carousel-btn {
        background-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        display: none; /* Hide carousel buttons on mobile */
    }
    
    /* Optimize scrolling performance */
    .carousel-container,
    .nav-links {
        -webkit-overflow-scrolling: touch;
    }
}

/* Monitoring Section */
.monitoring-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 12px;
    color: white;
}

.monitoring-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.monitoring-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: white !important;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.monitoring-text:last-child {
    margin-bottom: 0;
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .page-header {
        padding: 5rem var(--spacing-sm) 2rem;
    }
    
    .carousel-container {
        height: 400px;
    }
}

/* Print styles */
/* Enhanced Mobile Navigation Dropdown - Home Page Only */
@media (max-width: 768px) {
    /* Enhanced Hamburger Menu */
    .home-page .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        border-radius: 0;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .home-page .hamburger:hover {
        transform: scale(1.1);
    }

    .home-page .hamburger span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--nav-text);
        border-radius: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin: 2px 0;
    }

    .home-page .hamburger span:nth-child(1) {
        transform-origin: center;
    }

    .home-page .hamburger span:nth-child(2) {
        transform-origin: center;
        opacity: 1;
    }

    .home-page .hamburger span:nth-child(3) {
        transform-origin: center;
    }

    .home-page .hamburger.active {
        transform: rotate(90deg);
    }

    .home-page .hamburger.active span {
        background: var(--primary-green);
    }

    .home-page .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .home-page .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .home-page .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Enhanced Mobile Menu Panel */
    .home-page .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .home-page .nav-links.active {
        right: 0;
        box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    }

    /* Mobile Menu Header */
    .home-page .nav-links::before {
        content: '';
        display: block;
        height: 140px;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        position: relative;
    }

    /* Enhanced Navigation Links */
    .home-page .nav-links li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(46,125,50,0.08);
        position: relative;
        overflow: hidden;
    }

    .home-page .nav-links li:last-child {
        border-bottom: none;
    }

    .home-page .nav-links li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .home-page .nav-links li:hover::before {
        transform: translateX(0);
    }

    .home-page .nav-links a {
        display: flex;
        align-items: center;
        padding: 1.2rem 1.5rem;
        color: var(--dark-gray);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
    }

    .home-page .nav-links a:hover {
        background: rgba(46,125,50,0.05);
        color: var(--primary-green);
        padding-left: 2rem;
        transform: translateX(4px);
    }

    .home-page .nav-links a.active {
        background: linear-gradient(90deg, rgba(46,125,50,0.1), transparent);
        color: var(--primary-green);
        font-weight: 600;
    }

    .home-page .nav-links a.active::before {
        content: '▶';
        position: absolute;
        left: 1rem;
        color: var(--primary-green);
        font-size: 0.8rem;
    }

    /* Touch-friendly enhancements */
    .home-page .nav-links a {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .home-page .hamburger {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .home-page .nav-links {
        width: 90%;
        max-width: 280px;
    }

    .home-page .nav-links a {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .home-page .hamburger {
        width: 40px;
        height: 40px;
    }

    .home-page .hamburger span {
        width: 20px;
        height: 2.5px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 360px) {
    .home-page .nav-links {
        width: 95%;
        max-width: 260px;
    }

    .home-page .nav-links a {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .home-page .hamburger {
        width: 36px;
        height: 36px;
    }

    .home-page .hamburger span {
        width: 18px;
        height: 2px;
    }
}

/* Enhanced Mobile Navigation Dropdown - Gallery Page Only */
@media (max-width: 768px) {
    /* Enhanced Hamburger Menu */
    .gallery-page .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        border-radius: 0;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
        position: relative;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .gallery-page .hamburger:hover {
        background-color: var(--nav-hover);
        transform: scale(1.1);
    }

    .gallery-page .hamburger span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--nav-text);
        border-radius: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        margin: 2px 0;
    }

    .gallery-page .hamburger span:nth-child(1) {
        transform-origin: center;
    }

    .gallery-page .hamburger span:nth-child(2) {
        transform-origin: center;
        opacity: 1;
    }

    .gallery-page .hamburger span:nth-child(3) {
        transform-origin: center;
    }

    .gallery-page .hamburger.active {
        transform: rotate(90deg);
    }

    .gallery-page .hamburger.active span {
        background: var(--primary-green);
    }

    .gallery-page .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .gallery-page .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .gallery-page .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Enhanced Mobile Menu Panel */
    .gallery-page .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .gallery-page .nav-links.active {
        right: 0;
        box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    }

    /* Mobile Menu Header */
    .gallery-page .nav-links::before {
        content: '';
        display: block;
        height: 140px;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        position: relative;
    }

    /* Enhanced Navigation Links */
    .gallery-page .nav-links li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(46,125,50,0.08);
        position: relative;
        overflow: hidden;
    }

    .gallery-page .nav-links li:last-child {
        border-bottom: none;
    }

    .gallery-page .nav-links li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .gallery-page .nav-links li:hover::before {
        transform: translateX(0);
    }

    .gallery-page .nav-links a {
        display: flex;
        align-items: center;
        padding: 1.2rem 1.5rem;
        color: var(--dark-gray);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
        background: transparent;
    }

    .gallery-page .nav-links a:hover {
        background: rgba(46,125,50,0.05);
        color: var(--primary-green);
        padding-left: 2rem;
        transform: translateX(4px);
    }

    .gallery-page .nav-links a.active {
        background: linear-gradient(90deg, rgba(46,125,50,0.1), transparent);
        color: var(--primary-green);
        font-weight: 600;
    }

    .gallery-page .nav-links a.active::before {
        content: '▶';
        position: absolute;
        left: 1rem;
        color: var(--primary-green);
        font-size: 0.8rem;
    }

    /* Touch-friendly enhancements */
    .gallery-page .nav-links a {
        min-height: 48px;
        -webkit-tap-highlight-color: transparent;
    }

    .gallery-page .hamburger {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .gallery-page .nav-links {
        width: 90%;
        max-width: 280px;
    }

    .gallery-page .nav-links a {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .gallery-page .hamburger {
        width: 40px;
        height: 40px;
    }

    .gallery-page .hamburger span {
        width: 20px;
        height: 2.5px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 360px) {
    .gallery-page .nav-links {
        width: 95%;
        max-width: 260px;
    }

    .gallery-page .nav-links a {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
    }

    .gallery-page .hamburger {
        width: 36px;
        height: 36px;
    }

    .gallery-page .hamburger span {
        width: 18px;
        height: 2px;
    }
}

@media print {
    .navbar,
    .hamburger,
    .carousel-btn,
    .carousel-dots,
    .cta-buttons {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* About page styles */
/* Reduce section padding for about page */
.about-page .section {
    padding: 1.5rem 0;
}

.about-hero {
    background-image: url('about-hero.jpg');
    background-size: cover;
    background-position: center;
    padding: 6.5rem 0 5rem; /* slightly smaller than main hero to fit page header */
    position: relative;
}
.about-hero .hero-overlay {
    background: rgba(0,0,0,0.35);
}
.about-hero .hero-content {
    color: white;
    text-align: left;
    max-width: 820px;
}
.about-hero .hero-title {
    color: white;
}
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}
.about-values-grid .value-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

/* Center the last team member */
.team-member:last-child {
    grid-column: 2 / 3;
    justify-self: center;
}
.team-member {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
}
.team-member img {
    width: 100%;
    height: auto; /* preserve image aspect ratio so it is not cropped */
    max-height: 320px; /* limit very tall images while keeping full image visible */
    object-fit: contain; /* show the whole image inside the box */
    border-radius: 6px;
    margin-bottom: 0.75rem;
    background-color: #f6faf6; /* subtle neutral background for letterboxing */
}
@media (max-width: 900px) {
    .about-values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .about-hero .hero-content {
        text-align: center;
    }
}

/* About-page unique styles: professional, clean layout */
.about-need p,
.about-need .approach-list,
.about-need .action-content p {
    text-align: justify;
    text-justify: inter-word;
}

/* Approach Section Styling */
.about-approach {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.approach-content,
.impact-content {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.section-header {
    margin-bottom: 2rem;
}

.title-underline.left {
    margin: 1rem 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.approach-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.approach-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.approach-list li i {
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0.3em;
}

/* Impact Cards */
.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.impact-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.impact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-card h3 {
    color: var(--primary-color);
    margin: 0.5rem 0 1rem;
    font-size: 1.25rem;
    text-align: center;
}

.impact-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    text-justify: auto;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-approach {
        padding: 3rem 0;
    }
    
    .approach-content,
    .impact-content {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .impact-cards {
        grid-template-columns: 1fr;
    }
}

.about-need .approach-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about-need .approach-list li {
    margin-bottom: 0.75rem;
}

.project-overview {
    padding: 6rem 0;
    background-color: #f9f9f9;
}

.project-overview .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.project-overview .section-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
    margin-top: 1.5rem;
}

.project-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.highlight-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: #2E7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.highlight-icon i {
    color: white;
    font-size: 1.5rem;
}

.highlight-card h3 {
    color: #1B5E20;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.highlight-card p {
    color: #555;
    line-height: 1.6;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.project-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.project-image:hover img {
    transform: scale(1.03);
}

.project-features h3 {
    color: #1B5E20;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.6;
    color: #444;
}

.feature-list i {
    color: #2E7D32;
    position: absolute;
    left: 0;
    top: 0.3em;
    font-size: 1.2rem;
}

.feature-list strong {
    color: #1B5E20;
}

/* Responsive styles */
@media (max-width: 992px) {
    .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .project-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-card {
        text-align: center;
    }
    
    .highlight-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

/* About-page unique styles: professional, clean layout */
.about-intro {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(244,246,242,0.6), rgba(250,250,248,1));
}

.about-project {
    background: #f8fbf7;
    padding: 4rem 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.project-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.project-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

/* Diagram Section */
.diagram-section {
    padding: 2rem 0;
    background: #fff;
}

.diagram-container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow-x: auto;
    padding: 1rem 0;
}

.diagram-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.diagram-description {
    max-width: 900px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
}

.section-title {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* Ensure section titles are centered on index page */
.who-we-are .section-title,
.quick-contact-section .section-title {
    text-align: center;
}

/* What We Do title remains left aligned */
.what-we-do-header .section-title {
    text-align: left !important;
}

/* Center Who We Are title within grid */
.who-we-are-content .section-title {
    text-align: center !important;
}

/* Force center Who We Are title with higher specificity */
section.who-we-are .who-we-are-content .section-title {
    text-align: center !important;
}

/* Center Get Started Today title */
.quick-contact-section .section-header {
    text-align: center;
}

.quick-contact-section .section-header .section-title {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diagram-section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .diagram-section {
        padding: 1rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .diagram-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 1.5rem auto 0;
    text-align: left;
}

/* Hover effect for image */
.project-img:hover {
    transform: scale(1.01);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .project-description {
        font-size: 1rem;
        padding: 0 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 1.8rem;
    }
}

.about-intro-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
    padding: 4rem 0;
}

.about-heading {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.about-lead {
    color: var(--medium-text);
    font-size: 1.05rem;
    max-width: 58ch;
    margin-bottom: 1.25rem;
}
.about-stats {
    display:flex;
    gap:1rem;
}
.about-stats .stat {
    background: #fff;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(23,34,12,0.05);
    text-align: center;
    min-width: 100px;
}
.about-stats .stat-value { font-size: 1.25rem; font-weight:800; color:var(--primary-green); }
.about-stats .stat-label { font-size:0.85rem; color:var(--medium-text); }
.about-card-hero { position:relative; border-radius:10px; overflow:hidden; }
.about-card-hero img { width:100%; height:320px; object-fit:cover; display:block; }
.about-card-hero .card-quote { position:absolute; left:1rem; bottom:1rem; background:rgba(0,0,0,0.55); color:white; padding:0.5rem 0.75rem; border-radius:6px; font-style:italic; }

.about-approach .split { display:grid; grid-template-columns: 1fr 1fr; gap:2rem; align-items:start; }
.about-approach h2 { margin-bottom:0.5rem; }
.approach-list { margin-top:1rem; list-style:disc; padding-left:1.15rem; color:var(--medium-text); }
.impact-cards { display:flex; gap:1rem; margin-top:1rem; }
.impact-card { background:#fff; padding:1rem; border-radius:8px; box-shadow:0 6px 14px rgba(10,20,6,0.04); flex:1; text-align:center; }

.timeline { list-style:none; margin:1.5rem 0 0 0; padding:0; border-left:2px solid rgba(0,0,0,0.06); }
.timeline li { position:relative; padding:1rem 0 1rem 2rem; }
.timeline-year { position:absolute; left:-96px; top:0; background:#fff; color:var(--primary-green); font-weight:700; padding:0.35rem 0.6rem; border-radius:6px; border:1px solid rgba(0,0,0,0.04); }
.timeline-body { color:var(--medium-text); }

.about-team .team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1rem; }
.team-member { background:#fff; padding:1rem; border-radius:8px; box-shadow:0 10px 24px rgba(10,20,6,0.04); transition:transform 0.18s ease, box-shadow 0.18s ease; }
.team-member:hover { transform:translateY(-6px); box-shadow:0 18px 40px rgba(10,20,6,0.08); }
.team-member h4 { margin-top:0.5rem; margin-bottom:0.35rem; }
.team-member p { 
    color: var(--medium-text); 
    font-size: 0.95rem; 
    text-align: justify; 
    text-justify: inter-word; 
    -webkit-hyphens: auto; 
    -ms-hyphens: auto; 
    hyphens: auto; 
}

/* Focus styles for keyboard users */
.team-member:focus {
    outline: none;
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(10,20,6,0.12);
}
.team-member:focus-visible {
    box-shadow: 0 18px 40px rgba(10,20,6,0.12), 0 0 0 4px rgba(46,125,50,0.12);
    border-radius: 8px;
}

.values-strip { background:linear-gradient(90deg,#f9fbf8,#ffffff); padding:1rem 0; border-top:1px solid rgba(0,0,0,0.03); border-bottom:1px solid rgba(0,0,0,0.03); }
.values-inner { display:flex; gap:1rem; justify-content:center; align-items:center; flex-wrap:wrap; }
.value-pill { background:var(--primary-green); color:white; padding:0.6rem 1rem; border-radius:999px; font-weight:700; box-shadow:0 6px 18px rgba(45,80,22,0.08); }

.about-cta { padding:2rem 0; }
.about-cta-inner { display:flex; justify-content:space-between; align-items:center; gap:1rem; background:linear-gradient(90deg,#fbfff7,#f7fbf6); padding:1.25rem; border-radius:10px; box-shadow:0 8px 20px rgba(10,20,6,0.03); }

@media (max-width: 900px) {
    .about-intro-inner { grid-template-columns: 1fr; }
    .about-card-hero img { height:240px; }
    .timeline-year { left:-76px; }
    .about-cta-inner { flex-direction:column; text-align:center; }
}

/* Styles for About page hero (unique layout) */
.about-hero-unique { background: linear-gradient(180deg,#f8fbf7,#ffffff); padding: calc(105px + 2rem) 0 1.5rem; border-bottom: 1px solid var(--border-color); }
.about-hero-inner { display:flex; gap:2rem; align-items:center; }
.about-hero-inner .hero-copy { flex:1; }
.about-hero-inner .hero-visual { width:420px; }
.about-hero-inner .hero-visual img { width:100%; height:280px; object-fit:cover; border-radius:10px; box-shadow:0 10px 30px rgba(10,20,6,0.06); }
.eyebrow { color:var(--secondary-green); font-weight:700; margin-bottom:0.5rem; }
.about-hero-title { font-size:2.25rem; line-height:1.05; margin-bottom:0.6rem; color:var(--dark-text); }
.about-hero-sub { color:var(--medium-text); margin-bottom:1rem; max-width:66ch; }
.about-hero-ctas .cta-button { margin-right:0.6rem; }

/* Make the "Meet our team" secondary CTA on the About hero use black text
   Targets only the About page hero to avoid changing other secondary CTAs site-wide. */
.about-hero-unique .about-hero-ctas .cta-button.secondary {
    color: #111; /* near-black for strong contrast */
    border-color: #111;
}
.about-hero-unique .about-hero-ctas .cta-button.secondary:hover {
    /* preserve the existing hover look (orange background + white text) */
    background: #FF8C00;
    color: #fff;
}

@media (max-width: 900px) {
    .about-hero-inner { flex-direction:column-reverse; text-align:center; }
    .about-hero-inner .hero-visual { width:100%; }
    .about-hero-inner .hero-visual img { height:220px; }
    .about-hero-title { font-size:1.6rem; }
}

/* Adjust About hero padding to account for fixed navbar height */
@media (max-width: 992px) {
    .about-hero-unique { padding-top: calc(75px + 1rem); }
}

/* Ensure anchor links land below the fixed navbar */
html { scroll-padding-top: 110px; }

/* FINAL OVERRIDE - Hide any Menu text that might still appear */
.home-page .nav-links::after,
.gallery-page .nav-links::after,
.about-page .nav-links::after,
.team-page .nav-links::after,
.contact-page .nav-links::after,
.nav-links::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Additional override for any pseudo-elements that might contain Menu text */
.home-page .nav-links::before,
.gallery-page .nav-links::before,
.about-page .nav-links::before,
.team-page .nav-links::before,
.contact-page .nav-links::before {
    display: none !important;
    content: none !important;
}



