/* ================= GLOBAL & LAYOUT ================= */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.headline {
    text-align: center;
    color: green;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* space between logo and text */
}

.logo {
    height: 70px;   /* Adjust size as needed */
    width: auto;
}

/* ================= NAVBAR ================= */
.topnav {
    overflow: hidden;
    background-color: #90EE90;
}

.topnav a {
    float: left;
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #006400;
    color: white;
}

.topnav a.active {
    background-color: #4CAF50;
    color: white;
}

.topnav .icon {
    display: none;
}

/* ================= SLIDER ================= */
.slider {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 9s infinite;
}

.slides img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@keyframes slide {
    0% { margin-left: 0%; }
    33% { margin-left: 0%; }
    38% { margin-left: -100%; }
    66% { margin-left: -100%; }
    71% { margin-left: -200%; }
    100% { margin-left: -200%; }
}

/* ================= TEXT & IMPACT SECTIONS ================= */
.center-text {
    text-align: center;
    padding: 40px;
    font-size: 18px;
}

.green-heading { color: #4CAF50; }
.grey-text {
    color: grey;
    text-align: left;
    line-height: 2;
}

.header-button {
    background: linear-gradient(to bottom, #4dfc1e, #1a9e00);
    color: white;
    padding: 12px 40px;
    display: block;
    width: fit-content;
    margin: 0 auto 40px auto;
    font-weight: bold;
    font-size: 24px;
    border-radius: 4px;
    border: 1px solid #1a9e00;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.impact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 2px solid #a8e094;
    border-bottom: 2px solid #a8e094;
    padding: 25px 0;
    gap: 20px;
}

.impact-item { flex: 1; min-width: 200px; }
.impact-item h3 { color: #2e8b57; font-size: 20px; margin-bottom: 10px; }

.global-impact-heading {
    color: #6c757d;
    text-decoration: underline;
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;    
    gap: 30px;
    animation: fadeIn 1.2s ease-out forwards;
    width: 100%;
    max-width: 900px;
    justify-content: center;
    margin: 0 auto;      
}

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

.stat-box {
    background-color: #557c3e;
    color: white;
    flex: 1;
    min-height: 180px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-box:hover {
    background-color: #6a994e;
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

.stat-number {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
    display: inline-block;
    width: fit-content;
}

.stat-text {
    font-size: 1.1rem;
    line-height: 1.4;
}

.underline {
    text-decoration: underline;
}

/* ================= GET HELP BUTTON ================= */
.get-help-container {
    text-align: center;
    margin: 40px 0;
}

.get-help-btn {
    background-color: #2e7d32; /* A nice forest green */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.get-help-btn:hover {
    background-color: #1b5e20;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #e0e0e0;
}

.get-help-btn i {
    margin-right: 10px;
}

/* ================= FOOTER ================= */
footer {
    background-color: #A498F0;
    padding: 15px 0;  
    margin-top: auto;
}

.footer-content {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}

.footer-col {
    min-width: 150px;
    padding: 0;
    box-sizing: border-box;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
    text-transform: capitalize;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    width: 50px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    font-size: 24px;
    color: #000000;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: #e91e63;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        width: 100%;
        max-width: 350px;
        min-height: 150px;
    }

    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    .footer-col { width: 100%; }
    .topnav a:not(:first-child) { display: none; }
    .topnav a.icon { float: right; display: block; }
    .topnav.responsive { position: relative; }
    .topnav.responsive a { float: none; display: block; text-align: left; }
}
