@charset "UTF-8";

/* ==========================================================================
   Width Override for 2-Column Layout
   ========================================================================== */
div#wrapper {
    max-width: 1100px !important;
}

/* ==========================================================================
   2-Column Layout Structure
   ========================================================================== */
#container .contact-flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 50px;
    margin-top: 30px;
    align-items: flex-start;
}

.contact-left-col {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

.contact-right-col {
    flex: 1.2;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive support for older browsers/mobile */
@media screen and (max-width: 850px) {
    #container .contact-flex-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-left-col {
        padding-top: 0;
        text-align: center;
    }

    .contact-left-col img {
        margin: 20px auto;
        display: block;
    }

    .contact-left-col .contact-intro-text,
    .contact-left-col .contact-intro-title {
        text-align: left;
    }

    .contact-right-col {
        padding: 20px 0;
        width: 100%;
        box-shadow: none;
        background: transparent;
    }

    form#mailformpro input[type="text"],
    form#mailformpro input[type="email"],
    form#mailformpro input[type="tel"],
    form#mailformpro input[type="password"],
    form#mailformpro textarea,
    form#mailformpro select {
        font-size: 16px;
    }
}

/* ==========================================================================
   Left Column Styling
   ========================================================================== */

.contact-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.contact-intro-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #115db3;
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.contact-inquiry-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.ime-disabled {
    ime-mode: disabled;
}


/* ==========================================================================
   Form Styling (Modern Override)
   ========================================================================== */
form#mailformpro dl.mailform {
    display: block !important;
}

form#mailformpro dl dt {
    background: none !important;
    border-top: none !important;
    color: #333;
    padding-bottom: 8px !important;
    padding-top: 20px !important;
    float: none !important;
    width: 100% !important;
    text-align: left !important;
    font-size: 1rem !important;
}

form#mailformpro dl dt:first-child {
    padding-top: 0 !important;
}

form#mailformpro dl dd {
    border: none !important;
    padding: 0 0 10px 0 !important;
    float: none !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Input Fields */
form#mailformpro input[type="text"],
form#mailformpro input[type="email"],
form#mailformpro input[type="tel"],
form#mailformpro input[type="password"],
form#mailformpro textarea,
form#mailformpro select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
    background: none !important;
    background-color: #fff !important;
    transition: all 0.3s;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Select dropdown custom arrow */
form#mailformpro select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"%3E%3Cpath fill="%23999" d="M8 11L3 6h10z"/%3E%3C/svg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 24px 24px !important;
    padding-right: 50px !important;
}

form#mailformpro textarea {
    height: 150px !important;
}

.mfp_colored {
    background-color: transparent !important;
}

form#mailformpro input:focus,
form#mailformpro textarea:focus,
form#mailformpro select:focus {
    border-color: #20aee6;
    background-color: #fff !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 174, 230, 0.1) !important;
}

/* Must / Required Badge */
.must {
    background-color: transparent !important;
    color: #20aee6 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #20aee6 !important;
    border-radius: 4px;
    padding: 1px 5px !important;
    margin-left: 10px;
    font-size: 0.75rem !important;
    vertical-align: middle;
    font-weight: normal;
}

/* Checkbox Styling */
form#mailformpro input[type="checkbox"] {
    transform: scale(2);
    margin-right: 15px !important;
    vertical-align: middle;
    box-shadow: none !important;
    cursor: pointer;
}

form#mailformpro label {
    cursor: pointer;
    vertical-align: middle;
    font-size: 16px !important;
    border: none !important;
}

/* Section Titles within Form */
.itemTit {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.itemTit:before {
    display: none;
}

/* ==========================================================================
   Common Button Styling (Input & Confirmation Screens)
   ========================================================================== */
div.mfp_buttons {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    padding-top: 30px !important;
    text-align: center !important;
}

div.mfp_buttons button {
    display: inline-block !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: 300px !important;
    padding: 15px 25px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    text-shadow: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 1. Ghost Style (Reset / Cancel) - Always on the Left */
div.mfp_buttons button[type="reset"],
div.mfp_buttons button#mfp_button_cancel,
div.mfp_buttons button#mfp_cancel_button,
div.mfp_buttons .mfp_element_reset {
    background: #fff !important;
    color: #20aee6 !important;
    border: 2px solid #20aee6 !important;
    order: 1 !important;
}

/* 2. Solid Style (Confirm / Submit) - Always on the Right */
div.mfp_buttons button[type="submit"],
div.mfp_buttons button#mfp_button_send,
div.mfp_buttons button#mfp_send_button,
div.mfp_buttons .mfp_element_submit {
    background: #20aee6 !important;
    color: #fff !important;
    border: 2px solid #20aee6 !important;
    order: 2 !important;
}

/* Universal Hover Animation */
div.mfp_buttons button:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

/* Ghost Button Hover: Fix unreadable text (ensure text stays blue) */
div.mfp_buttons button[type="reset"]:hover,
div.mfp_buttons button#mfp_button_cancel:hover,
div.mfp_buttons button#mfp_cancel_button:hover,
div.mfp_buttons .mfp_element_reset:hover {
    background: #fdfdfd !important;
    color: #20aee6 !important;
}

/* Solid Button Hover: Keep text white */
div.mfp_buttons button[type="submit"]:hover,
div.mfp_buttons button#mfp_button_send:hover,
div.mfp_buttons button#mfp_send_button:hover,
div.mfp_buttons .mfp_element_submit:hover {
    background: #20aee6 !important;
    color: #fff !important;
}