/* ==========================================================================
   CONTACT US SECTION WORKING STYLES
   ========================================================================== */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #4b5563;
}

/* Master wrapper constraints matching design specs */
.contact-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

/* Left Graphic Column adjustments */
.contact-info-panel {
    flex: 1;
    max-width: 500px;
}

.contact-message {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4b5563;
    line-height: 1.5;
    letter-spacing: 0.2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.contact-image-wrapper {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Right interactive entry form parameters */
.contact-form-panel {
    flex: 1.2;
}

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

/* Horizontal split handling fields cleanly side-by-side */
.form-row-split {
    display: flex;
    gap: 30px;
}

.form-row-split .form-group {
    flex: 1;
}

/* Text Field Node Identifiers */
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Minimalistic bottom-bordered typography lines */
.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    border: none;
    border-bottom: 2px solid #9ca3af;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1f2937;
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-bottom-color: #005a8d; /* Switches accent color when focused */
}

/* Dropdown styling metrics matching screenshot capsules */
.select-wrapper {
    position: relative;
    width: 100%;
    max-width: 260px;
}

.select-wrapper select {
    width: 100%;
    background-color: #9ca3af; /* Light slate gray structural theme matching image */
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    appearance: none; /* Strip browser native configurations */
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
}

/* Downward indicator arrow positioning for the select layout */
.select-wrapper::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-20%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ffffff;
    pointer-events: none;
}

/* Area input bounding blocks */
.form-group textarea {
    width: 100%;
    background-color: #e5e7eb;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1f2937;
    outline: none;
    resize: none;
}

/* Aligns the capsule submit switch directly to the right edge boundary */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-submit {
    background-color: #9ca3af;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 12px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #005a8d; /* Accent changes to deep theme blue on hover interaction */
}

/* ==========================================================================
   MOBILE INTERACTION & SCREEN BOUNDS
   ========================================================================== */
@media (max-width: 850px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
        margin: 30px auto;
        padding: 0 20px;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        max-width: 100%;
        width: 100%;
    }

    .form-row-split {
        flex-direction: column;
        gap: 0;
    }
}