.btn-info {
    background-color: #1E5082 !important;
    border-color: #1E5082!important;
    color: white !important;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s ease;
}

.imgBackground2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.65;
}

#sliderCarousel {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 100vh;
    position: relative;
    background-color: black;
}

.page-content {
    position: relative;
    z-index: 1;
}

.service {
    color: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.imgBackground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: background-color 0.5s ease;
}

.imgLogo {
    max-height: 200px;
    max-width: 200px;
    z-index: 3;
}

.btn-service {
    color: white!important;
    background-color: transparent;
    border-color: white;
    border-radius: 2px;
}

.service:hover .btn-service {
    color: black!important;
    background-color: white;
    border-color: white;
}

.service:hover .imgBackground {
    transform: scale(1.5);
}

.service:hover .overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

figure {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
    padding: 20px;
}

.bubba-border {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 4;
}

.bubba-border::before,
.bubba-border::after {
    content: '';
    position: absolute;
    box-sizing: border-box;
    opacity: 0;
    transition: transform 0.35s, opacity 0.35s;
}

.bubba-border::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    transform: scaleX(0);
    transform-origin: center;
}

.bubba-border::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 2px solid white;
    border-right: 2px solid white;
    transform: scaleY(0);
    transform-origin: center;
}

.service:hover .bubba-border::before {
    opacity: 1;
    transform: scaleX(1);
}

.service:hover .bubba-border::after {
    opacity: 1;
    transform: scaleY(1);
}

.accueil {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.accueil hr {
    height: 3px;
    width: 40px;
    background-color: #005AE7;
    border: none;
    margin-top: 1rem;
}

.accueil .mt-5 button {
    margin: 0 1rem 1rem 1rem;
}
.section-header {
    background-color: #334155;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-header p {
    font-size: 36px;
    font-weight: bold;
    color: white;
}


.service-wrapper {
    padding: 10px;
    font-size: 25px;
}

.figcaption-style {
    text-align: center;
    z-index: 3;
}
.reference-section {
    background-color: #334155;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.reference-section p {
    max-font-size: 36px;
    font-size: 36px;
    font-weight: bold;
    color: white;
}

.trust {
    width: 66%;
}
.text-justify{
    text-align: justify;
}

@media (max-width: 768px) {
    .imgLogo {
        margin-bottom: 45%;
    }
    .accueil img {

        max-width: 70%;
        max-height: 65%;
    }
}
@media (min-width: 769px) {
    .imgLogo {
        margin-bottom: 15%;
    }
    .accueil img {

        max-width: 40%;
        max-height: 35%;
    }
}
@media (min-width: 1200px) {
    .ml-40-lg {
        margin-left: 40%;
    }

    .mr-40-lg {
        margin-right: 40%;
    }
}

@media (max-width: 1199.98px) {
    .ml-40-lg,
    .mr-40-lg {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

html, body {
    height: 100%;
    margin: 0;
}

#sliderCarousel {
    height: 100vh;
}

#sliderCarousel-inner,
.sliderCarousel-item {
    height: 100%;
}

.sliderCarousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
