@media (max-width: 1600px) {
  .main {
    --space-110: 90px;
  }
  body {
    --container-width: 1200px;
  }
  .main-title {
    font-size: 42px;
  }
  .hero-content h1 {
    font-size: 60px;
  }
  .hero-content p {
    line-height: 32px;
    margin: 23px 0;
    font-size: 22px;
    max-width: 500px;
  }
  .hero-image {
    max-width: 600px;
  }
  .hm_about .container {
    column-gap: 100px;
  }
  .hm_about_content h2 {
    margin-bottom: 25px;
  }
  .hm_about_content p {
    font-size: 18px;
    line-height: 32px;
  }
  .service-item h4 {
    margin: 45px 0 15px 0;
    font-size: 32px;
  }
  .footer-title p {
    font-size: 26px;
    line-height: 40px;
  }
  .footer-title h2 {
    font-size: 80px;
  }
  .mission_content h2,
  .about-content h2,
  .services-item-content h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }
  .about-block,
  .mission_section .container {
    column-gap: 90px;
  }
  .counter-list {
    gap: 25px;
    margin-top: 55px;
  }
  .sub_banner h1 {
    font-size: 45px;
  }
  .sub_banner .container {
    padding-bottom: 35px;
    min-height: 350px;
  }
  .services-item .container > div {
    width: 47%;
  }
  .hero-stats .stat-item h3 {
    font-size: 38px;
  }
  .cta_banner h2 {
    font-size: 38px;
  }
}

@media (max-width: 1200px) {
  .main {
    --space-110: 70px;
  }
  body {
    --container-width: 900px;
  }
  .main-title {
    font-size: 34px;
  }
  .hero-image {
    max-width: 420px;
  }
  .hero-content h1 {
    font-size: 50px;
  }
  .hm_about .container {
    column-gap: 60px;
    grid-template-columns: 400px 1fr;
  }
  .service-item:not(:first-child) {
    padding-left: 30px;
  }
  .service-item h4 {
    margin: 35px 0 15px 0;
    font-size: 28px;
  }
  .hm_services .title {
    margin-bottom: 60px;
  }
  .footer-title h2 {
    font-size: 60px;
  }
  .footer-center {
    grid-template-columns: 350px 1fr 1fr;
  }
  .footer-bottom ul {
    gap: 20px;
  }
  .numbered-grid,
  .detail-section-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-intro,
  .detail-section-title {
    column-gap: 40px;
  }
}

@media (max-width: 860px) {
  .main {
    --space-110: 50px;
  }
  body {
    --container-width: 94%;
  }
  .main-title {
    font-size: 30px;
  }
  .hero-image {
    max-width: 370px;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .hero-content p {
    line-height: 28px;
    margin: 23px 0;
    font-size: 18px;
  }
  .hm_about .container {
    column-gap: 40px;
    grid-template-columns: 340px 1fr;
  }
  .hm_about_content h2 {
    margin-bottom: 20px;
  }
  .hm_about_content h2 br {
    display: none;
  }
  .service-item p {
    max-width: 96%;
  }
  .service-item h4 {
    font-size: 23px;
  }
  .about-block,
  .mission_section .container {
    column-gap: 40px;
  }
  .counter-list {
    gap: 15px;
  }
  .counter-item h4 {
    font-size: 32px;
  }
  .footer-title p {
    font-size: 22px;
  }
  .mission_content h2,
  .about-content h2,
  .services-item-content h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .sub_banner .container {
    padding-bottom: 35px;
    min-height: 320px;
  }
  .hm_services .title,
  .brand_section .title,
  .work_section .title {
    margin-bottom: 40px;
  }
  .counter-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm_about_content p {
    font-size: 16px;
    line-height: 26px;
}
  .hero-stats {
    gap: 25px;
    margin-top: 25px;
  }
  .hero-stats .stat-item {
    padding-right: 20px;
  }
  .hero-stats .stat-item h3 {
    font-size: 32px;
  }
  .cta_banner h2 {
    font-size: 30px;
  }
  .cta_banner p {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .services-item .container {
    row-gap: 30px;
  }
  .services-item .container > div {
    width: 100%;
  }
  .footer-title h2 {
    font-size: 35px;
  }
  .footer-center {
    padding: 30px 0;
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .footer-title p {
    font-size: 18px;
    line-height: 32px;
  }
  .footer-title p br {
    display: none;
  }
  .sub_banner h1 {
    font-size: 35px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    row-gap: 20px;
  }
  .about-block,
  .mission_section .container {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .work_list,
  .counter-list {
    grid-template-columns: 1fr;
  }
  .work_badges {
    top: 20px;
    left: 20px;
  }
  .hero-content {
    width: 100%;
  }
  .hero .container {
    flex-wrap: wrap;
    row-gap: 50px;
    flex-direction: column-reverse;
  }
  .service-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .service-item {
    padding-inline: 30px;
    text-align: center;
    padding-bottom: 80px;
  }
  /* .service-item:not(:first-child) {
    border: none;
  } */
  .service-item img {
    margin-inline: auto;
  }
  .service-item h4 {
    margin: 25px 0 15px 0;
  }
  .hm_about .container {
    column-gap: 40px;
    row-gap: 40px;
    grid-template-columns: 1fr;
  }

  .service-item-arrow {
    left: 0;
    margin: auto;
  }
  .numbered-grid,
  .detail-section-list {
    grid-template-columns: 1fr;
  }
  .section-intro,
  .detail-section-title {
    grid-template-columns: 1fr;
    row-gap: 15px;
    margin-bottom: 30px;
  }
  .hero-stats .stat-item {
    padding-right: 0;
    border-right: none;
    width: 45%;
  }
}
