*{
    padding: 0;
    margin: 0;
  }
  body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
  }
  header{
    max-width: 100%;
    position: absolute;
    height: 90px;
    top: 0; 
    left: 0; 
    right: 0;
    background:#273b70;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 10px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }
      .mainlogo {
      display: flex;
      align-items: center;
    }
    
    .mainlogo img {
      height: 85px;
      width: auto;
      margin-right: 10px;
    }
    
    .mainlogo .logo {
      font-size: 1.8rem;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
    }
    input[type="checkbox"] {
      display: none;
    }
    
    label[for="menu-bar"] {
      display: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
    }
    
    /* Show menu icon on smaller screens */
    label[for="menu-bar"] i {
      font-size: 1.8rem;
      cursor: pointer;
    }
      
  
  header .navbar ul {
    list-style: none; 
  }

  header .navbar ul li{
    position: relative;
    float: left;
  }

  header .navbar ul li a{
    color: #fff;
    display: block;
    padding:18px;
    font-size: 18px; 
    text-decoration: none;
 }

 header .navbar ul li a:hover{
    background: white;
    color: black;
 }
 header .navbar ul li ul{
  position: absolute;
  left:0;
  width:200px;
  background: #273b70;
  display: none;
 }
 header .navbar ul li ul li{
  width: 100%;
  /*border-top: 1px solid black;*/
 }
 header .navbar ul li ul li ul{
  left: 200px;
  top:0;
 }
 header .navbar ul li:focus-within > ul,
 header .navbar ul li:hover > ul{
  display:initial;
 }


 .wifi{
    background-color: #1a2351c4;
    color: #fff;
    margin: 50px;
    text-align: center;
    border-radius: 20px;
    height: 50px;
    margin-top: 150px;
}
.wifi h1{
    padding-top:7px;
}
/* Base styles */
main {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    justify-content: center;
    margin-top: 100px;
}

.product {
    background-color: white;
    box-sizing: border-box;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
    margin: 60px;
    padding: 20px;
    width: 400px;
    height: 500px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.product h2 {
    color: #6552bd;
    font-size: 1.5em;
    margin: 40px;
    text-align: center;
}

.product img {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 350px;
    height: 300px;
    border: 1px rgb(76, 66, 213) solid;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product:hover img {
    cursor: pointer;
    transform: scale(1.1);
}

/* Responsive styles */

/* For devices with width 1024px and smaller */
@media (max-width: 1024px) {
    .product {
        width: 300px;
        height: 450px;
    }
    
    .product h2 {
        font-size: 1.3em;
        margin: 30px;
    }
    
    .product img {
        max-width: 250px;
        height: 250px;
    }
}

/* For devices with width 768px and smaller */
@media (max-width: 768px) {
    .product {
        width: 250px;
        height: 400px;
        margin: 40px;
    }

    .product h2 {
        font-size: 1.2em;
        margin: 20px;
    }

    .product img {
        max-width: 200px;
        height: 200px;
    }
}

/* For devices with width 480px and smaller */
@media (max-width: 480px) {
    main {
        margin-top: 50px;
    }
    
    .product {
        width: 90%;
        height: auto;
        margin: 20px;
        padding: 10px;
    }

    .product h2 {
        font-size: 1em;
        margin: 10px;
    }

    .product img {
        max-width: 100%;
        height: auto;
    }
}


@media screen and (max-width:991px){
  footer{
    padding: 40px;
  }
  footer .container{
    flex-direction: column;
  }
  footer .container .sec {
    margin-right: 0;
    margin-bottom: 40px;
  }
  footer .container .sec.aboutus,.quicklinks,.contact{
    width: 100%;
  }
  .copyrighttext {
     padding:8px 40px;
   }
   header{
      padding: 20px;
      height: 70px;
    }
    label[for="menu-bar"] {
        display: block;
    }    
    .mainlogo .logo{
      font-size: 25px;
    }
    header .navbar{
      position: absolute;
      top: 100%; left: 0; right: 0;
      background:#273b70;
      border-top:1px black solid ;
      display: none;
    }
    header .navbar ul li a{
      font-size: 15px;
    }
    header .navbar ul li{
      width: 100%;
    }
    header .navbar ul li ul{
      position: relative;
      width: 100%;
    }
    header .navbar ul li ul li{
      background: gray;
    }
    header .navbar ul li ul li ul{
      width: 100%;
    }
    #menu-bar:checked ~ .navbar{
      display: initial;
    }
    header .navbar ul li a{
      padding: 8px;
    }
  }