/*
Title : PT Wahana Indah Selaras Eltraeska
Author : lonsdaleitee
Version : 1.0
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  h6 {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .desktop {
    display: none !important;
  }

  .text-center-mobile {
    text-align: center;
  }

  .font-xs {
    font-size: 0.75rem !important;
  }

  .font-sm {
    font-size: 1.75rem !important;
  }

  .font-md {
    font-size: 2.5rem !important;
  }

  .section-title-mobile {
    margin-top: 2.5rem;
  }

  .border-left,
  .border-right {
    border-radius: 2rem;
  }

  .m-section {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
  }

  .float {
    bottom: 70px !important;
  }
}

@media (min-width: 320px) and (max-width: 573px) {
  .col-xs {
    flex: 1 0 0%;
  }

  .col-xs-auto {
    flex: 0 0 auto;
    width: auto;
  }

  .col-xs-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-xs-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-xs-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-xs-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-xs-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-xs-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-xs-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-xs-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-xs-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-xs-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-xs-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-xs-12 {
    flex: 0 0 auto;
    width: 100%;
  }

}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 10px 8.33333%;
    margin: 0;
    top: 10%;
    background: rgba(var(--color-white-rgb));
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    list-style: none;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(var(--color-black-rgb));
    white-space: nowrap;
    transition: 0.3s;
    text-transform: uppercase;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover > a,
  .navbar .current-menu-item a {
    color: var(--color-primary);
  }

  .sticked {
    color: var(--color-black) !important;
  }

  .mobile-nav-toggle {
    display: block !important;
    font-size: 2rem;
    cursor: pointer;
    /* line-height: 0; */
    transition: 0.5s;
    position: fixed;
    top: 20px;
    z-index: 9999;
    right: 8.33333%;
    font-weight: 900;
    vertical-align: middle;
  }

  .mobile-nav-active {
    overflow: hidden;
    z-index: 9995;
    position: relative;
  }

  .mobile-nav-active .logo, 
  .mobile-nav-active .logo2 {
    z-index: 9999;
  }
  
  .header .logo2 {
    margin-right: 3em;
  }

  .mobile-nav-active .navbar {
    left: 0;
    background: var(--color-white);
  }

  .navbar-mobile {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 320px) and (max-width: 425px) {
  .header {
    padding: 15px 5%;
  }
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .content-border {
    position: fixed;
    bottom: 0;
    background: var(--color-white);
    width: 100%;
    height: 100%;
    clip-path: polygon(0 60%, 100% 45%, 100% 45.1%, 0 60.1%);
    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 60%, 100% 45%, 100% 0, 0 0);
  }

  .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);
  }

  .content-left:hover {
    left: 0;
    text-align: right;
    clip-path: polygon(0 60%, 100% 46%, 100% 0, 0 0);
  }

  .content-right {
    right: 0;
    text-align: left;
    clip-path: polygon(0 60%, 100% 45%, 100% 100%, 0 100%);
  }

  .content-right:hover {
    right: 0;
    text-align: left;
    clip-path: polygon(0 60%, 100% 45%, 100% 100%, 0 100%);
  }

  .content-left .h1,
  .content-right .h1 {
    position: fixed;
    font-size: 3rem;
    font-weight: 900 !important;
    border: 0;
    background: transparent;
  }

  .content-left .h1 {
    left: 10%;
    top: 30%;
  }

  .content-right .h1 {
    right: 5%;
    bottom: 20%;
  }
}

/*--------------------------------------------------------------
# Projects
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .projects-text {
    font-size: 1.25rem !important;
  }
}

/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  #modalCatalog .modal-body {
    padding: 1rem;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .m-slider {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .swipper-installation,
  .swipper-maintanance {
    width: 100%;
    height: 75vh;
    border: var(--color-primary) solid 1px;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .contact-us .card {
    width: 90%;
    border-color: var(--color-secondary);
    border-radius: 0;
  }

  .mobile-mt-4 {
    margin-top: 1.5rem;
  }

  .timeline-body {
    font-size: 1rem !important;
  }
}

@media (min-width: 320px) and (max-width: 425px) {
  .clients .title {
    width: 50%;
  }
}

@media (min-width: 426px) and (max-width: 991px) {
  .clients .title {
    width: 35% !important;
  }
}

/*--------------------------------------------------------------
# Traffic Analysis
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .traffic-analysis .container-fluid {
    margin: 0;
  }

  .btn-rectangle {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
@media (min-width: 320px) and (max-width: 991px) {
  .contact {
    text-align: left !important;
    margin-top: 2rem;
  }

  .design {
    display: grid !important;
  }

  .copyright,
  .design {
    margin-bottom: 1rem;
  }

  .back-to-top {
    padding-left: 0 !important;
  }

  .footer-content .container-fluid {
    margin-top: 3rem !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }

  .footer .legal {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
}
