body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    text-align: center;
    color: #333;
}

header {
    background: #3a8fbf;
    color: white;
    padding: 60px 20px;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

header .logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
    }
}

.container {
    padding: 60px 20px;
}

.section {
    background: white;
    padding: 40px;
    margin: 30px auto;
    width: 80%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

h2 {
    color: #3a8fbf;
    font-size: 28px;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

.cta-button {
    background-color: #3a8fbf;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #297f9a;
}

.testimonial {
    background-color: #f9f9f9;
    border-left: 5px solid #3a8fbf;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
    color: #555;
}

.testimonial strong {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #3a8fbf;
}

.form-inputs {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-inputs label {
    display: block;
    margin-top: 15px;
    color: #333;
    font-weight: 500;
}

.form-inputs input,
.form-inputs select,
.form-inputs textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-inputs textarea {
    min-height: 100px;
    resize: vertical;
}

.form-inputs input:focus,
.form-inputs select:focus,
.form-inputs textarea:focus {
    border-color: #3a8fbf;
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 143, 191, 0.2);
}

.form-inputs input.error,
.form-inputs select.error,
.form-inputs textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 4px;
    margin-bottom: 8px;
}

.form-inputs button[type="submit"] {
    width: 100%;
    background-color: #3a8fbf;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.form-inputs button[type="submit"]:hover {
    background-color: #297f9a;
    transform: translateY(-2px);
}

.form-inputs button[type="submit"]:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.form-inputs [data-netlify-recaptcha="true"] {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

[name="bot-field"] {
    display: none !important;
}

.g-recaptcha {
    margin: 20px 0;
}

.faq {
    background: #f9f9f9;
    padding: 40px;
    margin: 30px auto;
    width: 80%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.faq h2 {
    color: #3a8fbf;
}

.faq-item {
    background: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 20px;
    cursor: pointer;
    margin: 0;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    display: none;
}

.faq-item.active p {
    display: block;
}

footer {
    margin-top: 40px;
    padding: 25px;
    background: #222;
    color: white;
    font-size: 16px;
}

footer .contact-info {
    margin-bottom: 20px;
    color: #3a8fbf;
    font-weight: bold;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3a8fbf;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#backToTop:hover {
    background-color: #297f9a;
}

.footer-logos img {
    max-width: 12px;
    height: 12px;
}

@media (max-width: 480px) {
    header .logo {
        max-width: 120px;
    }

    header h1 {
        font-size: 24px;
    }

    footer {
        padding: 15px;
        font-size: 12px;
    }
}

.social-icons img {
    width: 32px; /* Kleinere iconen */
    height: 32px;
    display: inline-block;
    margin: 2px; /* Minder ruimte tussen iconen */
    transition: transform 0.3s; /* Smooth hover effect */
}

.social-icons img:hover {
    transform: scale(1.1); /* Iets groter bij hover */
}

.contact-info {
    color: #3a8fbf;
    font-size: 16px;
    font-weight: bold;
}

/* ==== Pop-up Stijlen ==== */

/* Achtergrond van de pop-up */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

/* Inhoud van de pop-up */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #dc3545;
}

.map-image {
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.map-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .map-image {
        max-width: 100%;
        border-radius: 10px;
    }
}

/* Loading State */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.form-inputs button:disabled {
    animation: pulse 1.5s infinite;
}

/* Form Verbeteringen */
.hidden {
    display: none;
}

/* Offerte Section Styling */
.offerte-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(58, 143, 191, 0.1);
    padding: 40px;
}

.offerte-header {
    text-align: center;
    margin-bottom: 40px;
}

.offerte-header h2 {
    color: #3a8fbf;
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.offerte-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3a8fbf;
    border-radius: 2px;
}

.offerte-intro {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto;
    line-height: 1.6;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #3a8fbf;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3a8fbf;
    box-shadow: 0 0 0 4px rgba(58, 143, 191, 0.1);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    padding-right: 40px; /* Space for character count */
}

.char-count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

.form-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

button.cta-button {
    width: 100%;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #3a8fbf;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button.cta-button:hover {
    background: #297f9a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 143, 191, 0.2);
}

button.cta-button:active {
    transform: translateY(0);
}

.button-text {
    z-index: 1;
}

.button-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

button.cta-button:hover .button-icon {
    transform: translateX(5px);
}

/* Error state styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.error-message::before {
    content: '⚠️';
    font-size: 14px;
}

/* Select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233a8fbf' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px !important;
}

optgroup {
    font-weight: 600;
    color: #3a8fbf;
}

option {
    font-weight: normal;
    color: #333;
    padding: 8px;
}

option:disabled {
    color: #999;
}

/* Placeholder styling */
::placeholder {
    color: #999;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999;
}

::-ms-input-placeholder {
    color: #999;
}
