@media (max-width: 767px) {
  .menu-toggle {
    display: block;
    position: static;
    order: 2;
  }
  
  .header-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-right: 0;
  }
  
  .header-logo {
    order: 1;
    margin: 0;
    width: 130px;
    z-index: 999;
  }

  .header-logo img {
    width: 100%;
  }
  
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 100px 25px 30px;
  }
  
  .nav-wrapper.active {
    right: 0;
  }
  
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    z-index: 999;
  }

  .nav-overlay.active {
    display: block;
  }
  
  .nav-wrapper.active ~ .header-logo img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }
  
  .nav-item {
    font-size: 18px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-btn {
    width: 100%;
    max-width: none;
    margin-top: 25px;
  }
  
  .motto {
    margin-top: -50px;
    padding: 160px 0 60px 0;
  }
  
  .motto-text {
    font-size: 28px;
  }
  
  .container-threads {
    padding: 0 20px;
  }

  .threads {
    margin-top: -40px;
  }
  
  .threads-btn {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    border-radius: 25px;
  }

 .application {
    padding: 60px 0 60px 0;
  }

  .application-text {
    font-size: 28px;
  }

  .input-item {
    width: 100%;
    font-size: 18px;
    padding-top: 35px;
    padding-bottom: 12px;
  }

  .application-btns {
    gap: 30px;
    margin-top: 40px;
  }

  .application-btn_file {
    width: 280px;
    height: 60px;
    font-size: 18px;
    border-radius: 12px;
  }

  .file-uppload-img {
    width: 25px;
  }

  .application-btn_text {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .application-btn {
    width: 180px;
    height: 65px;
    font-size: 18px;
    border-radius: 12px;
  }

  .application-btn-text {
    max-width: 100%;
    font-size: 14px;
  }

  .file-name {
    font-size: 14px;
  }

  .contacts {
    padding: 60px 0 40px 0; 
  }

  .contacts .contacts-container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .contacts-left {
    max-width: 100%;
  }

  .contacts-right {
    align-items: flex-start;
    margin-left: 0;
    text-align: left;
  }

  .contacts-text1 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .contacts-text2 {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .contacts-text3 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .contacts-text4 {
    font-size: 18px;
    text-align: left;
    margin-bottom: 10px;
  }

  .intro {
    padding: 20px;
    border-radius: 20px;
    min-height: 300px;
  }

  .intro-wrapper .container {
    flex-direction: column; 
    gap: 20px;
  }

  .intro-content {
    gap: 15px;
  }

  .intro-img {
    width: 40px;
  }

  .intro-text {
    font-size: 24px;
  }

  .intro-image {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
  }

  .products {
    padding: 60px 20px;

  }

  .products-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .product-item h3 {
    font-size: 20px;
  }

  .product-item p {
    font-size: 14px;
  }
  
  .products-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start; 
    align-items: stretch; 
  }

  .product-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .features {
    padding: 60px 20px;
    padding-bottom: 130px;
    border-radius: 20px 20px 0 0;
  }

  .features-title {      
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .feature-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .feature-item h3 {
    font-size: 20px;
  }
  
  .feature-item p {
    font-size: 14px;
  }
  
  .feature-icon {
    width: 80px;
  }
  
  .features-grid {
    gap: 20px;
    flex-direction: column;
  }

  .custom-select-wrapper {
    width: 100%;
    font-size: 18px;
    padding-top: 35px;
    padding-bottom: 12px;
  }
  
  .custom-select-arrow {
    width: 18px;
  }
}
