
/* BEGIN - Your CSS styling starts here */

/* =========================================================
   TELERADIOLOGYHUB — CONTACT
   Split-card design aligned with THUB Join experience
   ========================================================= */


/* ---------------------------------------------------------
   CONTACT PAGE
   --------------------------------------------------------- */

.container-component .thub-contact-page {
    --contact-ink: #0e2233;
    --contact-body: #57697b;
    --contact-body-soft: #8a97a4;

    --contact-bg: #f6f8f8;

    --contact-accent: #12807a;
    --contact-accent-soft: #e4f0ee;

    --contact-line: #e3e9e8;

    --contact-white: #ffffff;

    color: var(--contact-ink);

    background: var(--contact-bg);

    padding:
        28px
        24px
        76px;
}


/* Hide Joomla's duplicate menu page heading */

.componentheadingthub-contact-page {
    display: none;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-intro {
    max-width: 720px;

    margin:
        0
        auto
        42px;

    text-align: center;
}

.thub-contact-page
.thub-contact-intro__eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    margin-bottom: 14px;

    color: var(--contact-accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.thub-contact-page
.thub-contact-intro__title {
    margin:
        0
        0
        18px;

    color: var(--contact-ink);

    font-size: clamp(
        2.35rem,
        4vw,
        2.9rem
    );

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: -0.025em;
}

.thub-contact-page
.thub-contact-intro__lead {
    margin:
        0
        0
        10px;

    color: var(--contact-ink);

    font-size: 17px;
    font-weight: 600;

    line-height: 1.55;
}

.thub-contact-page
.thub-contact-intro__copy {
    max-width: 590px;

    margin: 0 auto;

    color: var(--contact-body);

    font-size: 15px;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   SPLIT CARD
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-card {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.85fr)
        minmax(0, 1.15fr);

    width: 100%;
    max-width: 1040px;

    margin: 0 auto;

    overflow: hidden;

    background: var(--contact-white);

    border:
        1px solid
        var(--contact-line);

    border-radius: 22px;

    box-shadow:
        0 1px 2px rgba(14, 34, 51, 0.04),
        0 18px 44px rgba(14, 34, 51, 0.035);
}


/* ---------------------------------------------------------
   LEFT INFORMATION PANEL
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-info {
    display: flex;

    flex-direction: column;
    justify-content: space-between;

    padding:
        44px
        36px;

    color: #eaf4f2;

    background:
        linear-gradient(
            160deg,
            #0a3a42 0%,
            #12666a 55%,
            #1f8e85 100%
        );
}

.thub-contact-page
.thub-contact-info__kicker {
    margin-bottom: 12px;

    color: #9ed8d0;

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

.thub-contact-page
.thub-contact-info h2 {
    margin:
        0
        0
        11px;

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.3;

    letter-spacing: -0.015em;
}

.thub-contact-page
.thub-contact-info__lead {
    margin:
        0
        0
        30px;

    color: #c9e4df;

    font-size: 16px;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   INFORMATION ITEMS
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-method {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 22px;
}

.thub-contact-page
.thub-contact-method__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    color: #eaf4f2;

    background:
        rgba(255, 255, 255, 0.11);

    border:
        1px solid
        rgba(255, 255, 255, 0.15);

    border-radius: 10px;

    font-size: 14px;
}

.thub-contact-page
.thub-contact-method h3 {
    margin:
        0
        0
        3px;

    color: #f7fcfb;

    font-size: 13px;
    font-weight: 750;
}

.thub-contact-page
.thub-contact-method p {
    margin: 0;

    color: #cfe7e3;

    font-size: 14.75px;

    line-height: 1.6;
}


/* ---------------------------------------------------------
   RESPONSE PROMISE
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-response {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: 18px;

    padding:
        14px
        16px;

    color: #dcefeb;

    background:
        rgba(255, 255, 255, 0.10);

    border:
        1px solid
        rgba(255, 255, 255, 0.16);

    border-radius: 12px;

    font-size: 14.25px;
    font-weight: 600;

    line-height: 1.5;
}

.thub-contact-page
.thub-contact-response__dot {
    flex: 0 0 auto;

    width: 8px;
    height: 8px;

    background: #5fe3ce;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px
        rgba(95, 227, 206, 0.20);
}


/* ---------------------------------------------------------
   RIGHT FORM PANEL
   --------------------------------------------------------- */

.thub-contact-page
.thub-contact-form-side {
    min-width: 0;

    padding:
        44px
        40px;
}

.thub-contact-page
.thub-contact-form-title {
    margin:
        0
        0
        5px;

    color: var(--contact-ink);

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -0.015em;
}

.thub-contact-page
.thub-contact-form-subtitle {
    margin:
        0
        0
        22px;

    color: var(--contact-body);

    font-size: 15.75px;

    line-height: 1.55;
}

.thub-contact-page
.thub-contact-form-note {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 24px;

    padding:
        12px
        14px;

    color: #0e524d;

    background:
        var(--contact-accent-soft);

    border:
        1px solid
        #d3e8e4;

    border-radius: 10px;

    font-size: 13.75px;

    line-height: 1.55;
}

.thub-contact-page
.thub-contact-form-note
.fa-circle-info {
    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--contact-accent);

    font-size: 13px;
}


/* ---------------------------------------------------------
   FABRIK FORM RESET
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm {
    width: 100%;

    margin: 0;

    padding: 0;

    background: transparent;

    border: 0;

    box-shadow: none;
}

.thub-contact-page
.fabrikForm
.row-fluid.nav {
    margin: 0;
}

.thub-contact-page
.fabrikForm
.fabrikGroup {
    display: grid;

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

    column-gap: 16px;

    margin: 0;

    padding: 0;

    border: 0;
}


/* ---------------------------------------------------------
   FIELD GRID
   --------------------------------------------------------- */

.thub-contact-page
.fb_el_rad11_contact_enquiries___full_name {
    grid-column: 1;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___email {
    grid-column: 2;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___phone {
    grid-column: 1;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___enquiry_type {
    grid-column: 2;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___message,

.thub-contact-page
.fb_el_rad11_contact_enquiries___captcha {
    grid-column: 1 / 3;
}


/* ---------------------------------------------------------
   FIELD ROWS
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.fabrikElementContainer {
    min-width: 0;

    margin-bottom: 18px;
}

.thub-contact-page
.fabrikForm
.fabrikElementContainer
.row.mt-3 {
    display: flex;

    flex-direction: column;

    margin: 0;
}

.thub-contact-page
.fabrikForm
.fabrikLabel.col-sm-2,

.thub-contact-page
.fabrikForm
.fabrikElement.col-sm-10,

.thub-contact-page
.fabrikForm
.fabrikElement.col-sm-5,

.thub-contact-page
.fabrikForm
.fabrikElement.col-sm-2 {
    flex: none !important;

    width: 100% !important;
    max-width: 100% !important;

    padding: 0 !important;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.fabrikLabel {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 8px !important;

    color: var(--contact-ink);

    font-size: 13px;
    font-weight: 700;
}

.thub-contact-page
.fabrikForm
.fabrikLabel
.fa {
    color: var(--contact-body-soft);

    font-size: 12px;
}


/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.form-control.fabrikinput,

.thub-contact-page
.fabrikForm
textarea.fabrikinput {
    width: 100%;
    height: auto;

    padding:
        12px
        15px;

    color: var(--contact-ink);

    background: #fbfcfc;

    border:
        1px solid
        var(--contact-line);

    border-radius: 10px;

    box-shadow: none;

    font: inherit;
    font-size: 14px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.thub-contact-page
.fabrikForm
.form-control.fabrikinput:focus,

.thub-contact-page
.fabrikForm
textarea.fabrikinput:focus {
    background:
        var(--contact-white);

    border-color:
        var(--contact-accent);

    box-shadow:
        0 0 0 3px
        var(--contact-accent-soft);

    outline: none;
}

.thub-contact-page
.fabrikForm
textarea.fabrikinput {
    min-height: 122px;

    resize: vertical;
}


/* ---------------------------------------------------------
   CHOSEN
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.chosen-container {
    width: 100% !important;
}

.thub-contact-page
.fabrikForm
.chosen-container
.chosen-single {
    height: auto;

    padding:
        12px
        15px;

    color:
        var(--contact-ink);

    background: #fbfcfc;

    border:
        1px solid
        var(--contact-line);

    border-radius: 10px;

    box-shadow: none;

    font-size: 14px;
    line-height: 1.3;
}

.thub-contact-page
.fabrikForm
.chosen-container-active
.chosen-single {
    background:
        var(--contact-white);

    border-color:
        var(--contact-accent);

    box-shadow:
        0 0 0 3px
        var(--contact-accent-soft);
}

.thub-contact-page
.fabrikForm
.chosen-single div {
    top: 14px;
}

.thub-contact-page
.fabrikForm
.chosen-single div b {
    background: none;
}

.thub-contact-page
.fabrikForm
.chosen-drop {
    margin-top: 4px;

    overflow: hidden;

    border-color:
        var(--contact-line);

    border-radius: 10px;
}

.thub-contact-page
.fabrikForm
.chosen-results li.highlighted {
    background:
        var(--contact-accent);
}


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

.thub-contact-page
.fb_el_rad11_contact_enquiries___captcha
.fabrikElement {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___captcha
img {
    background: #f1f4f6;

    border:
        1px solid
        var(--contact-line);

    border-radius: 10px;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___captcha
.captcha_input {
    flex: 1;

    min-width: 160px;
}

.thub-contact-page
.fb_el_rad11_contact_enquiries___captcha
.captcha_input input {
    width: 100%;
}


/* ---------------------------------------------------------
   VALIDATION
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.fabrikErrorMessage,

.thub-contact-page
.fabrikForm
.fabrikError {
    font-size: 12.5px;
}


/* ---------------------------------------------------------
   SUBMIT ACTION
   --------------------------------------------------------- */

.thub-contact-page
.fabrikForm
.fabrikActions {
    margin-top: 8px !important;
}

.thub-contact-page
.fabrikForm
.fabrikActions
.btn-toolbar {
    display: flex;

    justify-content: flex-end !important;
}

.thub-contact-page
.fabrikForm
.fabrikActions
.button.send_message {
    padding:
        13px
        27px;

    color:
        var(--contact-white);

    background:
        var(--contact-ink);

    border:
        1px solid
        var(--contact-ink);

    border-radius: 11px;

    font-size: 14.5px;
    font-weight: 700;

    box-shadow: none;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.thub-contact-page
.fabrikForm
.fabrikActions
.button.send_message:hover,

.thub-contact-page
.fabrikForm
.fabrikActions
.button.send_message:focus {
    color:
        var(--contact-white);

    background:
        var(--contact-accent);

    border-color:
        var(--contact-accent);

    transform:
        translateY(-1px);
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 860px) {

    .thub-contact-page {
        padding:
            42px
            18px
            70px;
    }

    .thub-contact-page
    .thub-contact-card {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .thub-contact-page
    .thub-contact-info {
        padding:
            34px
            28px;
    }

    .thub-contact-page
    .thub-contact-form-side {
        padding:
            34px
            28px;
    }

}


@media (max-width: 620px) {

    .thub-contact-page {
        padding:
            34px
            14px
            58px;
    }

    .thub-contact-page
    .thub-contact-intro {
        margin-bottom: 30px;
    }

    .thub-contact-page
    .thub-contact-intro__title {
        font-size: 32px;
    }

    .thub-contact-page
    .thub-contact-intro__lead {
        font-size: 15.5px;
    }

    .thub-contact-page
    .thub-contact-info,

    .thub-contact-page
    .thub-contact-form-side {
        padding:
            28px
            22px;
    }

    .thub-contact-page
    .fabrikForm
    .fabrikGroup {
        grid-template-columns: 1fr;
    }

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___full_name,

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___email,

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___phone,

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___enquiry_type,

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___message,

    .thub-contact-page
    .fb_el_rad11_contact_enquiries___captcha {
        grid-column: 1;
    }

    .thub-contact-page
    .fabrikForm
    .fabrikActions
    .btn-toolbar {
        justify-content:
            stretch !important;
    }

    .thub-contact-page
    .fabrikForm
    .fabrikActions
    .btn-group {
        width: 100%;
    }

    .thub-contact-page
    .fabrikForm
    .fabrikActions
    .button.send_message {
        width: 100%;

        justify-content: center;
    }

}



/* ---------------------------------------------------------
   CONTACT PAGE BODY / HEADER FIX
   Joomla also exposes the menu page class at page level.
   Never allow Contact component spacing to move the header.
   --------------------------------------------------------- */

body.thub-contact-page {
    padding: 0 !important;
}

body.thub-contact-page .container-header {
    margin-top: 0 !important;
}

/*
 * Reduce Joomla component spacing between the global header
 * and the dedicated Contact hero.
 */
body.thub-contact-page .container-component {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Contact component wrapper only */

body.thub-contact-page
.container-component
.thub-contact-page {
    padding-top: 0;
}


/* Tighter hero positioning */

body.thub-contact-page
.thub-contact-intro {
    margin-top: 0;
}

/* END - Your CSS styling ends here */
