/* header */
  .mobile-and-search-menu .cta-button {
    background: white;
  }
  header .logo > img {
    filter: invert(1);
  }
  header #mega-menu > li > a {
    color: white;
  }
  .mobile-and-search-menu a img, .mobile-and-search-menu button img {
    filter: invert(0);
  }
  header#main-header.draw-on-border:after {
    display: none;
  }

  /* main */
  #main-content {
    background: #363636;
  }
  /* page banner */
  .page-banner {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #bbccfc;
    margin-bottom: 40px;
    height: 40px;
    text-align: center;
    align-items: center;
    z-index: 200;
  }
  @media (max-width: 575px) {
    .page-banner {
      min-height: 32px;
    }
  }

  .page-banner p {
    margin-bottom: 0;
    font-size: 12px;
  }

  header#main-header {
    top: 40px;
  }

  /* cta large image on right */
  .cta-large-image-right-section {
    padding-top: 200px;
    background: linear-gradient(0deg,rgba(12, 13, 15, 1) 0%, rgba(45, 47, 50, 1) 100%);

  }
  .three-cards-with-title-and-link-section .card-image-bottom .card-image-wrapper {
    background-position: center bottom -50px;
    @media (min-width: 992px) and (max-width: 1399px) { 
      height: 90%;
    }
  }
  .cta-large-image-right-section .text-column img {
    max-width: 200px;
    height: auto;
    margin-bottom: 40px;
  }
  .cta-large-image-right-section .text-column h2 {
    margin-top: 0;
  }
  
  .cta-large-image-right-section .text-column .form-completed-message {
    color: white;
    text-align: center;
    font-size: 12px;
    margin-bottom: 1rem;
    @media (min-width: 991px) {
      margin-top: 1rem;
    }
  }

  /* partnerships */
  #partnerships-logos-section {
    padding-top:6rem;
    background: rgba(12, 13, 15, 1);
    .partnerships-title {
      font-size: 12px;
      font-weight: 400;
      margin-top: 0;
      margin-bottom: 36px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: white;
    }
    .partnerships-subtitle {
      color: white;
      font-size: 10px;
      margin-top: 25px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    .rotating-phrases-wrapper {
      top: auto;
      margin: 0;
    }

    /* left/right gradients */
    .bg-left-texts{
      background: linear-gradient(to right,rgba(12, 13, 15, 1) 50%, transparent 100%);
      left: 0;
    }
    .bg-right-texts{
      background: linear-gradient(to left, rgba(12, 13, 15, 1) 50%, transparent 100%);
      right: 0;
    }
    .bg-left-texts, .bg-right-texts {
      content: "";
      z-index: 2;
      position: absolute;
      top: 0px;
      height: 100%;
      width: 50px;
      background-size: cover;
    }

    .logo-container{
      margin-right: 60px;
      /* this works better than using column gap due to animation math */
    }

    .rotating-phrases-track {
      transform: translate3d(0, 0, 0);
      animation: partner-scroller 60s linear infinite;
    }

  }
  @keyframes partner-scroller {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
      /* logo list is doubled, so 50%. otherwise this number is whatever percent the single list is of the full list */
    }
  }

  /* how to get started */
  #how-to-get-started-section {
    color: white;
    padding-top: 120px !important;
    padding-bottom: 60px !important;

    .get-started-title {
      margin-top: 0;
      margin-bottom: 60px;
    }
    .get-started-card {
      flex-grow: 0;
      flex-basis: 218px;
      >.d-flex {
        gap: 12px;
      }
    }
    .get-started-icon {
      height: 94px;
      width: auto;
      margin-bottom: 24px;
    }

    .step-number {
      text-transform: uppercase;
      letter-spacing: 1.5px;
      font-size: 12px;
      font-weight: 900;
    }
    .step-info {
      font-size: 18px;
    }
  }

  /* recommendation card */
  .recommendation-card {
    align-items: center;
    justify-content: center;
    text-align: center;

    .text-content {
      max-width: 382px;
      p, h2 {
        max-width: none;
        width: auto;
        margin-bottom: 24px;
      }
      a {
        width: 100%;
      }
      h2 {
        font-family: 'Simula', serif;
      }
      .form-completed-message {
        color: white;
        text-align: center;
        font-size: 12px;
      }
    }
  }

  /* three cards section */
  .three-cards-with-title-and-link-section .card {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.005) 30%, #535353 100%);
      border-radius: 20px;
  }
  .three-cards-with-title-and-link-section .card-title {
    font-weight: 700px;
  }

  .three-cards-with-title-and-link-section .card-image-center .card-image {
    margin-bottom: auto !important;
  }

  @media (min-width: 1200px) { 
    .three-cards-with-title-and-link-section .card {
        min-height: 720px;
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .three-cards-with-title-and-link-section .card {
        min-height: 560px;
    }
  }

  @media (max-width: 991px) {
    .three-cards-with-title-and-link-section .card.card-image-center .card-image-wrapper {
        height: 55%;
        transform: scale(1);
    }
    .three-cards-with-title-and-link-section .card {
        aspect-ratio: auto;
        min-height: 400px;
    }

    .three-cards-with-title-and-link-section .card-header p {
      font-size: 14px;
    }
  }

  @media (max-width: 767px) {
    .three-cards-with-title-and-link-section .card.card-image-center .card-image-wrapper {
        max-height: 72%;
    }

  }


  /* faqs */
  .accordion-body p, .accordion-body ul, .accordion-body ol, .accordion-body ul li, .accordion-body ol li {
      color: #737373;
  }
  .faq-title-wrapper h2 {
    font-family: 'Simula', serif;
  }

  /* testimonial */
  .testimonial-card-section .testimonial-card {
    background: url('/wp-content/themes/joiandblokes/images/spartan/spartan-testimonial.png');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .testimonial-card-section .testimonial-card cite, .testimonial-card-section .testimonial-card blockquote p, .testimonial-card-section .testimonial-card .testimonial-author-subtitle {
    color: white;
    font-size: 32px;
  } 
  .testimonial-card-section .testimonial-card .testimonial-author-subtitle {
    font-style: italic;
  }

  /* email subscription */
  .email-subscription-section .email-subscription-card {
    background: #f7f7f7 !important;
  }
  .email-subscription-section .rotating-phrases .phrase, .email-subscription-section .rotating-phrases .separator {
      color: rgba(54, 54, 54, 1);
  }
  .email-subscription-section .email-input::placeholder {
    color: var(--color-gray-form);
  }
  .email-subscription-section .bg-left-texts {
    background-image: url(/wp-content/themes/joiandblokes/images/gradient-end-rotate-text-light.svg) !important;
    filter: none;
  }
  .email-subscription-section .bg-right-texts {
    background-image: url(/wp-content/themes/joiandblokes/images/gradient-end-rotate-text-light.svg) !important;
    transform: rotate(180deg);
    filter: none;
  }
  .email-subscription-section .email-input {
    background: #f7f7f7 !important;
    color: var(--color-black);
  }

  /* form control */
  .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    border-radius: 0;
  }

  .form-control:focus {
    outline: none;
    border-color: #000;
  }

  .form-control,
  .form-control:focus {
    border: none;
    border-bottom: 1px solid #838383;
      padding: 18px 0 4px 0;
      font-size: 12px;
    background: transparent;
    width: 100%;
    transition: all 0.3s ease;
  }

  .error .form-control {
    border-bottom-color: #b10f0f;
  }
  .form-control::after {
    display: block;
    content: " ";
    transform: scale(0);
  }

  .form-control:focus {
    outline: none;
    border-bottom-color: #000;
    box-shadow: none;
  }

  .form-group {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
  }

  .form-group label {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(20px);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    pointer-events: none;
    transition: 0.3s ease all;
  }

  .form-control:focus ~ label,
  .form-control:not(:placeholder-shown) ~ label {
    top: 0;
    color: #666;
    transform: translateY(0);
    font-size: 10px;
  }

  .form-control::placeholder {
    color: transparent;
  }

  .form-group.error label {
    color: #b10f0f !important;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 20px;
    border-radius: 100px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: var(--color-dark-gray);
    border: none;
    color: #fff;
    &:hover {
      background: black;
    }
    &:disabled {
      opacity: 0.5;
      cursor: auto;
    }
}