/* ==========================================================================
   Responsive styles
   ========================================================================== */

/* Wide Screens */

@media (min-width: 1920px) and (max-width: 2560px) {
  .container {
    max-width: 1920px;
    margin: 0px auto;
  }
}

/* Desktop */

@media (max-width: 1600px) {
}

/* Desktop Small */

@media (max-width: 1400px) {
}

/* Laptop */

@media screen and (min-device-width: 768px) and (max-device-width: 1600px) {
  #bull {
    width: 100%;
  }

  h1 {
    font-size: 50px;
    line-height: 60px;
  }

  p {
    font-size: 14px;
    line-height: 18px;
  }

  .hero-img img,
  .second-img img,
  .third-img img {
    width: 60vh;
  }

  .third::before {
    height: 170px;
  }

  .feature-container h3 {
    font-size: 22px;
  }

  .first iframe {
    max-width: 800px;
    max-height: 430px;
  }

  .third {
    align-items: flex-end;
  }

  .slider-container {
    width: 50%;
  }

  .slider-container .slick-list {
    padding-top: 5% !important;
    padding-bottom: 5% !important;
    padding-left: 10% !important;
    padding-right: 10% !important;
  }

  .w-40 {
    width: 35%;
  }

  .feature {
    height: 130px;
  }

  .feature i {
    font-size: 32px;
  }

  .spin {
    height: 55px;
    width: 54px;
  }

  .usps {
    margin-top: 20px;
  }

  .usp {
    margin-bottom: 10px;
    padding: 10px;
  }

  .usp img {
    width: 40px;
  }

  .usp h4 {
    font-size: 16px;
  }

  .usp p {
    font-size: 12px;
    line-height: 14px;
  }

  .team-description {
    margin-bottom: 10px;
  }

  .stats h3 {
    font-size: 22px;
  }

  .stats h3:first-child {
    padding-right: 40px;
  }
  .f-grid-one-fifth {
    grid-template-columns: 15% 15% 15% 15% 15% 15%;
    column-gap: 2.25%;
  }
}

/* Tablet Landscape */

@media (max-width: 1024px) {
  section {
    height: inherit;
  }

  .container {
    width: 80% !important;
  }

  .hero .container,
  .third .container {
    flex-direction: column-reverse;
  }

  .second .container {
    flex-direction: column;
  }

  .hero-img img,
  .second-img img,
  .third-img img {
    height: 30vh;
  }

  .w-50 {
    width: 100% !important;
  }

  .hero-title,
  .second .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    margin-top: 5vh;
  }

  .w-50 {
    align-items: center;
  }

  .second-img {
    margin-bottom: 5vh;
  }

  .third .container .w-50 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .third .container {
    margin-top: 10vh;
  }

  .hero-title {
    z-index: 99;
  }
}

/* Tablet Portrait */

@media (max-width: 980px) {
}

/* Macbook 13 Inch */

@media (min-device-width: 700px) and (max-device-width: 1200px) {
  .second-title .feature-container {
    width: 50% !important;
  }
  .third .f-grid-one-forth {
    grid-template-columns: 30% 30% 30% !important;
    column-gap: 5% !important;
  }
}

/* Mobile Tablet */

@media (max-width: 768px) {
  header {
    background: rgb(0, 0, 0);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .hide-desktop {
    display: block;
  }

  #nav-icon {
    display: block;
    z-index: 999;
  }

  header .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100vh;
    background: var(--color-secondary);
    transition: width 0.4s;
    z-index: 9;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
  }

  header .nav.open {
    width: 100vw;
  }

  header .nav li {
    display: block;
    margin: 20px auto;
    text-align: center;
    width: 70vw;
  }

  header .nav li a {
    display: block;
    padding: 15px;
    font-size: 24px;
    z-index: 9999;
  }
  .container-small {
    width: 80%;
  }
  .f-grid-one-third {
    grid-template-columns: 100%;
  }

  .structure,
  .structure .container-wide,
  .team-description {
    position: relative;
    flex-direction: column;
  }

  .first-title {
    align-items: flex-end;
  }

  .first-title h1 {
    margin-bottom: 20vh;
    width: 90%;
  }

  .first-title,
  .feature-container {
    position: relative;
    width: 100% !important;
    margin: 0px auto;
    right: 0;
  }

  .feature-container h3 span {
    font-size: 16px;
  }

  .underline span:after {
    content: "";
    width: 100%;
    height: 5px;
    display: block;
    position: absolute;
    bottom: -3px;
    background: var(--color-primary);
    mix-blend-mode: lighten;
  }

  .second-title {
    position: relative;
    opacity: 1;
    width: 90% !important;
    margin: 0px auto;
    right: 0;
    left: 0;
    padding: 5vh 0;
  }

  .feature-container img {
    width: 24px;
  }

  .feature-container h3 {
    font-size: 18px;
    text-align: left !important;
  }

  .stats {
    flex-direction: column;
    text-align: left;
    margin-top: 5vh;
    border: 1px solid grey;
    padding-top: 5vh;
    width: 90%;
    margin: 0px auto;
  }

  .stats h3 {
    flex-direction: column;
    text-align: center;
    padding: 0 0 20px 0 !important;
    font-size: 20px;
    line-height: 28px;
  }

  .stats h3:first-child {
    padding: 0px;
    border: 0px;
  }

  .title-feature:nth-child(2),
  .title-feature:nth-child(3),
  .title-feature:nth-child(4) {
    margin-left: 0px;
  }

  .hero-vid {
    position: absolute;
    z-index: 1;
    top: -30vh;
  }

  .first-title h1,
  .scroll-animate {
    z-index: 2;
  }

  .second,
  .third,
  .fourth,
  .fifth,
  .sixth,
  .seventh,
  .footer {
    width: 100% !important;
    height: inherit;
    position: relative;
    flex-direction: column;
    margin: 6vh 0;
    background-position: center;
    background-repeat: no-repeat;
  }

  .button-center {
    max-width: 320px;
  }
  .first {
    width: 100% !important;
    height: 40vh;
    position: relative;
    flex-direction: column;
    margin: 3vh 0 0 0;
    background-position: center;
    background-repeat: no-repeat;
  }

  .first iframe {
    max-height: 200px;
  }

  .third,
  .footer {
    background-image: none;
  }

  h2 {
    font-size: 36px;
    line-height: 42px;
    text-align: center;
  }

  h3 {
    font-size: 36px;
    line-height: 42px;
    text-align: center;
  }

  .team-description h2 {
    margin-right: 0px;
  }

  .w-40,
  .w-55,
  .team-description,
  .team {
    width: 80% !important;
    text-align: center;
    margin: 0px auto;
  }

  .f-grid-half {
    grid-template-columns: 100%;
  }

  .f-grid-one-forth,
  .f-grid-one-fifth,
  .f-grid-one-seventh,
  .f-grid-one-eight {
    grid-template-columns: 45% 45%;
    column-gap: 10%;
  }

  .btn {
    font-size: 12px;
  }

  .partner img {
    width: 100%;
  }

  .partner:nth-child(2),
  .partner:nth-child(6) {
    border: none;
  }
  .seventh h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-container img {
    margin: 0px 0px 20px 0px !important;
  }

  .testimonial-content h4 {
    text-align: center;
  }

  .slick-prev,
  .slick-next {
    top: inherit;
    bottom: -45px;
  }

  .slick-dots {
    display: flex;
    position: absolute;
    padding: 0px;
    left: calc(50% - 30px);
  }
  .footer .container,
  .copyright {
    flex-direction: column;
  }

  .footer .btn {
    width: 100%;
  }

  .footer {
    margin-bottom: 0;
  }

  footer {
    position: relative;
  }
  .copyright {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 70px;
  }

  canvas {
    display: none;
  }

  .contact-form-row {
    flex-direction: column;
  }

  .form-input {
    width: 100%;
  }

  .footer-social {
    margin-top: 50px;
  }

  .slider-container {
    width: 100%;
  }
  .slider-container .slick-slide {
    height: 160px;
    padding-bottom: 130px;
  }

  .slide img {
    object-fit: contain;
  }

  .slider-info {
    flex-direction: column;
  }

  .description {
    width: 100%;
  }

  .slide-stats {
    display: none;
  }
  .slider-info p {
    line-height: 16px;
    padding: 10px;
  }

  .slider-container .slick-prev {
    left: 15%;
  }

  .slider-container .slick-next {
    right: 15%;
  }

  .slider-container .slick-dots {
    left: calc(50% - 58px);
  }

  #scrollToTopBtn {
    right: 0%;
    position: absolute;
    bottom: 0;
    padding: 10px;
  }
  .footer-social a:first-child {
    margin-right: 20px;
  }

  .partner:nth-child(1),
  .partner:nth-child(2) {
    border: none;
  }

  .third-title {
    flex-direction: column;
  }
}

/* Landscape */
@media (orientation: landscape) and (max-height: 500px) {
  header {
    right: inherit;
    padding: 25px 0 40px 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  .structure,
  .structure .container-wide,
  .team-description {
    position: relative;
    flex-direction: column;
  }
  .first {
    height: 100vh !important;
    position: relative;
    height: inherit;
    padding: 5vh 0;
    margin-top: 5%;
  }

  .second,
  .third,
  .fourth,
  .fifth,
  .sixth,
  .seventh,
  .footer {
    position: relative;
    height: inherit;
    padding: 5vh 0;
  }

  .first-title {
    background: url("/images/footer-bg.jpg");
    background-size: cover;
    background-position: bottom center;
  }

  .first-title h1 {
    margin-bottom: 30vh;
    width: 40%;
    position: absolute;
    right: 5%;
    top: 30%;
    text-align: center;
  }

  .first-title,
  .feature-container {
    position: relative;
    width: 100% !important;
    margin: 0px auto;
    right: 0;
  }

  .scroll-animate {
    right: 15%;
  }

  .feature-container h3 span {
    font-size: 16px;
  }

  .underline span:after {
    content: "";
    width: 100%;
    height: 5px;
    display: block;
    position: absolute;
    bottom: -3px;
    background: var(--color-primary);
    mix-blend-mode: lighten;
  }

  .second-title {
    position: relative;
    opacity: 1;
    width: 90% !important;
    margin: 0px auto;
    right: 0;
    left: 0;
    padding: 5vh 0;
  }

  .feature-container img {
    width: 24px;
  }

  .feature-container h3 {
    font-size: 18px;
    text-align: left !important;
  }

  .stats {
    flex-direction: column;
    text-align: left;
    margin-top: 5vh;
    border: 1px solid grey;
    padding-top: 5vh;
    width: 90%;
    margin: 0px auto;
  }

  .stats h3 {
    flex-direction: column;
    text-align: center;
    padding: 0 0 20px 0 !important;
    font-size: 20px;
    line-height: 28px;
  }

  .stats h3:first-child {
    padding: 0px;
    border: 0px;
  }

  .title-feature:nth-child(2),
  .title-feature:nth-child(3),
  .title-feature:nth-child(4) {
    margin-left: 0px;
  }

  footer {
    position: relative;
    bottom: 0;
  }

  .sixth.container {
    padding: 20vh 0;
  }

  .third {
    flex-direction: column;
  }

  .third .w-40,
  .third .w-55 {
    width: 100% !important;
  }

  h1 {
    font-size: 38px;
    line-height: 46px;
  }
  .container {
    width: 100% !important;
  }

  .slider-container {
    width: 80%;
  }

  canvas {
    display: none;
  }
  .bull-space {
    display: none;
  }

  .footer {
    background-image: none;
  }

  .footer .container {
    width: 80% !important;
  }

  .copyright {
    margin-top: 20vh;
  }
}

/* Mobile Large */

@media (max-width: 642px) {
  .main section {
    height: inherit;
  }

  h1,
  h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .first-title h1 {
    font-size: 36px;
    line-height: 36px;
  }

  .hero-vid {
    top: 0;
  }

  h4 {
    font-size: 17px;
  }

  p {
    font-size: 14px;
    line-height: 16px;
  }

  header {
    display: flex;
    justify-content: center;
  }

  header .container {
    margin: 0;
    display: flex;
    align-items: flex-start;
  }

  .hero {
    height: 120vh !important;
  }

  .hero::after {
    top: 110vh;
  }

  header {
    right: inherit;
    padding: 25px 0 40px 0;
    background: rgb(0, 0, 0);
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 1) 60%,
      rgba(0, 0, 0, 0) 100%
    );
  }

  header .logo {
    display: flex;
  }

  header .logo img {
    width: 90%;
    max-width: 90%;
    margin: 0px auto;
  }

  .hero-title {
    margin-top: 0;
  }

  .roadmap {
    margin-top: 10vh;
    background-position: bottom;
    background-repeat: no-repeat;
    justify-content: space-between;
  }

  .big-type {
    font-size: 18px;
    line-height: 22px;
  }

  .line:after {
    display: none;
  }

  .third-img {
    margin-bottom: 5vh;
  }
}

/* Mobile Small */
@media (max-width: 375px) {
  h1 {
    font-size: 26px;
    line-height: 30px;
  }

  h2 {
    font-size: 20px;
    line-height: 22px;
  }
}
