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

.sec-1 {
    overflow: hidden;
}

@media (max-width: 767px) {
    .sec-1 p {
        width: 90%;
    }
}

@media (min-width: 768px) {
    .sec-1 p {
        width: 50%;
    }
}

.hero-img {
    position: relative;
    bottom: -2rem;
}

@media (min-width: 700px) {
    .hero-img {
        bottom: -4rem;
    }
}
@media (min-width: 1000px) {
    .hero-img {
        bottom: -6rem;
    }
}
/*-------------------------------------
================ sec-1 ends =============
-------------------------------------- */

/*-------------------------------------
================ sec-2 starts =============
-------------------------------------- */
.sec-2 .container {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.sec-2 .card {
    border-color: var(--border-gray);
    padding: 0.5rem;
}
.icon-bg {
    font-size: 32px;
    border-radius: 50%;
    width: 45px;
    display: flex;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--colorBlue);
}
@media (min-width: 992px) {
    .sec-2-heading {
        width: 80%;
    }
    .sec-2 .card {
        padding: 1rem 1.5rem 1rem 1.5rem;
    }

    .economyDefSec {
        gap: 5rem;
    }
}
.step-label {
    position: absolute;
    top: -1.9rem;
    left: 0;
    padding-bottom: 1rem;
    padding-top: 0.45rem;
}
.card-wrapper {
    position: relative;
    height: 100%;
}

/*-------------------------------------
================ sec-2 end =============
-------------------------------------- */

/*-----------------------------------------
   =============== sec-3 start ===============
   ------------------------------------------*/

.earth-wrapper {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.earth-img {
    max-width: 315px;
}

.sec-3 .card {
    background: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    width: 316px;
}

.card-topleft {
    top: 10%;
    left: -4%;
}
.card-midleft {
    top: 40%;
    left: -8%;
}
.card-bottomleft {
    bottom: 11%;
    left: -4%;
}

.card-topright {
    top: 10%;
    right: -4%;
}
.card-midright {
    top: 40%;
    right: -8%;
}
.card-bottomright {
    bottom: 11%;
    right: -4%;
}
.earthStep {
    gap: 0.5rem;
}
@media (min-width: 1200px) {
    .sec-3 .card {
        width: 364px;
    }
    .earth-img {
        max-width: 448px;
    }
    .card-topleft {
        top: 10%;
        left: -16%;
    }
    .card-midleft {
        top: 40%;
        left: -22%;
    }
    .card-bottomleft {
        bottom: 16%;
        left: -16%;
    }

    .card-topright {
        top: 10%;
        right: -16%;
    }
    .card-midright {
        top: 40%;
        right: -22%;
    }
    .card-bottomright {
        bottom: 16%;
        right: -16%;
    }
}
@media (max-width: 967px) {
    .earth-mobile {
        overflow: hidden;
        padding: 0;
    }

    .earth-img-mobile {
        width: 412px;
        max-width: none;
        position: relative;
    }
    .earthStep {
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .earth-mobile {
        overflow: hidden;
        padding: 0;
    }

    .earth-img-mobile {
        width: 417px;
        max-width: none;
        position: relative;
        left: 4%;
    }
}
@media (max-width: 567px) {
    .earth-mobile {
        overflow: hidden;
        padding: 0;
    }

    .earth-img-mobile {
        width: 380px;
        max-width: none;
        position: relative;
        left: -29%;
    }
    .earth-text {
        font-size: 10px !important;
    }
}
/*-------------------------------------
================ sec-3 end =============
-------------------------------------- */

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

/*-----------------------------------------
=============== 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: none;
    /* 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 (max-width: 992px) {
    .tb-btn {
        font-size: 10px !important;
    }
}
@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: 314px;
    }
}

@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);
    }
}
.carouselImg {
    width: 300px;
    height: 200px;
}
/*-------------------------------------
 ================ sec-5 ends =============
 -------------------------------------- */

/*-------------------------------------
================ sec-6 starts =============
-------------------------------------- */
.sec-6 .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-6 .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-6 .expanding-card .visible-content {
    display: none;
}

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

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

.sec-6 .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-6 .expanding-card.active,
    .sec-6 .expanding-card:hover,
    .sec-6 .expanding-card {
        width: calc(50% - 0.25rem);
    }
}

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

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

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

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

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

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

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

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

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

/*-------------------------------------
================ sec-6 ends =============
-------------------------------------- */

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

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

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

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