.home-legacy {
    background-image: url("../imgs/generic/building-trust.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed;
    /* Parallax effect */
}

.home-legacy .legacy-numbers .row:nth-child(1) {
    margin-bottom: 0px;
}

.home-legacy_overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.863), rgba(0, 0, 0, 56.25%));
    z-index: 1;
}

.home-legacy .container {
    position: relative;
    z-index: 1;
}

.legacy-heading_wrapper {
    text-align: center;
}

.cust-gap {
    row-gap: 20px;
}

@media screen and (min-width:1024px) {
    .cust-gap {
        row-gap: 60px;
    }
}

/* @media screen and (min-width: 992px) {
    .legacy-heading_wrapper {
        text-align: start;
    }
} */

.legacy-heading_wrapper .title {
    color: #fff !important;
}

.legacy-heading_wrapper .description {
    color: #fff !important;
    text-align: center !important;
}

.numberCard.-type-1 {
    flex-direction: column;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.numberCard.-type-1 .numberCard__number {
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 2.5px;
    text-align: center;
    background: linear-gradient(90deg, #ffd37b, #c9a32e, #ffcf57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 1280px) {
    .numberCard.-type-1 .numberCard__number {
        font-size: 60px;
    }
}

@media (max-width: 991px) {
    .numberCard.-type-1 .numberCard__number {
        font-size: 72px;
    }
}

@media (max-width: 575px) {
    .numberCard.-type-1 .numberCard__number {
        font-size: 60px;
        margin-top: 30px;
    }
}

.numberCard.-type-1 .numberCard__title {
    z-index: 1;
    font-size: 18px;
    font-weight: 500;
    /* margin-top: 160px; */
    /* margin-bottom: 30px; */
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
    color: white;
    /* background: linear-gradient(90deg, #fff, #c9a, #ffc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
}

/* .numberCard__title {
    margin-top: 10px !important;
    color: white;
} */

.legacy-numbers_wrapper {
    gap: 0px;
  }