.hero-container {
    align-self: center;
    margin-top: 69px;
    width: 100%;
    max-width: 1500px;
}

.hero-content {
    gap: 20px;
    display: flex;
    width: 1136px;
    max-width: 100%;
    margin: 0 auto;
}

.terms-section {
    background-color: rgba(244, 244, 244, 1);
    display: flex;
    margin: 52px 0 0;
    width: 100%;
    padding: 108px 0 0;
    flex-direction: column;
    overflow: hidden;
}

.terms-wrapper {
    background-color: rgba(248, 241, 235, 1);
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0 70px 74px;
}

.terms-content {
    border-radius: 12px 12px 0 0;
    background-color: rgba(255, 255, 255, 1);
    margin-top: -108px;
    width: 1136px;
    max-width: 100%;
    padding: 45px 77px;
}

.terms-heading {
    font-size: 54px;
    font-weight: 600;
    align-self: start;
}

.terms-description {
    font-size: 14px;
    font-weight: 500;
    line-height: 19px;
    margin-top: 51px;
}

@media (max-width: 991px) {
    .terms-section {
        max-width: 100%;
        padding-top: 100px;
        margin-top: 40px;
    }

    .terms-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }

    .terms-content {
        padding: 0 20px;
    }

    .terms-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .terms-heading {
        font-size: 40px;
    }

    .terms-description {
        max-width: 100%;
        margin-top: 40px;
    }

    .hero-container {
        max-width: 100%;
        margin-top: 40px;
    }
}
