@media screen and (min-width:1400px) {
  .contact-container .deco-line::before {
    right: 40px;
  }
}

@media screen and (max-width:1400px) and (min-width:1200px){
  .timeline-item .timeline-title {
    width: 100%;
    max-width: 400px;
  }
  .timeline-container::before{
    left: 35.4%;
  }
}

@media screen and (max-width:1200px) {
  .counter-container .counter:nth-child(2n) {
    width: 50%;
  }

  .counter-container .counter:nth-child(3n) {
    width: 100%;
  }
  .timeline-container::before{
    content: none;
  }
  .img-deco{
    height: 230px;
  }
}

@media screen and (min-width:992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 5px;
    margin: 0;
    justify-content: flex-end;
  }
  .timeline-item .timeline-title {
    width: 115%;
  }
}

@media screen and (max-width:991px) {
  h1 {
    font-size: 42.78px;
  }
  
  h2 {
    font-size: 34.81px;
  }
  
  h3 {
    font-size: 33.18px;
  }
  .hero{
    padding-top: 140px;
    position: relative;
    z-index: 1;
  }
  .hero-img{
    position: absolute;
    height: 300px;
    right: -136px;
    bottom: 0;
    z-index: -3;
    opacity: 0.2;
  }
  .navbar-collapse {
    position: fixed;
    top: 96px;
    padding: 15px;
    background: var(--white);
    width: 100%;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    left: 50%;
    width: 90vw !important;
    margin-left: -45vw;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    box-shadow: 0 10px 8px rgba(150, 170, 180, .28);
    border-radius: 8px;
    
  }

  .navbar-collapse.collapsing {
    opacity: 0;
    width: 0 !important;
    margin-left: 0
  }


  .navbar-collapse.show {
    opacity: 1;
    -webkit-transform: translateY(40px);
    transform: translateY(40px);
    background-color: var(--midnight);
    left: 50%;
    width: 90vw !important;
    margin-left: -45vw;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    transition: opacity .3s ease-in;

  }

  .navbar-collapse.show .nav-link {
    color: var(--white);
    width: 100%;
    border-radius: 4px;

  }

  .navbar-collapse.show .nav-link:hover,
  .navbar-collapse.show .nav-link:focus,
  .navbar-collapse.show .nav-link:focus-visible,
  .navbar-collapse.show .nav-link:focus-within {
    background-color: var(--white);
    color: var(--midnight);
  }

  .counter-container .counter {
    width: auto !important;
  }

  .timeline-item {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
 }
 .contact-container .deco-line:nth-child(2):before {
   width: 0;
 }

 .contact-container .deco-line::before {
   right: 25px;
 }

 .img-deco-2{
  top: -310px;
  z-index: -1;
  height: 280px;
  left: -266px;
}
 
}

@media screen and (max-width:767px) {
  .counter-container .counter:nth-child(2n) {
    width: 50% !important;
  }

  .counter-container .counter:nth-child(3n) {
    width: 100% !important;
  }

  .contact-container .deco-line::before {
    content: none;
  }
  .img-deco{
    height: 100px;
  }
  .img-deco-2{
    top: -278px;
    z-index: -1;
    height: 210px;
    left: -200px;
  } 
 
  
}

@media screen and (max-width:535px) {

  .nav-pills .nav-link {
    min-width: 112px;
  }

  .nav-pills .nav-link p {
    font-size: 12px;
  }

  .counter-container .counter:nth-child(2n),
  .counter-container .counter {
    width: 100% !important;
  }

}













