/* Impact Page Styles - impact.css */

:root {
    --main-green: #386641;
    --accent-brown: #a6814c;
    --offwhite: #f9f7f2;
    --text-dark: #222;
    --tile-green-light: #a7c957;
    --focus-bg: #f7ffe0;
    --shadow: 0 2px 12px rgba(60, 80, 60, 0.08);
    --radius: 18px;

}

/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--offwhite);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

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





/* Impact Section (Aligned with home.css) */
.impact {
    background: linear-gradient(135deg, #fff8ee 0%, #f7ffe0 50%, #fff8ee 100%);
    padding: 5rem 0;
    text-align: center;
}

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

.impact-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(167, 201, 87, 0.2);
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.impact-box .counter {
    font-size: 2.5rem;
    color: var(--main-green);
    font-weight: 700;
    display: inline-block;
    margin-right: 0.2rem;
}

.impact-box .plus {
    font-size: 2rem;
    color: var(--accent-brown);
    display: inline-block;
    vertical-align: baseline;
}

.impact-box p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Impact Section Unique Styles */
.impact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--main-green);
    margin: 0 0 2rem;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.impact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--main-green), var(--accent-brown));
    border-radius: 2px;
}

.impact>.container>p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.impact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--main-green);
    margin: 3rem 0 1.5rem 0;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
}

.impact h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, var(--main-green), var(--accent-brown));
    border-radius: 3px;
}

.table-container {
    overflow-x: auto;
    margin-top: 1em;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.impact table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 201, 87, 0.2);
    min-width: 800px;
    /* Ensure table scrolls on small screens */
}

.impact table th,
.impact table td {
    padding: 0.8em;
    border: 1px solid #e1e6d9;
    text-align: left;
    font-size: 1rem;
    color: var(--text-dark);
}

.impact table th {
    background: var(--tile-green-light);
    color: var(--main-green);
    font-weight: 600;
}

.impact table tbody tr:nth-child(even) {
    background: rgba(167, 201, 87, 0.05);
}

.impact table tbody tr:hover {
    background: rgba(167, 201, 87, 0.1);
}

.impact table tbody tr:last-child td {
    font-weight: bold;
    background: var(--tile-green-light);
    color: var(--main-green);
}

.impact table tbody tr:last-child td[colspan] {
    background: var(--main-green);
    color: #fff;
}

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

.testimonial {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(167, 201, 87, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.testimonial blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0 0 1rem;
    font-style: italic;
}

.testimonial .author {
    font-size: 1rem;
    color: var(--main-green);
    font-weight: 600;
}



/* Animations (Identical to home.css) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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



/* Responsive Styles (Aligned with home.css for impact section) */
@media (max-width: 1024px) {
    .impact h2 {
        font-size: 2.5rem;
    }

    .impact>.container>p {
        font-size: 1.1rem;
    }

    .impact h3 {
        font-size: 1.8rem;
    }
}



@media (max-width: 768px) {

    .impact {
        padding: 3rem 0;
    }

    .impact-box .counter {
        font-size: 2.2rem;
    }

    .impact-box .plus {
        font-size: 1.8rem;
    }

    .impact-box p {
        font-size: 1rem;
    }

    .impact h3 {
        font-size: 1.5rem;
    }

    .impact table th,
    .impact table td {
        font-size: 0.95rem;
        padding: 0.6em;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}



@media (max-width: 560px) {
    .container {
        padding: 0 0.8rem;
    }

    .impact h2 {
        font-size: 2rem;
    }

    .impact>.container>p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .impact {
        padding: 2rem 0;
    }

    .impact h2 {
        font-size: 2rem;
    }

    .impact>.container>p {
        font-size: 0.95rem;
    }

    .impact-box .counter {
        font-size: 2rem;
    }

    .impact-box .plus {
        font-size: 1.6rem;
    }

    .impact-box p {
        font-size: 0.95rem;
    }

    .impact h3 {
        font-size: 1.3rem;
    }

    .impact table th,
    .impact table td {
        font-size: 0.85rem;
        padding: 0.5em;
    }

    .testimonial {
        padding: 1.2rem;
    }

    .testimonial blockquote {
        font-size: 1rem;
    }

    .testimonial .author {
        font-size: 0.95rem;
    }


}

/* Print Styles (Identical to home.css) */
@media print {
    .impact {
        background: white !important;
        padding: 1rem 0;
    }

    .impact-box,
    .testimonial,
    .table-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }


}

/* High Contrast Mode Support (Aligned with home.css) */
@media (prefers-contrast: high) {

    .impact-box,
    .testimonial {
        background: white;
        border: 2px solid var(--main-green);
    }
}

/* Reduced Motion Support (Identical to home.css) */
@media (prefers-reduced-motion: reduce) {

    .impact h2,
    .impact>.container>p,
    .impact-box,
    .impact h3,
    .impact table,
    .testimonial {
        animation: none;
        transition: none;
        transform: none;
    }
}