*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #E3E6F3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
   z-index: 1;
   position: sticky;
   top: 0;
   left: 0;
}
#navbar{
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
}
#navbar li{
    padding: 0 20px;
}
#navbar li a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: black;
    transition: 0.3s ease;
}
#navbar li a:hover,
#navbar li a.active{
    color: blueviolet; 
    text-decoration: underline;
}
h1{
    font-size: 4rem;
}
h2{
    font-size: 3rem;
}
h4{
    font-size: 2rem;
}
#her p{
    font-size: 1.2rem;
    color: rgb(102, 94, 94);
    padding: 0 0px 20px;
}
#hero{
    background-image: url(asset/hero4.png);
    height: 90vh;
    width: 100%;
    background-size: cover;
    background-size: top 25% right 0;
    padding: 0 80px;
   display: flex;
   flex-direction: column;
   justify-content:center;
   align-items: flex-start;
}
#hero h4{
    padding-bottom: 20px;
}
#hero h1{
    color: green;
}
#hero button{
    background-image: url(asset/button.png);
    background-color: transparent;
    color: green;
    border: none;
    padding: 14px 80px 14px 65px;
    background-repeat: no-repeat;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}
 
#feature{
    height: 40vh;
    display: flex;
    justify-content: space-between;
    padding: 5vh;
    align-items: center;
 
}
.box{
    height: 32vh;
    width: 13.5vw;
   box-shadow: 0 5px 15px ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}
.box img{
    height: 20vh;
    width: auto;
}
.box button{
    margin-top: 15px;
    
}
.btn1{
    background-color: lightpink;
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;

}
.btn2{
    background-color: rgb(21, 167, 225);
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;
}
.btn3{
        background-color: rgba(208, 225, 93, 0.821);
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;
}
.btn4{
        background-color: rgb(13, 206, 109);
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;
}
.btn5{
        background-color: rgb(228, 126, 192);
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;
}
.btn6{
     background-color: lightpink;
    border: none;
    padding: 5px;
    color: green;
    border-radius: 10px;
}
.box:hover{
 transform: scale(1.1);
}
#product1{
    width: 100%;
    text-align: center;
    color: green;
    display: flex;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.pro-container{
    width: 100% ;
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
    justify-content: center;
    padding-top: 15px;
    
}
.pro{
    height: 62vh;
    width: 21vw;
    width: calc(25% - 20px); 
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}
.pro .product-img {
  height: 40vh;
  width: 20vw;
  padding: 15px;
}
.pro p{
    padding: 0;
    font-weight: bolder;
    font-size: medium;
}
.star{
    color: yellow;
}
#product2{

    text-align: center;
    color: green;
    display: flex;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.cart-icon {
  width: 35px;
  height: 35px;
  background: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
}

.price {
  font-size: 1.1em;
  color: green;
  padding-right: 7vw;
}
.cart-icon:hover{
    background-color: rgb(54, 213, 54);
    border-radius: 50%;
    transform: scale(1.1);
    transition: all 0.3s ease;
}


.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}


#navbar li a[href*="cart"] {
    position: relative;
    display: inline-block;
}
#offer{
    width: 100%;
    height: 55vh;
    margin-top: 10vh;
    background-image: url(asset/banner/b2.jpg);
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}
#offer span{
    color: red;
}
#offbtn{
    height: 5vh;
    width: 7vw;
    margin-top: 15px;
    background-color: white;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
}
#offbtn:hover{
    background-color: red;
    color: white;
    border: none;
}
#banner{
    width: 100%;
    margin-top: 10vh;
}
#ban{
    display: flex;
    justify-content: space-around;
}
.first{
    height: 50vh;
    width: 40vw;
    background-image: url(asset/banner/b17.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
.first button{
    padding: 10px;
    background-color: transparent;
    border: 1px solid white;
    margin-top: 35px;
    border-radius: 10px;
}
.first button:hover{
    background-color: seagreen;
}
.second{
    height: 50vh;
    width: 40vw;
    background-image: url(asset/banner/b10.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
.second button{
    padding: 10px;
    background-color: transparent;
    border: 1px solid rgb(0, 0, 0);
    margin-top: 35px;
    border-radius: 10px;
    color: white;
}
.second button:hover{
    background-color: seagreen;
}
#newsecban{
   width: 100%;
    margin-top: 10vh;
}
#newbanner{
    display: flex;
    justify-content: space-around;
}
#newbanner p{
    color: red;
    font-weight: bolder;
    font-size: 1.5rem;
}
#fban{
    height: 28vh;
    width: 30vw;
    background-image: url(asset/banner/b7.jpg);
     display: flex;
    flex-direction: column;
   justify-content: center;
    align-items: center;
    background-size: cover;  
    background-position: center;
     background-repeat: no-repeat;
    color: white;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
#sban{
      height: 28vh;
    width: 30vw;
    background-image: url(asset/banner/b4.jpg);
    display: flex;
    flex-direction: column;
   justify-content: center;
    align-items: center;
    background-size: cover;    
  background-position: center;
  background-repeat: no-repeat;
    color: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
#tban{
      height: 28vh;
    width: 30vw;
    background-image: url(asset/banner/b18.jpg);
    display: flex;
    flex-direction: column;
   justify-content: center;
    align-items: center;
    display: flex;
    background-size: cover;    
     background-position: center;
    background-repeat: no-repeat;
    color: white;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#mail{
    width: 100%;
    height: 15vh;
    background-color: rgb(15, 15, 61);
    margin-top: 15vh;
    color: white;
    display: flex;
    justify-content: space-around;
}
.mailw{
    display: flex;
    justify-content: center;
    align-items: center0;
    flex-direction: column;
}
.mailw h3{
    font-size: 1.7rem;
}
.mailinput{
   display: flex;
    justify-content: center;
    align-items: center;
}
.mailinput input{
    width: 17vw;
    height: 5vh;
}
.mailinput button{
    height: 5vh;
    width: 6vw;
    background-color: rgb(8, 150, 110);
    color: white;
    border: none;
    cursor: pointer;
}
.mailinput button:hover{
    background-color: aqua;
}

#footer{
    display: flex;
    height: 30vh;
    justify-content: space-around;
    align-items: center;
    background-color: #E3E6F3;
    margin-top: 1vh;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}
#footer span{
    font-weight: bolder;
}
.install img{
    height: 10vh;
    width: 20vw;
}
.menu-toggle {
  display: none;
}


@media (max-width: 768px) {
  #header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    position: relative;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle img {
    width: 30px;
    height: 30px;
  }

  #navbar {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 10px;
    display: none;
    background-color: #E3E6F3;
    padding: 10px;
  }

  #navbar.active {
    display: flex;
  }

  #navbar li {
    padding: 10px 0;
  }

  #hero {
    padding: 20px;
    height: auto;
    text-align: center;
    align-items: center;
  }

  #hero h1, #hero h2, #hero h4 {
    font-size: 1.5rem;
  }

  #feature {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .box {
    width: 80vw;
    height: auto;
  }

  .box img {
    width: 60vw;
    height: auto;
  }

  #product1,
  #product2 {
    padding: 20px;
  }

  .pro-container {
    flex-direction: column;
    align-items: center;
  }

  .pro {
    width: 80vw;
    height: auto;
  }

  .pro .product-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .price-row {
    justify-content: space-between;
    padding: 0 10px;
  }

  #offer {
    padding: 20px;
    height: auto;
  }

  #ban {
    flex-direction: column;
    gap: 20px;
  }

  .first,
  .second {
    width: 90vw;
    height: 60vh;
    background-size: cover;    
    background-position: center;
    background-repeat: no-repeat;
  }

  #newbanner {
    flex-direction: column;
    gap: 20px;
  }

  #fban,
  #sban,
  #tban {
    width: 90vw;
    height: 50vh;
  }

  #mail {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 10px;
  }

  .mailinput input {
    width: 60vw;
  }

  .mailinput button {
    width: 30vw;
  }

  #footer {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 10px;
    text-align: center;
  }

  .install img {
    width: 60vw;
    height: auto;
  }
}

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}
