/**
 * TheProPlatform
 * Hero + Service Search
 * Complete CSS
 * Version 3.1
 */


/* =========================================================
   HERO
========================================================= */

.tpp-service-hero {
    width: 100%;
    min-height: 560px;
    box-sizing: border-box;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.40)
        ),
        url("https://theproplatform.com/wp-content/uploads/2026/05/theroplatform-bg-1024x310.webp");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    color: #ffffff;

    position: relative;
    overflow: visible;
}


/* =========================================================
   HERO INNER CONTAINER
========================================================= */

.tpp-hero-inner {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    box-sizing: border-box;

    padding:
        65px 25px
        70px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.tpp-hero-content {
    text-align: left;

    margin-bottom: 36px;
}


/* =========================================================
   EYEBROW
========================================================= */

.tpp-service-hero .tpp-hero-eyebrow {
    font-family: inherit !important;

    font-size: 15px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    color: #ff0000 !important;

    margin: 0 0 30px !important;

    letter-spacing: 0 !important;
}


/* =========================================================
   MAIN HERO HEADING
========================================================= */

.tpp-service-hero .tpp-hero-content h1 {
    font-family: inherit !important;

    font-size: 38px !important;

    line-height: 1.12 !important;

    font-weight: 800 !important;

    letter-spacing: -0.7px !important;

    color: #ffffff !important;

    margin:
        0 0 25px !important;

    padding: 0 !important;
}


/* =========================================================
   SECOND HERO HEADING
========================================================= */

.tpp-service-hero .tpp-hero-content h2 {
    font-family: inherit !important;

    font-size: 29px !important;

    line-height: 1.2 !important;

    font-weight: 800 !important;

    letter-spacing: -0.4px !important;

    color: #ffffff !important;

    margin:
        0 !important;

    padding: 0 !important;
}


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

.tpp-service-search {
    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    box-sizing: border-box;
}


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

.tpp-search-form {
    display: grid;

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

    gap: 14px;

    align-items: end;

    width: 100%;

    padding: 22px;

    box-sizing: border-box;

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

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

    border-radius: 14px;

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);

    box-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.20);
}


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

.tpp-field {
    min-width: 0;

    width: 100%;

    display: flex;

    flex-direction: column;

    box-sizing: border-box;
}


/* =========================================================
   FIELD LABELS
========================================================= */

.tpp-service-hero .tpp-field label {
    display: block;

    margin:
        0 0 7px !important;

    padding: 0 !important;

    font-family: inherit !important;

    font-size: 11px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;

    color:
        #ffffff !important;

    text-shadow:
        0 1px 2px
        rgba(0, 0, 0, 0.25);
}


/* =========================================================
   INPUTS + SELECTS
========================================================= */

.tpp-field select,
.tpp-field input {
    width: 100%;

    height: 45px;

    min-height: 45px;

    padding:
        0 13px;

    box-sizing: border-box;

    border:
        1px solid
        #d5d8dd;

    border-radius: 7px;

    background:
        #ffffff;

    color:
        #303642;

    font-family: inherit;

    font-size: 13px;

    font-weight: 400;

    line-height: 45px;

    outline: none;

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


/* =========================================================
   SELECT DROPDOWN
========================================================= */

.tpp-field select {
    appearance: none;

    -webkit-appearance: none;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");

    background-repeat:
        no-repeat;

    background-position:
        right 13px center;

    padding-right:
        35px;

    line-height:
        normal;
}


/* =========================================================
   DISABLED STATE DROPDOWN
========================================================= */

.tpp-field select:disabled {
    background:
        #eeeeee;

    color:
        #999999;

    cursor:
        not-allowed;

    opacity:
        0.9;
}


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

.tpp-field input::placeholder {
    color:
        #a0a5ad;

    opacity:
        1;

    font-size:
        13px;
}


/* =========================================================
   FIELD HOVER
========================================================= */

.tpp-field select:hover:not(:disabled),
.tpp-field input:hover {
    border-color:
        #b9bdc4;
}


/* =========================================================
   FIELD FOCUS
========================================================= */

.tpp-field select:focus,
.tpp-field input:focus {
    border-color:
        #e00000;

    box-shadow:
        0 0 0 2px
        rgba(224, 0, 0, 0.12);

    outline:
        none;
}


/* =========================================================
   ACTIONS
========================================================= */

.tpp-actions {
    display: flex;

    gap: 9px;

    align-items: center;

    width: 100%;

    min-width: 0;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.tpp-service-hero .tpp-search-button {
    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    vertical-align: middle !important;

    text-align: center !important;

    width: 100%;

    height: 45px !important;

    min-height: 45px !important;

    margin: 0 !important;

    padding:
        0 18px !important;

    box-sizing: border-box !important;

    border:
        0 !important;

    border-radius:
        7px !important;

    background:
        #e00000 !important;

    color:
        #ffffff !important;

    font-family:
        inherit !important;

    font-size:
        13px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    cursor:
        pointer;

    white-space:
        nowrap;

    gap:
        8px;

    box-shadow:
        none;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


/* =========================================================
   SEARCH BUTTON TEXT
========================================================= */

.tpp-service-hero
.tpp-search-button
.tpp-search-text {

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    height:
        100% !important;

    margin:
        0 !important;

    padding:
        0 !important;

    font-family:
        inherit !important;

    font-size:
        13px !important;

    font-weight:
        800 !important;

    line-height:
        1 !important;

    text-align:
        center !important;

    white-space:
        nowrap;
}


/* =========================================================
   SEARCH BUTTON HOVER
========================================================= */

.tpp-service-hero
.tpp-search-button:hover:not(:disabled) {

    background:
        #c90000 !important;

    transform:
        translateY(-1px);

    box-shadow:
        0 5px 15px
        rgba(224, 0, 0, 0.25);
}


/* =========================================================
   SEARCH BUTTON DISABLED
========================================================= */

.tpp-service-hero
.tpp-search-button:disabled {

    opacity:
        0.65;

    cursor:
        wait;

    transform:
        none;
}


/* =========================================================
   RESET BUTTON
========================================================= */

.tpp-service-hero .tpp-reset-button {

    display:
        inline-flex !important;

    align-items:
        center !important;

    justify-content:
        center !important;

    vertical-align:
        middle !important;

    text-align:
        center !important;

    flex:
        0 0 auto;

    width:
        auto;

    height:
        45px !important;

    min-height:
        45px !important;

    margin:
        0 !important;

    padding:
        0 16px !important;

    box-sizing:
        border-box !important;

    border:
        0 !important;

    border-radius:
        7px !important;

    background:
        rgba(255, 255, 255, 0.90) !important;

    color:
        #333333 !important;

    font-family:
        inherit !important;

    font-size:
        13px !important;

    font-weight:
        700 !important;

    line-height:
        1 !important;

    cursor:
        pointer;

    white-space:
        nowrap;

    transition:
        background .2s ease,
        transform .2s ease;
}


/* =========================================================
   RESET BUTTON HOVER
========================================================= */

.tpp-service-hero
.tpp-reset-button:hover {

    background:
        #ffffff !important;

    color:
        #222222 !important;

    transform:
        translateY(-1px);
}


/* =========================================================
   LOADING SPINNER
========================================================= */

.tpp-loading {

    display:
        none;

    width:
        14px;

    height:
        14px;

    flex:
        0 0 14px;

    box-sizing:
        border-box;

    border:
        2px solid
        rgba(255, 255, 255, 0.35);

    border-top-color:
        #ffffff;

    border-radius:
        50%;

    animation:
        tpp-spin
        .7s
        linear
        infinite;
}


.tpp-search-button.loading
.tpp-loading {

    display:
        inline-block;
}


@keyframes tpp-spin {

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .tpp-service-hero {

        min-height:
            auto;
    }


    .tpp-hero-inner {

        max-width:
            800px;

        padding:
            55px 20px
            60px;
    }


    .tpp-service-hero
    .tpp-hero-content h1 {

        font-size:
            32px !important;

        line-height:
            1.15 !important;

        font-weight:
            800 !important;
    }


    .tpp-service-hero
    .tpp-hero-content h2 {

        font-size:
            25px !important;

        line-height:
            1.25 !important;

        font-weight:
            800 !important;
    }


    .tpp-search-form {

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


    .tpp-actions {

        grid-column:
            span 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .tpp-service-hero {

        background-position:
            center center;
    }


    .tpp-hero-inner {

        padding:
            42px 16px
            45px;
    }


    .tpp-hero-content {

        margin-bottom:
            28px;
    }


    .tpp-service-hero
    .tpp-hero-eyebrow {

        font-size:
            14px !important;

        font-weight:
            700 !important;

        margin-bottom:
            20px !important;
    }


    .tpp-service-hero
    .tpp-hero-content h1 {

        font-size:
            29px !important;

        line-height:
            1.15 !important;

        font-weight:
            800 !important;

        letter-spacing:
            -0.4px !important;

        margin-bottom:
            20px !important;
    }


    .tpp-service-hero
    .tpp-hero-content h2 {

        font-size:
            22px !important;

        line-height:
            1.25 !important;

        font-weight:
            800 !important;

        letter-spacing:
            -0.2px !important;
    }


    .tpp-desktop-break {

        display:
            none;
    }


    .tpp-search-form {

        grid-template-columns:
            1fr;

        gap:
            13px;

        padding:
            17px;

        border-radius:
            11px;
    }


    .tpp-actions {

        grid-column:
            auto;

        display:
            grid;

        grid-template-columns:
            1fr 100px;

        gap:
            8px;
    }


    .tpp-service-hero
    .tpp-search-button,
    .tpp-service-hero
    .tpp-reset-button {

        width:
            100%;

        height:
            45px !important;

        min-height:
            45px !important;

        font-size:
            13px !important;
    }


    .tpp-service-hero
    .tpp-search-button
    .tpp-search-text {

        font-size:
            13px !important;

        font-weight:
            800 !important;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .tpp-hero-inner {

        padding-left:
            12px;

        padding-right:
            12px;
    }


    .tpp-service-hero
    .tpp-hero-content h1 {

        font-size:
            25px !important;
    }


    .tpp-service-hero
    .tpp-hero-content h2 {

        font-size:
            20px !important;
    }


    .tpp-search-form {

        padding:
            14px;
    }


    .tpp-actions {

        grid-template-columns:
            1fr;
    }


    .tpp-service-hero
    .tpp-reset-button {

        width:
            100%;
    }

}