/* =========================================
   Contact Page Specific Styles
   ========================================= */

.contact-section {
    background-color: #dfdfdf; /* Light grey matching the screenshot */
    min-height: 100vh;
    padding-top: 0px; /* Adjust based on your navbar height to prevent overlap */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    min-height: calc(100vh - 80px); 
}

/* --- Left Column (Text & Form) --- */
.contact-content {
    padding: 60px 10% 80px 15%; /* Extra left padding for visual balance */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-content h1 {
    font-size: 3.5rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}

.contact-intro p, .contact-intro h3 {
    margin-bottom: 20px;
    color: #444;
}

.contact-intro h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
}

.contact-details {
    margin: 40px 0;
    line-height: 1.8;
}

/* --- Form Styles --- */
.contact-form {
    margin-top: 20px;
    max-width: 600px;
}

.form-group-label {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-col {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
}

.contact-form .required {
    color: #777;
    font-weight: normal;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* Very subtle depth */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-blue);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    background-color: #2a2a2a; /* Dark charcoal */
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px; /* Pill shape */
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #444;
}

/* --- Right Column (Image) --- */
.contact-image-col {
    height: 100%;
    width: 100%;
}

.contact-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without distortion */
    object-position: center;
}

.alert {
    font-weight: bold;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 0.95rem;
}

/* =========================================
   Responsive Adjustments for Mobile
   ========================================= */
@media (max-width: 1000px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stack vertically on smaller screens */
    }
    
    .contact-content {
        padding: 40px 5%;
    }
    
    .contact-image-col {
        min-height: 400px; /* Give the image a fixed height on mobile */
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-col {
        margin-bottom: 20px;
    }
}