*{
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
    box-sizing: border-box;
}
.logo img{
   height: 55px;
   width: 300px;
   margin: 10px 20px;
}
header{
    height: 70px;
    width: 100%;
    background-color: rgb(247, 243, 243);
     position:sticky;
    top:0px;

}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  margin-right: 10px;
  cursor: pointer;
}
ul li a{
    text-decoration: none;
    color: black;
    margin: 10px 20px;
    text-align:center;
   
}
.Items{
    margin-right: 20%;
    
}
nav ul{
    display: flex;
    list-style-type:none;
    justify-content: space-evenly;
    align-items: end;
    margin-left: 40px;
}
nav ul li a:hover{
   color:rgb(9, 9, 46);
   font-size: 1.1rem;
}
nav ul li a.active {
  color:rgb(88, 96, 206);
}
.ec-1 {
    height: 700px;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url("cart.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: rgba(0,0,0,0.5);

    display: flex;              
    flex-direction: column;     
    justify-content: center;    
    align-items:start;                   
}
/* .ec-1 a{
    text-align: start;
    text-decoration: none ;
    color: white;
    font-size: 20px;
    padding-left: 70px;
} */
.ec-content{
    height: 400px;
    width: 60%;
    color: white;
}
.ec-content h1{
    font-size: 45px;
    padding-left: 50px;
    text-align: center;
    padding-top: 30px;

}
.ec-content h3{
    font-size: 20px;
    padding-left:20px ;
    text-align: center;
    padding-top: 20px;
}
.ec-content button{
    padding: 10px 20px;
    background-color: white;
    color: black;
    text-align: center;
    border: none;
    font-size: 18px;
    margin-left: 400px;
    margin-top: 20px;
    cursor: pointer;
}
.ec-content button a{
  text-decoration: none;
  color:black;
}
.ec-content button:hover{
    background-color: gray;

}
.ecommerce-about {
  background: #f8f9fa;
  padding: 10px 30px;
}

.ecommerce-about h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.ecommerce-about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: rgb(9, 9, 46);
  margin: 10px auto;
  border-radius: 2px;
}
.box ul{
     margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 15px 24px;   
 justify-items: center;   
 place-items:start;     
 margin-left: 30px; 
}
.ecommerce-about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.ecommerce-about strong {
  color:rgb(9, 9, 46);
}
.ecommerce-sec{
  display: flex;
  margin-top: 20px;
  background-color: rgb(9, 9,46);
  justify-content: center;
  align-items: center;
}
.ecommerce-sec p{
  font-size: 18px;
  padding: 10px 20px;
  color: white;
}
.ecommerce-sec ul,li{
 color: white;
}
.ecommerce-sec img{
  height: 400px;
  width: 400px;
  margin: 30px;
}
.ecommerce-sec h2{
  color: white;
}
footer{
    height:auto;
    width: 100%;
    background-color:  rgb(247, 243, 243);
}
.footer-sec{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-sec img{
  width: 280px;
  height: auto;
  margin-bottom: 100px;
  margin-left: 30px;
}
.footer-sec li{
    list-style: none;
    margin: 12px;
}
.footer-sec h3{
    margin: 20px;
    color:black;
    text-align: center;
}
.footer-sec li a{
   text-decoration: none;
   margin-left:30px ;
   color:black;
   font-size: 18px;
}

.address p{
    margin-top:10px;
    text-align: center;
    display: inline;
    color:black;
    font-size: 18px;
}
.address{
    /* margin-top: 20px; */
    height: auto;
    width: 300px;
}
.address i{
    color:black;
    margin-top: 15px;
}
.footer-project{
    /* margin-bottom: 30px; */
    display: flex;
    flex-direction: column;
}
.footer-project a{
    margin-bottom: 10px;
    color:black;
    margin-left:25px ;
    /* line-height: 5px; */
    text-decoration:none;
}
.copyright{
    text-align: center;
    font-size:1rem ;
    color:black;
}
.copyright p{
  background-color: rgb(9,9,46);
  color: white;
}
@media (max-width: 480px) {
      .menu-toggle {
    display: block;
  }

  .Items {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  img{
    height: 300px;
    width: 320px;
    margin: 0;
    padding: 0;
  }

  .Items ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .Items ul li {
    margin: 0;
  }

  .Items.active {
    display: flex; /* Show menu when active */
  }

  .logo img {
    width: 150px;
    height: auto;
  }
  .ec-1{
    height: auto;
       
    text-align: center;
    background-size: cover;
    background-position: center;
  
  }
  .ec-1 h1{
    font-size: 25px;
   padding: 0;
   margin-top: 20px;
    margin-left: 50px;
  }
  .ec-content {
    width: 100%;
  }
  .ec-content h1 {
    font-size: 24px;
  }
  .ec-content h3 {
    font-size: 14px;
  }
  .ec-content button {
    font-size: 14px;
    padding:8px 12px;
    margin: 0;
    margin-top: 10px;
  }
  .ecommerce-about ul{
    width: 100%;
  }
   .ecommerce-about img{
    display: none;
   }
  .ecommerce-about h2 {
    font-size: 1.8rem;
  }
  .ecommerce-about p {
    font-size: 0.95rem;
  }
  .footer-sec img {
    width: 150px;
  }
  .copyright p {
    font-size: 0.85rem;
  }
    .footer-sec {
    flex-direction: column;
    text-align: center;
  }

  .footer-sec img {
    margin: 10px auto;
  }
}
@media (min-width: 481px) and (max-width: 1024px) {
  /* Navbar */
   .menu-toggle {
    display: block;
  }
 .menu-toggle i{
    color: black;
    margin-left: 20px;
     
   }
  .Items {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  img{
    height: 300px;
    width: 320px;
    margin: 0;
    padding: 0;
  }

  .Items ul {
    flex-direction: column;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

  .Items ul li {
    margin: 0;
  }

  .Items.active {
    display: flex; /* Show menu when active */
  }
  .Items {
    margin-right: 5%;
  }

  /* Hero Section */
  .ec-1 {
    height: 350px;
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }
  .ec-content {
    width: 90%;
  }
  .ec-content h1 {
    font-size: 32px;
    padding: 0;
    margin-bottom: 15px;
  }
  .ec-content h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .ec-content button {
    font-size: 16px;
    padding: 10px 18px;
    margin: 0 auto;
    display: block;
  }
  /* About Section */
  .ecommerce-about h2 {
    font-size: 2rem;
  }
  .ecommerce-about p {
    font-size: 1rem;
    line-height: 1.6;
  }
  .box ul {
    grid-template-columns: 1fr;  /* stack list items */
    justify-items:center;
    margin-left: 0;
  }

  /* Image + Content Section */
  .ecommerce-sec {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .ecommerce-sec img {
    width: 80%;
    height: auto;
    margin: 20px auto;
  }
  .ecommerce-sec p {
    font-size: 16px;
  }

  /* Footer */
 .footer-sec {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  .footer-sec img {
    width: 220px;
    height: auto;
    margin: 0 auto 20px auto;
  }
  .footer-project, .footer-list, .address {
    margin: 15px 0;
  }
  .footer-project a, .footer-sec li a {
    display: block;
    margin: 6px 0;
  }
  .address {
    width: 100%;
  }
}