/* ==========================================
   CONTACT PAGE
========================================== */

.contact-page {
    background: #f5f5f5;
    min-height: 70vh;
    padding: 60px 0 80px;
}


/* ==========================================
   PAGE HEADER
========================================== */

.contact-page__header {
    max-width: 700px;
    margin: 0 auto 45px;

    text-align: center;
}

.contact-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #0D5CB6;

    font-size: 13px;
    font-weight: 700;
}

.contact-page__header h1 {
    margin: 0 0 15px;

    color: #222;

    font-size: 40px;
}

.contact-page__header p {
    margin: 0;

    color: #666;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================
   CONTACT CONTENT
========================================== */

.contact-content {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 30px;

    margin-bottom: 35px;
}


/* ==========================================
   CONTACT INFORMATION
========================================== */

.contact-info {
    background: #fff;

    padding: 40px;

    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.contact-info h2 {
    margin: 0 0 12px;

    color: #222;

    font-size: 27px;
}

.contact-info__intro {
    margin: 0 0 30px;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}


/* ==========================================
   CONTACT ITEMS
========================================== */

.contact-info__item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 20px 0;

    border-top: 1px solid #e5e5e5;
}

.contact-info__item:first-of-type {
    border-top: 0;
}

.contact-info__icon {
    flex-shrink: 0;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eef5fc;

    border-radius: 50%;

    color: #0D5CB6;

    font-size: 18px;
}

.contact-info__item h3 {
    margin: 0 0 5px;

    color: #222;

    font-size: 15px;
}

.contact-info__item p {
    margin: 0;

    color: #666;

    font-size: 13px;

    line-height: 1.6;
}


/* ==========================================
   CONTACT FORM
========================================== */

.contact-form-wrapper {
    background: #fff;

    padding: 40px;

    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    margin: 0 0 10px;

    color: #222;

    font-size: 27px;
}

.contact-form-wrapper__intro {
    margin: 0 0 28px;

    color: #666;

    font-size: 14px;

    line-height: 1.6;
}


/* ==========================================
   FORM GROUP
========================================== */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.contact-form__group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.contact-form__group label {
    color: #222;

    font-size: 13px;
    font-weight: 600;
}

.contact-form__group input,
.contact-form__group textarea {
    width: 100%;

    padding: 13px 14px;

    background: #fff;

    border: 1px solid #dcdcdc;

    border-radius: 4px;

    color: #222;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: border-color 0.2s ease;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: #0D5CB6;
}

.contact-form__group textarea {
    resize: vertical;

    min-height: 140px;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #999;
}


/* ==========================================
   SUBMIT BUTTON
========================================== */

.contact-form__button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: fit-content;

    padding: 13px 24px;

    margin-top: 5px;

    background: #0D5CB6;

    border: 0;
    border-radius: 4px;

    color: #fff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: background 0.2s ease;
}

.contact-form__button:hover {
    background: #08418D;
}


/* ==========================================
   HELP SECTION
========================================== */

.contact-help {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 30px 35px;

    background: linear-gradient(
        135deg,
        #0B57B7 0%,
        #08418D 55%,
        #062F69 100%
    );

    border-radius: 8px;
}

.contact-help__icon {
    flex-shrink: 0;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f5b51d;

    border-radius: 50%;

    color: #222;

    font-size: 23px;
}

.contact-help__content {
    flex: 1;
}

.contact-help__content h2 {
    margin: 0 0 6px;

    color: #fff;

    font-size: 20px;
}

.contact-help__content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;

    line-height: 1.6;
}

.contact-help__button {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 18px;

    background: #f5b51d;

    border-radius: 4px;

    color: #222;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.contact-help__button:hover {
    opacity: 0.9;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .contact-content {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .contact-page {
        padding: 40px 0 60px;
    }

    .contact-page__header h1 {
        font-size: 32px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-help {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }

    .contact-help__button {
        width: 100%;

        justify-content: center;
    }

}

/* ==========================================
   CONTACT FORM MESSAGES
========================================== */

.contact-message {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    padding: 14px 16px;

    margin-bottom: 25px;

    border-radius: 4px;

    font-size: 13px;

    line-height: 1.5;
}

.contact-message i {
    margin-top: 2px;

    flex-shrink: 0;
}

.contact-message--success {
    background: #edf8f1;

    border: 1px solid #b9e2c7;

    color: #217a3a;
}

.contact-message--error {
    background: #fff1f1;

    border: 1px solid #efc2c2;

    color: #b42323;
}