/* ##################
Responsive Only CSS 

# Global
# Header
# Footer
# Button
# Sections
# Home Page 
# FAQ Page
# About Us Page v2 (Build and Responsive)
# Express Page (Build and Responsive)

################## */

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/* 
Global 
*/

@media (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }

  .w-md-100 {
    width: 100% !important;
  }

  .order-md-6 {
    order: 6 !important;
  }

  .order-md-7 {
    order: 7 !important;
  }
}

.site-cms {
  padding-top: 82px;
}

.bg-orange {
  background: #c55a11 !important;
}

.text-orange-dark {
  color: #ad5a1f !important;
}

.text-grey {
  color: #757575 !important;
}

.mb-5 {
  min-height: auto !important;
}

.site-banner-v2 {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  margin-top: 82px;
  position: relative;
  z-index: 1;
  padding: 4rem 0;

  &.dark {
    background-color: #202020 !important;
  }

  &.banner-page-express {
    background-image: linear-gradient(
      to right,
      #202020 0%,
      #202020 31%,
      #ffffff 100%
    ) !important;

    @media (max-width: 991.98px) {
      & {
        background-image: none !important;

        img {
          background: #fff;
          padding: 0.5rem;
          width: 50% !important;
        }
      }
    }
  }

  *:not(.button) {
    color: #fff;
  }

  .text-yellow {
    color: #f6ca45 !important;
  }

  .text-orange {
    color: #c55a11 !important;
  }

  p {
    font-weight: 700;
  }

  @media (max-width: 767.98px) {
    & {
      min-height: inherit;
    }
  }
}

.site-partners {
  .logo {
    max-width: 140px;
    max-height: 80px;
    height: auto;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.55;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;

    &:hover {
      -webkit-filter: grayscale(0%);
      filter: grayscale(0%);
      opacity: 1;
      -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
      transform: scale(1.05);
    }
  }
}

/* 
Header 
*/

@media (max-width: 767.98px) {
  .site-banner {
    .hero-video-wrapper {
      padding-top: 0;
      margin-top: -3rem;
    }

    .hero-video {
      position: static;
    }

    .hero-content {
      padding: 0;
      margin-top: -2rem;
    }

    .hero-description {
      margin-bottom: 1.5rem;
    }
  }
}

/* 
Footer 
*/

@media (max-width: 767.98px) {
  .site {
    .site-footer {
      padding: 1rem 0;
    }
  }
}

/* 
Button 
*/

@media (max-width: 767.98px) {
  .button {
    min-width: auto;
    padding: 0.75rem 1.5rem;
  }
}

/* 
Sections 
*/

.site-main > section {
  h2 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .site-main > section {
    h2 {
      margin-bottom: 1.5rem;
    }
  }
}

/* 
Home Page 
*/

.section__partners {
  .logos {
    img {
      height: auto;
      width: auto;
    }
  }
}

@media (max-width: 1199.98px) {
  .home {
    .site-banner {
      background-image: none !important;
    }
  }
  .section__partners .logos [class*="col-"] {
    height: auto;
  }
}

/* 
FAQs Page 
*/

.section__faq {
  .accordion-item {
    border-width: 1px;
  }

  .accordion-header {
    margin-bottom: 0;
  }

  .accordion-button {
    font-size: 16px;
    line-height: 24px;
    padding: 1rem 2rem 1rem 5rem;
  }

  .accordion-count {
    font-size: 20px;
    line-height: 26px;
  }

  .accordion-body {
    padding-bottom: 1rem;
    margin-top: 0;
  }

  .faq-section ~ .faq-section {
    padding-top: 2rem;
  }

  .faq-section > div:not(:first-child) {
    padding-top: 2rem;
  }

  #faq-categories {
    .accordion-button {
      padding: 1rem;
    }

    .accordion-body {
      padding: 0 1rem 1rem;
    }
  }
}

/* 
About Us V2 
*/

.site-aboutus-v2 {
  .our-beginning {
    text-align: center;

    .container .row .row {
      justify-content: center;

      [class*="col-"] {
        span {
          height: 2.5rem;
          width: 2.5rem;
          border-radius: 50%;
          background: black;
          display: flex;
          align-items: center;
          justify-content: center;
          color: #fff;
          font-size: 1.5rem;
          line-height: 2.5rem;
          font-weight: 700;
          box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
        }

        &:nth-child(1),
        &:nth-child(2) {
          span {
            background: #c55a11;
          }
        }

        &:nth-child(3) {
          span {
            background: #48995f;
          }
        }

        &:nth-child(7),
        &:nth-child(8) {
          span {
            background: #f6ca45;
          }
        }

        p {
          font-size: 13px;
          line-height: 26px;
          font-weight: 500;

          @media (max-width: 767.98px) {
            & {
              line-height: 20px;
            }
          }
        }
      }
    }
  }

  .our-endgame {
    text-align: center;

    .block {
      background: #c55a11;
      border-radius: 2.5rem;
      padding: 3rem 3rem 2.5rem;
      color: #fff;
      height: 100%;

      h4 {
        color: #fff;
        position: relative;

        &:after {
          content: "";
          height: 0.25rem;
          display: block;
          background: #fff;
          opacity: 0.35;
          margin-top: 1rem;
        }
      }

      @media (min-width: 768px) {
        h4 {
          font-size: 24px;
          line-height: 34px;
        }
      }

      @media (max-width: 767.98px) {
        h4 {
          &:after {
            height: 0.125rem;
            margin-top: 0.5rem;
          }
        }
      }

      @media (max-width: 1199.98px) {
        & {
          padding: 2rem;
        }
      }

      @media (max-width: 767.98px) {
        & {
          padding: 1.5rem 1rem;
          border-radius: 10px;
        }
      }
    }
  }

  .swiper {
    .hero {
      display: flex;
      height: 500px;
      overflow: hidden;
      border-radius: 10px;
      gap: 20px;
    }

    .panel {
      flex: 1;
      position: relative;
      transition: flex 0.6s ease, filter 0.4s ease;
      cursor: pointer;
      overflow: hidden;
      border-radius: 10px;
    }

    .panel img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease, filter 0.4s ease;
      filter: brightness(100%);
    }

    .panel:hover img {
      transform: scale(1.05);
    }

    .panel .vertical-text {
      position: absolute;
      bottom: 20px;
      right: 10px;
      text-orientation: mixed;
      color: white;
      font-size: 1.4rem;
      font-weight: 700;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
      transition: opacity 0.3s ease;
      text-transform: uppercase;
    }

    @media (min-width: 768px) {
      .panel .vertical-text {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
      }
    }

    .panel .expanded-text {
      position: absolute;
      top: 20px;
      left: 20px;
      color: #000;
      font-size: 1.5rem;
      font-weight: 700;
      max-width: 70%;
      line-height: 1.2;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .panel .expanded-text p {
      font-size: 0.875rem;
      font-weight: 700;
      margin: 4px 0 0;
      line-height: 1.25rem;
    }

    .panel.active .expanded-text {
      opacity: 1;
    }

    .panel.active .vertical-text {
      opacity: 0;
    }

    .panel.active {
      flex: 3;
      filter: brightness(100%);
    }

    .panel:not(.active) {
      flex: 1;
    }

    .panel:not(.active) img {
      filter: brightness(80%);
    }

    @media (max-width: 767.98px) {
      .hero {
        flex-direction: column;
        height: 60vh;
      }

      .panel .vertical-text {
        /* writing-mode: horizontal-tb; */
        bottom: 10px;
        right: 20px;
      }

      .panel .expanded-text {
        max-width: 90%;
      }
    }

    .info {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: center;
      align-items: center;
      font-size: 96px;
      line-height: 76px;
      font-weight: 900;
      color: #000;

      span {
        font-size: 36px;
        line-height: 36px;
      }
    }

    @media (max-width: 991.98px) {
      .info {
        font-size: 66px;
        line-height: 56px;

        span {
          font-size: 26px;
          line-height: 26px;
        }
      }
    }

    @media (max-width: 767.98px) {
      .info {
        font-size: 50px;
        line-height: 40px;

        span {
          font-size: 20px;
          line-height: 20px;
        }
      }
    }
  }
}

/* 
Express Page
*/

.site-express {
  .how-it-works {
    text-align: center;

    .block {
      background: #c55a11;
      border-radius: 2.5rem;
      padding: 3rem 3rem 2.5rem;
      color: #fff;
      height: 100%;

      h4 {
        color: #fff;
        position: relative;

        &:after {
          content: "";
          height: 0.25rem;
          display: block;
          background: #fff;
          opacity: 0.35;
          margin-top: 1rem;
        }
      }

      @media (min-width: 768px) {
        h4 {
          font-size: 24px;
          line-height: 34px;
        }
      }

      @media (max-width: 767.98px) {
        h4 {
          &:after {
            height: 0.125rem;
            margin-top: 0.5rem;
          }
        }
      }

      @media (max-width: 1199.98px) {
        & {
          padding: 2rem;
        }
      }

      @media (max-width: 767.98px) {
        & {
          padding: 1.5rem 1rem;
          border-radius: 10px;
        }
      }
    }
  }

  .signup-form-section {
    .signup-form-wrapper {
      border: solid 1px #d3d3d3;
      border-radius: 1.25rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      padding: 4rem 6.5rem;

      @media (max-width: 1199.98px) {
        & {
          padding: 2rem;
        }
      }

      @media (max-width: 767.98px) {
        & {
          padding: 1.5rem 1rem;
        }
      }

      #form-messages {
        margin-bottom: 20px;
        padding: 15px 20px;
        border-radius: 8px;
        font-weight: 500;
        text-align: center;

        &.alert-success {
          background-color: #d4edda;
          border: 1px solid #c3e6cb;
          color: #48995f;
        }

        &.alert-error {
          background-color: #f8d7da;
          border: 1px solid #f5c6cb;
          color: #721c24;
        }
      }

      .form-label {
        font-weight: 700;
        font-size: 0.75rem;
        color: #242a34;
        margin-bottom: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.5px;
      }

      .form-helper-text {
        font-size: 0.95rem;
        color: #888;
        line-height: 1.6;
        margin: 0;
      }
    }
  }

  .testimonials {
    img {
      height: 190px;
      width: auto;
    }
  }

  .stats {
    h1 {
      @media (max-width: 767.98px) {
        & {
          font-size: 36px;
          line-height: 36px;
        }
      }
    }

    h6 {
      @media (max-width: 767.98px) {
        & {
          font-size: 14px;
          line-height: 18px;
        }
      }
    }
  }
}
