/*Card section two*/
.card-section-two {
    display: flex;
    justify-content: center;
    padding: 5.6rem 0;
}

.card-section-two .advantagestabsection {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    width: 90%;
    max-width: 1600px;
}

.card-section-two .advantagestabsection__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #2c2c2c;
    font-family: Josefin Sans, sans-serif;
    font-size: 4.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: 125%; /* 125% */
}

.card-section-two .advantagestabsection__heading svg {
    width: 25rem;
    height: auto;
}

.card-section-two .advantagestabsection__tabgroup {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card-section-two .advantagestabsection__tabgroup__tab {
    flex-basis: 31%;
    min-width: 39rem;
    padding: 3.7rem;
    background-color: #fff;
    border-radius: 3.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-section-two .advantagestabsection__tabgroup__tab__content {
    color: #2c2c2c;
    font-family: Josefin Sans, sans-serif;
    text-align: left;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.card-section-two .advantagestabsection__tabgroup__tab h3 {
    color: white;
    font-size: 2.4rem;
    line-height: 140%;
}

.card-section-two p {
    color: #495564;
    text-align: left;
    font-family: Lato, sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 155.556% */
    flex: 1;
}

.card-section-two .advantagestabsection__tabgroup__tab .icon-container {
    max-width: 7.2rem;
    min-width: 7.2rem;
    height: 7.2rem;
    border-radius: 7.2rem;
    background-color: #00bd1e;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-section-two .advantagestabsection__tabgroup .advantages-tab-1__content,
.card-section-two .advantagestabsection__tabgroup .advantages-tab-3__content,
.card-section-two .advantagestabsection__tabgroup .advantages-tab-4__content {
    width: 50%;
}

.card-section-two .advantagestabsection__tabgroup .last-tab {
    flex-basis: 31%;
    min-width: 39rem;
    background-color: #00381b;
    position: relative;
    align-items: flex-start;
    padding-top: 7.6rem;
}

.card-section-two .advantagestabsection__tabgroup .last-tab .content {
    width: 90%;
    color: #fff;
    text-align: left;
    font-family: Josefin Sans, sans-serif;
    font-size: 2.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.8rem; /* 155.556% */
    margin-bottom: 3.6rem;
}

.card-section-two .advantagestabsection__tabgroup .last-tab .advantages-card-background-image {
    border-bottom-right-radius: 3.2rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media only screen and (min-width: 1100px) and (max-width: 1140px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1100px) {
    .card-section-two .advantagestabsection__tabgroup {
        justify-content: center;
        gap: 3rem;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1000px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
        justify-content: center;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        min-width: 40rem;
    }
}

@media only screen and (min-width: 800px) and (max-width: 900px) {
    .card-section-two .advantagestabsection__tabgroup {
        justify-content: center;
        gap: 3rem;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }
}

@media only screen and (min-width: 700px) and (max-width: 800px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
        justify-content: center;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 700px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
        justify-content: center;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }
}

@media only screen and (min-width: 500px) and (max-width: 600px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
        justify-content: center;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        width: 39rem;
    }

    .card-section-two .advantagestabsection__heading {
        font-size: 3.2rem;
    }
}

@media only screen and (min-width: 320px) and (max-width: 801px) {
    .card-section-two .advantagestabsection__tabgroup {
        gap: 3rem;
        justify-content: center;
    }

    .card-section-two .advantagestabsection__tabgroup__tab {
        min-width: 100%;
    }

    .card-section-two .advantagestabsection__tabgroup .last-tab {
        min-width: 100%;
    }

    .card-section-two .advantagestabsection__heading {
        font-size: 3.2rem;
    }

    .card-section-two .advantagestabsection {
        padding-bottom: 0;
    }
}

/*End for card section two*/
