/* Contact Page Styles */
.contact-page {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(to right, #FF6F61, #6F86D6);
}

/* Image Container */
.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Form Container */
.form-container {
    flex: 1;
    padding: 40px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Headings and Paragraphs */
.form-container h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: left;
    color: #333;
}

.form-container p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}
.form-container button {
    padding: 10px 15px;
    background-color: rgba(243, 175, 40, 0.825);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
    width: auto; /* prevent stretching */
}

.form-container button:hover {
    background-color: #e6a229;
}


/* Responsive Adjustments for Contact Page */
@media (max-width: 768px) {
    .contact-page {
        flex-direction: column;
    }

    .image-container {
        width: 100%;
    }

    .form-container {
        width: 100%;
    }
    
    .form-container h1 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px;
    }
    
    .form-container h1 {
        font-size: 1.5em;
    }

    .form-container p {
        font-size: 0.85em;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 0.85em;
    }

    button {
        font-size: 0.85em;
        width: 100%;
    }
}

header button {
    all: unset; /* remove inherited contact styles */
    cursor: pointer;
}