section.about-info .info-container p {
    font-size: 15px;
    font-weight: 300;
    font-family: var(--poppins);
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #565656;
    margin-bottom: 20px;
}

.about-info .section-title span {
    display: block;
    font-size: 90px;
    text-align: center;
}

.about-info .section-title p {
    font-size: 38px;
    margin-left: -145px;
}

.brokerage-img {
    width: 380px;
    height: 420px;
    position: relative;
}

.brokerage-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    transition: all ease-in-out 0.35s;
    opacity: 0;
    z-index: 1;
}

.brokerage-container a:hover .brokerage-img::before {
    opacity: 0.6;
}

.brokerage-img img {
    width: 100%;
    /*height: 100%;*/
    height: 420px;
    object-fit: cover;
    object-position: top;
}

.brokerage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.brokerage-bg canvas {
    filter: grayscale(1);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-brokerage {
    position: relative;
}

.about-brokerage::after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: -1;
    position: absolute;
    display: none;
}

.about-brokerage .section-title span {
    font-size: clamp(35px,3.4375000000000004vw,55px) !important;
    color: #515151;
}

.about-brokerage .section-title p {
    font-size: clamp(17px,1.4375vw,23px);
    color: #515151;
    letter-spacing: 0.04em;
    font-weight: 300;
}

.history-img {
    width: 700px;
    height: 700px;
}

.history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-history .section-title span {
    font-size: 90.06px;
}

.about-history .section-title p {
    font-size: 35.02px;
}

section.about-history .history-info p {
    font-size: 15px;
    font-weight: 300;
    font-family: var(--poppins);
    line-height: 26px;
    letter-spacing: 0.02em;
    color: #565656;
    margin-bottom: 20px;
}

.brokerage-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 92px;
    flex-wrap: wrap;
    gap: 10px;
}

.brokerage-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 92px 0;
    margin: auto;
    max-width: 1600px;
}

.brokerage-container {
    overflow: hidden;
}

.brokerage-container a img {
    transition: all ease-in-out 0.35s;
}

.brokerage-container a:hover img {
    transform: scale(1.1);
}

.brokerage-wrap .brokerage-container {
    /*margin-right: 13px;*/
    margin-right: unset !important;
}

.brokerage-wrap .brokerage-container:last-child {
    margin-right: 0;
}

.about-info .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-info .container {
    width: 1185px;
    padding: 0;
}

.about-info .section-title p::after {
    content: '';
    height: 2px;
    width: 120px;
    background: #a33038;
    position: absolute;
    top: 4px;
    bottom: 0;
    margin: auto;
    right: -135px;
}

.info-container {
    max-width: 1065px;
    margin: auto;
    margin-top: 65px;
}

.about-info {
    /* padding: 112px 0px 98px; */
    padding: 0;
}

.history-right {
    margin: auto;
    margin-left: 138px;
    max-width: 618px;
    padding-top: 70px;
}

.history-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.atesti-img {
    width: 795px;
    height: 500px;
}

.atesti-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.atesti-left .section-title p {
    font-size: 35.02px;
}

.atesti-left .section-title span {
    font-size: 90.06px;
}

.atesti-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.atesti-left {
    margin-right: 185px;
}

.about-history {
    max-width: 1600px;
    margin: auto;
}

.about-testimonials {
    margin: auto;
    margin-top: 60px;
    max-width: 1600px;
}

.atesti-flex-bottom {
    max-width: 1560px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: auto;
    margin-top: 24px;
    flex-direction: row;
}

.atesti-container {
    width: 775px;
    height: 435px;
    background: black;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 70px 120px 80px;
    margin-bottom: 10px;
}

.stars-container {
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.stars-container i {
    color: #ffc107;
    font-size: 30px;
    margin-right: 8px;
}

.stars-container i:last-child {
    margin-right: 0;
}

.atesti-content p {
    font-size: 15px;
    font-weight: 300;
    font-family: var(--poppins);
    line-height: 26px;
    letter-spacing: 0.04em;
    color: white;
    margin: 30px 0px;
}

.atesti-content p:first-child {
    margin-top: 0;
}

.atesti-name span {
    font-size: 15px;
    font-weight: 500;
    font-family: var(--poppins);
    line-height: 26px;
    letter-spacing: 0.04em;
    color: white;
}

.pagination {
    font-weight: 300;
    font-family: var(--poppins);
    font-size: 15px;
    color: #747474;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    transition: all ease-in-out 0.35s !important;
}

.pagination .active, .pagination .current {
    color: #a33038;
}

.pagination a {
    transition: all ease-in-out 0.35s !important;
}

.pagination a:hover {
    color: #a33038;
}

.pagination .next {
    font-weight: 500;
    margin-left: 45px;
}

.pagination .next em {
    margin-left: 16px;
    font-style: normal;
}

/* .pagination .page-numbers{

    border-right: 1px solid #cccccc;

    margin-right: 22px;

    padding: 10px 0px;

    padding-right: 24px;

} */
.pagination .page-numbers:nth-child(8) {
    padding-right: 0;
    margin-right: 0;
    border: none;
}

.pagination .next.page-numbers {
    border: none;
}

.pagination .prev em {
    margin-right: 16px;
    font-style: normal;
}

.history-info {
    margin-top: 35px;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-numbers li {
    border-right: 1px solid #cccccc;
    margin-right: 22px;
    padding: 10px 0px;
    padding-right: 24px;
}

.pagination .page-numbers li:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.pagination .next {
    margin-left: 0;
}

.atesti-container {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.atesti-container.loaded {
    opacity: 1;
}

/* .brokerage-verbiage {
    padding: 0 20px;
    text-align: center;
    max-width: 80%;
    margin: 65px auto 0;
}

.brokerage-verbiage p {
    font-size: 15px;
    font-weight: 300;
    font-family: var(--poppins);
    line-height: 1.733;
    letter-spacing: 0.02em;
    color: #565656;
    margin-bottom: 20px;
}

.brokerage-verbiage p:last-child {
    margin-bottom: 0;
} */
@media only screen and (max-width: 1570px) {
    .about-info .section-title span,.about-brokerage .section-title span,.about-history .section-title span,.atesti-left .section-title span {
        font-size: clamp(3.125rem, 6.579vw - 0.954rem, 5.625rem);
    }

    .about-info .section-title p,.about-brokerage .section-title p,.about-history .section-title p,.atesti-left .section-title p {
        font-size: clamp(1.563rem, 2.138vw + 0.237rem, 2.375rem);
    }

    section.about-info .info-container p, section.about-history .history-info p, .atesti-content p, .pagination, .atesti-name span {
        font-size: clamp(0.688rem, 0.658vw + 0.28rem, 0.938rem);
    }

    .brokerage-img {
        width: 100%;
        height: auto;
    }

    .brokerage-wrap .brokerage-container {
        margin-right: 13px;
        width: 24.374599102%;
    }

    .history-img {
        width: 100%;
    }

    .history-left {
        width: 43.75%;
    }

    .atesti-img {
        width: 100%;
    }

    .atesti-right {
        width: 49.6875%;
    }

    .atesti-container {
        width: 49.6794871795%;
    }

    .about-info .container {
        width: clamp(54.688rem, 50.987vw + 23.076rem, 74.063rem);
    }

    .brokerage-flex {
        max-width: clamp(59.688rem, 106.086vw - 6.086rem, 100rem);
    }

    .history-right {
        margin-left: clamp(3.75rem, 12.829vw - 4.204rem, 8.625rem);
        max-width: clamp(25rem, 35.855vw + 2.77rem, 38.625rem);
    }

    .atesti-left {
        margin-right: clamp(7.188rem, 11.513vw + 0.049rem, 11.563rem);
    }

    .atesti-container {
        padding: 70px clamp(2.813rem, 9.868vw - 3.306rem, 6.563rem) 80px;
    }

    .atesti-flex-bottom {
        max-width: clamp(59.688rem, 99.507vw - 2.007rem, 97.5rem);
    }

    .brokerage-flex {
        padding: clamp(2.813rem, 7.73vw - 1.98rem, 5.75rem) 0 clamp(2.813rem, 7.73vw - 1.98rem, 5.75rem);
    }

    .info-container {
        margin-top: clamp(2.188rem, 4.934vw - 0.872rem, 4.063rem);
        /* margin-top: 0; */
    }

    .brokerage-wrap {
        margin-top: clamp(2.813rem, 7.73vw - 1.98rem, 5.75rem);
    }
}

@media only screen and (max-width: 991px) {
    .about-info {
        /* padding: 15px 0px 98px; */ padding: 0;
    }

    .about-info .section-title p::after {
        right: 0;
        left: 0;
        width: 100%;
        bottom: -25px;
    }

    .about-info .container {
        width: 90%;
    }

    .brokerage-flex {
        max-width: 97%;
    }

    .brokerage-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .brokerage-wrap .brokerage-container {
        margin-right: 0;
        width: 100%;
        margin-bottom: 13px;
        font-size: 0;
    }

    .about-info .section-title p {
        margin-left: 0;
    }

    .history-img {
        height: auto;
        font-size: 0;
    }

    .history-flex {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        max-width: 95%;
        margin: auto;
    }

    .history-left {
        width: 80%;
        margin-bottom: 30px;
    }

    .history-right {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .info-container {
        text-align: center;
    }

    .atesti-flex {
        display: flex;
        justify-content: center;
        flex-direction: column;
        max-width: 90%;
        margin: auto;
    }

    .atesti-left {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .atesti-right {
        width: 100%;
    }

    .atesti-flex-bottom {
        max-width: 95%;
    }

    .atesti-flex-bottom {
        flex-direction: column;
        align-items: center;
    }

    .atesti-container {
        width: 90%;
    }

    .atesti-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .pagination .page-numbers {
        margin-bottom: 10px;
    }

    .pagination {
        flex-wrap: wrap;
        max-width: 95%;
        margin: auto;
        padding-top: 10px;
    }

    .about-brokerage .section-title span {
        margin-top: 5px;
    }
}

@media only screen and (max-width: 480px) {
    .section-title span {
        font-size: 38px !important;
    }

    .brokerage-flex {
        max-width: 90%;
    }

    .history-left {
        width: 95%;
    }

    .atesti-container {
        padding: 55px 15px;
        height: auto;
        width: 100%;
    }

    .atesti-flex {
        max-width: 95%;
    }
}
