/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F2D;
    --secondary-color: #1E88E5;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Donate Button Styles */
.btn-donate {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    margin-left: 1rem;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    height: 80vh;
    background-image: url('../images/hero/Dorpsbeeld_Williston%20(1).jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: transform var(--transition-speed) ease, background var(--transition-speed) ease;
    margin: 30px 0;
}

.btn:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
}

.table-container {
    display: grid;
    grid-template-columns: auto;
    justify-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}
.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

/* Programs Grid Iteration Effect - Added Section */
.programs-grid:nth-child(odd) .program-card {
    background-color: #e8f5e9;
}
.programs-grid:nth-child(even) .program-card {
    background-color: #ffffff;
}

/* Testimonials */
.testimonials {
    background: var(--light-bg);
    padding: 4rem 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

/* Blog Section Styles */
.hero-blog {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2em 0;
    text-align: center;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2em;
}

.blog-post {
    background: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    width: calc(33.33% - 20px); /* Responsive columns */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.blog-post h2 {
    color: var(--primary-color);
    font-size: 1.2em;
}

.blog-post p {
    color: var(--text-color);
    font-size: 0.9em;
    line-height: 1.5;
}

.load-more {
    margin-top: 2em;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75em 1.5em;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.load-more:hover {
    background-color: #1565c0;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero {
        height: 60vh;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }

    .blog-post {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 50vh;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .blog-post {
        width: 100%;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2C5F2D;
    --secondary-color: #1E88E5;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* ... [existing code for header, hero, section styles, etc.] ... */

/* Blog Section Styles */
.hero-blog {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2em 0;
    text-align: center;
}

.blog-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2em;
}

.blog-post {
    background: var(--light-bg);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    width: calc(33.33% - 20px); /* Responsive columns */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.blog-post h2 {
    color: var(--primary-color);
    font-size: 1.2em;
}

.blog-post p {
    color: var(--text-color);
    font-size: 0.9em;
    line-height: 1.5;
}

.load-more {
    margin-top: 2em;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75em 1.5em;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.load-more:hover {
    background-color: #1565c0;
}

/* Footer */
/* [Existing footer styles] */

/* Responsive Design */
/* [Existing responsive design styles] */
