﻿/* =========================================================
   PAGE WRAPPER
========================================================= */

.bs-contact-page {
    position: relative;
    min-height: calc(100vh - 82px);
    margin-top: 20px;
    padding: 70px 0 35px;
    overflow: hidden;
    background: url("/images/contact-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #123d45;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.bs-contact-container {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 50px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.88fr);
    align-items: center;
    column-gap: 75px;
}


/* =========================================================
   LEFT INTRO SECTION
========================================================= */

.bs-contact-intro {
    max-width: 480px;
    padding: 15px 0;
}

.bs-contact-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    padding-left: 0;
    color: #078d99;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.2;
}

    .bs-contact-eyebrow::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -13px;
        width: 54px;
        height: 2px;
        background: #0c5962;
    }

.bs-contact-intro h1 {
    margin: 0;
    color: #103c45;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 70px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2.8px;
}

    .bs-contact-intro h1 span {
        color: #1499a4;
    }

.bs-contact-description {
    max-width: 390px;
    margin: 25px 0 35px;
    color: #58717a;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.bs-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 400px;
}

.bs-contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(94, 131, 133, 0.16);
}

    .bs-contact-detail:first-child {
        border-top: 0;
    }

.bs-contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 166, 173, 0.2);
    border-radius: 50%;
    background: rgba(226, 244, 240, 0.85);
    color: #087f8b;
    font-size: 20px;
}

.bs-contact-detail-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .bs-contact-detail-content strong {
        color: #163e46;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.3;
    }

    .bs-contact-detail-content span,
    .bs-contact-detail-content a {
        color: #5d747c;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
        text-decoration: none;
    }

        .bs-contact-detail-content a:hover {
            color: #078d99;
        }


/* =========================================================
   DECORATIVE TAGLINE
========================================================= */

.bs-contact-tagline {
    margin-top: 30px;
}

    .bs-contact-tagline > span {
        display: block;
        width: 53px;
        height: 2px;
        margin-bottom: 13px;
        background: #c99445;
    }

    .bs-contact-tagline p {
        margin: 0;
        color: #17616b;
        font-family: "Segoe Script", "Brush Script MT", cursive;
        font-size: 25px;
        font-style: italic;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: 0.2px;
    }


/* =========================================================
   CONTACT FORM CARD
========================================================= */

.bs-contact-form-card {
    width: 100%;
    max-width: 500px;
    justify-self: end;
    padding: 40px 43px 31px;
    border: 1px solid rgba(220, 231, 228, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 65px rgba(26, 61, 66, 0.12), 0 4px 15px rgba(26, 61, 66, 0.035);
    box-sizing: border-box;
}


/* =========================================================
   FORM HEADER
========================================================= */

.bs-contact-form-header {
    margin-bottom: 27px;
}

.bs-contact-form-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: #078d99;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.4px;
    line-height: 1.2;
}

.bs-contact-form-header h2 {
    margin: 0 0 8px;
    color: #103c45;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.bs-contact-form-header p {
    margin: 0;
    color: #819298;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   FORM
========================================================= */

.bs-contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
    width: 100%;
}

.bs-contact-form-group {
    position: relative;
    width: 100%;
}

    .bs-contact-form-group > label {
        display: block;
        margin: 0 0 8px;
        color: #263f46;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.3;
    }

        .bs-contact-form-group > label span {
            color: #91a0a3;
            font-weight: 500;
        }


/* =========================================================
   INPUTS
========================================================= */

.bs-contact-input-wrapper {
    position: relative;
    width: 100%;
}

    .bs-contact-input-wrapper > i {
        position: absolute;
        top: 50%;
        left: 15px;
        color: #6e9ba0;
        font-size: 16px;
        pointer-events: none;
        transform: translateY(-50%);
    }

    .bs-contact-input-wrapper input,
    .bs-contact-input-wrapper textarea {
        display: block;
        width: 100%;
        border: 1px solid #dce7e5;
        border-radius: 10px;
        background: #ffffff;
        color: #29464d;
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 13px;
        font-weight: 400;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .bs-contact-input-wrapper input {
        height: 51px;
        padding: 0 15px 0 44px;
    }

    .bs-contact-input-wrapper textarea {
        min-height: 105px;
        padding: 15px 15px 15px 44px;
        line-height: 1.5;
        resize: vertical;
    }

        .bs-contact-input-wrapper input::placeholder,
        .bs-contact-input-wrapper textarea::placeholder {
            color: #a2b1b5;
            opacity: 1;
        }

        .bs-contact-input-wrapper input:hover,
        .bs-contact-input-wrapper textarea:hover {
            border-color: #bfd6d3;
        }

        .bs-contact-input-wrapper input:focus,
        .bs-contact-input-wrapper textarea:focus {
            border-color: #20a4af;
            background: #ffffff;
            box-shadow: 0 0 0 3px rgba(32, 164, 175, 0.09);
        }


/* =========================================================
   TEXTAREA ICON ALIGNMENT
========================================================= */

.bs-contact-textarea-wrapper > i {
    top: 19px;
    transform: none;
}
/* =====================================================
   CONTACT ALERT MESSAGES
===================================================== */

.bs-contact-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 22px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
}

    .bs-contact-alert i {
        flex: 0 0 auto;
        font-size: 17px;
    }


/* Success message */

.bs-contact-alert-success {
    color: #176b45;
    background: #eefaf3;
    border: 1px solid #c9ead8;
}


/* Error message */

.bs-contact-alert-error {
    color: #a33b3b;
    background: #fff3f3;
    border: 1px solid #f0cccc;
}


/* Mobile */

@media (max-width: 576px) {
    .bs-contact-alert {
        align-items: flex-start;
        padding: 12px 13px;
        font-size: 12px;
    }
}

/* =========================================================
   CHARACTER COUNT
========================================================= */

.bs-contact-character-count {
    margin-top: 5px;
    color: #9ba9ac;
    font-size: 10px;
    line-height: 1.3;
    text-align: right;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.bs-contact-submit-button {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: #20a4af;
    color: #ffffff;
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(32, 164, 175, 0.14);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .bs-contact-submit-button:hover {
        background: #138e99;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(32, 164, 175, 0.22);
    }

    .bs-contact-submit-button:active {
        transform: translateY(0);
    }

    .bs-contact-submit-button i {
        font-size: 15px;
        transition: transform 0.2s ease;
    }

    .bs-contact-submit-button:hover i {
        transform: translateX(3px);
    }


/* =========================================================
   RESPONSE NOTE
========================================================= */

.bs-contact-response-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 1px 0 0;
    color: #819298;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}

    .bs-contact-response-note i {
        color: #6c9da2;
        font-size: 13px;
    }


/* =========================================================
   BOTTOM TRUST ROW
========================================================= */

.bs-contact-trust-row {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 50px));
    margin: 38px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.bs-contact-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 170px;
}

    .bs-contact-trust-item > i {
        color: #087f8b;
        font-size: 25px;
    }

    .bs-contact-trust-item div {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .bs-contact-trust-item strong {
        color: #163e46;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.3;
    }

    .bs-contact-trust-item span {
        color: #71878b;
        font-size: 10px;
        line-height: 1.3;
    }

.bs-contact-trust-divider {
    width: 1px;
    height: 42px;
    background: rgba(74, 113, 116, 0.2);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .bs-contact-container {
        width: min(980px, calc(100% - 40px));
        column-gap: 40px;
    }

    .bs-contact-intro h1 {
        font-size: 57px;
    }

    .bs-contact-form-card {
        padding: 36px 34px 29px;
    }

    .bs-contact-trust-row {
        width: min(980px, calc(100% - 40px));
        gap: 22px;
    }
}


/* =========================================================
   TABLET / STACKED LAYOUT
========================================================= */

@media (max-width: 820px) {

    .bs-contact-page {
        min-height: auto;
        margin-top: 70px;
        padding: 52px 0 45px;
        background-position: center center;
    }

    .bs-contact-container {
        width: calc(100% - 32px);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 42px;
    }

    .bs-contact-intro {
        max-width: 100%;
        padding: 0;
    }

        .bs-contact-intro h1 {
            font-size: 54px;
        }

    .bs-contact-description {
        max-width: 500px;
    }

    .bs-contact-details {
        max-width: 500px;
    }

    .bs-contact-form-card {
        width: 100%;
        max-width: 560px;
        align-self: center;
    }

    .bs-contact-trust-row {
        width: calc(100% - 32px);
        flex-wrap: wrap;
        margin-top: 42px;
        gap: 22px;
    }

    .bs-contact-trust-divider {
        display: none;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 560px) {

    .bs-contact-page {
        padding: 42px 0 38px;
    }

    .bs-contact-container {
        width: calc(100% - 24px);
        gap: 34px;
    }

    .bs-contact-intro h1 {
        font-size: 45px;
        letter-spacing: -1.8px;
    }

    .bs-contact-description {
        margin: 20px 0 27px;
        font-size: 14px;
        line-height: 1.65;
    }

    .bs-contact-detail {
        gap: 14px;
        min-height: 69px;
    }

    .bs-contact-detail-icon {
        width: 43px;
        height: 43px;
        min-width: 43px;
        font-size: 18px;
    }

    .bs-contact-detail-content strong {
        font-size: 14px;
    }

    .bs-contact-detail-content span,
    .bs-contact-detail-content a {
        font-size: 12px;
    }

    .bs-contact-tagline {
        margin-top: 25px;
    }

        .bs-contact-tagline p {
            font-size: 22px;
        }

    .bs-contact-form-card {
        padding: 30px 21px 27px;
        border-radius: 19px;
    }

    .bs-contact-form-header {
        margin-bottom: 25px;
    }

        .bs-contact-form-header h2 {
            font-size: 33px;
        }

    .bs-contact-form {
        gap: 16px;
    }

    .bs-contact-input-wrapper input {
        height: 50px;
    }

    .bs-contact-input-wrapper textarea {
        min-height: 110px;
    }

    .bs-contact-submit-button {
        height: 50px;
    }

    .bs-contact-trust-row {
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 35px;
    }

    .bs-contact-trust-item {
        min-width: 0;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .bs-contact-intro h1 {
        font-size: 39px;
    }

    .bs-contact-form-card {
        padding: 27px 17px 24px;
    }

    .bs-contact-form-header h2 {
        font-size: 29px;
    }

    .bs-contact-form-header p {
        font-size: 12px;
    }
}
