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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
    /* Off-white base */
}

/* Links */
a {
    color: #1E3A8A;
    /* Darker primary blue */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header#home {
    background-color: #1E3A8A;
    /* Darker primary blue */
    color: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1rem;
    text-align: center;
}

#over-mij .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Sections */
.section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    border-bottom: 1px solid #E5E7EB;
    /* Subtle divider */
    opacity: 0;
    /* For animation */
    transform: translateY(10px);
    /* Start slightly below */
    animation: fadeInUp 0.5s ease forwards;
    /* Apply animation */
}


/* Remove border from last section to avoid double line with footer */
.section:last-of-type {
    border-bottom: none;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings */
h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1E3A8A;
    /* Darker primary blue */
    margin-bottom: 1rem;
    font-size: 2rem;
}

h3 {
    font-family: 'Inter', sans-serif;
    color: #0a2161;
    /* Darker primary blue */
    margin-top: 1.5rem;
    font-size: 1.3rem;
}

/* Images (replacing .image-placeholder) */
img {
    width: auto;
    height: 100%;
    max-width: 250px;
    /* Adjusted size */
    max-height: 150px;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Prevent deformation */
    /* Subtle border */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    /* Slight scale on hover */
    /* Darker blue border */
}

/* Services List */
.services-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    /* Increased spacing */
}

.services-list li {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    /* Stack image, h3, p vertically */
    /* min-height: 350px; */
    /* Ensure equal height */
}

/* Ensure content stretches to fill equal height */
.services-list li p {
    flex-grow: 1;
    /* Stretch to balance height */
}

/* Button */
.button {
    display: inline-block;
    background-color: #4B8C8A;
    /* Muted teal */
    color: #FFFFFF;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.button:hover {
    background-color: #3A6B6A;
    /* Darker muted teal */
    text-decoration: none;
}

/* Extra Info List */
#extra-info ul {
    list-style: none;
}

#extra-info li {
    margin-bottom: 1rem;
}

/* Footer */
footer {
    margin: 0 auto;
    max-width: 1200px;
    background-color: #E5E7EB;
    padding: 1.5rem;
    text-align: center;
    font-size: 1rem;
    /* Slightly larger */
}

footer h3 {
    margin-top: 0;
}

.footer-content {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 1.5rem;
        /* Increased padding */
    }

    #over-mij .about-content {
        flex-direction: column;
        align-items: center;
    }

    header {
        padding: 2rem 1rem;
    }

    .services-list {
        flex-direction: column;
        gap: 2rem;
        /* Adjusted for mobile */
    }

    .services-list li {
        min-height: 300px;
        /* Adjusted for mobile */
    }

    img {
        max-width: 100%;
        /* Adjusted mobile size */
    }

    header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }
}