@import url("./var.css");

#head-title-section {
    background-image: url(https://wp.bgs-associes.com/wp-content/uploads/2023/12/Fond-large.svg);
    background-position: bottom;
    background-repeat: no-repeat;
    min-height: 350px;
    transform: scale(1.05);
}

section.multiple_icons_txt {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    margin: 100px 0;
}
.icons_divs {
    width: 20%;
    margin: 1rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: border-color 0.5s ease;
}
.icons_divs:first-child:hover {
    border-color: #F59022;
}

.icons_divs:nth-child(2):hover {
    border-color: #712D7A;
}

.icons_divs:last-child:hover {
    border-color: #344696;
}
.icons_divs > h4 {
    margin: 1rem 0;
}
.icons_divs > p{
    color: black
}

section.last_card {
    position: relative;
    width: 65%;
    display: block;
    margin: 0 auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 50px 0;
    padding: 1rem 5rem;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    margin-bottom: 10rem;
    /* max-height: 350px; */
}

section.last_card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-image: url(https://wp.bgs-associes.com/wp-content/uploads/2023/12/Trace-297.svg);
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: right;
    background-size: auto;
    filter: blur(5px);
}

section.last_card > .wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    min-height: 100%;
    line-height: 34px;
    padding: 1rem;
}

section.last_card > .wrapper > .text-content {
    color: #344696;
    margin: 1rem;
    font-size: 24px;
    font-weight: 600;
    padding-right: 200px;
}
section.last_card > .wrapper > a {
    color: white;
    padding: 10px 15px;
    background: #344696;
    border-radius: 15px 0;
    cursor: pointer;
    position: absolute;
    top: 150px;
    right: 70px;
}

.wrapper{
    display: flex;
    /* border: 1px solid red; */
    flex-wrap: wrap;
    min-height: 500px;
}
.secta, .sectb, .sectc, .sectd, .secte {
    /* border: 1px solid #344696; */
    width: 25%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 250px !important;
}
.secta,
.sectb,
.sectc{
    position: relative;
}
.secta:after, .sectb:after, .sectc:after {
    content: "";
    position: absolute;
    border: 3px dashed #344696;
    bottom: -218px;
    width: 100%;
    left: 50%;
}
.secta > span, 
.sectb > span, 
.sectc > span, 
.sectd > span, 
.secte > span{
    margin: 2rem 0;
    width: 100% !important;
    text-align: center !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: black;
    font-weight: 500;
}

.number:nth-of-type(2):after,.number:nth-of-type(3):after, .number:nth-of-type(4):after {
    content: "";
    border: 3px dashed #344696;
    position: absolute;
    transform: rotate(90deg);
    width: 32%;
    left: 103px;
    bottom: -90px;
}
.secte {
    margin: 12rem auto;
    display: block;
}
.bullee > .number:after {
    content: "";
    border: 3px dashed #344696;
    position: absolute;
    transform: rotate(90deg);
    width: 16%;
    left: 127px;
    /* top: -90px !important; */
    bottom: 146px !important;
}
#spane{
    background-image: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.bullea, .bulleb, .bullec, .bulled, .bullee {
    position: relative;
    width: 305px;
    height: 120px;
    display: block;
    text-align: center;
}
.bullee{
    display: block !important;
    margin: 0 auto !important;
}
span.number {
    color: #344696;
    display: block;
    font-size: 40px;
    position: relative;
    margin: 2rem auto;
}
span.number:before {
    content: "";
    background: #C2C7DF;
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}
.bullea > span:nth-of-type(1),
.bulleb > span:nth-of-type(1),
.bullec > span:nth-of-type(1),
.bulled > span:nth-of-type(1),
.bullee > span:nth-of-type(1){
    height: 150px !important;
    display:  block!important;
    color: black;
}
#spana,
#spanb,
#spanc,
#spand,
#spane{
    color: #344696;
    font-family: "Roboto", Sans-serif;
    font-weight: 600;
    font-size: 24px;
}
.wrapper > .secta > #spana:hover,
.wrapper > .sectb > #spanb:hover,
.wrapper > .sectc > #spanc:hover,
.wrapper > .sectd > #spand:hover{
    color: #344696 !important;
}
section.wrapper_phone {
    display: flex;
}
.cards_phone {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    row-gap: 2rem;
}
.card_phone {
    max-width: 350px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    height: 300px;
    row-gap: 1rem;
}
.card_phone > h4{
    color: #344696;
    font-size:20px
}
.card_phone > h5{
    font-size: 24px;
    color: #344696;
    background: #C2C7DF;
    padding: 0.9rem 1.15rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.wrapper_phone{
    display: none !important;
}
#schema{
    display: flex;
}
.secte_sub {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.bullee > .number{
    padding-top: 62px;
}
.secte_sub > #spane{
    margin: 1rem 0;
}
.secte_sub > span:nth-of-type(2){
    color: black;
    text-align: center;
}
.icons_divs {
    width: 340px !important;
    margin: 1rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 2rem;
}
@media screen and (max-width:1955px){
    .wrapper_phone {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        margin: 3rem 0;
    } 
    #schema{
        display: none !important;
    }
    .separator{
        display: none;
    }
}

@media screen and (max-width: 1240px) {
    .numbers-img img {
        width: 70%;
    }

    section.last_card > .wrapper > .text-content {
        color: #344696;
        margin: 1rem;
        font-size: 18px;
        font-weight: 600;
        padding-right: 200px;
    }
    
} 
@media screen and (max-width:700px){
    section.last_card {
        width: 90% !important;
        padding: 2rem !important;
    }
    section.last_card > .wrapper > .text-content {
        color: #344696;
        margin: 1rem;
        font-size: 18px;
        font-weight: 600;
        padding-right: 0px;
    }
    section.last_card > .wrapper > a {
        top: 84% !important;
        right: 54% !important;
        transform: translateX(50%) !important;
    }
}
@media screen and (max-width: 500px) {
    section.multiple_icons_txt {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        margin: 70px 0;
    }

    .icons_divs {
        width: 75%;
        margin: 1rem 3rem;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        padding: 2rem;
    }

    section.last_card {
        position: relative;
        width: 90%;
        display: block;
        margin: 0 auto;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
        border-radius: 50px 0;
        padding: 3rem;
        margin-top: 3rem;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        overflow: hidden;
        margin-bottom: 10rem;
    }

    section.last_card > .wrapper > .text-content {
        color: #344696;
        margin: 0 0rem 2rem 0rem;
        font-size: 19px;
        text-align: center;
        font-weight: 600;
        padding-right: 0;
    }

    section.last_card > .wrapper > a {
        color: white;
        padding: 10px 15px;
        background: #344696;
        border-radius: 15px 0;
        cursor: pointer;
        position: absolute;
        right: 51% !important;
        top: 88% !important;
    }

    #head-title-section {
        background-image: url(https://wp.bgs-associes.com/wp-content/uploads/2023/12/Fond-large.svg);
        background-position: bottom;
        background-repeat: no-repeat;
        min-height: 350px;
        transform: scale(1);
    }
}

@media screen and (max-width: 400px) {
    section.last_card > .wrapper > a {
        color: white;
        padding: 10px 15px;
        background: #344696;
        border-radius: 15px 0;
        cursor: pointer;
        position: absolute;
        right: 48% !important;
        top: 89% !important;
    }
}