.microfinance-banner {
    background-color: #0099A8;
    color: #fff;
    font-family: Titillium;
    margin-bottom: 150px;
}

.text-primary {
    color: var(--bs-primary) !important;
}

body {
    font-family: Titillium;
}

section {
}

.microfinance-banner .banner-block {
    padding-top: 70px;
}

.microfinance-banner .banner-block:last-child {
    /* border-left: 1px solid rgba(255, 255, 255, .6); */
    position: relative;
} 

.microfinance-banner .banner-block:not(.border-0):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: calc(100% + 110px);
    background-color: rgba(255, 255, 255, .6);
}

.microfinance-banner .banner-image {
    max-height: 600px;
    transform: translateY(100px);
    display: block
}

.banner-image {
    position: relative;
}

.banner-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1;
}

.banner-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 142px;
    height: 142px;
    background-color: #0099A8;
    z-index: 2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #fff;

    background-image: url(../img/microfinance/arrow-down-white.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10%;
}


.microfinance-services .nav-link {
    background-color: transparent;
    border: none;
    color: #000;
    border-radius: 0;

    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.microfinance-services .nav-link span {
    white-space: nowrap;

}

.microfinance-services .nav-link.active {
    background-color: transparent;
    border-bottom: 2px solid #0099A8;
    transition: all 0.3s ease-in-out;
    color: #000;
}

.microfinance-services .service-card {
    position: relative;
}

.microfinance-services .service-image {
    overflow: hidden;
    height: 350px;
}

.microfinance-services .service-action {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    
    background-image: linear-gradient(#0099A8, #0099A8);
    background-size: 0% 100%;
    transition: background-size .5s, color .5s;
    background-repeat: no-repeat;
}

.animate-bg-fill {
    
    background-image: linear-gradient(#0099A8, #0099A8);
    background-size: 0% 100%;
    transition: background-size .5s, color .5s;
    background-repeat: no-repeat;
}

.animate-bg-fill:hover {
    background-size: 100% 100%;
}

.microfinance-services .service-action:hover {
    background-size: 100% 100%;
}

.microfinance-services .service-action a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0 1rem;
    position: relative;
}

.microfinance-services .service-action a::before {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;

    background-image: url(../img/microfinance/plus.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
}

.ess-application {
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgb(218, 218, 218);
    /* margin-top: 100px; */
}

/* .ess-application::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 142px;
    height: 142px;
    background-color: #fff;
    border: 1px solid rgb(218, 218, 218);
    z-index: 2;
    border-radius: 50%;
    transform: translate(-50%, -50%);

    background-image: url(../img/microfinance/arrow-down-gray.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10%;
} */

.ess-application .list-group li {
    border-left: none;
    border-right: none;

    padding-left: 40px;
    list-style: none;
    position: relative;

    /* list-style-image: url(../img/microfinance/list-check.png);
    display: list-item;
    list-style-position: inside; */
}

.ess-application .list-group li::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(../img/microfinance/list-check.png);

    position: absolute;
    left: 0;
    top: 50%;
    background-size: contain;
    transform: translateY(-50%);
}

.ess-application .list-group {
    border-radius: 0;
}

.improve-banking {
    background-image: url(../img/microfinance/medium-shot-smiley-woman-holding-phone_23-2149303437.png);
    padding: 200px 0;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;

    background-color: #000;
    position: relative;
}

.improve-banking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.improve-banking .container {
    z-index: 1;
    position: relative;
}

.improve-banking .container::before {
    content: "";
    position: absolute;
    bottom: calc(-200px - 144px);
    left: 0;
    width: 142px;
    height: 142px;
    background-color: #fff;
    border: 1px solid rgb(218, 218, 218);
    z-index: 9;
    border-radius: 50%;
    transform: translate(-50%, -50%);

    background-image: url(../img/microfinance/arrow-down-gray.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10%;
}

.improve-banking .become-client, .button-half-arrow {
    margin-top: 50px;
    color: #fff;
    border-radius: 50px;
    border: 1px solid #fff;
    padding: 10px 20px;
    display: inline-block;
}

.improve-banking .become-client span:last-child {
    margin-bottom: 4px;
}

.improve-banking::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    z-index: 0;
    background-image: url(../img/microfinance/green-dots.png);
    background-repeat: no-repeat;
}

.owl-dots {
    display: none !important;
}

.investment-products {
    padding: 100px 0;
    position: relative;
}

.button-half-arrow-primary {
    background-color: #0099A8;
}


.button-half-arrow-primary:hover {
    opacity: 0.9;
    color: #fff;
}

.investment-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid rgb(243, 243, 243);
    height: calc(100% - 100px);
}

.investment-products-list {
    margin-top: 80px;
    position: relative;
}

.investment-products-list::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: calc(-.5 * var(--bs-gutter-x));
    border-left: 1px solid rgb(243, 243, 243);
    height: 100px;
}

@media screen and (max-width: 768px) {
    .investment-products::before {
        display: none;
        border: none;
    }
    
}


/* Simulateur de crédit */
.credit-simulation {
    padding: 70px 0;
}

.sim-content {
    margin-top: 40px;
}

.sim-content-right {
    border-radius: 15px;
    background-color: #0C2622;
}

.sim-content-right .sim-content-right-label {
    color: #D7E4E4;
    font-size: 14px;
    line-height: 40px;
}

.sim-content-right small {
    color: #D7E4E4;
}

.sim-content-right .sim-content-right-value {
    color: #fff;
    font-size: 18px;
    line-height: 60px;
}

.ui-slider-handle {
    border-radius: 20px !important;
    border: 1px solid #B2CCC1 !important;
    background: #fff !important;
    box-shadow: 1px 1px 4.2px 0px #00000040;

}

.ui-slider {
    background-color: #E8E8E9 !important;
}

.ui-slider-horizontal {
    border-radius: 10px !important;
}


.ui-slider-horizontal .ui-slider-range-min {
    background: #0099A8 !important;
    border-radius: 10px !important;
}

.sim-content-left {
    color: #5E676A;
}

/* Update CSS */

.icon-wrapper {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .help-element h3 {
    color: #0099A8;
    font-size: ;
} */

.help-element {
    margin-top: 50px;
}

.microfinance-services {
    padding-bottom: 80px;
    padding-top: 80px;
}

.type-of-account {
    padding: 70px 0 0;
    position: relative;
    border-top: 1px solid rgb(218, 218, 218);
    /* margin-top: 100px; */
}

.type-of-account .container {
    padding-bottom: 100px;
}

.type-of-account::before {
    /* content: "";
    position: absolute;
    top: 0;
    left: 15%;
    width: 142px;
    height: 142px;
    background-color: #fff;
    border: 1px solid rgb(218, 218, 218);
    z-index: 2;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background-image: url('../img/microfinance/arrow-down-gray.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10%; */
}

.bg-white .container {
    position: relative;
    padding-top: 120px;
}

.bg-white .container::before {
    content: "";
    position: absolute;
    bottom: calc(-200px - 144px);
    left: 0;
    width: 142px;
    height: 142px;
    background-color: #fff;
    border: 1px solid rgb(218, 218, 218);
    z-index: 9;
    border-radius: 50%;
    transform: translate(-50%, -143%);
    background-image: url('../img/microfinance/arrow-down-gray.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10%;
}

.account-img {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.account-img img {
    width: 100%;
}

/* .microfinance-banner-2 {
    margin-bottom: 120px;
} */

.microfinance-banner-2 .content {
    height: 700px;
    /* background-image: url('/assets/img/microfinance/banner-bg.png'); */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.banner-dark-box {
    color: #fff;
    background: #000;
    padding: 40px 40px 100px;
    position: relative;
    z-index: 2;
    margin-right: -150%;
}

.banner-dark-box strong {
    color: #0099A8;
}

@media(max-width: 991.98px) {
    .banner-dark-box {
        color: #fff;
        background: #000;
        padding: 40px 40px 100px;
        position: relative;
        z-index: 2;
        margin-right: 0;
    }
}