@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%;
      }
      .nav-end-blank{
        height: 32px;
      }
      .pre-section1{
        display: none;
      }


      .container {
        width: 95%;
        padding: 30px 0px;
        
    }

    .section {
        padding: 15px;
        font-size: 13px;
    }

    .section h2 {
        font-size: 1.3em;
    }

    .category-card {
        padding: 15px;
    }
      .footer-top-cont{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        width: 90%;
        margin-top: 2%;
        margin-right: 5%;
        gap:40px;
      }
      .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;
      }
      }
      
      