/* =========================================================
   CONTACT / GET IN TOUCH SECTION
   ========================================================= */

.contact-section {
    width: 100%;
    background: #07080b;
    box-sizing: border-box;

    padding: 30px 0 22px;
    border-top: 60px solid #07080b;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.contact-container {
    width: calc(100% - 52px);
    max-width: 950px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* =========================================================
   TOP HEADING
   ========================================================= */

.contact-heading {
    width: 100%;
    text-align: center;
    margin: 0 0 29px;
}

.contact-heading h2 {
    margin: 0;
    padding: 0;

    color: #f4f4f4;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    line-height: 28px;
    font-weight: 500;
}

.contact-heading h2 span {
    color: #ffb400;
}


/* YELLOW UNDERLINE */

.contact-heading-line {
    width: 63px;
    height: 2px;

    background: #ffb400;

    margin: 9px auto 0;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.contact-content {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;

    column-gap: 38px;

    align-items: start;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.contact-left {
    min-width: 0;
}

.contact-left h3 {
    margin: -7px 0 0;
    padding: 0;

    color: #f5f5f5;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px;
    line-height: 32px;
    font-weight: 700;
}

.contact-left h3 span {
    color: #ffb400;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.contact-description {
    width: 340px;

    margin: 28px 0 0;
    padding: 0;

    color: #eeeeee;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 17px;
    font-weight: 500;
}


/* =========================================================
   CONTACT FEATURES
   ========================================================= */

.contact-features {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;

    align-items: start;

    margin-top: 27px;
}


/* =========================================================
   FEATURE
   ========================================================= */

.contact-feature {
    text-align: center;
    min-width: 0;
}


/* =========================================================
   FEATURE ICON
   ========================================================= */

.contact-feature-icon {
    width: 45px;
    height: 45px;

    margin: 0 auto 5px;

    color: #ffb400;
}

.contact-feature-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* =========================================================
   FEATURE TITLE
   ========================================================= */

.contact-feature h4 {
    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;

    white-space: nowrap;
}


/* =========================================================
   FEATURE DESCRIPTION
   ========================================================= */

.contact-feature p {
    margin: 1px 0 0;
    padding: 0;

    color: #bfc0c2;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    line-height: 10px;
    font-weight: 400;

    white-space: nowrap;
}


/* =========================================================
   FEATURE DIVIDER
   ========================================================= */

.contact-feature-divider {
    width: 1px;
    height: 65px;

    background: #383b40;

    margin: 0 5px;
}


/* =========================================================
   FORM BOX
   ========================================================= */

.contact-form-box {
    width: 370px;
    height: 260px;

    background: #181b1f;

    border-radius: 5px;

    padding: 14px 14px 8px;

    box-sizing: border-box;
}


/* =========================================================
   FORM HEADING
   ========================================================= */

.contact-form-heading {
    width: 100%;

    margin: 0 0 9px;
}

.contact-form-heading h3 {
    margin: 0;
    padding: 0;

    color: #f4f4f4;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 14px;
    font-weight: 500;
}

.contact-form-heading h3 span {
    color: #ffb400;
}

.contact-form-heading-line {
    width: 42px;
    height: 1px;

    background: #ffb400;

    margin-top: 4px;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-form-box form {
    width: 100%;
}


/* =========================================================
   INPUT ROW
   ========================================================= */

.contact-form-row {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 20px;

    margin-bottom: 10px;
}


/* =========================================================
   INPUT
   ========================================================= */

.contact-input-group {
    width: 100%;
}

.contact-input-group input {
    width: 100%;
    height: 34px;

    padding: 0 6px;

    box-sizing: border-box;

    border: 1px solid #34383d;
    border-radius: 2px;

    outline: none;

    background: #202329;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.contact-input-group input::placeholder,
.contact-form-box textarea::placeholder {
    color: #7d8085;
    opacity: 1;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.contact-form-box textarea {
    width: 100%;
    height: 70px;

    display: block;

    resize: none;

    padding: 6px;

    box-sizing: border-box;

    border: 1px solid #34383d;
    border-radius: 2px;

    outline: none;

    background: #202329;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 10px;
    font-weight: 400;

    margin-bottom: 12px;
}


/* =========================================================
   SEND BUTTON
   ========================================================= */

.contact-submit-button {
    width: 136px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    margin: 0 auto;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: #ffb400;

    color: #08090b;

    cursor: pointer;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.contact-submit-button:hover {
    background: #ffc329;
}

.contact-submit-button:active {
    transform: scale(0.98);
}

.contact-submit-arrow {
    font-size: 15px;
    line-height: 1;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-container {
        width: calc(100% - 40px);
    }

    .contact-content {
        grid-template-columns: minmax(0, 1fr) 267px;
        column-gap: 25px;
    }

    .contact-form-box {
        width: 267px;
    }

    .contact-description {
        width: 100%;
        max-width: 280px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .contact-section {
        padding-bottom: 30px;
    }

    .contact-container {
        width: calc(100% - 30px);
    }

    .contact-heading {
        margin-bottom: 28px;
    }

    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .contact-left {
        width: 100%;
    }

    .contact-left h3 {
        font-size: 23px;
        line-height: 30px;
    }

    .contact-description {
        width: 100%;
        max-width: 400px;

        margin-top: 22px;

        font-size: 11px;
        line-height: 16px;
    }

    .contact-features {
        max-width: 450px;
        margin-top: 25px;
    }

    .contact-form-box {
        width: 100%;
        max-width: 400px;

        height: 221px;

        margin: 0 auto;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .contact-container {
        width: calc(100% - 24px);
    }

    .contact-heading h2 {
        font-size: 17px;
        line-height: 20px;
    }

    .contact-left h3 {
        font-size: 21px;
        line-height: 28px;
    }

    .contact-features {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .contact-feature-divider {
        margin: 0 5px;
    }

    .contact-feature h4 {
        font-size: 9px;
    }

    .contact-feature p {
        font-size: 7px;
    }

    .contact-form-row {
        column-gap: 10px;
    }

    .contact-form-box textarea {
        height: 50px;
    }

    .contact-input-group input {
        height: 25px;
    }
}

/* Contact form validation */
.contact-error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 1.3;
    color: #ff4d4f;
}

.contact-input-group input.is-invalid,
.contact-form-box textarea.is-invalid {
    border-color: #ff4d4f !important;
}

.contact-form-status {
    display: none;
    margin: 12px 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.contact-form-status.show { display: block; }

.contact-form-status.success {
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
}

.contact-form-status.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}

.contact-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================================================
   FIX: form box grows when validation errors appear
   ========================================================= */

.contact-form-box {
    height: auto !important;      /* was fixed 260px / 221px */
    min-height: 260px;
    padding-bottom: 16px;
}

.contact-error {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.25;
}

/* error under the textarea: keep it tight */
.contact-form-box textarea {
    margin-bottom: 0;
}

.contact-form-box textarea + .contact-error {
    margin-bottom: 4px;
}

/* space above the button now that textarea margin is 0 */
.contact-submit-button {
    margin-top: 12px;
}

.contact-form-status {
    margin: 10px 0 0;
    font-size: 12px;
}

@media (max-width: 700px) {
    .contact-form-box {
        height: auto !important;
        min-height: 221px;
    }
}
