:root {
  --white: #fff;
  --black: #222;
  --blue: #5640a5;
  --grey: #444;
  --grey2: #959595;
  --grey-alt: #d1e2e9;
  --yellow: #ffd800;
  --green: #59b210;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
   
     }
     body{
      overflow: hidden;

     }

 
     /* --------------------- header----------- */

header .discount{
    height: 5%;
     background-color: var(--blue);
    text-align: center;
    color: var(--white);
    font-weight: 500;
  }
header .navbar {
   right: 0;
  left: 0;
  z-index: 9999;
  }

header .mr-auto,
.mx-auto {
  margin-left: auto !important;
  margin-right: 0 !important;
}

header .navbar-light .navbar-nav .nav-link {
   margin: 0 10px;
}

header.btn-primary {
  border-radius: 15px;
}

header .navbar-brand span {
  color: var(--blue);;
}
header.nav-link {
  color: var(--blue);;
}

header .navbar-light .navbar-nav .active > .nav-link {
  color: var(--blue);
}
header .nav-icons span:not(:last-child) {
  margin-right: 0.5rem;
}

header .nav-icons span {
   border-radius: 50%;
  border: 1px solid var(--grey);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

header .nav-icons span:hover {
  background-color: var(--blue);
}

header .nav-icons .far {
  transition: all 300ms ease-in-out;
}

header .nav-icons span:hover .far {
  color: var(--white);
}
.navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: var(--blue);
}
  
        /*--------------------- slider--------------- */
.silder {
  width: 100%;
  height: 80vh;
  margin: auto;
  position: relative;
  background-color: var(--white);
}
.silder .image {
  position: absolute;
  height: 100%;
  width: 60%;

  right: 10%;
  opacity: 0;
  transform: scale(0.8, 0.8);
  transition: 2s all;
  -webkit-transition: 2s all;
  -moz-transition: 2s all;
  -ms-transition: 2s all;
  -o-transition: 2s all;
  -webkit-transform: scale(0.8, 0.8);
  -moz-transform: scale(0.8, 0.8);
  -ms-transform: scale(0.8, 0.8);
  -o-transform: scale(0.8, 0.8);
}
.silder .content {
  position: absolute;
  background-color: transparent;
  width: 50%;
  height: 50%;
  /* padding: 10px; */
  top: 25%;
  right:  70%;
  color: #000;
}

.silder img {
  width: 100%;
  height: 100%;
  position: absolute;
}
.silder .active {
  opacity: 1;
  transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -o-transform: scale(1, 1);
}

.silder .btn-group {
  margin-top: 10px;
}
 
.silder .btn {
  color:var(--black);
  background-color: transparent;
  border-color: #000;
  font-weight: bolder;
}
.silder .content h2{
  color: var(--blue);
  font-size: 1.5rem;
}

.silder .content h3{
font-size: 1rem;
}
@media only screen and (max-width: 830px) {
   
  .silder .content h2{
    font-size: 1rem;
 }
 
 .silder .content h3{
 font-size: .7rem;
 }
 .slider a{
   font-size: .5rem;
 }
}
 
            /* -----------------section1--------------- */
.section1 {
   margin-top: 30px;
}

.section1 .title {
  font-size: 1.3rem;
    text-align: center;
  margin: 3rem 0;
  padding: 10px;
   background-color: #e6e6e6;
  
 
}

 
.section1 h2{
  font-size: 1.5rem;
}
 
.section1 .category-box {
  position: relative;
  border-radius: 0.5rem;
  height: 25rem;
  overflow: hidden;
  z-index: 1;
 margin: 5px auto;

  
}

.section1 .category-box::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 30%,
    transparent
  );
  z-index: 2;
}

.section1 .category-box img {
  height: 27rem;
  width: 100%;
  transition: all 500ms linear;
  padding-right: 10px;

}

.section1 .category-box:hover img {
  transform: scale(1.1);
}

.section1 .category-box .content {
  position: absolute;
  top: 30%;
  left: 5%;
  color: var(--white);
  z-index: 4;
}

.section1 .category-box .content h2 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.section1 .category-box .content span {
  display: block;
  margin-bottom: 1rem;
}

.section1 .category-box .content a {
  display: inline-block;
  color: var(--white);
  text-transform: uppercase;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--white);
  transition: all 300ms linear;
}

.section1 .category-box:hover a {
  border: 1px solid var(--black);
  background-color: var(--black);
  text-decoration: none;
}

.section1 .category-box .content span {
    font-size: 1.2rem;
  }

.section1.category-box .content a {
    font-size: 1.5rem;
    padding: 0.5rem 1.1rem;
  }
              /* =========== section2(Filtered Products) and Section4 ============ */
.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
   margin: 30px 0;
   background-color: #e6e6e6;
 }

.section-titles:not(:last-child) {
  margin: 20px;
}

.section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-top: 10px;
}
.section-title:hover .primary-title,
.section-title:hover span.dot,
.section-title:hover span.dot::before {
  opacity: 1;
}
.section-title .primary-title {
  opacity: 0.6;
  padding-left: 0.5rem;
  transition: opacity 0.3s ease-in-out;
}

span.dot {
  opacity: 0.6;
  padding: 0.45rem;
  position: relative;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}
 span.dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--black);
  background-color: var(--blue);
  margin: 1px;
  opacity: 0.6;
 }

 .section-title.active span.dot {
  opacity: 1;
}

.section-title.active span.dot::before {
  opacity: 1;
}

 .section-title.active .primary-title {
  opacity: 1;
}

@media only screen and (max-width: 567px) {
   .title-container {
    flex-direction: column;
    font-size: 5px;
    
  }
 
.section-titles:not(:last-child) {
    margin: 0 0 1.3rem;
  }
}

 /* ========= product center ========= */
 

   .product {
   position: relative;
    margin-bottom: 30px;
   height: 50vh;

}
   .row{
  justify-content: center;
}

  .product-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50%;
  
}
.product-header img{
  height: 100%;
}

  .product-footer{
   text-align: center;
  height: 20%;
}
  .product-footer h3,.product-footer h4 {
   font-size: 1rem;
  color: var(--grey);
  margin-top: 5px;
}

 .rating {
  color: var(--yellow);
  font-size: 1rem;
}
  .rating i{
  cursor: pointer;
}

 
 .product ul {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 40%;
  left: 50%;
  width: 17rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: all 0.5s ease-in-out;
  list-style-type: none;

}
 

  .product:hover ul {
  opacity: 1;
   transform: translate(-50%, -50%) scale(1);
}

  .product:hover ul i {
  color: var(--white);
}

  .product ul li:not(:last-child) {
  margin-right: 1.6rem;
}

  .product ul li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  transition: 0.5s;
  text-decoration: none;
  color: var(--white);

}

  .product ul a:hover {
  background-color: var(--black);
}

  .product ul a::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  height: 0;
  width: 0;
  border-top: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  transition: 0.5s;
  opacity: 0;
  z-index: 1;
}

  .product ul a::after {
  content: "";
  position: absolute;
  bottom: -0.6rem;
  right: -0.6rem;
  width: 0;
  height: 0;
  border-bottom: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  z-index: 1;
  opacity: 0;
  transition: 0.5s;
}

  .product ul a:hover::before {
  width: 126%;
  height: 126%;
  border-top: 3px solid var(--black);
  border-left: 3px solid var(--black);
  opacity: 1;
}

  .product ul a:hover::after {
  width: 126%;
  height: 126%;
  border-bottom: 3px solid var(--black);
  border-right: 3px solid var(--black);
  opacity: 1;
}



               /* ------section3-------- */

  .section3 .row{
  height: 300px;
}
.section3 .item-1{
  height: 100%;
}


.section3 .gallary-item {
  overflow: hidden;
  position: relative;
}

.section3 .gallary-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.section3 .gallary-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: all 500ms linear;
}

.section3 .gallary-item:hover .gallary-img {
  transform: scale(1.1);
}

.section3 .gallary-item .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: var(--white);
  width: 100%;
  text-align: center;
}

.section3 .gallary-item .content h2 {
  font-size: 1.2rem;
  font-weight: 500;
}

.section3 .gallary-item .content a {
  text-decoration: none;
  display: inline-block;
  padding: 1rem 1.5rem;
  border: 1px solid var(--white);
  color: var(--white);
  margin-top: 2rem;
}

@media only screen and (max-width: 767px) {
  .section3 .row{
    height: auto;
  }
}

        /* -------------Brnds------------------- */
.owl-carousel{
  height: 20vh;
}
.owl-carousel div{
  height: 20vh;
}
.owl-carousel img{
  height: 100%;
}
.owl-dots{
  display: none;
}

/* ========= Footer ======== */
.footer {
  margin-top: 30px;
  background-color: var(--black);
  padding: 2rem;
  line-height: 2rem;
}
.footer-center{
  padding-top: 20px;
}
.footer-center span {
  margin-right: 1rem;
}

.footer-container {
 
  color: var(--white);
}

.footer-center a:link,
.footer-center a:visited {
  display: block;
  color: var(--grey2);
  font-size: 1rem;
  transition: 0.6s;
}

.footer-center a:hover {
  color: var(--blue);
}

.footer-center div {
  color: var(--grey2);
  font-size: 1rem;
}

.footer-center h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.footer a{
  text-decoration: none;
}
/* to top */
.arrow {
  position: fixed;
  top: 90%;
  right: 2%;
  cursor: pointer;
opacity: 0;
transition: 1s all;
 color: var(--blue);
 z-index: 99999999999999;
}
.arrow:hover{
  color: blue;

}


/* loading */
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  z-index: 99999999999;
  opacity: 1;
  transition: 1s opacity;

}
.lds-facebook {

   position: absolute;
  width: 80px;
  height: 80px;
  top: 50%;
  left: 45%;
  z-index: 99999999999999999999;
  opacity: 1;
  transition: 1s opacity;

}
.lds-facebook div {
   position: absolute;
  left: 8px;
  width: 16px;
  background:var(--blue);
  animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
 }
.lds-facebook div:nth-child(1) {
  left: 8px;
  animation-delay: -0.24s;
}
.lds-facebook div:nth-child(2) {
  left: 32px;
  animation-delay: -0.12s;
}
.lds-facebook div:nth-child(3) {
  left: 56px;
  animation-delay: 0;
}
@keyframes lds-facebook {
  0% {
    top: 8px;
    height: 64px;
  }
  50%, 100% {
    top: 24px;
    height: 32px;
  }
}





 


 