/* Mobile Phone  */
@media (max-width: 767px) { }
/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) { }

/* ========================================================================
Hero Section ==============================================================
======================================================================== */
 .heroSwiper {
  width: 100%;
  height: calc(100svh - 88px);
}

.heroSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.heroSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content  */
.hero_slider_content { 
  width: 100%;
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;

  .hero_slider_content-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
.hero_slider_content h1 { color: var(--white); }

.hero .cta-btn {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 5px;
  width: 230px;
  height: 60px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 59px;


  &:hover {
    background-color: var(--primary-hover);
    color: var(--white);
  }
}

.hero {position: relative;}
.scroll-anim {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 1;
  display: flex;
  row-gap: 8rem;
  flex-direction: column;
  align-items: center;

  &>p {
    color: #fff;
    font-size: var(--white);
    font-weight: 300;
    letter-spacing: .3ch;
    
  }

  &>.line {
    content: '';
    display: block;
    position: relative;
    width: 1px;
    height: 50px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);

    & span {
      content: "";
      display: block;
      width: 3px;
      height: 0px;
      /* border-radius: 50%; */
      background-color: white;
      position: absolute;
      top: 0;
      left: -1px;

      animation-name: scroll-line;
      animation-duration: 2200ms;
      animation-timing-function: ease-in-out;
      animation-iteration-count: infinite;

    }
  }
}
@keyframes scroll-line {
  0% {
    height: 0px;
    opacity: 0;
  }
  10% {
    height: 0px;
    opacity: 1;
  }
  80% {
    height: 50px;
    opacity: 1;
  }
  100% {
    height: 50px;
    opacity: 0;
  }
}
@media (max-width: 767px) { 
  .hero_slider_content .hero_slider_content-text { align-items: center; }
  .heroSwiper { height: calc(100svh - 80rem); }
}
@media (min-width: 768px) and (max-width: 1024px) { 
  .hero_slider_content .hero_slider_content.hero_slider_content-text { align-items: center; }
  .heroSwiper { height: calc(100svh - 100rem); }
}

/* ========================================================================
Product Lists Section =====================================================
======================================================================== */
.product { 
  padding-block: var(--section-p-block); 
  background-color: #f3f4f6;
}
.product-lists.swiper { 
  margin-top: 34rem; 
  
  /* edit layout  */
  width: 90%;
  margin-inline: auto;
}
.product .section-tittle {
  display: grid;
  grid-template-columns: 220px 1fr;

  h3 { font-size: var(--fs24);font-weight: 800; }
  p { font-size: var(--fs16); color: var(--primary); font-weight: 500; }
}

.product .section-tittle > div { 
  position: relative; 

  &> h3::before {
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 30px;
    background-color: var(--primary);
  
    position: absolute;
    left: -16px;
    top: -6px;
    z-index: -1;
  }
}

.product-lists_slider_content {
  background-color: var(--white);
  padding: 20rem 10rem;
  border-radius: 10rem;

  display: flex;
  flex-direction: column;
  row-gap: 16rem;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  /* max-height: 300px; */
}
.product-lists_slider_content__image { 
  /* height: 85%;  */
  height: 310rem;
  display: flex;
}
.product-lists_slider_content__image img { 
  width: 100%;
 height: auto;
 object-fit: contain; 
}

/* disable default swiper icon  */
.swiper-button-next:after, .swiper-button-prev:after { display: none; }


/* 
===== Edit layout swiper ===========================================
.product-lists-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 18rem;
}
.product-lists-slider-control {
  display: flex;
  align-items: flex-end;
  position: relative;
  column-gap: 7rem;
  justify-content: space-around;
}
section.product .product-lists-slider-control > * {
  position: static;
}
section.product .product-lists-slider-control > .swiper-pagination {
  width:inherit;
  bottom: 12px;
  position: relative;
}

.product-lists-slider-control > .swiper-pagination > .swiper-pagination-bullet-active {
  background: var(--primary);
}
.product-lists-slider-control > :is(.swiper-button-prev, .swiper-button-next) {
    background-color: var(--white);
    color: var(--primary);
    padding: 12px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
section.product .product-lists-slider-control > :is(.swiper-button-next:after, .swiper-button-prev:after) {
  font-size: 14px ;
} */



.product-lists-container {
  /* display: flex;
  flex-direction: column;
  row-gap: 18rem; */

  position: relative;
}
.product-lists-container .swiper-pagination  {
  position: relative;
}
.product-lists-container .swiper-arrow-container .swiper-button-prev {
  position: absolute;
  top: 190px;
  left: 0;
}
.product-lists-container .swiper-arrow-container .swiper-button-next {
  position: absolute;
  top: 190px;
  right: 0;
}
.product-lists-container .swiper-arrow-container > :is(.swiper-button-prev, .swiper-button-next) {
  background-color: var(--white);
  color: var(--primary);
  padding: 12px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.product-lists-container .swiper-pagination {
  margin-top: 30rem;
}
.section-tittle_btn-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  text-align: center;
}






.product .cta-btn {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 5px;
  width: 147px;
  height: 46px;
  flex-direction: row;
  justify-content: center;
  align-items: center;


  &:hover {
    background-color: var(--primary-hover);
    color: var(--white);
  }
}
.product-link {
 display: flex;
 justify-content: end; 
 margin-top: 47rem;
}

@media (max-width: 767px) { 
  .product { padding-block: var(--section-p-block-mobile); }
  .product .section-tittle { grid-template-columns: 1fr 1fr; }
  .product-lists-container { grid-template-columns: 1fr; }
  .product-lists-slider-control {
    order: 1;
    margin-top: 52rem;
  }
  .product .section-tittle > a.btn { margin-left: auto; }
  .product .section-tittle > div > h3::before {
    width: 24px;
    height: 24px;
    left: -14px;
    top: -5px;
  }
  .product-lists-container .swiper-arrow-container .swiper-button-prev {
    top: 150px;
  }
  .product-lists-container .swiper-arrow-container .swiper-button-next {
    top: 150px;
  }
  .product-lists-container .swiper-arrow-container > :is(.swiper-button-prev, .swiper-button-next) {
    box-shadow: 5px 4px 8px 2px #55555512;
  }
}
@media (min-width: 768px) and (max-width: 1024px) { 
  .product { padding-block: var(--section-p-block-mobile); }
  .product-lists.swiper {
    width: 80%;
  }
  .product-lists-container .swiper-arrow-container .swiper-button-prev {
    top: 150px;
  }
  .product-lists-container .swiper-arrow-container .swiper-button-next {
    top: 150px;
  }
}

/* ========================================================================
Service Section =====================================================
======================================================================== */
.service {
  padding-block: var(--section-p-block);
}
.service .section-tittle {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  column-gap: 24rem;

  h3 { font-size: var(--fs32); }

  p { font-size: var(--fs22); font-weight: 500; margin-top: 30rem;}
}

.service .section-tittle > div { 
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: center;

  &> h3::before {
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 30px;
    background-color: var(--primary);
  
    position: absolute;
    left: -16px;
    top: -6px;
    z-index: -1;
  }
}
.services-list {
  margin-top: 110rem;
}
.services-list > ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 50rem;
}
.services-list > ul > li {
  display: flex;
  width: 100%;
}
.services-list > ul > li > a {
  width: 100%;
  height: 304rem;
  border-radius: var(--card-radius);
  border: solid 2px #cfcfcf;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 300ms ease-in;
  
  
  img {
    opacity: 1;
    transition: inherit;
  }
  p {
    color: var(--black-muted);
    font-size: var(--fs22);
    transform: translateY(30px);
    transition: inherit;
  }
  .service-list_btn {
    opacity: 0;
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: var(--card-radius);
    padding: 12rem 21rem;
    transform: translateY(50px);
    transition: inherit;
  }
}
.services-list > ul > li > a:hover {
  background-color: black;
  transition: all 500ms ease-out;
  /* height: 315rem; */
  transform: scaleY(106%);

  img {
    opacity: 0;
    transition: inherit;
  }
  p {
    color: white;
    transform: translateY(-100px);
    transition: inherit;
  }
  .service-list_btn {
    opacity: 1;
    transform: translateY(20px);
    transition: inherit;
  }
}
/* Mobile phone View  */
@media (max-width: 767px) { 
  .service { padding-block: var(--section-p-block-mobile); }
  .services-list { margin-top: 60rem; }
  .services-list > ul {
    grid-template-columns: 1fr;
    row-gap: 32rem;
  }
  .service .section-tittle > div > h3::before {
    width: 24px;
    height: 24px;
    left: -14px;
    top: -5px;
  }

  .hero_slider_content{
    background-size: auto 100%;
    background-position: center;
  }
  
  .hero_slider_content h1 { 
  font-size: 20px; 
  text-align: left;
  line-height: 35px;}
}
/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) { 
  .service { padding-block: var(--section-p-block-mobile); }
  .services-list > ul {
    grid-template-columns: 1fr 1fr;
    row-gap: 32rem;
  }
}

/* ============================= End ======================================= */
.mobile {
  display: none;
}

.mobile_main {
  display: none;
}
@media (max-width: 767px) {

  .mobile_main {
    display: inline;
  }
  .mobile {
    display: block;
    /* Add other properties here */
  }
}