/* =========================================================
   contact.css
   ovniTEK Solutions
   ================================================= */


/* ---------------------------------------------------------
   Contact Page
   --------------------------------------------------------- */

.contact-page {
    width: 100%;
}


/* ---------------------------------------------------------
   Contact Container
   --------------------------------------------------------- */

.contact-container {
    padding: 50px 0 70px;
}


/* ---------------------------------------------------------
   Contact Header
   --------------------------------------------------------- */

.contact-header {
    max-width: 1200px;
    margin: 0 auto 55px;

    text-align: center;
}

.contact-header .eyebrow {
    margin-bottom: 12px;
}

.contact-header h1 {
    margin: 0 0 20px;

    color: #A5FFEE;

    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.2;
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto;

    color: #d0d0d0;
    font-size: 18px;
}


/* ---------------------------------------------------------
   Contact Form
   --------------------------------------------------------- */

.contact-container form {
    width: 100%;
    margin: 0;
}

.contact-container form>label {
    display: block;

    margin: 0 0 8px;

    color: white;

    font-size: 15px;
    font-weight: 500;
}


/* ---------------------------------------------------------
   Form Inputs
   --------------------------------------------------------- */

.contact-container input[type="text"],
.contact-container input[type="email"],
.contact-container textarea {
    display: block;

    width: 100%;

    padding: 12px 14px;
    margin: 0 0 25px;

    border: 1px solid rgba(165, 255, 238, 0.25);
    border-radius: 4px;

    background: rgba(255, 255, 255, 0.04);
    color: white;

    font-family: inherit;
    font-size: 16px;

    outline: none;

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

.contact-container input[type="text"]:focus,
.contact-container input[type="email"]:focus,
.contact-container textarea:focus {
    border-color: #A5FFEE;
    background: rgba(255, 255, 255, 0.06);
}

.contact-container input::placeholder,
.contact-container textarea::placeholder {
    color: #777;
    opacity: 1;
}


/* ---------------------------------------------------------
   Textarea
   --------------------------------------------------------- */

.contact-container textarea {
    min-height: 180px;
    max-height: 400px;

    resize: vertical;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Character Counter
   --------------------------------------------------------- */

.character-count {
    margin-top: -18px;
    margin-bottom: 25px;

    color: #777;

    font-size: 13px;
    text-align: right;
}

.character-count.near-limit {
    color: #d8b400;
}

.character-count.at-limit {
    color: #ff4d4d;
}


/* ---------------------------------------------------------
   Privacy Consent
   --------------------------------------------------------- */

.consent-fieldset {
    margin: 25px 0;
    padding: 0;

    border: 0;
}

.consent-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;

    margin: 0 !important;

    color: #d0d0d0 !important;

    font-size: 14px !important;
    line-height: 1.6;
}

.consent-label input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin-top: 3px;
}

.consent-label a,
.form-privacy-note a {
    color: #A5FFEE;
    text-decoration: none;
}

.consent-label a:hover,
.form-privacy-note a:hover {
    color: white;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   CAPTCHA
   --------------------------------------------------------- */

.captcha {
    margin: 25px 0 10px;
}


/* ---------------------------------------------------------
   Form Privacy Note
   --------------------------------------------------------- */

.form-privacy-note {
    max-width: 600px;
    margin: 10px 0 25px;

    color: #777;

    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   Form Security Note
   --------------------------------------------------------- */

.form-security-note {
    max-width: 700px;
    margin: 0 0 25px;

    color: #888;

    font-size: 13px;
    line-height: 1.6;
}


.contact-submit {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media screen and (max-width: 600px) {

    .contact-container {
        width: min(calc(100% - 30px), 1200px);
        padding: 35px 0 45px;
    }

    .contact-header {
        margin-bottom: 45px;
    }

    .contact-header h1 {
        font-size: 32px;
    }

    .contact-intro {
        font-size: 17px;
    }

    .contact-container input[type="text"],
    .contact-container input[type="email"],
    .contact-container textarea {
        font-size: 15px;
    }

    .contact-container textarea {
        max-height: 350px;
    }

    .consent-label {
        font-size: 13px !important;
    }

    .form-privacy-note,
    .form-security-note {
        font-size: 12px;
    }

    .contact-submit .primary-button {
        width: 100%;
    }
}
