.hidden {
    display: none !important;
}

/*header*/
.header {
    margin: 0 auto;
    background-color: #1E1E1E;
}

.nav {
    padding: 23px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-list {
    font-weight: 500;
    font-size: 17px;
    line-height: 20px;
    display: flex;
    gap: 25px;
}

.nav-list a {
    color: #FFFFFF;
}

.burger-menu {
    display: none;
  }

.text-block {
    margin-top: 50px;
    margin-left: 65px;
}

.text-block h1 {
    font-weight: 500;
    font-size: 32px;
}

.text-1 {
    font-weight: 400;
    font-size: 18px;
    margin-top: 50px;
}

 .text-2 {
    font-weight: 400;
    font-size: 18px;
    margin-top: 10px;
}

.text-3 {
    font-weight: 400;
    font-size: 18px;
    margin-top: 50px;
}

.text-4 {
    font-weight: 400;
    font-size: 18px;
    margin-top: 30px;
}

.text-5 {
    font-weight: 400;
    font-size: 18px;
    margin-top: 30px;
}

.btn-container {
    display: flex;
    justify-content: center; /* Центрує по горизонталі */
    align-items: center; /* Центрує по вертикалі (якщо потрібно) */
    margin-top: 50px; /* Відступ зверху */
}

.btn {
    display: inline-block;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    background-color: #1E1E1E;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn:hover {
    color: #FFFFFF;
    background-color: #FFCC02;
    outline: none;
}

.footer {
    background-color: #1E1E1E;
    display: flex;
    height: 385px;
    position: relative;
    margin-top: 40px;
}

.footer-container {
   padding-top: 40px;
   padding-left: 65px;
}

.nav-list-1 {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    gap: 25px;
    margin-top: 35px;
    white-space: nowrap;
}

.nav-list-1 a {
    color: #FFFFFF;
}

.footer-info {
margin-top: 45px;
}


.footer-info p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.footer-info-two {
margin-top: 5px
}

.footer-contacts p{
    color: #fff;
    font-size: 17px;
    font-weight: 400;
}

.footer-contacts {
    margin-left: 350px;
    margin-top: 40px;
}

.footer-copyright {
    color: #fff;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-socials p {
    margin-top: 105px;
    font-size: 14px;
    text-align: left;
}

.footer-contacts-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-left: -10px;
}

.social-icons a {
    margin: 0 10px;
}

.footer-copyright {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.footer-copyright p{
    font-size: 14px;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    border: none;
    border-radius: 50%; /* Робимо кнопку круглою */
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 0; /* Прибираємо внутрішні відступи */
    opacity: 0.8;
}

.slider-up {
    width: 60px; /* Фіксована ширина SVG */
    height: 60px; /* Фіксована висота SVG */
    object-fit: contain; /* Забезпечує, що зображення не деформується */
}

#back-to-top:hover {
    opacity: 1; /* Полная непрозрачность при наведении */
}

@media (max-width: 599px) {
    .nav-list {
      display: none;
      position: absolute;
      top: 65px;
      right: 0;
      background-color: #333;
      flex-direction: column;
      width: 100%;
      padding: 15px;
      z-index: 1000
    }
  
    .nav-list li {
      margin: 5px 0;
    }

    .nav img {
        width: 180px;
        margin-left: -35px;
    }
  
    .burger-menu {
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
    }
  
    .burger-line {
      width: 100%;
      height: 3px;
      background-color: white;
    }
  
    .nav-list.active {
      display: flex;
    }


    .text-block {
        margin-top: 30px;
        margin-left: 25px;
        margin-right: 25px;
    }
    
    .text-block h1 {
        font-weight: 500;
        font-size: 25px;
    }
    
    .text-1 {
        font-weight: 400;
        font-size: 15px;
        margin-top: 25px;
    }
    
     .text-2 {
        font-weight: 400;
        font-size: 15px;
        margin-top: 10px;
    }
    
    .text-3 {
        font-weight: 400;
        font-size: 15px;
        margin-top: 35px;
    }
    
    .text-4 {
        font-weight: 400;
        font-size: 15px;
        margin-top: 10px;
    }
    
    .text-5 {
        font-weight: 400;
        font-size: 15px;
        margin-top: 10px;
    }
    
    .btn {
        font-size: 14px; /* Зменшити розмір шрифту для мобільних пристроїв */
        padding: 15px 30px;

    }
    
    .btn:hover {
        color: #FFFFFF;
        background-color: #FFCC02;
        outline: none;
    }


    .footer {
        background-color: #1E1E1E;
        flex-direction: column; /* Розміщуємо всі блоки вертикально */
        height: 600px; /* Висота автоматично підлаштовується під вміст */
        padding-bottom: 20px; /* Відступ знизу для комфортного відображення */
        margin-top: 30px;
    }
    
    .footer-container {
       padding-top: 30px;
       padding-left: 25px;
    }
    
    .nav-list-1 {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        display: flex;
        gap: 17px;
        margin-top: 35px;
        white-space: nowrap;
        flex-wrap: wrap;
    }
    
    
    .nav-list-1 a {
        color: #FFFFFF;
    }
    
    .footer-info {
    margin-top: 45px;
    }
    
    
    .footer-info p {
        color: #fff;
        font-size: 14px;
        font-weight: 400;
    }
    
    .footer-info-two {
    margin-top: 10px
    }
    
    .footer-contacts p{
        color: #fff;
        font-size: 17px;
        font-weight: 400;
    }
    
    .footer-contacts {
        margin-left: 25px;
        margin-top: 40px;
    }
    
    .footer-socials {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-socials p {
        margin-top: 25px;
        font-size: 14px;
        text-align: left;
    }
    
    .footer-contacts-number {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .social-icons a {
        margin: 0 10px;
    }
    
    .footer-copyright {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        text-align: center;
    }
    
    .footer-copyright p{
        font-size: 14px;
    }

}