* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Oxanium";
    src: url("font/Oxanium-VariableFont_wght.ttf") format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter";
    font-size: 16px;
}

header {
    width: 100%;
    height: 96px;
    padding: 0px 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    border-bottom: 1px solid #C6C7C8;
}

a {
    text-decoration: none;
    color: #39414B;
}

.rmk-logo {
    width: 184px;
    height: 48px;
}

.rmk-logo img {
    width: 100%;
    height: 100%;
}

.header-nav {
    width: 100%;
    max-width: 493px;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.header-contacts {
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    color: #39414B;
}

.header-contacts p {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-contacts a {
    font-family: "Oxanium" !important;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

main {
    width: 100%;
    max-width: 1516px;
    margin: 0 auto;
}

.banner-block {
    position: relative;
    margin-top: 25px;
    width: 100%;
    height: 500px;
    /* border-radius: 14px; */
    background-image: url(img/topbanner.png);
    background-repeat: no-repeat;
    background-size: cover;
    /* border: 3px solid white; */
}

.banner-block-info {
    position: relative;
    width: 990px;
    height: 310px;
    padding: 40px 0px 0px 230px;
    /* background-image: url(img/blockbannerback.png);
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 90px;
    background-position-y: 20px; */
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* border-bottom-right-radius: 4px;  */
    z-index: 2; 
}

.banner-block-info h1 {
    font-size: 48px;
    font-weight: 700;
    color: #050D27;
    text-transform: uppercase;
}

.banner-block-info h2 {
    font-size: 47px;
    font-weight: 600;
    color: #155FB9;
    text-transform: uppercase;
}

.banner-block-info p {
    font-size: 20px;
    color: #4E515B;
    line-height: 140%;
    margin-top: 5px;
}

.banner-block-button {
    width: 442px;
    height: 64px;
    color: white;
    background-color: #070781;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
    bottom: 100px;
    left: 230px;
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
}

.about-block {
    margin-top: 65px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.about-block-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-block-title-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    color: #4E515B;
}

.about-block-title-item.right {
    align-items: end;
}

.about-block-title-item p {
    font-size: 20px;
}

.about-block-title-item h2 {
    font-size: 36px;
    color: #050D27;
    font-weight: 600;
    text-transform: uppercase;
}

.about-block-title-item span {
    color: #155FB9;
}

.about-block-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.grid-card.card-wide {
    grid-column: span 2;
}

.grid-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #C6C7C8;
    border-radius: 8px;
    padding: 20px;
    height: 275px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 2;
}

.card-content {
    max-width: 85%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    z-index: 2;
}

.card-content h3 {
    font-size: 20px;
    color: #050D27;
    font-weight: 600;
    z-index: 2;
}

.card-content p {
    font-size: 16px;
    color: #050D27;
    line-height: 140%;
    display: -webkit-box; 
    -webkit-box-orient: vertical;   
    -webkit-line-clamp: 4;
    line-clamp: 4;   
    overflow: hidden;
    z-index: 2;
}

.card-link {
    display: flex;
    width: 185px;
    height: 40px;
    color: #070781;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.link-icon svg {
    transition: transform 0.3s ease;
}

.svg-rect {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.svg-arrow {
    transition: fill 0.3s ease;
}

.card-link:hover .link-icon svg {
    transform: scale(0.85); 
}

.card-link:hover .svg-rect {
    fill: #070781; 
}

.card-link:hover .svg-arrow {
    fill: #ffffff; 
}

.link-icon {
    width: 40px;
    height: 40px;
    z-index: 2;
}

.link-icon svg {
    width: 100%;
    height: 100%;
}

.link-text {
    font-weight: 600;
    z-index: 2;
}

.card-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 50%;
  max-height: 90%;
  object-fit: contain;
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

.portfolio-block {
    margin-top: 65px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-block-items {
    width: 100%;
    margin-top: 50px;
}

.project-item {
    display: flex;
    align-items: flex-start;
    gap: 30px; 
    width: 100%;
    padding-bottom: 50px;
    border-bottom: 1px solid #C6C7C8;
    margin-top: 50px;
}

.project-item:first-child {
    margin: initial;
}

.project-item:last-child {
    border: initial;
    padding: initial;
}

.project-number {
    width: 62px;
    height: 62px;
    font-family: "Oxanium";
    box-shadow: 2px 2px 0px 1px #c6c7c84d;
    flex-shrink: 0;
    font-size: 36px;
    font-weight: 600;
    color: #070781;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card {
    display: flex;
    gap: 20px;
    width: 82%;
}

.project-image {
    width: 510px;
    height: 330px;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-info-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-info h2 {
    font-size: 24px;
    font-weight: 500;
    color: #050D27;
}

.project-info p {
    font-size: 16px;
    color: #050D27;
    line-height: 140%;
}

.project-btn {
    width: 300px;
    height: 55px;
    border-radius: 8px;
    background: #070781;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: "Inter";
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.btn-icon {
    width: 30px;
    height: 30px;
}

.stepwork-block {
    margin-top: 65px;
    width: 100%;
}

.steps-timeline {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
}


.steps-timeline::before {
    content: "";
    position: absolute;
    top: 18px; 
    left: 30px;
    right: 30px;
    height: 2px;
    border-top: 2px dashed #0052cc; 
    z-index: 1;
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  z-index: 2;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #0052cc;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ffffff; 
}

.step-title {
    font-weight: 600;
    color: #111111;
    margin-bottom: 10px;
    min-height: 20px;
}

.step-desc {
    color: #4E515B;
    max-width: 150px;
}

.feedback-container {
    margin-top: 65px;
    display: flex;
    width: 100%;
    gap: 20px;
    margin-bottom: 65px;
}

.feedback-info {
    width: 100%;
    max-width: 616px;
    height: 430px;
    background-image: url(img/feedbackback.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding: 25px 0px 0px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: "Inter";
    border-radius: 18px;
}

.info-tag {
    font-size: 20px;
    color: #F8F9FF;
    margin-bottom: 25px;
    font-weight: 400;
}

.feedback-info h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 40px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-list li {
    position: relative;
    padding-left: 15px;
    opacity: 0.9;
    color: #F8F9FF;
    font-weight: 400;
}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.feedback-form {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #C6C7C8;
    border-radius: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 15px;
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group {
    position: relative;
    height: 50px;
}

.form-group input, 
.form-group select {
    width: 100%;
    height: 30px;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #C6C7C8;
    color: #111111;
    background: transparent;
    outline: none;
}

.form-group label {
    position: absolute;
    top: 0px;
    left: 0;
    color: #4E515B;
    pointer-events: none;
    transition: 0.2s ease all;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -21px;
    font-size: 14px;
    color: #0f62fe;
}

.form-group input:focus,
.form-group select:focus {
    border-bottom-color: #0f62fe;
}

.select-group select {
    cursor: pointer;
}

.file-upload {
    margin-bottom: 20px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.file-text {
    color: #050D27;
    text-decoration: underline;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: auto;
}

.project-btn.feedback {
    width: 350px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: #050D27;
    user-select: none;
    padding-left: 25px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    border: 1px solid #050D27;
    border-radius: 3px;
    background-color: #fff;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #ffffff;
    border-color: #050D27;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 1px;
    width: 4px;
    height: 10px;
    border: solid #000066;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

footer {
    background-color: #F8F9FF;
    width: 100%;
    padding: 60px 200px;
}

.footer-advantages {
    width: 100%;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    /* background-image: url(img/footerback.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center; */
}

.footer-advantages-items {
    width: 100%;
    display: flex;
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 6px;
    flex: 1;
}

.advantage-icon {
    width: 26px;
    height: 26px;
}

.advantage-item p {
    color: #050D27;
    line-height: 140%;
}

.contacts-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.contacts-info {
    display: flex;
    flex-direction: column;
}

.contacts-tag {
    font-size: 20px;
    color: #4E515B;
    margin-bottom: 10px;
}

.contacts-info h2 {
    font-size: 36px;
    font-weight: 600;
    color: #050D27;
    margin-bottom: 20px;
}

.contacts-address {
    font-size: 20px;
    color: #050D27;
    margin-bottom: 20px;
}

.contacts-time {
    color: #050D27;
    margin-bottom: 20px;
}

.contacts-phone, .contacts-email {
    font-family: "Oxanium";
    font-size: 20px;
    color: #050D27;
    margin-bottom: 20px;
}

.contacts-email {
    color: #39414B;
}

.contacts-socials {
    display: flex;
    gap: 5px;
    align-items: center;
}

.social-icon {
    width: 30px;
    height: 30px;
}

.social-icon img {
    width: 100%;
}

.contacts-map {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #e5e5e5;
}

.main-footer {
    padding: 66px 0px 0px;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.rmk-logo.footer {
    width: 400px;
    height: fit-content;
    flex-shrink: 0;
}

.rmk-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-menu li {
    color: #050D27;
    font-weight: 600;
}

.footer-right-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-right-contacts a {
    font-size: 36px;
    color: #070781;
    font-family: "Oxanium";
    font-weight: 600;
    text-transform: uppercase;
}

.footer-right-contacts img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.footer-right-contacts p {
    font-size: 20px;
    color: #050D27;
}

.footer-bottom-row {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #C6C7C8;
    padding-top: 40px;
    text-decoration: underline;
    font-size: 14px;
    color: #4E515B;
    font-weight: 400;
}

@media (min-width: 1930px) {
    .banner-block {
        max-width: 1920px;
        margin: 25px auto;
    }
}

@media (max-width: 1710px) {
    header {
        padding: 0 100px;
    }

    .banner-block {
        margin: 25px auto;
        height: 420px;
    }

    main {
        max-width: initial;
        padding: 0 20px;
    }

    footer {
        padding: 30px 100px;
    }

    .banner-block-info {
        width: 780px;
        padding: 40px 0px 0px 20px;
    }

    .banner-block a {
        left: 20px;
        bottom: 40px;
    }
}

@media (max-width: 1560px) {
    .grid-card {
        height: 300px;
    }

    .grid-card.other {
        height: 250px;
    }

    .footer-advantages {
        height: 330px;
    }

    .about-block-title-item.right p {
        width: 80%;
        text-align: end;
    }

    .header-contacts a, .footer-right-contacts a, .footer-right-contacts p {
        font-size: 16px;
        display: flex;
        align-items: center;
    }

    .header-contacts a {
        white-space: nowrap;
    }

    .header-contacts {
        max-width: 470px;
    }

    .footer-right-contacts img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 1400px) {
    .grid-card {
        height: 330px;
    }

    .footer-advantages-items {
        flex-direction: column;
    }

    .contacts-section {
        gap: 20px;
    }

    .header-contacts {
        flex-direction: column;
        gap: initial;
        width: initial;
        max-width: initial;
        align-items: flex-end;
    }

    .banner-block {
        height: 360px;
    }

    .banner-block-info {
        width: 590px;
        height: 235px;
    }

    .banner-block-info h1 {
        font-size: 32px;
    }

    .banner-block-info h2, .about-block-title-item h2, .contacts-info h2,
    .feedback-info h2 {
        font-size: 28px;
    }

    .banner-block a {
        bottom: 50px;
    }

    .feedback-info {
        background-position-x: -50px;
    }
}

@media (max-width: 1150px) {
    header, main  {
        padding: 0px 30px;
    }

    footer {
        padding: 30px 30px;
    }

    .banner-block-info h1 {
        font-size: 28px;
    }

    .banner-block-info h2, .about-block-title-item h2, .contacts-info h2,
    .feedback-info h2 {
        font-size: 24px;
    }

    .banner-block-info p, .about-block-title-item p, .about-block-title-item.right p
    ,.card-content h3, .contacts-tag, .contacts-address, .contacts-time
    ,.contacts-phone, .contacts-email, .info-tag {
        font-size: 18px;
    }

    .banner-block-info {
        padding-right: 10px;
    }

    .about-block-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-card {
        height: 250px;
    }

    .about-block-grid.other {
        display: flex;
    }

    .grid-card.other {
        width: 100%;
    }

    .about-block-title-item.right p {
        width: 70%;
    }

    .project-item {
        gap: 15px;
    }

    .project-card {
        width: 100%;
    }

    .project-image {
        width: 410px;
        height: 270px;
    }

    .project-item {
        padding-bottom: 20px;
        margin-top: 20px;
    }

    .steps-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px; 
        padding-left: 30%;
        margin: 30px auto;
    }

    .steps-timeline::before {
        top: 20px;
        bottom: 20px;
        left: 31.5%;
        right: auto;
        width: 2px;
        height: auto;
        border-top: none;
        border-left: 2px dashed #0052cc; 
    }

    .step-item {
        flex-direction: row; 
        align-items: flex-start;
        text-align: left;
        padding: 0;
        gap: 20px;
        width: 100%;
    }

    .step-number {
        margin-bottom: 0;
        flex-shrink: 0; 
    }

    .step-title {
        min-height: auto;
        margin-bottom: 5px;
        font-size: 16px;
    }

    .step-desc {
        position: absolute;
        bottom: 0px;
        max-width: 100%;
        font-size: 13px;
        left: 56px;
    }

    .footer-advantages-items {
        gap: 20px;
    }

    .footer-advantages {
        height: 280px;
        background-position-y: 70px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .contacts-section {
        height: 290px;
    }

    .contacts-map {
        height: 100%;
    }

    .rmk-logo.footer {
        width: 330px;
    }

    .feedback-info {
        background-position-x: -130px;
    }

    .footer-advantages {
        margin-bottom: 20px;
    }
}

@media (max-width: 1050px) {
    .feedback-container {
        flex-direction: column;
        align-items: center;
    }

    .feedback-info {
        max-width: initial;
        height: 250px;
        border-radius: 18px;
        background-position: initial;
    }

    .feedback-info h2 {
        margin-bottom: 20px;
    }

    .feedback-form {
        width: 100%;
    }

    .project-card {
        flex-direction: column;
    }

    .project-info, .footer-advantages-items {
        gap: 10px;
    }

    .contacts-section {
        display: flex;
        flex-direction: column;
        height: fit-content;
    }

    .steps-timeline {
        padding-left: 40px;
    }

    .steps-timeline::before {
        left: 58px; 
    }

    .header-nav {
        gap: 10px;
        width: initial;
        max-width: initial;
    }
}

@media (max-width: 890px) {
    body, .header-contacts p, .header-contacts a,
     .footer-right-contacts a, .footer-right-contacts p {
        font-size: 14px;
    }

    .banner-block-info h1 {
        font-size: 22px;
    }

    .banner-block-info h2, .about-block-title-item h2, .contacts-info h2, .feedback-info h2,
    .project-info h2 {
        font-size: 18px;
    }

    .banner-block-info p, .about-block-title-item p, .about-block-title-item.right p, .card-content h3, .contacts-tag, .contacts-address, .contacts-time, .contacts-phone, .contacts-email, .info-tag {
        font-size: 16px;
    }

    .banner-block {
        height: 310px;
        background-position-x: -20px;
    }

    .banner-block-info {
        width: 490px;
        height: 155px;
    }

    .banner-block a {
        width: 290px;
        height: 55px;
    }

    .about-block, .stepwork-block, .portfolio-block, .feedback-container {
        margin-top: 40px;
    }

    .feedback-container {
        margin-bottom: 40px;
    }

    .about-block-grid {
        margin-top: 20px;
    }

    .rmk-logo.footer {
        width: 270px;
    }

    .rmk-logo {
        width: 154px;
        height: 38px;
        flex-shrink: 0;
    }
}

@media (max-width: 770px) {
    .header-contacts {
        display: none;
    }

    .header-nav {
        margin: 0 auto;
        width: 100%;
        justify-content: space-evenly;
    }

    .about-block-grid {
        display: flex;
        flex-direction: column;
    }

    .grid-card {
        height: 220px;
    }

    .grid-card.other {
        height: 160px;
    }

    .project-info-item {
        gap: 10px;
    }

    .rmk-logo.footer {
        width: 160px;
        height: fit-content;
    }

    .about-block-title-item {
        gap: 10px;
    }
}

@media (max-width: 635px) {
    .header-nav {
        flex-wrap: wrap;
        width: initial;
        justify-content: flex-end;
    }

    header {
        gap: 10px;
    }

    .rmk-logo {
        width: 184px;
        height: 48px;
    }

    .banner-block {
        height: 250px;
        background-position-x: 0px;
    }

    .banner-block-info p, .about-block-title-item p,
    .about-block-title-item.right p, .card-content p, .contacts-tag, .contacts-address, .contacts-time, .contacts-phone, .contacts-email, .info-tag {
        font-size: 14px;
    }

    .banner-block-info {
        width: 350px;
        height: 165px;
    }

    .banner-block a {
        bottom: 8px;
    }

    .banner-block a {
        width: 270px;
        height: 45px;
    }

    .about-block-title-item h2 {
        white-space: initial !important;
    }

    .project-image {
        width: 330px;
        height: 190px;
    }

    .project-btn {
        width: 250px;
        height: 45px;
    }

    .footer-advantages {
        background-image: initial;
        margin-bottom: 40px;
    }

    .contacts-time, .contacts-info h2, .contacts-address, .contacts-phone, .contacts-email {
        margin-bottom: 10px;
    }

    .footer-bottom-row {
        text-align: center;
        gap: 10px;
        padding-top: 20px;
    }

    .project-number {
        width: 42px;
        height: 42px;
    }

    .footer-top-row {
        flex-direction: column;
        gap: 20px;
    }

    .main-footer {
        padding: 26px 0px 0px;
    }
}

@media (max-width: 550px) {
    .banner-block {
        background-image: initial;
        padding: 20px;
    }

    .banner-block-info {
        width: 100%;
        background-image: initial;
    }

    .project-image {
        width: 100%;
        height: 150px;
    }

    .step-desc {
        bottom: -20px;
    }

    .footer-advantages {
        height: initial;
        margin-bottom: 20px;
    }

    .header-nav {
        text-align: end;
    }

    .about-block-title-item.right {
        display: none;
    }

    .grid-card {
        height: 270px;
    }

    .grid-card.other {
        height: 210px;
    }

    .project-number {
        font-size: 24px;
    }

    .project-number {
        width: 32px;
        height: 32px;
    }

    .project-info p {
        font-size: 14px;
    }

    .feedback-form {
        padding: 10px;
    }

    .form-footer {
        flex-direction: column;
        gap: 10px;
    }

    .project-btn.feedback {
        width: 270px;
    }

    .feedback-info {
        padding: 25px 0px 0px 5px;
    }

    header, main {
       padding: 0px 20px;
    }

    footer {
        padding: 20px 20px;
    }

    .banner-block {
        border: initial;
    }

    .banner-block-info {
        padding: initial;
    }

    .banner-block a {
        position: initial;
        font-size: 14px;
    }

    .banner-block-info {
        margin-bottom: 20px;
    }
}

@media (max-width: 400px) {
    .step-desc {
        bottom: -30px;
    }

    .footer-bottom-row {
        flex-direction: column;
    }

    .about-block, .stepwork-block, .portfolio-block, .feedback-container {
        margin-top: 20px;
    }
    
    .feedback-container {
        margin-bottom: 20px;
        margin-top: 50px !important;
    }

    header {
       height: 156px;
    }
}