/* 
*  CSS TABLE OF CONTENTS
*   
*  1.0 - Variables
*  2.0 - Globals & Utilities
*  3.0 - Header
*     3.1 - Slideshow
*     3.2 - Live Chat
*  4.0 - Body
*     4.1 - Steps
*     4.2 - Counters
*     4.3 - Company
*  5.0 - Footer
*  6.0 - Media Queries
*     6.1 - Tablets
*     6.2 - Mobile Phones
*/






/*** 1.0 - Variables ***/

:root {
  --color-primary: #2D2D2D;
  --color-primary-rgb: 45, 45, 45;
  --color-primary-light: #3E3E3E;
  --color-primary-dark: #1C1C1C;
  --color-secondary: #0380FF;
  --color-secondary-rgb: 3, 128, 255;
  --color-secondary-light: #2591FF;
  --color-secondary-dark: #006FE0;
  --color-secondary-tertiary: #25D9F6;
  --color-secondary-tertiary-rgb: 37, 217, 246;
  --color-alpha: 0.79;
  --color-alpha-light: 0.75;
  --color-text-primary: #FFFFFF;
  --color-text-primary-rgb: 255, 255, 255;
  --color-text-primary-light: #F9F9F9;
  --color-text-primary-dark: #EEEEEE;
  --color-text-secondary: #000000;
  --color-swiper-bullet-active: #D8F0FE;
  --color-swiper-bullet-inactive: #365860;
}


/*** 2.0 - Globals & Utilities ***/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Zona Pro";
  src: url('./assets/fonts/Zona Pro/Intelligent\ Design\ -\ ZonaPro-Thin.ttf') format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Zona Pro";
  src: url('./assets/fonts/Zona Pro/Intelligent\ Design\ -\ ZonaPro-Regular.otf') format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Zona Pro";
  src: url('./assets/fonts/Zona Pro/Intelligent\ Design\ -\ ZonaPro-Black.ttf') format("truetype");
  font-weight: bold;
  font-style: normal;
}

a {
  text-decoration: none;
}

.page {
  font-family: 'Zona Pro', sans-serif;
  font-size: 17px;
  font-weight: 200;
  color: var(--color-text-primary);
  text-align: center;
}

.wrapper {
  max-width: 1590px;
}




/*** 3.0 - Header ***/


.header {
  background-color: var(--color-primary);
  display: flex;
  width: 100%;
  height: 1000px;
  align-items: center;
  flex-direction: column;
  padding-top: 50px;
  position: relative;
  z-index: 2;
}

.header-logo {
  margin-bottom: 60px;
}

.header .wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 100px;
}

.header-component {
  height: 100%;
  width: 50%;
  text-align: left;
}

.hero-text-content {
  padding-top: 80px;
}

.hero-text-content h1 {
  font-size: 78px;
  font-weight: 260;
}

.hero-text-content h1 span {
  display: block;
  font-weight: 900;
}

.hero-text-content p {
  margin-bottom: 30px;
}

.btn-block {
  padding-top: 20px;
}

.btn {
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 15px;
  font-size: 20px;
}

.btn-cta-call {
  padding-left: 70px;
  padding-right: 70px;
  border: 1px solid var(--color-secondary);
  color: var(--color-primary);
  background: var(--color-text-primary);
  margin-right: 30px;
}

.btn-cta-call:hover {
  border: 1px solid var(--color-secondary-light);
  color: var(--color-primary-light);
  background: var(--color-text-primary-light);
}

.btn-cta-call:active {
  border: 1px solid var(--color-secondary-dark);
  color: var(--color-primary-dark);
  background: var(--color-text-primary-dark);
}

.btn-cta-chat {
  padding-left: 35px;
  padding-right: 35px;
  border: 1px solid var(--color-secondary);
  color: var(--color-text-primary);
  background: var(--color-secondary);
}

.btn-cta-chat:hover {
  border: 1px solid var(--color-secondary-light);
  color: var(--color-text-primary-light);
  background: var(--color-secondary-light);
}

.btn-cta-chat:active {
  border: 1px solid var(--color-secondary-dark);
  color: var(--color-text-primary-dark);
  background: var(--color-secondary-dark);
}




/*** 3.1 - Slideshow ***/


.slideshow {
  position: relative;
  display: grid;
  place-items: center;
  height: 700px;
  background: no-repeat url('./assets/images/grid.svg');
}

.slide {
  position: absolute;
  height: 525px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

@keyframes slideshow {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  33% {
    opacity: 1;
  }
  53% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}




/*** 3.2 - Live Chat ***/


.btn-floating-chat {
  position: fixed;
  bottom: 32vh;
  right: 18vw;
  z-index: 500;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: block;
  overflow: hidden;
}




/*** 4.0 - Body ***/


main {
  padding-top: 285px;
  background: linear-gradient(90deg, rgba(var(--color-secondary-tertiary-rgb), var(--color-alpha)) 0%, rgba(var(--color-secondary-rgb), var(--color-alpha)) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

main.wrapper {
  position: relative;
  height: 100%;
}

.main-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 280px;
  position: relative;
  z-index: 2;
}

.section-title {
  max-width: 700px;
  padding: 23px 45px;
  background:rgba(var(--color-text-primary-rgb), var(--color-alpha));
  font-weight: 800;
  font-size: 30px;
  color: var(--color-text-secondary);
  border-radius: 25px 25px 0 0;
}



/***   4.1 - Steps   ***/


.step {
  background: var(--color-primary);
  height: 230px;
  width: 1050px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 63px;
  border-radius: 25px;
  margin-bottom: -50px;
}

.step:hover {
  background: linear-gradient(269.97deg, rgba(var(--color-secondary-tertiary-rgb)) 1.58%, rgba(var(--color-secondary-rgb)) 98.86%);
}

.steps-block .step:not(:last-child) div {
  margin-bottom: 50px;
}

.step-title {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: flex-start;
  font-size: 25px;
  flex: 1;
}

.step-title span {
  font-weight: 200;
  font-size: 85px;
}

.step-description {
  font-weight: 200;
  flex: 3;
  text-align: left;
}

.step-description p {
  width: 85%;
}




/***   4.2 - Counters   ***/


.counters-block {
  height: 325px;
  width: 1050px;
  background: rgba(var(--color-primary-rgb), var(--color-alpha-light));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px;
  padding: 20px;
}

.counters-content {
  height: 325px;
  width: 1050px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.counter-component {
  position: relative;
  width: 258px;
  height: 285px;
  background-color: var(--color-primary);
  border-radius: 25px;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}

.counter-component-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  visibility: hidden;
}


.progress-bar {
  width: 185px;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat {
  stroke-width: 8;
  fill: transparent;
}

.hidden {
  visibility: hidden;
  fill-opacity: 0;
}

.load {
  fill: url(#CounterGradientColor);
  stroke: url(#CounterGradientColor);
  fill-opacity: 0; 
  stroke-width: 8;
  stroke-dasharray: 628;
  stroke-linecap: round;
  transition: fill-opacity 0.5s linear;
  animation: load 1.2s linear;
}

.counter-number {
  fill: var(--color-text-primary);
  font-size: 60px;
}

@keyframes load {
  0% {
    stroke-dashoffset: 638;
  }
  20% {
    stroke-dashoffset: 502.4;
  }
  40% {
    stroke-dashoffset: 376.8;
  }
  60% {
    stroke-dashoffset: 251.2;
  }
  80% {
    stroke-dashoffset: 125.6;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.counter-component:nth-child(2) .progress-bar .counter-number {
  font-size: 40px;
}




/***   4.3 - Company   ***/


.company-block {
  width: 1050px;
  height: 385px;
  background: rgba(var(--color-primary-rgb), var(--color-alpha-light));
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 25px;
  line-height: 22px;
  text-align: left;
  padding: 65px 22px;
  gap: 20px;
}

.company-block-img {
  width: 250px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('./assets/images/grid-small.svg');
}

.company-block-description {
  padding: 25px 50px;
  width: 730px;
  height: 310px;
  background-color: var(--color-primary);
  border-radius: 25px;
  color: var(--color-text-primary);
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-pagination {
  margin-bottom: 40px;
}

.swiper-pagination2 {
  margin-bottom: 0;
}

.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 12px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 12px));
  background: var(--color-swiper-bullet-inactive);
}

.swiper-pagination-bullet-active {
background: var(--color-swiper-bullet-active);
}

#bgvideo {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index:-100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden;
  z-index: 0;
}



/***  5.0 - Footer ***/

.footer {
  background-color: var(--color-primary);
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.footer .wrapper {
  display: flex;
  width: 100%;
  padding: 40px 0;
  justify-content: space-between;
  align-items: start;
  padding-top: 65px;
  gap: 100px;
}

.footer-component {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 150px;
}

.footer-component-element {
  width: 50%;
  text-align: left;
  font-size: 1rem;
}

.footer-component-element:first-child h5 {
  margin-bottom: 20px;
}

.footer-component-element:last-child>ul li:nth-child(2) {
  margin-bottom: 20px;
}

.footer-component-element ul li a{
  display: inline-block;
  margin: 10px 10px 5px 0
}

.footer-component-element:last-child>ul li a img{
  width: 24px; 
  height: 24px;
}

.footer-component-element ul {
  font-weight: 200;
  list-style: none;
  line-height: 1.2;
}

.footer-component-element h5 {
  font-size: 1.1rem;
  font-weight: 500;
}

.footer-component:nth-child(2) {
  justify-content: flex-end;
}

#map {
  width: 365px;
  height: 267px;
}

.footer-copyright {
  position: absolute;
  bottom: 40px;
  left: flex-start;
}




/***  6.0 - Media Queries ***/

@media screen and (min-width: 1200px) and (max-width: 1620px) {
  header.header{padding: 0 40px}
  footer.footer{padding: 0 40px}
}

@media screen and (min-width: 1200px) and (max-width: 1470px) {
  .btn{
    font-size: 16px;
  }
  
  .btn-cta-call{
    padding-left: 40px;
    padding-right: 40px;
  }
}

/***  6.1 - Tablets ***/

@media screen and (max-width: 1199px) {

  .wrapper {
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
  }

  .header {
    width: 100%;
  }

  .header .wrapper {
    width: 100%;
  }

  .header-component {
    margin-top: 0;
    padding-top: 0px;
    width: 50%;
    padding: 0 1rem;
  }

  .hero-text-content {
    padding-top: 0px;
  }

  .hero-text-content h1 {
    font-size: 50px;
  }

  .btn-block {
    display: flex;
    flex-wrap: wrap;
    padding-top: 0px;
    width: 100%;
  }

  .btn {
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
    font-size: 15px;
  }

  .btn-cta-call {
    margin-bottom: 20px;
    padding-left: 70px;
    padding-right: 70px;
    margin-right: 30px;
  }

  .btn-cta-chat {
    padding-left: 25px;
    padding-right: 25px;
  }

  .slideshow {
    height: 700px;
    width: 100%;
  }

  .slide {
    height: 80%;
    width: 100%;
  }

  .btn-floating-chat {
    position: fixed;
    bottom: 17vh;
    right: 4vw;
  }

  main {
    width: 100%;
    padding-top: 150px;
  }

  .main-sections {
    width: 100%;
    margin-bottom: 150px;
  }

  .step {
    width: 100%;
  }
  
  .step:last-child {
    margin-bottom: 0px;
  }

  .step-description p {
    width: 100%;
  }

  .counters-block {
    width: 100%;
  }

  .counter-component {
    width: 30%;
  }

  .company-block {
    width: 100%;
  }

  .company-block-description {
    font-size: 0.68em;
  }

  .footer {
    padding: 0 3rem;
    width: 100%;
  }

  #map {
    width: 100%;
  }
}





/***  6.2 - Mobile Phones ***/

@media screen and (max-width: 992px) {

  body,
  body > * { 
    overflow-x: hidden; 
  }
  
  .wrapper {
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .header {
    width: 100%;
    height: 100%;
    padding-bottom: 80px;
  }

  .header .wrapper {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .header-component {
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  .hero-text-content {
    text-align: center;
    padding-top: 0px;
    width: 100%;
  }

  .hero-text-content h1 {
    font-size: 50px;
    text-align: center;
  }

  .btn-block {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    margin-top: 50px;
    padding-top: 0px;
    width: 100%;
    gap: 25px;
  }

  .btn {
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 15px;
    font-size: 15px;
    width: 100%;
  }

  .btn-cta-call {
    margin-bottom: 20px;
    margin-right: 0px;
  }

  .btn-cta-chat {
    padding-right: 60px;
    background-image: url('./assets/images/chat.svg');
    background-color: var(--color-secondary);
    background-position: 90% 50%;
    background-size: 12%;
    background-repeat: no-repeat;
  }

  .slideshow {
    height: 400px;
    width: 100%;
    background: no-repeat center/120% url('./assets/images/grid-mobile.svg');
  }

  .slide {
    height: 80%;
    width: 100%;
  }

  main {
    width: 100%;
    padding-top: 150px;
  }

  main .wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
  }

  .main-sections {
    width: 100%;
    margin-bottom: 150px;
  }

  .section-title {
    max-width: 100%;
    padding: 15px 45px;
    margin-bottom: 30px;
    font-weight: 800;
    font-size: 16px;
    border-radius: 15px;
  }

  .company .section-title {
    margin-bottom: 150px;
  }

  .steps-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 60%;
  }

  .step {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 350px;
    margin-bottom: 20px;
    gap: 20px;
    padding: 20px;
  }

  .step-title span {
    font-weight: 200;
    font-size: 45px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description p {
    width: 100%;
  }

  .steps-block .step:not(:last-child) div {
    margin-bottom: 0px;
  }

  .swiper-slide:not(.swiper-slide-active) {
    opacity: 0.4;
  }

  .counters-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
    background-color: transparent;
  }

  .swiper2, .counters-content {
    margin-top: -10px;
    padding-top: -10px;
  }

  .counter-component {
    height: 100%;
    width: 260px;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .counters-content {
    width: 100%;
  }

  .counter-component-content {
    margin-bottom: 20px;
  }

  .counter-number {
    fill: var(--color-text-primary);
    font-size: 45px;
  }

  .company {
    margin: 0;
    width: 100%;
    height: 100%;
  }

  .company-block {
    padding-bottom: 80px;
    margin: 0;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    border-radius: 0;
  }

  .company-block-description {
    padding: 25px;
    width: 100%;
    height: 100%;
    font-size: 0.80em;
    margin-top: -180px;
    margin-bottom: 50px;
  }

  .company-block-img {
    width: 100%;
  }

  
  .footer {
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  .footer-component {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 50px;
    height: 100%;
  }

  .footer-component-element {
    width: 100%;
    text-align: center;
  }

  #map {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 120px;
  }

  .footer-copyright {
    left: 0;
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
  }
}