/*-------------------------------------
================ sec-1 starts =============
-------------------------------------- */

.sec-1{
    background-image: url('https://cdn.transactbridge.com/ai-payment-solutions/ai-payment-solutions-hero.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 4rem 0;
    color: white;
    position: relative;
}
.sec-1 .container{
    position: relative;
    z-index: 1;
}
.sec-1::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,0.9360119047619048) 1%, transparent 30%, transparent 100%);
}

@media (max-width:768px) {

    .sec-1::before{
        background: rgba(0,0,0,.69);
    }
}

/*-------------------------------------
================ sec-1 ends =============
-------------------------------------- */

/*-------------------------------------
================ sec-2 starts =============
-------------------------------------- */
.sec-2 .card {
    border-color: transparent;
    padding: 2rem;
}
.icon-bg {
    font-size: 35px;
    border-radius: 50%;
    min-width: 60px;
    width: 60px;
    display: flex;
    min-height: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: var(--colorBlue);
}
@media (min-width: 768px) and (max-width: 991px){
    .sec-2 .h2{
        max-width: 70%;
    }   
}
@media (min-width: 992px){
    .sec-2 .h2{
        max-width: 50%;
    }
}

.sec-2 .h-card {
    padding: 1rem;
    border-radius: 0.55rem;
}
.sec-2 .content {
    flex-direction: column;
}

.icon-bg {
    font-size: 32px;
    border-radius: 50%;
    min-width: 55px;
    width: 55px;
    display: flex;
    min-height: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    background: var(--colorBlue);
}

@media (max-width: 991px){
    .sec-2 > .container > .row{
        flex-direction: column;
    }
}


/*-------------------------------------
================ sec-2 ends =============
-------------------------------------- */

/*-----------------------------------------
=============== Sec-3 start ===============
------------------------------------------*/
   .sec-3 .card {
    border: 1px solid var(--colorBlue);
    padding: 2rem;
}

/*-----------------------------------------
=============== Sec-3 end ===============
------------------------------------------*/

/*-----------------------------------------
=============== Sec-4 start ===============
------------------------------------------*/

@media (min-width: 576px) {
.img-frame>.img-bottom {
    left: 1rem;
    bottom: 1rem;
    width: 30px;
}

.img-frame>.img-top {
    right: 1rem;
    top: 1rem;
    width: 30px;
}

}

/*-----------------------------------------
=============== Sec-4 end ===============
------------------------------------------*/


/*-------------------------------------
 ================ sec-5 starts =============
 -------------------------------------- */
 .sec-5 .container {
    margin-right: 0;
}

.sec-5 .card-container {
    padding-left: 0.75rem;
    list-style: none;
    display: flex;
    gap: 2rem;
    overflow: hidden;
    margin-left: 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    margin-bottom: 0;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.sec-5 .left-button,
.sec-5 .right-button {
    cursor: pointer;
    font-size: 30px;
    color: var(--colorText);
}

.sec-5 .left-button:hover,
.sec-5 .right-button:hover {
    color: var(--colorBlue);
}

.sec-5 .card-container::-webkit-scrollbar {
    display: none;
}

.sec-5 .card-wrapper {
    scroll-snap-align: start;
}

.sec-5 .card {
    border: 1px solid var(--colorBlue);
    padding: 2rem;
    width: 300px;
}

.sec-5 .content-section,
.sec-5 .carousel-section {
    flex: 0 0 auto;
    position: relative;
}
.sec-5 .carousel-btns {
    position: absolute;
    width: 99vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 576px) {
    .sec-5 .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .sec-5 .container {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .sec-5 .container {
        max-width: calc(960px + calc(100vw - 960px) / 2);
    }

    .sec-5 .content-section {
        width: calc(33.33333333 / 100 * 960px);
    }

    .sec-5 .carousel-section {
        width: calc(calc(58.33333333 / 100 * 960px) + calc(100vw - 960px) / 2);
    }

    .sec-5 .left-button,
    .sec-5 .right-button {
        font-size: 50px;
    }

    .sec-5 .card-container {
        margin-right: -0.75rem;
    }

    .sec-5 .card {
        width: 400px;
    }
}

@media (max-width: 992px) {
    .sec-5 .carousel-section{
        margin-bottom: 6rem;
    }
}

@media (min-width: 1200px) {
    .sec-5 .container {
        max-width: calc(1140px + calc(100vw - 1140px) / 2);
    }

    .sec-5 .content-section {
        width: calc(33.33333333 / 100 * 1140px);
    }

    .sec-5 .carousel-section {
        width: calc(
            calc(58.33333333 / 100 * 1140px) + calc(100vw - 1140px) / 2
        );
    }
}

@media (min-width: 1400px) {
    .sec-5 .container {
        max-width: calc(1320px + calc(100vw - 1320px) / 2);
    }

    .sec-5 .content-section {
        width: calc(33.33333333 / 100 * 1320px);
    }

    .sec-5 .carousel-section {
        width: calc(
            calc(58.33333333 / 100 * 1320px) + calc(100vw - 1320px) / 2
        );
    }
}

/*-------------------------------------
 ================ sec-5 ends =============
 -------------------------------------- */

/*-------------------------------------
=============== sec-6 start ===============
--------------------------------------*/
.sec-6 .bg-wrapper {
    background-image: url('https://cdn.transactbridge.com/ai-payment-solutions/ai-banner.png');
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    border-radius: 0 0 8px 8px;
}

.sec-6 .polygon-shape::before {
    background-color: var(--colorBlue) !important;
}

.sec-6 .bg-img-container {
    max-height: 400px;
    height: 70vh;
}

@media (min-width: 576px) {
    .sec-6 .bg-img-container {
        max-height: unset;
        height: unset;
    }
}

@media (min-width: 576px) and (max-width: 991px){
    .sec-6 .bg-wrapper {
        border-radius: 0 8px 8px 0;
    }
}

@media (min-width: 992px) {
    .sec-6 .bg-wrapper {
        background-image: url('https://cdn.transactbridge.com/ai-payment-solutions/ai-banner.png');
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 0 8px 8px 0;
    }
}
/*-----------------------------------------
=============== sec-6 end ===============
------------------------------------------*/