.landing-page__main {
  background-image: url(//info.planbrothers.io/hubfs/raw_assets/public/Falcony/images/background-blur.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 64px 0 96px;
}

.landing-page__features .span4:nth-child(4n) {
  margin-left: 0;
}

@media (max-width: 768px) {
  .landing-page__main {
    background-position: initial;
    padding: 48px 0;
  }

  .landing-page__main .span1 {
    display: none;
  }

  .landing-page__main .span5 {
    margin-left: 8px;
  }
  
  .landing-page__main .span6 {
    width: 55.9%;
  }

  .landing-page__form {
    padding: 24px 32px 24px 24px !important;
  }

  .landing-page__main .field.hs-form-field {
    width: 100% !important;
  }

  .landing-page__features .span4 {
    width: 48%;
    float: left;
    margin: 0;
    margin-bottom: 4% !important;
  }

  .landing-page__features .span4:nth-child(2n) {
    margin-left: 4%;
  }
  
  .landing-page__logos .span3 {
    height: 100%;
  }
}

@media (max-width: 576px) {
  .landing-page__main .span6 {
    width: auto;
    padding-left: 8px;
    margin-top: 40px;
  }

  .landing-page__logos > .row-fluid {
    padding: 32px 0 0 !important;
    flex-direction: column;
  }

  .landing-page__logos .span3 {
    width: 50%;
    float: left;
    padding: 32px 0;
  }

  .landing-page__features .span4 {
    width: auto;
    float: none;
    margin: 0 0 24px !important;
  }
}

@media (max-width:481px) {
  .landing-page__logos .span3 {
    height: 130px;
  }
}

.landing-page__falcon-head {
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 34px;
  padding: 24px;
}

.landing-page__falcon-head h3 {
  margin: 0 0 16px;
}

.landing-page__falcon-head ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.landing-page__testimonial {
  background: #FFFFFF;
  box-shadow: -7px 4px 0px #F6DDBF;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: start;
}

.landing-page__testimonial-picture {
  margin-right: 16px;
}

.landing-page__testimonial-picture img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 12px;
}

.landing-page__testimonial-text {
  font-size: 12px;
  color: #848484;
}

.landing-page__testimonial-name {
  font-size: 12px;
  font-weight: 700;
  color: #18191F;
}

.landing-page__highlighted-block {
  padding: 48px;
  background: #FFFFFF;
  border: 2px solid #06246D;
  box-sizing: border-box;
  box-shadow: -7px 4px 0px rgba(6, 36, 109, 0.1);
  border-radius: 12px;
}

.landing-page__logos > .row-fluid {
  padding: 74px 0;
  display: flex; /* gives equal height to children */
}

.landing-page__logos h3 {
  margin: 0 0 8px;
}

.landing-page__logos .span8 > .row-fluid {
  height: 50%;
}

.landing-page__image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-page__logos img {
  max-width: 97px;
}

.landing-page__features {
  background-color: #F7F8FF;
  padding: 96px 0;
}

.landing-page__features > .boundaries > .row-fluid {
  display: flex;
  flex-wrap: wrap;
}

.landing-page__features h3 {
  margin: 0 0 96px;
  text-align: center;
}

.landing-page__features .span4 {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.landing-page__feature-picture {
  height: 224px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.landing-page__features .span4 h4 {
  margin: 0 0 16px;
}

/* Lucas ugly code css grid logo section - sorry Aidan */

/* Container for the logos */
.landing-page__logos {
  padding-bottom: 2rem;
}

.logos--text__wrap {
  text-align: center;
  color: #274EB9;
}

/* General layout for the logos grid */
.landing-page__logos > .landing-page__grid__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 columns (1 row) for large screens */
  gap: 32px;
  justify-items: center;
  align-items: center;
  padding: 3rem 0 5rem;
}

.logo--grid--item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Changed from fixed width to be responsive */
}

.landing-page__grid__logos .logo--grid--item img {
  max-width: 100%; /* Make images responsive */
  height: auto; /* Maintain aspect ratio */
  width: auto; /* Allow image to size naturally within max-width */
}

/* Medium screens: 2 columns */
@media (max-width: 992px) and (min-width: 577px) {
  .landing-page__logos > .landing-page__grid__logos {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
    column-gap: 32px;
  }
}

/* Mobile screens: 1 column  LOGOS*/
@media (max-width: 576px) {
  .landing-page__logos > .landing-page__grid__logos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* tablet screens landing FORM */
@media (max-width: 576px) {
.landing-page__highlighted-block 
  width:100%;
  margin-top:32px;
}
  
  @media (max-width: 782px) {
  .landing-page__main .span6 {
    width: 100%;
    margin-top: 32px;
  }
}
/*  Form btn hover effect fix */

.landing-page__highlighted-block .hs_submit.hs-submit input[type="submit"] {
  background-color: #284eb8;
  border: none;
  border-radius: 8px;
  box-shadow: 4px 4px #b4c4ff;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 8px;
  text-align: center;
  width: calc(100% - 16px);
  transition: all 0.2s ease-in-out;
  position: relative;
}

.landing-page__highlighted-block .hs_submit.hs-submit input[type="submit"]:hover {
  box-shadow: 0px 0px 0px 0px #b4c4ff;
}

/* Lucas ugly code -workaround on https://info.falcony.io/september-launch-event-2022 - sorry Aidan */
textarea {
    min-height: 100px;
 
    border: 2px solid #bdbdbd;
    border-radius: 8px;
    font-size: 14px;
    font-family:poppins;
    font-weight: 400;
    padding: 16px;
    width: calc(100% - 16px * 2 - 2px * 2);
}

.landing-page__form ul {
  list-style-type: none;
  padding: 0;
}

.landing-page__form input[type="checkbox"],
.landing-page__form input[type="radio"] {
  width: initial !important;
  margin-right: 10px;
}

.landing-page__form .hs-form-field {
  margin-bottom: 10px;
}

.landing-page__form label.hs-form-checkbox-display {
  display: flex;
  align-items: flex-start;
}