/* Custom Properties */

/* =====================Par 2--------------------------- */

:root {
  /* color */
  --clr-gray: 0 0% 86.3%;
  --clr-gray-light: 0 0% 93.3%;
  --clr-red: 356.7 90.1% 56.5%;
  --clr-black: 0 0% 21.2%;
  --clr-yellow: 43.8 99% 58.8%;
  --clr-very-light-gray: 300 2.7% 92.7%;
  --clr-green: 144.3 64.4% 49.6%;
  --clr-orange: 30 100% 50%;
  --clr-blue: 214.5 100% 53.9%;
  --clr-white: 0 0% 100%;
  --clr-light-red:356.7, 90.1%, 56.5%, 0.14;

  /* font-size */
  --fs-bf-194: 12.3vw;
  --fs-bf-109: 6.8125rem;
  --fs-bf-65: 4.065rem;
  --fs-bf-80: 5rem;
  --fs-bf-50: 3.125rem;
  --fs-bf-45: 2.8125rem;
  --fs-bf-30: 1.875rem;
  --fs-bf-20: 1.25rem;
  --fs-bf-16: 1rem;
  --fs-bf-15: 0.9375rem;

  /* font family */
  --font-montserrat: "Montserrat", sans-serif;
  --font-poppins: "Poppins", sans-serif;
}


/* =============media query for font size============ */

@media (max-width: 35em) {
  :root {
    --fs-bf-194: 12.3vw;
    --fs-bf-109: 6.8125rem;
    --fs-bf-65: 4.065rem;
    --fs-bf-80: 5rem;
    --fs-bf-50: 3.125rem;
    --fs-bf-45: 2.8125rem;
    --fs-bf-30: 1.875rem;
    --fs-bf-20: 1rem;
    --fs-bf-16: 0.8rem;
    --fs-bf-15: 0.8rem;
  }
}
.finesmile{
  padding-top: 4rem;
}
.bg-purple{
  background-color: rgba(71, 75, 15, 0.757);
}
.bg-pink{
  background-color: rgb(131, 17, 68);
}
.bg-lightg{
  background-color: rgba(83, 124, 106, 0.975);
}
.text-black2{
  color: rgb(121, 24, 56);
}
@media (max-width: 35em) {
  :root {
    --fs-bf-194: 12.3vw;
    --fs-bf-109: 6.8125rem;
    --fs-bf-65: 4.065rem;
    --fs-bf-80: 5rem;
    --fs-bf-50: 3.125rem;
    --fs-bf-45: 2.8125rem;
    --fs-bf-30: 1.875rem;
    --fs-bf-20: 1rem;
    --fs-bf-16: 0.8rem;
    --fs-bf-15: 0.8rem;
  }
}

@media (min-width: 35em) and (max-width: 59em) {
  :root {
    --fs-bf-194: 12.3vw;
    --fs-bf-109: 6.8125rem;
    --fs-bf-65: 4.065rem;
    --fs-bf-80: 5rem;
    --fs-bf-50: 3.125rem;
    --fs-bf-45: 2.8125rem;
    --fs-bf-30: 2.55rem;
    --fs-bf-20: 1.25rem;
    --fs-bf-16: 1rem;
    --fs-bf-15: 0.8375rem;
  }
}

@media (min-width: 59em) {
  :root {
    --fs-bf-194: 12.3vw;
    --fs-bf-109: 6.8125rem;
    --fs-bf-65: 4.065rem;
    --fs-bf-80: 5rem;
    --fs-bf-50: 3.125rem;
    --fs-bf-45: 2.8125rem;
    --fs-bf-30: 1.875rem;
    --fs-bf-20: 2rem;
    --fs-bf-16: 1rem;
    --fs-bf-15: 0.9375rem;
  }
}



/* default reset */
*,*::after,
*::before{
  box-sizing: border-box;
}


input{
  background-color: transparent;
}


/* removing defalut margin */
body,
h1,
h2,h3,h4,p,figure,blockquote,dl,dd{
  margin: 0;
}

/* removing list style */
ul[role="list"],ol[role="list"]{
  list-style: none;
}

/* set core root default */
html:focus-within{
  scroll-behavior: smooth;
}

/* set core body default */
body{
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
 overflow-x: hidden;
 
    background-color: rgb(243, 236, 236);
  
}

/* A element that dont have a class get defaultstyle */
a:not([class]){
  text-decoration-skip-ink: auto;
}

/* make img easier to work  */
img,picture{
  max-width: 100%;
  display: block;
}

/* inherit fonts 4 ip and buttons */

input,button,textarea,select{
  font: inherit;
}
input{
  background: none;
}

::-webkit-scrollbar{
  display: none;
}

/* removing all animation, transition & smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce){
  html:focus-within{
    scroll-behavior: auto;
  }

  *,*::after,*::before{
    animation-duration: 0.01 ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
    scroll-behavior: auto !important;
  }
}

/*--------- end of general reset------*/

/* some imp utlity classes */
body{
  overflow-x: hidden;
}

/* bg color utlity class */
.bg-red{background-color:hsl(var(--clr-red));}
.bg-black{background-color:hsl(var(--clr-black));}
.bg-blue{background-color:hsl(var(--clr-blue));}
.bg-gray{background-color:hsl(var(--clr-gray));}
.bg-green{background-color:hsl(var(--clr-green));}
.bg-orange{background-color:hsl(var(--clr-orange));}
.bg-gray-light{background-color:hsl(var(--clr-gray-light));}
.bg-very-light-gray{background-color:hsl(var(--clr-very-light-gray));}
.bg-white{background-color:hsl(var(--clr-white));}
.bg-yellow{background-color:hsl(var(--clr-yellow));}
.bg-light-red{background-color:hsl(var(--clr-light-red));}

.bg-orange{
  background-color: rgb(255, 100, 44);
color: rgb(255, 100, 44);
}
/* text utility classes */

.text-red{color:hsl(var(--clr-red));}
.text-black{color:hsl(var(--clr-black));}
.text-blue{color:hsl(var(--clr-blue));}
.text-gray{color:hsl(var(--clr-gray));}
.text-green{color:hsl(var(--clr-green));}
.text-orange{color:hsl(var(--clr-orange));}
.text-gray-light{color:hsl(var(--clr-gray-light));}
.text-very-light-gray{color:hsl(var(--clr-very-light-gray));}
.text-white{color:hsl(var(--clr-white));}
.text-yellow{color:hsl(var(--clr-yellow));}
.text-light-red{color:hsl(var(--clr-light-red));}

/* font size ultility classes */
.fs-900{font-size: var(--fs-bf-194);}
.fs-800{font-size: var(--fs-bf-109);}
.fs-700{font-size: var(--fs-bf-80);}
.fs-600{font-size: var(--fs-bf-65);}
.fs-500{font-size: var(--fs-bf-50);}
.fs-400{font-size: var(--fs-bf-45);}
.fs-300{font-size: var(--fs-bf-30);}
.fs-200{font-size: var(--fs-bf-20);}
.fs-100{font-size: var(--fs-bf-16);}
.fs-500{font-size: var(--fs-bf-15);}

/* font blod */
/* 11;24 */

.bold-100{font-weight: 100;}
.bold-200{font-weight: 200;}
.bold-300{font-weight: 300;}
.bold-400{font-weight: 400;}
.bold-500{font-weight: 500;}
.bold-600{font-weight: 600;}
.bold-700{font-weight: 700;}
.bold-800{font-weight: 800;}
.bold-900{font-weight: 900;}
.bold-bold{font-weight: bold;}
.bold-bolder{font-weight: bolder;}


/* font family */

.fs-poppins{font-family: "Poppins", sans-serif;}
.fs-montserrat{font-family:  "Montserrat", sans-serif;}



/*  component utility clases   */

.fas{
  cursor: pointer;
}
.fas:hover{
  transform:scale(1.1);
}
.flex{
  display: flex;
gap: var(--flex-gap, 1rem);
}

.grid{
  display: grid;
gap: var(--flex-gap, 1rem);
}
.container{
  width: 96vw;
  margin-inline: auto;
  padding-inline: 2rem;
}


.logout-icon {
  background-color: #dc2947;
  margin-top: -0.5rem;
  color: #fff;
  padding: 12px;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.5s, transform 0.5s;
  
}
.logout-icon:hover {
  background-color: #c20b0b;
  transform: scale(1.1);
}



    /* .logo-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #fdd0d0;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      animation: logoZoomOut 1.5s ease 2.5s forwards;
    } */

    /* .logo-text {
      color: rgb(233, 52, 52);
      font-size: 4rem;
      font-weight: bold;
      opacity: 0;
      animation: logoFadeIn 1.2s ease forwards;
    }

    @keyframes logoFadeIn {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }

    @keyframes logoZoomOut {
      to {
        transform: scale(10);
        opacity: 0;
      }
    }

     */

    /* Smooth transition between screens */
    /* .transition-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgb(0, 0, 0);
      z-index: 999;
      opacity: 1;
      animation: overlayFade 0.5s ease 3s forwards;
      
    }

    @keyframes overlayFade {
      to {
        opacity: 0;
        visibility: hidden;
      }
    } */




/* ====================Part 1----------------------------------------------- */
/* header section */
.primary-header{
  justify-content: space-between;
  align-items: center;
  padding-block: 2rem;
}
.header-inner-one{
  align-items: center;
}
.logo{
  margin-right: 2rem;
}
.mobile-close-btn{
  display: none;
}
.primary-navigation{
margin: 0;
padding: 0;
list-style: none;
--flex-gap:3rem;
}
.primary-navigation a{
  text-decoration: none;
  color: hsl(var(--clr-black)/0.6);
  cursor: pointer;
}

.primary-navigation .active{
  color: #000000;

}
.header-login{
  justify-content: center;
  align-items: center;
  --flex-gap:2rem;
}

.header-login .anime-shopping-bag{
  font-size: 2rem;
  margin-top: -0.1rem;
  position: relative;
}
.header-login .anime-shopping-bag::after{
  content: '2';
  width: 1rem;
  position: absolute;
  background-color: hsl(var(--clr-red));
  height: 1.1rem;
  /* margin-top: -3rem; */
  margin-left: 1rem;
  border-radius: 0.4rem;
  display: grid;
  color: hsl(var(--clr-white));
  font-size: 0.8rem;
 justify-content: center;
  text-align: center;
  align-items: center;
  font-weight: 600;
}
.mobile-open-btn{
  display: none;
}
.header-login .anime-user{
  font-size: 2rem;
  margin-top: 0.1rem;
  position: relative;
}


/* ========Cart Box==================== */

/* .cart-icon{
  position: absolute;
  inset: 0% 30% 0% 0%;
  background-color: hsl(var(--clr-very-light-gray));
  transform: translateX(-200%);
  transition: transform 250ms ease-in-out;
  z-index: 111;
 display: none;
}

.cart-icon[data-visible="true"]{
transform: translateX(0%);
display: block;
} */

.shopping{
  padding: 2rem;
  justify-content: space-between;
  align-items: center;
}

.shopping > p{
  font-size: var(--fs-bf-20);
  font-family: var(--font-montserrat);
}

.shopping > i{
  font-size: 1.5rem;
  color: hsl(var(--clr-black) / 0.8);
  transition: transform 250ms ease-in-out;
}

.shopping i:hover{
  transform: rotate(90deg);
}

.cart{
  flex-direction: column;
  justify-content: center;
  width: 100%;
  --flex-gap: 0.5rem;
  align-items: center;
  font-family: var(--font-poppins);
  text-transform: uppercase;
  color: hsl(var(--clr-black) / 0.5);
}

.cart > i{
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* ========Cart Box==================== */

/* ----------- */
/* mobile header */
/* ==== */

  /* #primary-navigation[data-visible="false"],
  .mobile-close-btn[data-visible="false"] {
    display: none;
  }

  #primary-navigation[data-visible="true"],
  .mobile-close-btn[data-visible="true"] {
    display: block;
  }
  .mobile-close-btn[data-visible="false"] {
    display: none;
  }
  
  .mobile-close-btn[data-visible="true"] {
    display: block;
  } */
/* /==== */
@media (max-width: 35rem){
  .primary-navigation{
    position: fixed;
    flex-direction: column;
    z-index: 9999;
    text-align: center;
    --flex-gap: 1.7rem;
    inset: 0 0 0 0;
    background-color: hsl(var(--clr-gray-light) / 0.9);
    padding: clamp(3rem, 30vh, 10rem) 0;
  transform: translateY(-100%);
  transition: transform 250ms ease-in-out;
  }
.primary-navigation[data-visible="true"]{
  transform: translateY(0%);
  
}
.primary-navigation a{
  font-size: var(--fs-bf-30);

}
.header-login{
  --flex-gap:1rem;
  
 
}

.logout-icon{
  /* position: absolute; */
  padding: 8px;
  /* right: 90px; */
  
}

 .mobile-close-btn {
    display: block;
    z-index: 88899;
    top: 5rem;
    right: 13rem;
    border: 0;
    position: fixed;
    font-size: 3rem;
    cursor: pointer;
    transform: translateY(-300%);
    transition: transform 250ms ease-in-out;
  }
.mobile-close-btn[data-visible="true"]{
  transform: translateY(0%);
}
.mobile-open-btn{
  display: block;
  font-size: 2rem;
  cursor: pointer;
 

}
.cart-icon{
    z-index: 9999;
    position: fixed;
  }
}

/* -------- */
/* IPad  */
@media (min-width:35em) and (max-width:59em){


/* == */

  /* .mobile-close-btn[data-visible="false"] {
    display: none;
  }

  .mobile-close-btn[data-visible="true"] {
    display: block;
  }

  #primary-navigation[data-visible="false"],
  .mobile-close-btn[data-visible="false"] {
    display: none;
  }

  #primary-navigation[data-visible="true"],
  .mobile-close-btn[data-visible="true"] {
    display: block;
  } */
/* ==== */


  .primary-navigation{
    position: absolute;
    flex-direction: column;
    z-index: 9;
    text-align: center;
    --flex-gap: 1.7rem;
    inset: 0 0 0 0;
    background-color: hsl(var(--clr-gray-light) / 0.9);
    padding: clamp(3rem, 30vh, 10rem) 0;
  transform: translateY(-100%);
  transition: transform 250ms ease-in-out;
  }
.primary-navigation[data-visible="true"]{
  transform: translateY(0%);
  
}
.primary-navigation a{
  font-size: var(--fs-bf-30);

}
.header-login{
  --flex-gap:1.5rem;
  margin-left: 4rem;
}
  .mobile-close-btn {
    display: block;
    z-index: 99;
    position: absolute;
    top: 5rem;
    right: 24.5rem;
    border: 0;
    font-size: 3rem;
    cursor: pointer;
    transform: translateY(-300%);
    transition: transform 250ms ease-in-out;
  }
.mobile-close-btn[data-visible="true"]{
  transform: translateY(0%);
}
.mobile-open-btn{
  display: block;
  font-size: 2rem;
  cursor: pointer;

}
.cart-icon{
    z-index: 9999;
    position: fixed;
  }
}

@media (min-width: 59em){
  
  .cart-icon{
    position: absolute;
    inset: 10% 5% 50% 60%;
    background-color: hsl(var(--clr-very-light-gray));
    transform: translateX(0%);
    transition: none;
    border-radius: 1rem;
    transform: translateX(150%);
    transition: transform 250ms ease-in-out;
    z-index: 222;
    display: block;
  }

  .cart-icon[data-visible="true"]{
    transform: translateX(0%);
  }
.cart-icon .shopping{
  display: none;
}
  .cart{
    padding-top: 4rem;
  }
  
}


/*  <----- end header section------->

*/

/* hero section */
.block{display: block;}
.uppercase{text-transform: uppercase;}
.lineheight{line-height: var(---line, 3rem);}
.lineheight2{line-height: var(---line2, 4rem);}

.large-btn, .homeT2{
  border: 0;
  padding: 0.7rem 1rem;
  border-radius: 2rem;
  cursor: pointer;
  /* transition: transform 1s ease-in-out; */
  transition: box-shadow 0.3s ease-in-out, scale 0.3s ease-in-out;
}

.large-btn:hover{
  scale:1.1;
  box-shadow: 3px 2px 10px -6px rgb(11, 11, 11);

}
.homeT2:hover{
  scale:1.1;
  transition-duration: 0.6s;
}

/*================hero section=========*/
.hero-section{
  width: 93vw;
  margin-inline: auto;
  padding-inline: 2rem ;
  margin:1.1rem;

  background-color: hsl(var(--clr-red)/ 0.1 );

  border-radius: 2rem;
  padding-top: 4rem;
}

/* .img height reducing  optional */
.img {
  
  max-width: 300px;
  height:300px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.2));
   animation: none;
}
 


.hero-section >* img{
  margin-top: -10rem;
  margin-left: 5rem;
}
.hero-inner{
justify-content: space-between;
align-items: center;
--flex-gap:4rem;
margin-top: -2.5rem;
padding-bottom: 3rem;
}
.hero-info{
  display: none;
}




/*    for desktop */
@media (min-width:59em){
  
  /* Common animation class */
  /* @keyframes zoomIn {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  } */
  
  @keyframes slideInRight {
    0% {
      opacity: 0;
      transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
  
  @keyframes slideInLeft {
    0% {
      opacity: 0;
      transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Apply to heading */
/* .homeT1 {
  animation: zoomIn 2s ease-in-out forwards;  
  animation-delay: 1s;
} */

/* Apply to description */
.homeT3 {
  animation: slideInRight 2.5s ease-in-out forwards;
  animation-delay: 0.3s;
}
.homeT2 {
  animation: slideInLeft 2.5s ease-in-out forwards;
  animation-delay: 0.3s;
}

.hero-section{
    width: 95vw;
    margin-inline: auto;
    margin-top:  -0.8rem;
    padding-inline: 8rem ;
    padding-top: clamp(-4rem, 30vh, 15rem);
    height:fit-content;
  }
 
.hero-section >* img{
  margin-top: -20rem;
  margin-left: 20rem;
}

.img {
  width: 100%;
  max-width:550px;
  height: auto;
  transform-style: preserve-3d;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.2));

}

.lineheight{
  /* --line: 13rem; */
  line-height: 7rem;
  margin-top: -5rem ;
}
.lineheight2{
  /* --line2:37rem; */
  line-height: 7.5rem;
}
  .hero-info{
    display: block;
    text-align: end;
    width: 25%;
  }
  .big-wireless{
    font-size: 5rem;
  }
  .hero-inner{
    margin-top: -7rem;
    padding-bottom: 4rem;
  }
  
}


/*  for tablet ipad */
@media (min-width : 35em) and (max-width: 59em){
.hero-section{
  width: 95vw;
  margin-inline: auto;
  padding-inline: 4rem;
  padding-top: 7rem;
}
.hero-section >* img{
  margin-top: -10rem;
  margin-left: 5rem;
}
.lineheight2{
  --line2:7rem;
}

.img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.2));
  animation: none ;
   
 

}
 

}

/* product  */

/* =================Product Section===================== */

.product-section{
  width: 93vw;
  margin-inline: auto;
  
}

.category{
  border-radius: 2rem;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-end;
  padding: 7rem 4rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  z-index: 777;
  margin-block: 1rem;
  
  transition: transform 0.5s ease, filter 0.5s ease;
}
.category:hover{
  transform:perspective(1000px) translateZ(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  filter: brightness(1.05);
}

.prdduct-btn{
  margin-top: 1rem;
  padding-inline: 2rem;
}
.earphone{
  color: hsl(var(--clr-white) / 0.2);
}

.product-img1{
  position: absolute;
  top: -2.3rem;
  right: 3rem;
  z-index: -11;
}

.product-img2{
  position: absolute;
  right: -6rem;
  top: -0.5rem;
  }

.product-img3{
  position: absolute;
  width: 80%;
  right: -3.5rem;
  top: 2.5rem;
  }

.product-img4{
  position: absolute;
  width: 50%;
  right: 1rem;
  top: 5rem;
  }

.product-img5{
  position: absolute;
  width: 100%;
  right: -4rem;
  top: 1rem;
  z-index: -1;
  }


.product-img6{
  position: absolute;
  width: 70%;
  right: -3rem;
  top: 5rem;
  z-index: -1;
  }


  /* ================================= */

  .category:nth-child(1){
    grid-area: one;
  }
  .category:nth-child(2){
    grid-area: two;
  }
  .category:nth-child(3){
    grid-area: three;
  }
  .category:nth-child(4){
    grid-area: four;
  }
  .category:nth-child(5){
    grid-area: five;
  }
  .category:nth-child(6){
    grid-area: six;
  }

  @media (min-width: 35em) and (max-width: 59em){
    .product-section{
      width: 95vw;
      margin-inline: auto;
      margin-block: 2rem;
      gap: 1.5rem;
      display: grid;
      grid-template-areas: 
      'one two'
      'three three'
      'six five'
      'four four';
    }
    
    .category{
      border-radius: 2rem;
      grid-template-columns: repeat(2, 1fr);
      align-items: flex-end;
      padding: 7rem 4rem 2rem 4rem;
      position: relative;
      overflow: hidden;
      z-index: 777;
      margin-block: 0rem;

    }

    .product-img3{
      position: absolute;
      width: 60%;
      right: -1rem;
      top: 1rem;
      }
    .product-img4{
      position: absolute;
      width: 50%;
      right: -1rem;
      top: 1rem;
      }
    .product-img5{
      position: absolute;
      width: 110%;
      top: 2.8rem;
      }
  }


  @media (min-width: 59em){
    .product-section{
      width: 95vw;
      margin-inline: auto;
      margin-block: 2rem;
      gap: 1.5rem;
      display: grid;
      grid-template-areas: 
      'one two three three'
      'four four five six';
    }
    .category{
      border-radius: 2rem;
      grid-template-columns: repeat(2, 1fr);
      align-items: flex-end;
      padding: 10rem 4rem 4rem 3rem;
      position: relative;
      overflow: hidden;
      z-index: 777;
      margin-block: 0rem;

    }

    .product-img1{
      position: absolute;
      top: 1rem;
      width: 150%;
      right: -10rem;
      z-index: -11;
    }
    
    .product-img2{
      position: absolute;
      right: -6rem;
      top: 2rem;
      }
    
    .product-img3{
      position: absolute;
      width: 80%;
      right: -3.5rem;
      top: 1rem;
      }
    
    .product-img4{
      position: absolute;
      width: 50%;
      right: 1rem;
      top: 5rem;
      }
    
    .product-img5{
      position: absolute;
      width: 100%;
      right: -4rem;
      top: 1rem;
      z-index: -1;
      }
    
    
    .product-img6{
      position: absolute;
      width: 70%;
      right: -3rem;
      top: 5rem;
      z-index: -1;
      }

    .lineheight{
      --line: 3rem
    }
    .lineheight-2{
      --line: 3rem
    }
  }

/* =================Product Section===================== */



/* --===============Service Section================== */

.service-section{
  width: 90vw;
  margin-inline: auto;
  margin-block: 2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-areas: 
  'one two'
  'three four';
}

.service:nth-child(1){
  grid-area: one;
}
.service:nth-child(2){
  grid-area: two;
}
.service:nth-child(3){
  grid-area: three;
}
.service:nth-child(4){
  grid-area: four;
}

.service{
display: grid;
place-items: center;
text-align: center;
gap: 1rem;
}

.service .fs-200{
  font-size: .9rem;
}
.service .fs-50{
  font-size: .79rem;
}

@media (min-width: 59em){
  .service-section{
    width: 90vw;
    margin-inline: auto;
    margin-block: 2rem;
    display: grid;
    gap: 5rem;
    grid-template-areas: 
    'one two three four';
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .service .fs-200{
    font-size: 1rem;
  }
  .service .fs-50{
    font-size: .79rem;
  }
}

/* =============Feature Section=============== */

.feature-section{
  width: 90vw;
  margin-inline: auto;
  border-radius: 2rem;
  position: relative;
  margin-top: 15rem;
  display: grid;
  gap: 1rem;
  place-items: center;
  margin-bottom: 2rem;
  text-align: center;
  padding-inline: 4rem;
  padding: 8rem 2rem 2rem 2rem;
}

.feature-section >* img{
  margin-top: -18rem;
  position: absolute;
  right: -1.5rem;
}

.feature-info{
  padding-inline: 1rem;
  margin-top: 1rem;
}


@media (min-width: 35em) and (max-width: 59em){
  .feature-section{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 55rem;
    text-align: left;
    padding: 2rem 0rem;
    gap: 7rem;
  }
  .feature-section >* img{
    margin-top: -18rem;
    position: absolute;
    right: 5rem;
  }
  .smile{
    display: block;
    line-height: 2rem;
    padding-bottom: 1rem;
  }
  .silver{
  height: 400px;
  left: 1rem;
  top: 10rem;
}
}

@media (min-width: 59em){
.feature-section{
  width: 95vw;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  text-align: left;
  gap: 15rem;
  padding: 4rem 7rem;
  place-items: start;
  z-index: 2;
}

.feature-section >* img{
  margin-top: -16rem;
  position: absolute;
  right: 19rem;
  z-index: -1;
}
.silver{
  height: 550px;
}

.font-size{
  font-size: 5rem;
  line-height: 4rem;
}

.smile{
  display: block;
  margin-bottom: 2rem;
}
}



/* =============Best-selling Product==================== */

.best-product{
  padding-block: 5rem;
  text-align: center;
}

.best-Seller{
  width: 90vw;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 3rem;
  grid-template-areas: 
  'one'
  'two'
  'three'
  'four'
  'five'
  'six'
  'seven'
  'eight';
}

.best-Seller:nth-child(1){
  grid-area: one;
}
.best-Seller:nth-child(2){
  grid-area: two;
}
.best-Seller:nth-child(3){
  grid-area: three;
}
.best-Seller:nth-child(4){
  grid-area: four;
}
.best-Seller:nth-child(5){
  grid-area: five;
}
.best-Seller:nth-child(6){
  grid-area: six;
}
.best-Seller:nth-child(7){
  grid-area: seven;
}
.best-Seller:nth-child(8){
  grid-area: eight;
}



.product{
  text-align: left;
  --grid-gap: 0.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
height: 330px;
border-radius: 30px;
background-color: hsl(var(--clr-red)/0.1);
}



.product-details{
  position: absolute;
  height: fit-content;
  place-items: center;
  font-size: 1.5rem;
  --grid-gap: 0rem;
  width: 10%;
  right: 0;
  top: 0;
  border-radius: .5rem;
  transform: translateX(120%);
  transition: transform 250ms ease-in-out;
}

.product:hover .product-details{
  transform: translateX(0%);
}

.product > img{
 border-radius: 2rem;
  width: 100%;
 
  object-fit: cover;
  transition: transform 1s ease-in-out;
}

.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  transition: transform 0.5s ease-in-out;
  display: block;
}
.letter-spacing{
  letter-spacing: -1px;
  font-size: 2.2rem;
}
/* Dark overlay layer effect */
.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(69, 66, 66, 0.6), #b53857);
  position: absolute;
  left: 0;
  
  bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 14px;
  padding: 0 20px;
  border-radius: 2rem;
  transition: height 0.5s ease;
  color: white;
   transform-style: preserve-3d;
  transform: translateZ(30px);
}

.product:hover .layer {
  height: 100%;
  transform: translateZ(50px) rotateY(5deg);
}

@media (min-width: 35em) and (max-width: 59em){
  .best-Seller{
    width: 90vw;
    margin-inline: auto;
    text-align: center;
    display: grid;
    gap: 3rem;
    padding-block: 2rem;
    grid-template-areas: 
    'one two'
    'three four'
    'five six'
    'seven eight';
  }
}

@media (min-width: 59em){
  .best-Seller{
    width: 95vw;
    height: fit-content;
    margin-inline: auto;
    text-align: center;
    display: grid;
    gap: 3rem;
    padding-block: 2rem;
    grid-template-areas: 
    'one two three four'
    'five six seven eight';
    
  }
  .product img{
    width: 100%;
    height:100%;
    border-radius: 2rem;
    transition: transform 2s ease-in-out;
background-color:hsl(var(--clr-red) / 0.1);
  }
 .product:hover{
   transform:perspective(1000px) translateZ(20px);
   transition: transform 0.7s ease, filter 0.5s ease;
 }
}

/* ====================Feature Section Secont ? Feature Green */

.feature-green img{
  margin-top: -10rem;
  right: 4.5rem;
  width: 70%;
}

@media (min-width: 35em) and (max-width: 59em){
  .feature-green img{
    margin-top: -10rem;
    right: 10rem;
    left: 5rem;
    width: 600px;
  }
}

@media (min-width: 59em){
  .feature-green img{
    margin-top: -17rem;
    right: 30rem;
    width: 60%;
  }
}


/* ================footer==================== */

.footer{
  margin-block: 5rem;
  width: 85vw;
  margin-inline: auto;
  grid-auto-columns: auto;
  --grid-gap:1.5rem;
  grid-template-areas: 
  'one'
  'two'
  'three'
  'four';
}

.footer:nth-child(1){
  grid-area: one;
}
.footer:nth-child(2){
  grid-area: two;
}
.footer:nth-child(3){
  grid-area: three;
}
.footer:nth-child(4){
  grid-area: four;
}


 .social-media{
  --flex-gap: 1.5rem;
}

.footer-menu > ul{
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu li{
  margin-top: 0.5rem;
}

.footer-menu a{
  text-decoration: none;
}

.footer .contact > p{
  width: 60%;
}

.inputField{
padding: .5rem 0.5rem;
border-radius: 4rem;
}

.inputField > button{
  border: 0;
  padding: 0.7rem 1.5rem;
  border-radius: 3rem;
  cursor: pointer;
}

.inputField input{
  border: 0;
  width: 60%;
}

.inputField input:hover,
.inputField input:focus{
  outline: none;
}

.inputField input[type="email"]{
  margin-left: 2.5rem;
}


@media (min-width: 35em) and (max-width: 59em){
  .footer{
    --grid-gap: 0.5rem
    grid-auto-columns: auto;
    grid-template-areas: 
    'one two'
    'three four';
  }
  


 .social-media{
  --flex-gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-menu li{
  margin-top: 0.1rem;
}

.footer-menu a{
font-size: 1rem;
}

.updates{
  font-size: 1.5rem;
}
.inputField input{
  border: 0;
  width: 50%;
}


.inputField input[type="email"]{
  margin-left: 2rem;
}
}



@media (min-width: 59em){
  .footer{
   
    width: 92vw;
    margin-top: 6rem;
    --grid-gap: 2rem;
    grid-auto-columns: auto;
    grid-template-areas: 
    'one two three four';
  }
  .footer-logo > p{
    font-size: 1rem;
  }
  .footer-menu > h3{
   font-size: 1rem;
  }
  .footer-menu a{
    font-size: 1rem;
    }

    .contact > h3{
      font-size: 1rem;
    }
    .emails > h3{
      font-size: 1rem;
    }

    .inputField input{
      border: 0;
      width: 100%;
    }
    
}





/* subscribe popup */
.popup-message {
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.popup-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.popup-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}


/* ==============CopyRight------------------- */
.text-align{
  text-align: center;
}

.p-top{
  padding: 1rem 0;
}





.copyRight{
  margin-top: 5rem;
  padding: 1rem 2rem;
  margin-inline: auto;
  background-color: hsl(var(--clr-red) / 0.2);
  color: hsl(var(--clr-black) / 0.9);
}

@media (min-width: 35em) and (max-width: 59em){
  .copyRight{
   display: flex;
   justify-content: space-between;
   align-items: center;
  }
}

@media (min-width: 59em){
  .copyRight{
   display: flex;
   justify-content: space-between;
   align-items: center;
  }
  .c-font{
    font-size: 1rem;
  }
}


/* scroll up button */
 #scrollUpBtn {
    position: fixed;
    bottom: 4em;
    right: 1em;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background: none;
    
    cursor: pointer;
    padding:0;
    margin: 0;
    border-radius:0;
    display: none; /* Hidden by default */
    box-shadow: none;
    /* transition: background-color 0.3s; */
  }
  #scrollUpBtn lord-icon {
  
    background-color: none;
  }

  #scrollUpBtn:hover {
    background:none;
    transform: scale(1.5);
  }


  .bg-black1{
    background-color: rgb(37, 24, 21);
  }