@import url(https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap);

.customer-stories-success {
    width: 100%;
    padding: 160px 0 50px;
    background: #fff
}

.customer-stories-success * {
    font-family: Epilogue, sans-serif
}

.customer-stories-success .container {
    max-width: 1546px;
    padding: 0 13px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start
}

.customer-stories-success .tt {
    width: 100%;
    text-align: center;
    font-size: 52px;
    line-height: 1.25;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    font-weight: 600;
    color: #22333b
}

.customer-stories-success .reviews-sec-slider {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 128px;
    margin: 0
}

.customer-stories-success .reviews-sec-slider .wrap {
    position: relative;
    width: 100%
}

.customer-stories-success .grid-container {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    grid-template-rows:repeat(2, 1fr);
    grid-gap: 20px;
    padding: 0;
    margin: 0
}

.customer-stories-success .grid-container .card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 1px solid #bdbdbd
}

.customer-stories-success .grid-container .card a.lnkhr {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    border-bottom: 0 solid rgba(255, 160, 209, .9490196078);
    position: relative;
    z-index: 2
}

.customer-stories-success .grid-container .card:hover a.lnkhr {
    border-bottom: 20px solid rgba(255, 160, 209, .9490196078)
}

.customer-stories-success .grid-container .card.small {
    width: 100%;
    height: 350px
}

.customer-stories-success .grid-container .card.big {
    width: 100%;
    height: 724px;
    grid-column: 2/3;
    grid-row: 2/span 2
}

.customer-stories-success .grid-container .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(34, 51, 59, .1)), color-stop(85%, rgba(34, 51, 59, .8)));
    background: linear-gradient(180deg, rgba(34, 51, 59, .1) 0, rgba(34, 51, 59, .8) 85%)
}

.customer-stories-success .grid-container .card-title {
    font-size: 28px;
    margin-bottom: 0;
    line-height: 1.35;
    font-weight: 600;
    font-family: Poppins;
    max-width: 426px;
    color: #fff
}

.customer-stories-success .grid-container .card-content {
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 1.4583333333vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end
}

.customer-stories-success .grid-container .card-logo img {
    max-width: 213.75px;
    max-height: 55px;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain
}

@media screen and (max-width: 1350px) {
    .customer-stories-success {
        padding: 120px 0
    }

    .customer-stories-success .reviews-sec-slider {
        gap: 70px
    }

    .customer-stories-success .grid-container .card-title {
        font-size: 24px;
        max-width: 360px
    }

    .customer-stories-success .grid-container .card.small {
        height: 260px
    }

    .customer-stories-success .grid-container .card.big {
        height: 540px
    }
}

@media screen and (max-width: 1050px) {
    .customer-stories-success .tt {
        font-size: 26px
    }

    .customer-stories-success {
        padding: 60px 0
    }

    .customer-stories-success .reviews-sec-slider {
        gap: 40px
    }

    .customer-stories-success .grid-container .card-title {
        font-size: 20px;
        max-width: 260px
    }

    .customer-stories-success .grid-container .card.small {
        height: 210px
    }

    .customer-stories-success .grid-container .card.big {
        height: 440px
    }
}

@media screen and (max-width: 767px) {
    .customer-stories-success {
        padding: 50px 0
    }

    .customer-stories-success .reviews-sec-slider {
        gap: 45px
    }

    .customer-stories-success .grid-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        gap: 20px
    }

    .customer-stories-success .grid-container .card-content {
        padding: 15px
    }

    .customer-stories-success .grid-container .card-title {
        font-size: 20px;
        max-width: 100%
    }

    .customer-stories-success .grid-container .card-logo {
        width: 100%;
        padding: 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        top: 0;
        position: relative;
        left: 0
    }

    .customer-stories-success .grid-container .card-logo img {
        max-height: 38px
    }

    .customer-stories-success .grid-container .card.small {
        height: 250px
    }

    .customer-stories-success .grid-container .card.big {
        height: 250px
    }
}