/* Contact Page Wrapper */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 80%;
    max-width: 1000px;
}

/* Left Side - Image */
.contact-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 20px;
}

.contact-image img {
    max-width: 100%;
    height: auto;
}

/* Right Side - Form */
.contact-form {
    flex: 1;
    padding: 40px;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #2c5e9e;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form .row {
    display: flex;
    gap: 10px;
}

.contact-form .row input {
    flex: 1;
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form button {
    background: #2c5e9e;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #204a82;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    
    .contact-image {
        display: none;
    }
}

.contact-form .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.contact-form .row input {
    flex: 1;
    width: 100%; /* Ensures both inputs take full width in their respective flex spaces */
    box-sizing: border-box; /* Prevents overflowing issues */
}
