@media screen and (max-width: 1130px) {
  .header-content { gap: 10px; }
  header .header-actions { 
    gap: 30px; 
    &::before { right: 32px; }
    &::after { left: 130px; }
  }

  .prod-right {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1023px) {
  .menu, .header-actions > a:first-child, 
  .header-actions .media { display: none; }

  .header-actions::before, .header-actions::after { content: none; }
  .main-header-content { align-items: center; gap: 20px; }

  .header-actions-cont { margin-left: auto; }
  .menu-toggle { display: flex; }

  .header-content { gap: 20px; }
  .header-actions { margin-left: auto; }

  .banner img { height: 400px; }

  .service-grid {
    padding: 40px 0;
    gap: 20px;
  }

  .water-engineering { 
    padding: 30px 0; 
    gap: 20px;
  }

  .engineering-left {
    width: 400px;
    > img { height: auto !important; }
  }

  .engineering-right, .main-water-engineering .engineering-right { width: calc(100% - 420px); }


  .media-preview { margin: 30px 0 60px; }
  .media-preview > div:first-child, .media-preview > div:last-child { padding: 20px; }
  .news-slide > img:first-child { height: 280px; }

  .contact-page {
    padding: 35px 20px;
    .content {
      flex-direction: column;
      gap: 40px;
    }
  }

  .contact-left { width: 100%; }

  .prod {
    flex-direction: column;
    gap: 30px;
  }

  .prod-left { width: 100%; }
  .prod-right {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .currprod-cont { padding-bottom: 60px; }

  .news-grid, .other-projects > div {
    grid-template-columns: repeat(2, 392px);
    justify-content: center;
    gap: 15px;
  }

  .project-page { flex-direction: column; }
  .curr-proj, .other-projects { width: 100%; }
}

@media screen and (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .media-preview {
    flex-direction: column;
    padding: 30px 20px;
    gap: 40px;
    > div { width: 100%; padding: 0 !important; }
    &::after { content: none; }
  }

  .newsletter { width: 100%; }
  .vision-text {
    flex-direction: column;
    gap: 20px; 
    > div { 
      width: 100%;
      padding: 30px 20px;
    }
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: unset;
    padding: 35px 20px;
    div { width: 100%; }
  }

  .pdfs {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-list { padding: 30px; }
  .blog-item {
    gap: 20px;
    .desc { max-width: calc(100% - 261px); }
  }
}

@media screen and (max-width: 850px) {
  .news-grid, .other-projects > div { grid-template-columns: repeat(1, 392px); }
  .calculators { 
    padding: 30px 20px; 
    > p { margin-bottom: 20px; }
  }

  .calc-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .calc-card { padding: 20px; }
}

@media screen and (max-width: 767px) {
  .water-engineering {
    flex-direction: column;
  }

  .engineering-right, .main-water-engineering .engineering-right { width: 100%; }
  .newsletter > div { grid-template-columns: 1fr; }

  .user-cont { 
    padding: 40px 20px; 
    .content1 > p { font-size: 20px; line-height: 24px; margin-bottom: 40px; }
  }
  .user-slide { width: 60px !important; }

  footer { padding: 40px 20px !important; }
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo { max-width: unset; }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .footer-media { order: 1; }
  .creator { order: 2; }
  .copyright { order: 3; }

  .calc-filter .decor, .calc-filt > div:first-child { display: none; }

  .calc-filter > div:first-child {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    margin-bottom: 0; 
  }

  .calc-filt {
    > div:last-child { height: unset; }
    &::after { content: none; }
  }
}

@media screen and (max-width: 680px) {
  .contact-form { width: 100%; }
}

@media screen and (max-width: 650px) {
  .service-card {
    padding: 20px;
    > img { height: 145px; margin-bottom: 15px; }
  }

  .dates-grid {
    grid-template-columns: 1fr;
    direction: unset;
    padding-left: 30px;
    &::before { left: 0; top: 12px; }
  }

  .dates-item:nth-child(2) { margin-top: 0; }
  .dates-item:nth-child(2n+1) {
    align-items: unset;
    margin-top: 0;
    div p {
      text-align: unset;
      margin-right: 0;
    }
  }

  .dates-item::after { left: -35px; top: 12px; }
  .dates-item:nth-child(2n)::after { left: -35px; right: unset; }

  .curr-head {
    padding: 30px 20px;
    > span { font-size: 20px; line-height: 24px; }
  }
}

@media screen and (max-width: 550px) {
  .blog-prev {
    flex-direction: column-reverse;
    > div { width: 100%; }
  }

  .page-head {
    padding: 160px 20px 40px;
    .title { font-size: 20px; line-height: 25px; }
    .msg { font-size: 12px; line-height: 16px; }
  }

  .prod-right { gap: 20px 10px; }
  .prod-right a div {
    padding: 20px 10px;
    font-size: 12px; line-height: 16px;
    min-height: 72px;
    span { max-width: 150px; }
  }

  .prod-right a:hover div { padding-right: 10px; }

  .curr-proj {
    .title { font-size: 20px; line-height: 24px; }
    > img:first-of-type { height: auto; }
    .text { font-size: 14px; line-height: 19px; }
  }

  .achievements {
    gap: 20px;
    padding-left: 20px;
    > div  div::after { left: -24px; }
  }

  .blog-item {
    flex-direction: column;
    align-items: unset;
    .desc { max-width: unset; width: 100%; }
  }

  .blog-list hr { margin: 25px 0; }

  .calc-list { grid-template-columns: repeat(1, 1fr); }
  .calc-head { padding-bottom: 30px; }
}

@media screen and (max-width: 450px) {
  .service-grid { grid-template-columns: repeat(1, 1fr); }
  .service-card > img { height: auto; }

  .engineering-left { width: 100% }

  .news-slide > img:first-child { height: 200px; }

  .media-head span { font-size: 14px; line-height: 17px; }

  .contact-form { 
    padding: 30px 20px; 
    button { width: 100%; }
  }

  .fullname {
    flex-direction: column;
    > input { width: 100%; }
  }
  
  .phones-mails {
    flex-direction: column;
    gap: 15px;
    > div { gap: 15px; }
  }

  .dates-grid { gap: 30px; }
  .dates-item div { 
    font-size: 14px;
    line-height: 17px;
    padding: 20px 15px; 
  }

  .video-cont { height: 250px; }

  .pdfs a {
    padding: 20px;
    > span { font-size: 14px; line-height: 18px; }
  }

  .news-grid, .other-projects > div { grid-template-columns: repeat(1, 1fr); }

  .news-item img { height: 200px; }
  .news-details { padding: 30px 20px; }
}