#contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 0;
    width: 90%;
    margin: 0 auto;
    align-items: start;
}

#contact-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

#contact-title h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0095c7;
    margin-bottom: 20px;
}

#contact-title p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 80%;
}

#contact-details .contact-detail-link {
    color: #333333;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    display: block;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #00abe2;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 171, 226, 0.1);
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: #999;
}

#contact-form textarea {
    resize: none;
    min-height: 150px;
    max-height: 400px;
    overflow-y: auto;
    line-height: 1.5;
}

#contact-form button {
    background: linear-gradient(135deg, #00abe2 0%, #0095c7 100%);
    color: white;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 171, 226, 0.3);
    align-self: flex-start;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#contact-form button i {
    font-size: 1rem;
}

#contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 171, 226, 0.4);
    background: linear-gradient(135deg, #008fb2 0%, #007a99 100%);
}

#contact-form button:active {
    transform: translateY(-1px);
}

#submit-button {
    position: relative;
    transition: all 0.3s ease;
}

#submit-button.loading {
    pointer-events: none;
    cursor: not-allowed;
}

#submit-button.loading::after {
    content: '.';
    animation: dots 1.5s steps(3, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}

form.submitting input,
form.submitting textarea {
    opacity: 0.6;
    pointer-events: none;
}

#contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
    border-left: 3px solid #0095c7;
    height: 75%;
    padding-left: 10vh;
}

#contact-details h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0095c7;
    margin-bottom: 20px;
}

#contact-details p {
    font-size: 1.05rem;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    margin: 10px 0;
}

#contact-details p a {
    color: #0095c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact-details p a:hover {
    color: #008fb2;
}

#opening-hours {
    margin-top: 10px;
    border-radius: 4px;
}

#opening-hours h3 {
    color: #0095c7;
    margin-bottom: 10px;
    font-size: 20px;
}

#office {
    margin-top: 10px;
    border-radius: 4px;
}

#office h3 {
    color: #0095c7;
    margin-bottom: 10px;
    font-size: 20px;
}

#office h4 {
    color: #0095c7;
    margin-bottom: 10px;
    font-size: 18px;
}

#office a:hover {
    color: #008fb2;
}

#navigeren h3 {
    color: #0095c7;
    margin-bottom: 10px;
    font-size: 20px;
}

#navigeren a {
    color: #333;
    text-decoration: none;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    #contact-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        width: 90%;
        padding: 40px 0;
    }

    #contact-form {
        order: 1 !important;
        width: 100% !important;
    }

    #contact-details {
        order: 2 !important;
        width: 100% !important;
        border-left: none !important;
        border-top: 3px solid #0095c7 !important;
        padding-left: 0 !important;
        padding-top: 30px !important;
        height: auto !important;
    }

    #contact-title h1,
    #contact-details h1 {
        font-size: 2.5rem !important;
    }

    #contact-title p,
    #contact-details p {
        font-size: 1rem !important;
    }
}