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

.sec-1 {
    overflow-x: hidden;
}

.sec-1 .hero-img.show {
    max-width: 90vw;
    visibility: visible;
    position: absolute;
}
.sec-1 .hero-img.show {
    right: 0;
}

@media (min-width: 768px) {
    .sec-1 .hero-img,
    .sec-1 .hero-img.show {
        max-width: 50vw;
    }

    .sec-1 .hero-img.show {
        top: 0;
    }
}

@media only screen and (min-width: 76px) and (max-width: 991px) {
    .sec-1 .hero-img.show {
        right: -5%;
    }
}

@media (min-width: 1200px) {
    .sec-1 .hero-img,
    .sec-1 .hero-img.show {
        max-width: 45vw;
    }
}

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

/*-------------------------------------
 ================ sec-2 starts =============
 -------------------------------------- */
.sec-2 {
    background-color: #f6f6f6;
    height: 335px;
}
.sec-2 .card {
    border: none;
}

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

/*-------------------------------------
 ================ sec-4 starts =============
 -------------------------------------- */

.sec-4 .icon-bg {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    padding: 0.35rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--bg-input-inside-block);
}

/*-------------------------------------
 ================ sec-4 ends =============
 -------------------------------------- */

/*-------------------------------------
================ sec-5 starts =============
-------------------------------------- */
.sec-5 .expanding-card {
    border-radius: 0.25rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: unset;
    background: var(--colorBlue);
    transition: none;
    border: 1px solid var(--colorBlue);
    cursor: pointer;
}

.sec-5 .expanding-card .icon-bg {
    font-size: 40px;
    border-radius: 50%;
    min-width: 60px;
    width: 60px;
    display: flex;
    min-height: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: var(--bs-white);
}

.sec-5 .expanding-card .visible-content {
    display: none;
}

.sec-5 .expanding-card .hidden-content {
    display: flex;
    flex: 1;
}

.sec-5 .expanding-card a {
    display: flex;
    align-items: center;
}

.sec-5 .expanding-card a .material-symbols-outlined {
    font-size: 18px;
    margin-left: 5px;
}

a.visible-content > .material-symbols-outlined {
    color: var(--colorBlue);
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
    .sec-5 .expanding-card.active,
    .sec-5 .expanding-card:hover,
    .sec-5 .expanding-card {
        width: calc(50% - 0.25rem);
    }
}

@media (min-width: 992px) {
    .sec-5 .expanding-card {
        width: 80%;
        transition: 0.3s ease-in-out;
        height: 290px;
        border: 1px solid var(--bs-gray-400);
        background: var(--bs-white);
    }
    .sec-5 .expanding-card .icon-bg {
        background: var(--bg-input-inside-block);
    }

    .sec-5 .expanding-card .visible-content {
        display: block;
    }

    .sec-5 .expanding-card a.visible-content {
        display: flex;
    }

    .sec-5 .expanding-card .hidden-content {
        display: none;
        height: 100%;
        overflow: hidden;
    }

    .sec-5 .expanding-card.active,
    .sec-5 .expanding-card:hover {
        width: 160%;
        background: var(--colorBlue);
        border: 1px solid var(--colorBlue);
        transition: 0.3s ease-in-out;
    }

    .sec-5 .expanding-card.active .icon-bg,
    .sec-5 .expanding-card:hover .icon-bg {
        background: var(--bs-white);
    }

    .sec-5 .expanding-card.active .visible-content,
    .sec-5 .expanding-card:hover .visible-content {
        display: none;
    }

    .sec-5 .expanding-card.active .hidden-content,
    .sec-5 .expanding-card:hover .hidden-content {
        display: flex;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1280px) {
    .sec-5 .expanding-card {
        width: 70%;
        height: 315px;
    }
    .sec-5 .expanding-card,
    .sec-5 .expanding-card {
        width: 190%;
    }
}

@media (min-width: 1281px) {
    .sec-5 .expanding-card {
        height: 320px;
    }
}

@media (min-width: 1400px) {
    .sec-5 .expanding-card {
        height: 300px;
    }
}

@media (min-width: 1537px) {
    .sec-5 .expanding-card {
        height: 320px;
    }
}

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

/*-----------------------------------------
   =============== sec-6 start ===============
   ------------------------------------------*/
.sec-6 .card {
    border: 1px solid var(--colorBlue);
}

/*-----------------------------------------
=============== sec-6 end ===============
------------------------------------------*/
/*-------------------------------------
 ================ sec-7 starts =============
 -------------------------------------- */
.sec-7 .rounded-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    background-color: var(--colorBlue);
}

/*-------------------------------------
 ================ sec-7 ends =============
 -------------------------------------- */

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

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

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

@media (min-width: 992px) {
    .sec-8 .container .row {
        height: 350px;
    }
    .sec-8 .container .row .content {
        height: 100%;
    }
    .sec-8 .content-text {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .sec-8 .bg-wrapper {
        background-image: url('https://cdn.transactbridge.com/crm-software-payment-solution-india/banner.png');
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        border-radius: 0 8px 8px 0;
    }
}
/*-----------------------------------------
=============== Sec-8 end ===============
------------------------------------------*/
