/* CSS Variables for consistent theming */
:root {
    --primary-color: #2d5a27;
    --primary-dark: #1a3d1a;
    --primary-light: #4a7c59;
    --accent-color: #bfe5c7;
    --text-dark: #1f2d1f;
    --text-light: #4b4f4b;
    --white: #ffffff;
    --gray-100: #f8faf8;
    --gray-200: #e8f5e8;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Improved accessibility */
.btn:focus,
.nav-list a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Better mobile navigation */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #2d5a27;
    color: white;
    border: 2px solid #2d5a27;
}

.btn-primary:hover {
    background-color: white;
    color: #2d5a27;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #2d5a27;
    border: 2px solid #2d5a27;
}

.btn-outline:hover {
    background-color: #2d5a27;
    color: white;
}

.btn-white {
    background-color: white;
    color: #2d5a27;
}

.btn-white:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Header */
.header {
    background-color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling - Much Bigger Size */
.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    width: 80px;  /* Much bigger - increased to 80px */
    height: 80px; /* Much bigger - increased to 80px */
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 1.25rem;
        gap: 1rem;
    }
    
    .logo-image {
        width: 65px;  /* Bigger on mobile too */
        height: 65px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        gap: 0.8rem;
    }
    
    .logo-image {
        width: 55px;  /* Still much bigger than original */
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

/* Hide the old leaf icon */
.logo i {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #2d5a27;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2d5a27;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background-color: #f8faf8;
    padding: 120px 0 80px;
    margin-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: #2d5a27;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: #2d5a27;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat i {
    color: #2d5a27;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a27;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    background: #2d5a27;       /* green card */
    border-radius: 12px;
    padding: 12px;             /* inner padding around image+caption */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;                    /* no gap between children */
}

.main-image img {
    display: block;            /* removes inline image gap */
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;        /* rounded image corners inside card */
}

.image-caption {
    background: transparent;   /* same green as parent shows through */
    color: white;
    padding: 12px 8px 12px;
    margin: 0;                 /* no outer margin */
    text-align: left;          /* or center, your call */
}

.image-caption h3 {
    color: white;
}
.image-caption p {
    margin: 0;                 /* prevents any gap touching the image */
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Commitment Section */
.commitment {
    padding: 80px 0;
    background-color: #f8faf8;
}

.commitment .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.commitment-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.commitment-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.commitment-list {
    list-style: none;
}

.commitment-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.commitment-list i {
    color: #2d5a27;
    font-size: 1.2rem;
}

.commitment-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.services h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.services .section-description {
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #2d5a27;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* CTA Section: dark oval banner background */
.cta {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 80px 60px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a3d1a 0%, #2d5a27 50%, #4a7c59 100%) !important;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta p {
    color: #e8f5e8;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta .btn {
    background: #ffffff;
    color: #2d5a27;
    border: 2px solid #ffffff;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
    border-radius: 8px;
}

.cta .btn:hover {
    background: #ffffff !important;
    color: #2d5a27 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Vision Section: remove all rounded corners, sharp edges */
.vision-mission-impact {
    border-radius: 0 !important;
    margin: 100px 0 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vision, .mission, .impact {
    border-radius: 0 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision:hover, .mission:hover, .impact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Vision Section: sleek modern design with icons */
.vision-mission-impact {
    background: linear-gradient(rgba(45, 90, 39, 0.85), rgba(45, 90, 39, 0.85)), url('https://images.unsplash.com/photo-1466721591366-2d5fba72006d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    border-radius: 24px;
    margin: 0 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.vision-mission-impact h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.vision-mission-impact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 0 !important;
}

.vision, .mission, .impact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision:hover, .mission:hover, .impact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.vision h3, .mission h3, .impact h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.vision h3::before {
    content: "🌱";
    font-size: 1.2rem;
}

.mission h3::before {
    content: "🌿";
    font-size: 1.2rem;
}

.impact h3::before {
    content: "🌳";
    font-size: 1.2rem;
}

.vision p, .mission p, .impact p {
    color: #e8f5e8;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1e3d1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b8c5b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #2d5a27;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #4a7c59;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: #ffffff;
    width: 20px;
}

/* Ensure footer text is visible - override any conflicting styles */
.footer .footer-section p,
.footer .footer-bottom p,
.footer .contact-info p {
    color: #ffffff !important;
}

.footer .logo,
.footer .logo span {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .nav {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        display: none;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .commitment .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .logo {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

body .who-we-are h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

body .who-we-are .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.075rem;
    color: #e8f5e8;
}

/* cards */
body .who-we-are .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

body .who-we-are .feature {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body .who-we-are .feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

body .who-we-are .feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #bfe5c7;
    font-size: 28px;
    margin-bottom: 1rem;
}

body .who-we-are .feature h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

body .who-we-are .feature p {
    color: #e8f5e8;
    margin-bottom: 0;
}

/* small-screen tweaks for this section only */
@media (max-width: 768px) {
    body .who-we-are {
        padding: 80px 0;
        background-position: center;
    }
}

/* Stat label pill */
body .who-we-are .stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #e8f5e8;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

body .who-we-are .stat-pill i {
    color: #bfe5c7;
    font-size: 1rem;
}

/* keep mobile spacing tidy */
@media (max-width: 768px) {
    body .who-we-are {
        background-size: 100% 70px, 100% 70px, cover, cover;
    }
}

/* keep mobile edge blend smaller */
@media (max-width: 768px) {
    body .who-we-are {
        background-size: 100% 70px, 100% 70px, cover;
    }
}

/* Who We Are: revert to white (no gradient/image) and readable colors */
body .who-we-are {
    background: #ffffff !important;
    color: inherit;
    position: relative;
}
body .who-we-are::before {
    content: none !important; /* remove any overlay sheen */
}

/* Tweak card styling for light background */
body .who-we-are .feature {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: none;
}
body .who-we-are .feature h3 {
    color: #333;
}
body .who-we-are .feature p {
    color: #555;
}
body .who-we-are .feature i {
    background: #eaf4ec;
    color: #2d5a27;
}
body .who-we-are .stat-pill {
    background: #eaf4ec;
    color: #2d5a27;
}

/* Who We Are: dark heading/desc on white, green cards, light stat pill */
body .who-we-are h2 {
	color: #1f2d1f;
}

body .who-we-are .section-description {
	color: #4b4f4b;
}

/* green feature cards */
body .who-we-are .feature {
	background: #2d5a27;
	border: 1px solid #2a5124;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

body .who-we-are .feature h3 {
	color: #ffffff;
}

body .who-we-are .feature p {
	color: #e9f5ea;
}

body .who-we-are .feature i {
	background: rgba(255, 255, 255, 0.14);
	color: #d7f0db;
}

/* stat pill on green: light */
body .who-we-are .stat-pill {
	background: #eaf4ec;
	color: #1e3d1a;
}

body .who-we-are .stat-pill i {
	color: #2d5a27;
}

/* Who We Are: green cards with cool gradient + hover shadow */
body .who-we-are .feature {
    background: linear-gradient(135deg, #2d5a27 0%, #3c7a4a 100%);
    border: 1px solid #2a5124;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    background-clip: padding-box;
}

body .who-we-are .feature:hover {
    transform: translateY(-6px);
    background: linear-gradient(135deg, #2f622b 0%, #4c8f5d 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Hero: increase height for better image/caption fit */
.hero {
    padding: 140px 0 100px;  /* increased from 120px 0 80px */
}

.main-image img {
    height: 500px;  /* increased from 400px */
}

/* Vision section: update background image */
.vision-mission-impact {
    background: linear-gradient(rgba(45, 90, 39, 0.9), rgba(45, 90, 39, 0.9)), url('https://images.unsplash.com/photo-1466721591366-2d5fba72006d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Hero image caption: white text on green background */
.image-caption h3,
.image-caption p {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta, .vision-mission-impact {
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .vision, .mission, .impact {
        padding: 1.5rem;
    }
}

/* 1. Add vertical spacing between CTA and Vision sections */
.cta {
    margin-bottom: 60px;
}

.vision-mission-impact {
    margin-top: 40px;
}

/* 2 & 3. Restructure Vision section into responsive 3-column cards */
.vision-mission-impact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision, .mission, .impact {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision:hover, .mission:hover, .impact:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* 4. Icons at the top with consistent styling */
.vision h3, .mission h3, .impact h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.vision h3::before {
    content: "🌱";
    font-size: 2.5rem;
    display: block;
}

.mission h3::before {
    content: "🌿";
    font-size: 2.5rem;
    display: block;
}

.impact h3::before {
    content: "🌳";
    font-size: 2.5rem;
    display: block;
}

.vision p, .mission p, .impact p {
    color: #e8f5e8;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* 5. Responsive layout: stack on mobile, side-by-side on larger screens */
@media (max-width: 1024px) {
    .vision-mission-impact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .impact {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .vision-mission-impact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
    }
    
    .vision, .mission, .impact {
        padding: 2rem 1.5rem;
    }
    
    .cta {
        margin-bottom: 40px;
    }
    
    .vision-mission-impact {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .vision, .mission, .impact {
        padding: 1.5rem 1rem;
    }
    
    .vision h3, .mission h3, .impact h3 {
        font-size: 1.3rem;
    }
    
    .vision h3::before, .mission h3::before, .impact h3::before {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .cta {
        max-width: 95%;
        padding: 60px 40px;
        margin-bottom: 80px;
        border-radius: 40px;
    }
    
    .vision-mission-impact {
        margin: 80px 0 0 0;
    }
    
    .cta .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 50px 30px;
        border-radius: 30px;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 0.95rem;
    }
}

/* Vision Section: stretch to full width, touch both edges */
.vision-mission-impact {
    margin: 100px -20px 0 -20px !important;
    border-radius: 0 !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
}

.vision-mission-impact .container {
    max-width: none !important;
    padding: 0 40px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vision-mission-impact {
        margin: 80px -15px 0 -15px !important;
        width: calc(100% + 30px) !important;
    }
    
    .vision-mission-impact .container {
        padding: 0 30px !important;
    }
}

/* CTA Section: remove hover effects */
.cta .btn:hover {
    background: #ffffff !important;
    color: #2d5a27 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Vision Section: round edges for cards, full background image */
.vision, .mission, .impact {
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.vision-mission-impact {
    background: linear-gradient(rgba(45, 90, 39, 0.7), rgba(45, 90, 39, 0.7)), url('https://images.unsplash.com/photo-1466721591366-2d5fba72006d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Final production-ready improvements */

/* Better button states and interactions */
.btn {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    user-select: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Improved form accessibility */
input:focus, textarea:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Better loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Print styles */
@media print {
    .header, .mobile-menu-toggle, .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-dark: #000000;
        --white: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modern Hero Section - Complete Redesign */
.hero {
    background: linear-gradient(135deg, #f8faf8 0%, #e8f5e8 100%);
    padding: 140px 0 100px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e8f5e8" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-content,
.hero-image {
    align-self: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.hero-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::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: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Modern Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Who We Are - Modern Card Design */
.who-we-are {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    position: relative;
}

.who-we-are::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature i {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

/* Stat Pill Enhancement */
.stat-pill {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Services Section - Modern Design */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 100%);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card i {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Footer - Modern Design */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Modern Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature,
.service-card {
    animation: slideInUp 0.8s ease-out forwards;
    opacity: 0;
}

.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }
.feature:nth-child(4) { animation-delay: 0.4s; }

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.stat {
    animation: fadeInScale 0.6s ease-out forwards;
    opacity: 0;
}

.stat:nth-child(1) { animation-delay: 0.3s; }
.stat:nth-child(2) { animation-delay: 0.4s; }
.stat:nth-child(3) { animation-delay: 0.5s; }

/* Hover animations */
.feature:hover i,
.service-card:hover i {
    animation: float 2s ease-in-out infinite;
}

/* Contact Form Section - Modern Design */
.contact-form-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styling */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(191, 229, 199, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Error States */
.form-input.error,
.form-textarea.error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 auto;
    width: fit-content;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-block;
}

/* Success State */
.form-input.success,
.form-textarea.success {
    border-color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .contact-intro h3 {
        font-size: 2rem;
    }
    
    .contact-intro p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.875rem 1rem;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    
    .contact-intro h3 {
        font-size: 1.8rem;
    }
    
    .contact-intro p {
        font-size: 0.95rem;
    }
}

/* Mobile-First Responsive Design - Complete Overhaul */

/* Base Mobile Styles (320px+) */
.container {
    max-width: 100%;
    padding: 0 16px;
    margin: 0 auto;
}

/* Header - Mobile Optimized */
.header {
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.5rem;
}

/* Mobile Navigation */
.nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    padding: 1rem 0;
}

.nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
}

.nav-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    border: none;
    background: none;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section - Mobile First */
.hero {
    padding: 100px 0 60px;
    margin-top: 70px;
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Mobile Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    padding: 1.5rem 1rem;
    border-radius: 16px;
}

.stat i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
}

/* Mobile Image */
.hero-image {
    order: -1;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
}

.main-image img {
    height: 300px;
    border-radius: 16px;
}

.image-caption {
    padding: 1rem;
}

.image-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.image-caption p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Who We Are - Mobile Grid */
.who-we-are {
    padding: 80px 0;
}

.who-we-are h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.feature {
    padding: 2rem 1.5rem;
    border-radius: 20px;
}

.feature i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services - Mobile Grid */
.services {
    padding: 80px 0;
}

.services h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.service-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
}

.service-card i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section - Mobile Optimized */
.cta {
    max-width: 95%;
    padding: 60px 1.5rem;
    border-radius: 24px;
    margin: 0 auto 60px;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta .btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Vision Section - Mobile Grid */
.vision-mission-impact {
    margin: 60px 0 0 0;
    padding: 80px 0;
}

.vision-mission-impact h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
    margin-bottom: 2rem;
}

.vision-mission-impact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.vision, .mission, .impact {
    padding: 2rem 1.5rem;
    border-radius: 20px;
}

.vision h3, .mission h3, .impact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.vision h3::before, .mission h3::before, .impact h3::before {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.vision p, .mission p, .impact p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form - Mobile Optimized */
.contact-form-section {
    margin-bottom: 3rem;
    padding: 2rem 1.5rem;
    border-radius: 20px;
}

.contact-intro h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
}

.form-textarea {
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Footer - Mobile Grid */
.footer {
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.social-links {
    justify-content: center;
    margin-top: 1.5rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

/* Tablet Styles (768px+) */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        padding: 120px 0 80px;
        margin-top: 80px;
    }
    
    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
        align-items: center;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .vision-mission-impact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .impact {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        text-align: left;
    }
}

/* Desktop Styles (1024px+) */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
        padding: 0 32px;
    }
    
    .hero {
        padding: 140px 0 100px;
        margin-top: 80px;
    }
    
    .hero .container {
        gap: 4rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: none;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
    
    .vision-mission-impact-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .impact {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }
    
    .contact-form-section {
        padding: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Large Desktop Styles (1200px+) */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .features-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px; /* iOS touch target minimum */
    }
    
    .nav-list a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-input, .form-textarea {
        min-height: 44px;
    }
    
    .social-links a {
        min-width: 44px;
        min-height: 44px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-size: 20px 20px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

/* Optimize animations for mobile */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize for mobile performance */
@media (max-width: 768px) {
    .hero::before {
        display: none; /* Remove complex background on mobile */
    }
    
    .feature::before,
    .service-card::after {
        display: none; /* Remove complex effects on mobile */
    }
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    .main-image img {
        object-fit: cover;
        object-position: center;
    }
}

/* Optimize touch interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .feature:hover,
    .service-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn:active,
    .feature:active,
    .service-card:active {
        transform: scale(0.98);
    }
}

/* Mobile Menu Styles - Add this at the bottom of your styles.css */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        padding: 1rem 0;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
        padding: 0.5rem;
        border: none;
        background: none;
    }
    
    .mobile-menu-toggle span {
        width: 24px;
        height: 3px;
        background: var(--primary-color);
        transition: all 0.3s ease;
    }
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav {
        display: block !important;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-list li {
        border-bottom: none;
    }
    
    .nav-list a {
        padding: 0;
    }
}
