/************
How Section
*************/
.how-section {
    padding: 12rem 0;
}

.steps {
    display: grid;
    grid-template-columns: 0.8fr 0.7fr 0.7fr 0.8fr 0.9fr 0.5fr 0.75fr;
    font-size: 1.8rem;
    border-left: 0.1rem solid rgb(232, 232, 232);
    width: 90%;
}

.steps > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.step {
    padding: 2rem 1.5rem;
    background: #fff;
    -webkit-filter: drop-shadow(0 1px 5px #c4c1c1);
    -moz-filter: drop-shadow(0 1px 5px #c4c1c1);
    -ms-filter: drop-shadow(0 1px 5px #c4c1c1);
    -o-filter: drop-shadow(0 1px 5px #c4c1c1);
    filter: drop-shadow(0 1px 4px #c4c1c1);
}

.media {
    padding-right: 0;
}

.step:after {
    content: "";
    position: absolute;
    top: 11%;
    left: 100%;
    border-left: 2rem solid #fff;
    border-top: 4rem solid transparent;
    border-bottom: 4.8rem solid transparent;
}

.estimate-prices {
    color: #fff;
    background: #729cff;
    padding: 1rem 1rem 1rem 1.2rem;
    align-self: center;
    transition: all 0.2s;
}

.estimate-prices:hover {
    color: #fff;
    background: #588afe;
}

.estimate-prices:after {
    content: "";
    position: absolute;
    top: -1%;
    left: 100%;
    border-left: 3rem solid #729cff;
    border-top: 4.4rem solid transparent;
    border-bottom: 5rem solid transparent;
}

.interprice-steps {
    font-size: 1.6rem;
}

.estimate-prices {
    cursor: pointer;
}
.estimate-prices > span:first-child {
    font-size: 1.2rem;
    opacity: 0.7;
    text-align: center;
}

/************
Number Section
*************/

.blue-background {
    background-color: #f4f7ff;
}

.numbers-container {
    color: #263d66;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}
.numbers-container > div {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.numbers-container > div > span:nth-child(2) {
    font-size: 5rem;
}

/************
Useful Section
*************/

.useful-section {
    padding: 12rem 0;
}

.useful-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    row-gap: 8rem;
    width: 65%;
    margin: auto;
}

.useful-blocks div {
    width: 85%;
    box-shadow: 0 0 8px #d6d4d4;
    padding: 2rem 1.5rem 8rem 1.5rem;
    position: relative;
    background-color: white;
}

.useful-blocks h2 {
    font-weight: bold;
    margin-bottom: 2rem;
}

.useful-blocks p {
    font-size: 1.4rem;
    color: #707070;
    line-height: 1.8;
}

.useful-blocks a {
    position: absolute;
    right: 7%;
    bottom: 10%;
}

/************
News section
*************/
.news-section {
    padding-bottom: 12rem;
}

.wrap {
    position: relative;
}

.news-cont-div {
    align-items: center;
}

.news-cont-div h2 {
    font-weight: bold;
    font-size: 3.6rem;
    margin-bottom: 4rem;
}

.news-cont-div img {
    width: 50rem;
}

.news-cont-div p {
    font-size: 1.4rem;
    opacity: 0.5;
}

.news-cont-div h3 {
    font-size: 2.4rem;
    opacity: 0.6;
}

.news-text-div {
    width: 50%;
    padding-left: 3rem;
}

.news-section .arrow-div {
    position: absolute;
    top: 85%;
    right: 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.news-section .arrow {
    cursor: pointer;
    padding: 0;
}

.arrow-left,
.arrow-right-dis {
    display: none;
}

.circle {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background-color: #dee7fc;
}
