/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 20px;
    background-color: #f4f4f4;
    min-height: 100vh;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.contact-image img {
    max-width: 100%;
    height: 370px;
}

/* Animation for Image */
.contact-image {
    opacity: 0; /* Start as invisible */
    transform: translateX(-50px); /* Start off to the left */
    transition: opacity 2s ease, transform 2s ease; /* Animation for opacity and movement */
}

.contact-image.visible {
    opacity: 1; /* Fully visible */
    transform: translateX(0); /* Move to original position */
}

.contact-form {
    width: 50%;
    padding: 20px;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-form .bold {
    font-weight: bold;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family:'Trebuchet MS', sans-serif;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button.cta-button {
    background-color: #ffa500;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button.cta-button:hover {
    background-color: #e69500;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 30px 10px;
    }

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-image, 
    .contact-form {
        width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .contact-form h2 {
        font-size: 2rem;
        text-align: left;
    }

    .contact-form button.cta-button {
        width: 100%;
    }
}
