﻿.partners-section, .footer-section {
    background: var(--primary-bg) !important;
}

.static-header {
    background: url(../img/StaticPage_header.webp) center / cover no-repeat;
}
.agent-section, .location-agent-section {
    position: relative;
    background: var(--primary-bg);
    padding-right: 85px;
    padding-left: 85px;
    color: #ffffff;
    overflow: hidden;
}

.search-box {

    border-radius: 6px;
}
.select-wrapper::after {
    right: 1px;
}

    .form-row {
        margin-bottom: 0;
    }

    .section-title-line-left {
        display: flex;
        align-items: flex-start;
        justify-content: left;
        margin-bottom: 20px;
    }

        .section-title-line-left::before {
            content: "";
            display: inline-block;
            width: 80px;
            height: 2px;
            background: #fff;
            margin: 0 16px;
        }

        .section-title-line-left .section-title {
            line-height: 0;
        }

    .mb-35 {
        margin-bottom: 35px;
    }


    .team-card::after {
        background: linear-gradient( to bottom, rgba(12, 35, 64, 0) 0%, rgba(12, 35, 64, 0) 55%, rgba(12, 35, 64, 0.25) 65%, rgba(12, 35, 64, 0.6) 75%, rgba(12, 35, 64, 1) 88%, #0C2340 100% );
    }


    .team-info span {
        display: block;
    }

    .learn-more {
        display: inline-block;
        padding: 4px 11px;
        background: #d8d8dc;
        color: #102b4d;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
        font-size: 1.2rem;
        border-radius: 4px;
        transition: .3s;
        position: relative;
        top: 5px;
    }

 
    /* Par défaut */
    .searchbar-team-desktop {
        display: block;
    }

    .searchbar-team-mobile {
        display: none;
    }
    /* Mobile */
    @media (max-width: 768px) {
        .connect-btn-team {
            width: 300px;
            height: 70px;
            font-size: 1.3rem;
        }

        .section-title-line-left::before {
            width: 40px;
            margin-right: 10px;
        }

        .section-title {
            font-size: 1.4rem;
            letter-spacing: .04em;
            line-height: 1.4;
        }

        .searchbar-team-desktop {
            display: none;
        }

        .searchbar-team-mobile {
            display: block;
        }

        .agent-section, .location-agent-section {
            padding-right: 50px;
            padding-left: 50px;
        }

        .team-row {
            flex-direction: column;
        }

        .team-card {
            flex: 1 1 100%;
            flex-direction: column;
            text-align: center;
        }

        .team-photo {
            margin-right: 0;
            margin-bottom: 15px;
        }

        .team-info {
            width: 100%;
        }
    }

    @media (max-width: 992px) {
        .team-card {
            flex: 1 1 calc(50% - 20px);
        }
    }
    /****************Style Agent Modal *************/
#agentModal .modal-content {
    border-radius: 12px;
    padding: 10px;
    position: relative;
}

#agentModal .modal-header {
    padding: 15px 20px;
    border: none;
}

#agentModal .agent-modal-photo {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}

#agentModal .modal-header h5 {
    color: #0C2340;
    font-weight: bold;
    font-size: 18px;
}

#agentModal .agent-modal-title {
    color: #666;
    font-size: 14px;
}

#agentModal .modal-body {
    padding: 15px 20px;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
}

#agentModal .close-btn-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #0C2340;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

    #agentModal .close-btn-modal:hover {
        color: #999;
    }