/* customs web */
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
}
:root{
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --main-color:#6b7280;
  --other-color: #334155;
  --big-font: 4.3rem;
  --h2-font: 2.2rem;
  --p-font: 1rem;
}
body{
  color: var(--text-color);
  background: var(--bg-color);
  height: 400vh;
}
.middle-text h2{
  font-size: var(--h2-font);
  color: var(--text-color);
  font-weight: 600;
}
.middle-text span{
  color: var(--main-color);
}
.btn{
  display: inline-block;
  padding: 16px 30px;
  background: var(--text-color);
  color: var(--bg-color);
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all .45s ease;
}
.btn:hover{
  letter-spacing: 2px;
  opacity: 0.8;
}
/* header styling */
header{
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 17px 11%;
  border-bottom: 1px solid #f7f9fb;
  transition: all .45s ease;
}
header.sticky{
  background: var(--bg-color);
  padding: 14px 11%;
}
.logo img{
  width: 100%;
  height: auto;
}
.navbar{
  display: flex;
}
.navbar a{
  font-size: var(--p-font);
  color: var(--other-color);
  font-weight: 400;
  padding: 10px 25px;
  margin: 0 5px;
  background: transparent;
  border-radius: 30px;
  transition: all 0.45s ease;
}
.navbar a:hover{
  background: #f7f9fb;
}
.navbar .active{
  background: #f7f9fb;
}
.icons{
  display: flex;
  align-items: center;
}
.icons i{
  width: 50px;
  height: 50px;
  background: #f7f9fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--other-color);
  font-size: 22px;
  margin-right: 25px;
  margin-left: 10px;
  transition: all .45s ease;
}
.icons i:hover{
  transform: scale(0.9);
}
#menu-icon{
  font-size: 33px;
  cursor: pointer;
  z-index: 1001;
  display: none;
}
/* home styling */
section{
  padding: 100px 11% 90px;
}
.home{
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url(../image/hero.png);
  background-color: #e3ffe6;
  background-size: cover;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.home .home-img{
  width: 100%;
  height: auto;
}
.home .home-text h4{
  font-size: 22px;
  font-weight: 500;
  color: var(--other-color);
}
.home .home-text h1{
  font-size: var(--big-font);
  color: var(--text-color);
  line-height: 1.2;
  margin: 25px 0 45px;
}
.home .home-text .btn{
  display: inline-block;
  padding: 16px 30px;
  background: var(--text-color);
  color: var(--bg-color);
  font-size: 15px;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all .45s ease;
}
.home .home-text .btn:hover{
  letter-spacing: 2px;
  opacity: 0.8;
}
/* feature styling */
.feature .content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, auto));
  gap: 32px;
  align-items: center;
  margin-top: 80px;
}
.feature .row{
  padding: 40px 30px;
  background: #e3ffe6;
  border-radius: 20px;
  transition: all .45s ease; 
}
.feature .row2{
  background: #fef2f2;
}
.feature .row3{
  background: #eff6ff;
}
.feature .row:hover{
  transform: translateY(-5px);
  cursor: pointer;
}
.feature .main-row{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 2rem; 
}
.feature .main-row .row-img img{
  width: 150px;
  height: auto;
  max-width: 100%;
}
.feature .main-row .row-text h6{
  font-size: 13px;
  font-weight: 500;
  color: var(--other-color);
  margin-bottom: 1rem;
}
.feature .main-row .row-text h3{
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 3rem;
}
.feature .main-row .row-text .row-btn{
  display: inline-block;
  padding: 12px 22px;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 15px;
  border-radius: 30px;
  transition: all .45s ease;
}
.feature .main-row .row-text .row-btn:hover{
  letter-spacing: 1px;
  color: var(--bg-color);
  background: var(--text-color);
}
/* product styling */
.product .content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
  gap: 2rem;
  align-items: center;
  margin-top: 5rem;
}
.product .box{
  position: relative;
}
.product .box-img{
  background: #f6f6f6;
  border-radius: 10px;
  margin-bottom: 10px;
}
.product .box-img img{
  width: 100%;
  height: auto;
  padding-top: 20px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.product .box h3{
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.1;
}
.product .box h4{
  font-size: var(--p-font);
  color: var(--other-color);
  font-weight: 500;
  margin-bottom: 2rem;
}
.product .box .inbox{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.product .box .inbox .price{
  display: inline-block;
  padding: 4px 16px;
  background: transparent;
  border: 2px solid #ef4444;
  color: #ef4444;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all .45s ease;
}
.product .box .inbox .price:hover{
  letter-spacing: 1px;
}
.product .box .inbox .rating a{
  font-size: 19px;
  color: #ef4444;
  margin-right: 4px;
}
.product .box .heart i{
  position: absolute;
  height: 42px;
  width: 42px;
  display: inline-flex;
  top: 5px;
  right: 10px;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
  color: #ef4444;
  font-size: 22px;
  border-radius: 50%;
  transition: all .45s ease;
}
.product .box .heart i:hover{
  color: var(--bg-color);
  background: #ef4444;
  cursor: pointer;
}
/* cta styling */
.cta-content{
  margin: 0 11%;
}
.cta{
  height: 70vh;
  background: #e1fae5;
  background-position: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.cta .cta-text img{
  width: 30%;
  margin-left: -15px;
}
.cta .cta-text{
  margin-left: 30px;
}
.cta .cta-text h3{
  font-size: 60px;
  font-weight: 600;
  margin-bottom: 20px;
}
.cta .cta-text p{
  margin-bottom: 20px;
  color: var(--main-color);
}
.cta .cta-img img{
  position: relative;
  width: 140%;
  margin-top: 140px;
  margin-left: -30px;
}
@media (max-width: 991px) {
  .cta .cta-img img{
    display: none;
  }
}
/* contact styling */
.contact{
  padding: 50px 11% 40px;
}
.contact .main-contact{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, auto));
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.contact .contact-content h5{
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.contact .contact-content li{
  margin-bottom: 12px;
}
.contact .contact-content li a{
  display: block;
  font-size: 15px;
  color: #374151;
  font-weight: 400;
  transition: all .45s ease;
}
.contact .contact-content li a:hover{
  color: var(--text-color);
  transform: translateX(-5px);
}
/* footer styling */
.end-text p{
  text-align: center;
  padding: 20px;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--other-color);
}
/* screen styling max-width: 1700px */
@media (max-width: 1700px) {
  header{
    padding: 12px 3%;
  }
  header.sticky{
    padding: 12px 3%;
  }
  section{
    padding: 80px 3% 70px;
  }
  .home{
    gap: 1rem;
  }
}
/* screen styling max-width: 1515px */
@media (max-width: 1515px){
  :root{
    --big-font: 3.3rem;
    --h2-font: 2rem;
  }
}
/* screen styling max-width: 1410px */
@media (max-width: 1410px){
  .row-text h6{
    margin-bottom: 5px;
  }
  .row-text h3{
    margin-bottom: 1rem;
  }
  .cta-text{
    margin-left: 65px;
  }
  .home{
    height: 90vh;
  }
}
/* screen styling max-width: 1200px */
@media (max-width: 1200px){
  #menu-icon{
    display: initial;
    height: 50px;
    width: 50px;
    background: #f7f9fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--other-color);
    font-size: 32px;
  }
  .navbar{
    position: absolute;
    top: 100%;
    right: -100%;
    width: 300px;
    height: 125vh;
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 130px 30px;
    transition: all .45s ease;
  }
  .navbar a{
    display: block;
    margin: 1.1rem 0;
  }
  .navbar.open{
    right: 0;
  }
}
/* screen styling max-width: 940px */
@media (max-width: 940px){
  .home{
    grid-template-columns: 1fr;
    text-align: center;
    height: 117vh;
  }
  .home-img img{
    width: 500px;
    max-width: 100%;
    height: auto;
  }
  .home-text{
    padding-top: 50px;
  }
  .icons i{
    margin-right: 15px;
    margin-left: 5px;
  }
}