/* Styling the Sidebar of the main page*/
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.395);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.menu-button {
    display: none;
}

@media (max-width: 1052px) {
    .service-contact-form {
        padding: 1rem;
    }
    .form-1 h3{
        font-size: 1.2rem;
    }
}

@media (max-width: 1048px) {
    .form-1 {
        padding-bottom: 0;
    }
    input[type="email"],
    input[type="text"],
    input[type="tel"] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    input[type="tel"] {
        margin-bottom: 0.5rem;
    }
    .general-services {
        width: 100%;
    }

    .form-2 textarea {
        width: 100%;
        padding-top: 0.5rem;
    }
    .image-container .display-row-usb {
        max-width: 100%;
    }
    .image-container .display-row-usb img{
        max-width: 100%;
    }
}

/* Media Queries for smaller devices below 800px */
@media (max-width: 800px) {
    .hideOnMobile{
        display: none;
    }
    .menu-button {
        display: block;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
    }
    .section4 {
        padding: 1rem;
        text-align: left;
    }
    .section5 {
        padding: 1rem;
        text-align: left;
    }
}

/* Media queries for the sustainability goals */
@media (max-width: 800px) {
    .sustainable-section{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        row-gap: 6rem;
    }
    .products-display2 {
        flex-direction: column;
        row-gap: 20px;
    }
    .products-display {
        flex-direction: column;
        row-gap: 20px;
    }

    .products-head {
        text-align: center;
    }

    .usb-full-explaination {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        flex-shrink: 1;
        background-color: #d7a86e97;
        padding: 30px 0px 30px 0px;
        text-align: left;
    }
    .explanation-usb2 {
        max-width: 100%;
        text-align: left;
        padding-left: 5px;
        padding-right: 5px;
    }
    .explanation-usb2 h3 {
        padding-bottom: 10px;
        font-size: 1.2rem;
    }
    .explanation-usb2 p{
        line-height: 1.4rem;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .pencil-full-explaination {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        column-gap: 60px;
    }
}

/* Media queries for the footer */
@media (max-width: 800px) {
    .service-contact-form{
        flex-direction: column;
    }
}

@media screen and (max-width: 600px){
    .eco-friendly,
    .recycling,
    .sustainability-goal {
        width: 90%;
        height: 180px;
    }
    .section3 {
        padding: 1rem;
    }
    .service-contact-form {
        flex-direction: column;
        padding: 0 10px;
    }
    .form-1 {
        padding-bottom: 0;
    }
    input[type="email"],
    input[type="text"],
    input[type="tel"] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    input[type="tel"] {
        margin-bottom: 0.5rem;
    }
    .general-services {
        width: 100%;
    }
    .form-1, .form-2 {
        padding-top: 20px;
    }
    .form-2 textarea {
        width: 100%;
        padding-top: 0.5rem;
    }
    .btn-request {
        margin-top: 0.4rem;
    }

    .first-input input {
        display: grid;
    }
}

@media (max-width: 768px) {
  #hero-video-background {
    height: 100vh;
    overflow: hidden;
  }

  #hero-video-background video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }

  .hero-text {
    margin-left: 10%;
    margin-top: 40%;
    line-height: 2.5rem;
    text-align: left;
  }

  .hero-text p:nth-child(1),
  .hero-text p:nth-child(2) {
    line-height: 1.6;
  }
  .image-container img{
    margin: auto;
    max-width: 100%;
  }
  .image-container .display-row-usb {
    display: none;
    margin: auto;
  }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}




