/* khusus css page home */
.home .home-banner h1 {
  letter-spacing: 6px;
}

/* HOME >>> kelebihan */
.home section.kelebihan .row {
    display: flex;
    justify-content: space-between !important;
}
.home .section.kelebihan .box-text {
    padding-top: 0px!important;
}  

/* HOME >> produk layanan */
.home .produk-layanan .box p {
    font-weight: 700;
    font-size: 1.3em;
}
.home .produk-layanan .box a span:after {
    content: '';
    background:url('/wp-content/themes/flatsome-child/assets/img/short-right-arrow.svg');
    background-size: cover;
    width: 13px;
    height: 13px;
    display: inline-block;
    position: relative;
    left: 8px;
    top: 2px;
}
.home .produk-layanan .box-image {
    overflow: visible;
}
.home .produk-layanan .col:nth-child(1) .box-image img {
    margin-top: -30px;
}
.home .produk-layanan .col:nth-child(2) .box-image img {
    margin-top: -20px;
}
.home .produk-layanan .col:nth-child(3) .box-image img {
    margin-top: -5px;
}
  
/* HOME >> tahapan layanan */
.home .tahapan-layanan .layanan-tab .nav {
    display: flex;
    justify-content: space-evenly;
    background-color: var(--primary);
    position: relative;
}
.home .tahapan-layanan .layanan-tab .nav:before{
    position: absolute;
    content: '';
    background:url('/wp-content/themes/flatsome-child/assets/img/tahapan-layanan-left4.webp');
    background-size: cover;
    background-position: center;
    width: 175px;
    height: 200px;
    display: block;
    left: -70px;
    bottom: 0;
  }
.home .tahapan-layanan .layanan-tab .nav:after{
    position: absolute;
    content: '';
    background:url('/wp-content/themes/flatsome-child/assets/img/tahapan-layanan-right.webp');
    background-size: cover;
    background-position: center;
    width: 200px;
    height: 200px;
    display: block;
    right: -70px;
    bottom: 0;
}
.home .tahapan-layanan .layanan-tab .nav span {
    color: var(--white);
    letter-spacing: 3px;
    font-size: 1.2em;
}
.home .tahapan-layanan .layanan-tab .nav .active span {
    font-size: 1.8em;
}
.home .tahapan-layanan .layanan-tab h3 {
    color: var(--primary);
    margin: 20px 0px;
}
.home .tahapan-layanan .flickity-viewport {
    overflow: visible;
}
.home .tahapan-layanan .layanan-tab .box-text {
    border: 2px solid var(--primary);
    border-radius: 20px;
    margin-top: 30px;
}
.home .tahapan-layanan .flickity-page-dots {
    bottom: -50px;
}
.home .tahapan-layanan .box-text .title {
    font-size: 1.3em;
    font-weight: 700;
    margin: 8px 0px;
}
.home .tahapan-layanan .box-text a {
    color: #1f7ed8;
}
.home .tahapan-layanan .layanan-tab .nav .active:before {
    content: '';
    position: relative;
    left: 42px;
    top: 55px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 20px solid var(--primary);
}
.home .tahapan-layanan .flickity-button svg {
    display: none;
}
.home .tahapan-layanan .flickity-button:before {
    content: '';
    background:url('/wp-content/themes/flatsome-child/assets/img/slider-arrow.svg');
    background-size: cover;
    width: 26px;
    height: 26px;
    display: inline-block;
    position: relative;
    left: 0px;
    top: -30px;
  }
  .home .tahapan-layanan .flickity-button.previous:before{
    transform: rotate(180deg);
  }

/* Timeline */
.timeline:before {
  content: "";
  background-color: rgba(0, 0, 0, .5);
  
  width: 100%;
  height: 1px;
  
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
.timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 60%;
  margin: auto;
}
.timeline div {
  width: 50px;
  height: 50px;
  border-radius: 99%;
  border: 1px solid rgba(0, 0, 0, .5);
  background-color: white;
  
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  
  font-family: "Poppins";
  font-size: 20px;
  font-weight: 300;
  line-height: 40px;
}
.timeline div.active {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: white;
}

/* HOME >>> konsultasi */
.home .section.konsultasi .bg-fill {
    background-size: 100%!important;
}
.home .section.konsultasi h2 {
    font-size: 35px;
    margin-bottom: 0px;
}
.home .section.konsultasi .btn-masa span:before {
    content: '';
    background: url('/wp-content/themes/flatsome-child/assets/img/whatsapp.svg');
    background-size: cover;
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
    left: -8px;
    top: 4px;
}

/* HOME >> proyek kami */
.home .gallery {
  width: 100%;
  display: flex;
  margin: 0;
}
.home .gallery .video-container {
  width: 60%;
  border-radius: 8px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.home .gallery .image {
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  padding: 0px 0px 0px 30px;
}
.home .gallery .image > div {
  width: 45%;
  height: 45%;
  border-radius: 8px;
}
.home .gallery .image > div:nth-child(1) {
  background-image: url('/wp-content/themes/flatsome-child/assets/img/galery-sofa.webp');
  background-size: cover;
  background-position: center;
}
.home .gallery .image > div:nth-child(2) {
  background-image: url('/wp-content/themes/flatsome-child/assets/img/galery-sofa.webp');
  background-size: cover;
  background-position: center;
}
.home .gallery .image > div:nth-child(3) {
  background-image: url('/wp-content/themes/flatsome-child/assets/img/galery-bed.webp');
  background-size: cover;
  background-position: center;
}
.home .gallery .image > div:nth-child(4) {
  background-image: url('/wp-content/themes/flatsome-child/assets/img/galery-bed.webp');
  background-size: cover;
  background-position: center;
}
.home .gallery .image > div img {
  width: 100%;
}
.home .gallery .video-container video {
  width: 100%;
}
.home .gallery .video-container .btn-play-video {
  width: 70px;
  height: 70px;
  position: absolute;
  z-index: 10;
  cursor: pointer;
  background-color: rgba(16, 16, 16, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home .gallery .video-container .btn-play-video img{
  width: 40px;
  height: 40px;
  margin-left: 7px;
}

/* HOME >>> tips & trick */
.home section.tips-trick .flickity-button svg {
  display: none;
}
.home section.tips-trick .flickity-button:before {
  content: '';
  background:url('/wp-content/themes/flatsome-child/assets/img/slider-arrow.svg');
  background-size: cover;
  width: 26px;
  height: 26px;
  display: inline-block;
  position: relative;
  left: 0px;
  top: -30px;
}
.home section.tips-trick .flickity-button.previous:before {
  transform: rotate(180deg);
}
.home section.tips-trick .box-image {
  border-radius: 10px;
}
.home section.tips-trick .box-text .is-divider {
  display: none;
}
.home section.tips-trick .box-text-inner {  
  height: 90px;
  position: relative;
}
.home section.tips-trick .box-text .button.is-link {
  text-transform: capitalize;
}
.home section.tips-trick .box-text button:after {
  content: '';
  background:url('/wp-content/themes/flatsome-child/assets/img/short-right-arrow.svg');
  background-size: cover;
  width: 13px;
  height: 13px;
  display: inline-block;
  position: relative;
  left: 8px;
  top: 4px;
}
.home .tips-trick .blog-post-inner .post-title{ 
  font-weight: 500;
}

/* HOME >>> kemitraan */
.home section.kemitraan .img img {
    width: 65%;
  }
  .home section.kemitraan .slider-nav-outside .flickity-page-dots {
    bottom: -40px;
  }  

/* HOME >> testimonial */
.home section.testimonial .img-inner {
    background-color: #f0f0f0;
    border-radius: 50%;
  }
  .home section.testimonial .flickity-prev-next-button .arrow, .home section.testimonial .flickity-prev-next-button svg {
    fill: black;
  }
  .home section.testimonial .flickity-prev-next-button {
    width: 26px;
  }
  .home section.testimonial .flickity-page-dots {
    bottom: 0;
  }
  
  /* HOME >> aplikasi masa */
  .home section.aplikasi-masa .animated-text {
    text-align: left;
  }
  .home section.aplikasi-masa {
    position: relative;
  }
  .home section.aplikasi-masa .row .col:nth-child(2) {
    position: absolute;
    right: 0;
    padding: 0;
  }
  .home section.aplikasi-masa .col:nth-child(2) img {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
  }
  

/*==========================================================
// all  Device
==========================================================*/
/*============================================
LAPTOP DEVICE
============================================*/
@media only screen and (max-width: 1248px) {
  .home section.konsultasi .row:before{
    width: 10vw;
    height: 350px;
    left: 0rem;
    bottom: -30px;
    background-position: 56%;
  }
}
@media only screen and (max-width: 1366px){
    .home .section.konsultasi {
      padding-top: 0px!important;
    }
    .home .section.konsultasi .konsultasi-text {
      padding-left: 110px!important;
    }
} 
/* TABLET DEVICE=============== */
@media only screen and (max-width: 849px) {

  /* Timeline */
  .timeline {
    width: 80%;
  }
  .timeline div {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* BG Konsultasi */
  .home .section.konsultasi .bg-fill {
    background-size: 300% !important;
    background-position: -150px 50% !important;
  }
}

@media only screen and (max-width: 48em) {
    .home .tahapan-layanan .layanan-tab .nav {
      justify-content: center;
      gap: 60px;
    }
    .home .tahapan-layanan .layanan-tab .nav:before, .home .tahapan-layanan .layanan-tab .nav:after {
        width: 130px;
    }
    .home .gallery .image > div {
      width: 40%;
      height: 40%;
    }
    .home section.konsultasi .row:before{
      width: 13vw;
    }
    .home section.konsultasi .row:after {
        width: 36vw;
        bottom: -60px;
    }
  }

/* mobile ===============  */
@media only screen and (max-width: 428px) {
  
  /* BG Konsultasi */
  .home .section.konsultasi .bg-fill {
    background-size: 500% !important;
    background-position: -150px 50% !important;
  }
}

@media only screen and (max-width: 34em) {
    h2.fs-40{
        font-size: 30px;
    }
    .home .home-banner:nth-child(1) .section-bg.bg-loaded {
      background-image: url(/wp-content/themes/flatsome-child/assets/img/home/home-hero-mobile-3.webp)!important;
    }
    .home .home-banner:nth-child(2) .section-bg.bg-loaded {
      background-image: url(/wp-content/themes/flatsome-child/assets/img/home/home-hero-mobile-4.webp)!important;
    }
    .home .home-banner:nth-child(3) .section-bg.bg-loaded {
      background-image: url(/wp-content/themes/flatsome-child/assets/img/home/home-hero-mobile-2.webp)!important;
    }
    .home .home-banner:nth-child(4) .section-bg.bg-loaded {
      background-image: url(/wp-content/themes/flatsome-child/assets/img/home/home-hero-mobile1.webp)!important;
    }
    .home .home-banner button.scroll-for-more {
      display: none;
    }
    .home .home-banner .col-inner{
      text-align: center;
    }
    .home .home-banner .col-inner h1{
        font-size: 25px;
        font-weight: 400;
    }
    .home .home-banner .col-inner h1 br{
        display: none !important;
    }
    .home .home-banner .col-inner h1 span{
        display: block;
        font-size: 40px;
    }
  /* section kelebihan  */
    .home section.kelebihan .row {
      display: flex;
      justify-content: center !important;
    }

    .home .tahapan-layanan .layanan-tab .nav:before, 
    .home .tahapan-layanan .layanan-tab .nav:after {
        display: none;
    }
    .home .tahapan-layanan .layanan-tab .nav{
        justify-content: space-around;
        gap: 0;
    }
    
    /* section proyek/ gallery */
    .home .gallery .video-container{
      width: 100%;
      position: unset;
    }
    .home .gallery .image {
      width: 100%;
      justify-content: center;
      align-items: center;
      padding: 0;
      gap: 20px;
      margin-top: 20px;
    }
    .home .gallery .image > div {
      width: 45%;
      height: 100px;
    }

    /* section konsultasi */
    .home .section.konsultasi .konsultasi-text {
      padding-left: 145px!important;
    }
    .home .section.konsultasi .bg-fill {
        background-size: 500% !important;
        background-position: -150px 50%!important;
    }
    .home .section.konsultasi h2 {
        font-size: 25px;
    }
    .home section.konsultasi .row:before{
        width: 0;
    }
    .home section.konsultasi .row:after {
        width: 0;
    }
    .home section.kemitraan .img img {
        width: 80%;
    } 

    /* section aplikasi */
    .home section.aplikasi-masa .animated-text {
        text-align: center;
    }
    .home .aplikasi-masa .img{
        margin: auto!important;
    } 
}

@media only screen and (max-width: 428px) {

  /* Timeline */
  .timeline {
    width: 100%;
  }
  .timeline div {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  /* Konsultasi */
  .home .section.konsultasi .konsultasi-text {
      padding-left: 180px!important;
  }
}

@media only screen and (max-width: 375px) {
  /* Konsultasi */
  .home .section.konsultasi .konsultasi-text {
      padding-left: 145px!important;
  }
}

@media only screen and (max-width: 320px) {
  /* Konsultasi */
  .home .section.konsultasi .konsultasi-text {
    padding-left: 15px!important;
  }

  .home .section.konsultasi .bg-fill.bg-loaded {
    background-size: 700% !important;
    background-position: 20% 60% !important;
  }
}