/* Import clean, professional font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 3rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    text-align: center;
    background-color: #f7fafc;
}

.logo {
    margin-bottom: 3rem;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1B4636;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #1B4636;
    box-shadow: 0 0 0 3px rgba(27, 70, 54, 0.1);
}

.newsletter-form button {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #1B4636;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-form button:hover {
    background-color: #2d5a47;
}

/* Section Spacing */
section {
    padding: 6rem 0;
}

.vision {
    background-color: #ffffff;
}

.services {
    background-color: #f7fafc;
}

.impact {
    background-color: #ffffff;
}

/* Vision Section */
.vision-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.25rem;
    color: #4a5568;
}

.vision-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.point {
    padding: 2rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #1B4636;
}

.point h3 {
    color: #1B4636;
    margin-bottom: 1rem;
}

.point p {
    margin: 0;
    color: #4a5568;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service {
    padding: 2.5rem 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}

.service:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service h3 {
    color: #1B4636;
    margin-bottom: 1rem;
}

.service p {
    margin: 0;
    color: #4a5568;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.impact-item {
    padding: 2.5rem 2rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.impact-item h3 {
    color: #1B4636;
    margin-bottom: 1rem;
}

.impact-item p {
    margin: 0;
    color: #4a5568;
}

/* CTA Section */
.cta {
    background-color: #1B4636;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: white;
    color: #1B4636;
}

.btn-primary:hover {
    background-color: #f7fafc;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1B4636;
}

/* Footer */
footer {
    background-color: #f7fafc;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

footer p {
    font-size: 0.875rem;
    color: #718096;
    margin: 1rem 0;
}

footer a {
    color: #4a5568;
    text-decoration: none;
}

footer a:hover {
    color: #1B4636;
}

footer img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

footer img:hover {
    filter: grayscale(0%);
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .vision-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .stat {
        min-width: 100px;
        padding: 1.25rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vision-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-height: 48px; /* Better touch target */
    }
    
    /* Better touch targets for form elements */
    .newsletter-form input {
        padding: 1.25rem 1.5rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }
    
    .newsletter-form button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    h1 {
        font-size: 1.875rem;
        line-height: 1.1;
        margin-bottom: 1.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .stat {
        width: 100%;
        max-width: 240px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Improved spacing for content sections */
    .vision-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .point {
        padding: 1.5rem;
    }
    
    .service {
        padding: 2rem 1.5rem;
    }
    
    .impact-item {
        padding: 2rem 1.5rem;
    }
    
    /* Enhanced touch targets */
    .btn {
        max-width: 100%;
        padding: 1.5rem 2rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form input {
        padding: 1.5rem;
        font-size: 16px;
        min-height: 52px;
    }
    
    .newsletter-form button {
        padding: 1.5rem 2rem;
        font-size: 1rem;
        min-height: 52px;
    }
}