/*
Title : PT Wahana Indah Selaras Eltraeska
Author : lonsdaleitee
Version : 1.0
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@media (min-width: 992px) {
  /* h1 {
      font-size:2.5rem;
    } */

  .mobile {
    display: none !important;
  }

  .border-left {
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
  }

  .border-right {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }

  .desktop-ps-0 {
    padding-left: 0 !important;
  }
}

/*--------------------------------------------------------------
# Desktop Navigation 
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .navbar {
    padding: 0;
    position: relative;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    display: inline-block;
    position: relative;
    text-transform: uppercase;
  }

  .navbar > ul > li {
    white-space: nowrap;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
    color: rgba(var(--color-black-rgb));
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar .current-menu-item a {
    color: var(--color-primary) !important;
  }

  /* .navbar ul a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: transform 0.3s ease-out;
    transform: scaleX(0);
    transform-origin: bottom right;
  } */

  /* .navbar a:hover:after,
  .navbar .active:after {
    visibility: visible;
  } */

  /* .navbar li:hover a:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  } */
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .content-border {
    position: fixed;
    bottom: 0;
    background: var(--color-white);
    width: 100%;
    height: 100%;
    clip-path: polygon(60% 0, 60.1% 0, 40.1% 100%, 40% 100%);
    z-index: 1;
  }

  .content-left,
  .content-right {
    position: fixed;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    align-items: center;
    display: grid;
    color: var(--color-primary-dark);
  }

  .content-left {
    left: 0;
    text-align: right;
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%);
  }

  .content-left:hover,
  .content-right:hover {
    position: fixed;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 100%;
    align-items: center;
    display: grid;
    color: var(--color-primary);
    cursor: pointer;
  }

  .content-left:hover {
    left: 0;
    text-align: right;
    clip-path: polygon(0 0, 60% 0, 40% 100%, 0% 100%);
  }

  .content-right {
    right: 0;
    text-align: left;
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
  }

  .content-right:hover {
    right: 0;
    text-align: left;
    clip-path: polygon(60% 0, 100% 0, 100% 100%, 40% 100%);
  }

  .content-left .h1,
  .content-right .h1 {
    position: fixed;
    font-size: 6rem;
    font-weight: 900 !important;
    top: 50%;
    border: 0;
    background: transparent;
  }

  .content-right .h1 {
    left: 55%;
  }
}

@media (min-width: 992px) and (max-width: 1024px) {
  .content-left .h1 {
    left: 2%;
  }

  .content-left .h1,
  .content-right .h1 {
    position: fixed;
    font-size: 3.5rem;
    font-weight: 900 !important;
    top: 50%;
    border: 0;
    background: transparent;
  }
}

@media (min-width: 1025px) and (max-width: 1550px) {
  .content-left .h1 {
    left: 10%;
  }

  .content-left .h1,
  .content-right .h1 {
    position: fixed;
    font-size: 5rem;
    font-weight: 900 !important;
    top: 50%;
    border: 0;
    background: transparent;
  }
}

@media (min-width: 1551px) {
  .content-left .h1 {
    left: 20%;
  }

  .content-left .h1,
  .content-right .h1 {
    position: fixed;
    font-size: 6rem;
    font-weight: 900 !important;
    top: 50%;
    border: 0;
    background: transparent;
  }
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
@media (min-width: 992px) {
  #modalCatalog .modal-body {
    padding: 3rem;
  }
}

/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/
@media (min-width: 992px) {
#modalCatalog .modal-body {
  overflow-y: hidden;
}

}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .swipper-installation {
    border-right: 0px !important;
  }

  .swipper-maintanance {
    border-left: 0px !important;
  }

  .swipper-installation,
  .swipper-maintanance {
    width: 100%;
    height: 50vh;
    border: var(--color-primary) solid 1px;
  }

  .swipper-installation .swiper-slide img,
  .swipper-maintanance .swiper-slide img {
    width: 80%;
  }

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .clients .title {
    width: 20%;
  }

  .contact-us .card {
    width: 80%;
    border-color: var(--color-secondary);
    border-radius: 0;
  }
}

@media (min-width: 991px) and (max-width: 1024px) {
  .clients .title {
    width: 30% !important;
  }
}

/*--------------------------------------------------------------
# Traffic Analysis
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .traffic-button {
    display: flex !important;
    justify-content: space-evenly !important;
  }

  .btn-calculate,
  .btn-reset {
    width: 100%;
    margin-bottom: 2rem;
  }

  #modalContact .modal-body {
    overflow-y: hidden;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .footer {
    padding: 90px 63px 90px 63px;
    /* display: flex !important;
    justify-content: space-between !important; */
  }

  footer .contact {
    text-align: right;
  }
}
