/* style.css - Green Leaf Alliance Foundation */
/* Royal Blue (#4169e1) primary, Gold (#ffd700) secondary */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background-color: #4169e1;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo img {
    height: 55px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: white;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

section {
    padding: 4.5rem 0;
    text-align: center;
}

h1, h2, h3 {
    color: #4169e1;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #4169e1;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 1.2rem 0.5rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #4169e1;
    color: #ffd700;
    transform: translateY(-3px);
}

/* Hero */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4169e1;
    color: white;
}

.hero-title {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

/* About Us */
.about-section {
    position: relative;
    background: #f9f9f9;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('images/hero-leaf.png') center / 45% no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.team-list p,
.principles-list p {
    margin: 1.2rem 0;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Impact - Metrics Box */
.metrics-box {
    background: #f5f5f5;
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2.5rem auto;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Testimonials - Bubble Style */
.testimonials-container {
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-slider {
    display: flex;
    width: 400%;
    animation: slide 24s infinite ease-in-out;
}

.testimonial.bubble {
    width: 25%;
    min-width: 300px;
    background: white;
    border-radius: 30px;
    padding: 2rem 1.8rem;
    margin: 0 1rem;
    box-shadow: 0 10px 30px rgba(65,105,225,0.15);
    position: relative;
    border: 2px solid #ffd700;
    transition: transform 0.4s ease;
}

.testimonial.bubble:hover {
    transform: translateY(-8px);
}

.testimonial.bubble p {
    font-style: italic;
    color: #333;
    margin-bottom: 1rem;
}

.author {
    display: block;
    font-weight: bold;
    color: #4169e1;
    margin-top: 0.8rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    list-style: none;
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 2.5rem auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.4rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4169e1;
}

input, textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #ccd0ff;
    border-radius: 8px;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #4169e1;
    box-shadow: 0 0 0 3px rgba(65,105,225,0.2);
}

/* Footer */
footer {
    background: #4169e1;
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
}

.footer-links a {
    color: #ffd700;
    text-decoration: none;
    margin: 0 0.8rem;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
@keyframes slide {
    0%, 25%   { transform: translateX(0);    }
    30%, 55%  { transform: translateX(-25%); }
    60%, 85%  { transform: translateX(-50%); }
    90%, 100% { transform: translateX(-75%); }
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.6rem; }
    .hero-title { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        width: 100%;
        background: #4169e1;
        padding: 1rem 0;
    }

    .nav-links.active { display: block; }

    .nav-links ul {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }

    .hero { min-height: 70vh; }

    .stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

    .testimonial.bubble { width: 100%; min-width: unset; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero-title { font-size: 2.4rem; }
    .cta-button { padding: 0.8rem 1.6rem; font-size: 0.95rem; }
    .stats-grid { grid-template-columns: 1fr; }
}