@media only screen and (min-width: 360px) and (max-width: 501px) {

    .logo img{display: none;}
    .main-nav{display: none;}
    .res-nav{display: block;}
    .res-nav .res-navbar {
        height: 100%;
        width: 95%;
        margin-right: 2.5%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0px;
      }
      .res-links{
        display: flex;
        flex-direction: column;
        height: 100vh; /* Full viewport height */
        justify-content: space-between; /* Push login to bottom */
        flex: 1;
      }
      .res-links li {
        margin-bottom: 10px; /* Add spacing between items */
        height: auto;
    }
    
      .res-links li a{
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        color: black;
      }
      .res-links li a .fa-solid{
        font-size: 20px;
      }

      .res-line{
        width: 100%;
        height: 1px;
        background-color: black;
        opacity: 0.1;
        margin-top: -4%;
      }

      .main{
        width: 80%;
        height: 100%;
        margin-right: 10%;
        display: flex;
        gap:10px;
        padding-top: 3%;
        flex-direction: column;
    }
    
    .section1-main-card img{
        width: 100%;
        margin-top: 0.5%;
        margin-right: 0%;
    }

    .section1-main-card h1{
        color: white;
        font-size: 31px;
        text-align: center;
    }
    .section1-main-card p{
        color: white;
        margin-top: -2%;
        color: #8bbb18;
        font-size: 24px;
        text-align: center;
    }

      .footer-upper-blank{
        height: 50px;
    }
      .footer-top-cont{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        width: 90%;
        margin-top: 0%;
        margin-right: 5%;
        gap:40px;
      }

      .section1-main-card ul{
        color: white;
        list-style: none;
        line-height: 65px;
        font-size: 18px;
        margin-right: -15%;
    }

    .section1-bottom-card{display: none;}

    .quotes-btn a{
        width: 100%;
        color: white;
        text-decoration: none;
        font-weight: bolder;
        font-size: 4vw;
    }

    .rfq-btn a{
        width: 100%;
        color: white;
        text-decoration: none;
        font-weight: bolder;
        font-size: 4vw;
    }
      .social-cont p{
        margin-top: 0%;
      }
      .social-cont a{
        margin-top: -3.9%;
      }
      
      .foter-mid-cont{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        width: 95%;
        margin-top: 2%;
        margin-right: 2.5%;
        gap:30px;
      }
      
      
      .footer-top-cardBtn{display: none;}
      
      .footer-end{
        margin-top: 3%;
        width: 100%;
        height: 50px;
        direction: ltr;
        text-align: center;
        background-color: #fff;
        font-size: 15px;
      }
      
      .footer-end h1{
        font-size: 15px;
        padding: 20px 0px;
        font-family: sans-serif;
        opacity: 0.6;
      }
      }
      
      