html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lateral", sans-serif;
}
@font-face {
  font-family: "Lateral";
  src: url("fonts/Lateral-CondensedBold.otf") format("opentype");
  font-weight: 700;
  font-stretch: condensed;
  font-style: normal;
}

/* Lateral Expanded Bold */
@font-face {
  font-family: "Lateral";
  src: url("fonts/Lateral-ExpandedBold.otf") format("opentype");
  font-weight: 700;
  font-stretch: expanded;
  font-style: normal;
}

/* Lateral Standard Bold */
@font-face {
  font-family: "Lateral";
  src: url("fonts/Lateral-StandardBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Lateral Standard Regular */
@font-face {
  font-family: "Lateral";
  src: url("fonts/Lateral-StandardRegular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* Lateral Standard Regular Italic */
@font-face {
  font-family: "Lateral";
  src: url("fonts/Lateral-StandardRegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}
.first_fold {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url(images/first_fold_bg_desktop.png) no-repeat center
    center/cover;
  height: 575px;
  padding-top: 100px;
}
.first_fold .content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  max-width: 380px;
  text-align: left;
}
.ribbon {
  position: relative;
  top: -30px;
}

.ribbon img {
  width: 100%;
}
.ribbon .content_block img {
  width: 38px;
  height: 38px;
}
.social_grid img {
  max-width: 100%;
}

.social_grid {
  display: grid;
  grid-template-columns: repeat(3, 440px);
  gap: 50px;
  justify-content: center;
  /* align-items: center; */
}
.about {
  padding: 30px 0;
  position: relative;
}
.about > img {
  position: absolute;
}
.about img.star1 {
  left: 8%;
}
.about img.star2 {
  left: 25%;
  top: -2%;
  max-width: 15px;
}
.about img.star3 {
  right: 2%;
  top: 20%;
}
.about img.star4 {
  right: 6%;
  bottom: 6%;
}
.about .content_block {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
}
.about .container > h2 {
  text-align: center;
  margin: 0;
}
.about .content_block > div {
  max-width: 450px;
  width: 100%;
}
.about .content_block {
  text-align: left;
}
.desktop-only {
  display: block;
}
.mobile-only {
  display: none;
}
section img {
  max-width: 100%;
}
.gentle .content_block {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 20px;
  align-items: center;
}
.gentle .content_block > img {
  justify-self: end;
}
.gentle {
  padding: 50px;
}
.stories {
  background: url(images/trusted_bg_d.png) no-repeat center center/cover;
  padding: 25px 0;
}
.stories1 {
  background: url(images/stories_bg_d.png) no-repeat center center/cover;
  padding: 25px 0;
}
section .container h2 {
  font-size: 50px;
  color: #004987;
}
section:not(.gentle) .container > h2,
section:not(.gentle) .container > h2 + p {
  text-align: center;
  margin-bottom: 0px;
}
.logo {
  max-width: 130px;
}
.first_fold h1 {
  font-size: 55px;
  color: #004987;
  margin-bottom: 7px;
}
.first_fold p {
  font-size: 14px;
  font-weight: 400;
  color: #171717;
  line-height: 100%;
}
.first_fold a {
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(0deg, #004987 -0.02%, #59b2e7 100.02%);
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 400;
  display: inline-block;
  padding: 10px 50px;
  border-radius: 15px;
  margin-top: 25px;
}
.about .content_block h3 {
  font-size: 30px;
  color: #004987;
  margin-bottom: 10px;
}
.gentle h2 {
  margin: 0;
}
.social_grid > div {
  border: 1px solid #59b2e7;
  border-radius: 16px;
  padding: 15px 25px;
  text-align: center;
  position: relative;
  margin-top: 60px;
  background-color: #f8f8f8;
}
.social_grid > div > div div {
  text-align: left;
}
.social_grid > div > div p {
  margin: 5px 0;
  font-size: 10px;
}
.social_grid > div > div h4 {
  margin: 0;
  font-size: 14px;
  color: #298ac3;
}
.social_grid > div > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  margin: 15px 0;
}
.social_grid > div > div > img {
  max-width: 120px;
  width: 100%;
}
.social_grid > div > img {
  max-width: 100%;
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.social_grid h3 {
  margin-top: 50px;
}
.social_grid .youtube a {
  background: #e63946;
}
.social_grid > div.youtube > div {
  grid-template-columns: 1fr;
}
.social_grid > div.youtube > div > img {
  max-width: 100%;
}
.social_grid a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fdfdfd;
  font-size: 14px;
  padding: 10px 0;
  text-transform: uppercase;
  background: #298ac3;
  border-radius: 18px;
}
.ig a{
  background: #dd778b;
}
section.communty {
  position: relative;
}
section.communty > img {
  max-width: 130px;
  width: 100%;
  position: absolute;
}
section.communty > img.kite_svg {
  left: 0;
  top: -20px;
}
section.communty > img.horse_svg {
  right: 0;
  top: -20px;
}
section.stories .container h2 + p {
  font-weight: 400;
  max-width: 600px;
  width: 100%;
  margin: 15px auto 0;
}
.stories {
  background: url(images/trusted_bg_d.png) no-repeat center center/cover;
  padding: 50px 0;
  background-size: 100% 100% !important;
}
.stories .content_block {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.stories .content_block > div {
  border: 2px solid #59b2e7;
  background-color: #fbfbfb;
  position: relative;
  border-radius: 24px;
  text-align: center;
  padding: 10px 10px 0 10px;
}
.stories .content_block > div h3 a {
  text-decoration: none;
  color: #004987;
  display: inline-block;
}
.stories .content_block > div h3 {
  margin: 10px 0 0 0;
}

.stories .content_block > div h3 + p {
  margin: 10px 0;
  text-overflow: ellipsis;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

section.stories1 .container h2 + p {
  color: #f8f8f8;
  font-weight: 400;
  max-width: 600px;
  width: 100%;
  margin: 15px auto 0;
}
section.stories1 .container h2 {
  color: #fafafa;
}
.stories1 {
  background: url(images/stories_bg_d.png) no-repeat center center/cover;
  padding: 50px 0;
  background-size: 100% 100% !important;
}
.stories1 .content_block {
  margin: 30px 0 140px;
}
.t1,
.t2,
.t3 {
  border: 2px dashed #f69fc7;
  padding: 10px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
}

.profile h3 + p span {
  color: #111111;
  font-size: 15px;
}
.tagline {
  font-size: 12px;
  color: #6a6a6a;
}
.profile + p {
  font-size: 15px;
  color: #111111;
  margin-bottom: 0;
}
.review_parent + div {
  display: grid;
  gap: 10px 0;
}
.profile h3 + p {
  margin: 0;
  font-size: 10px;
}
.profile h3 {
  font-size: 12px;
  color: #5586af;
  margin: 0;
  margin-bottom: 5px;
}
.profile > img {
  max-width: 60px;
  width: 100%;
  border-radius: 50%;
  height: 60px;
}
.review_parent {
  background-color: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
}

/* Mobile carousel styles */
.carousel-wrapper {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-wrapper .carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 5px;
}

.carousel-wrapper .review_parent {
  min-width: 48%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

/* Arrow buttons */
.carousel-wrapper .arrow {
  background-color: unset;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}
.carousel-wrapper .arrow img {
  max-width: 84px;
}
.t1 {
  height: -webkit-fill-available;
}
::-webkit-scrollbar {
  width: 1px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f7afd0;
}

::-webkit-scrollbar-thumb {
  background-color: #f69fc7;
  border-radius: 10px;
  border: 0.5px solid #f0f0f0;
}

@media (max-width: 768px) {
  .logo {
    max-width: 80px;
  }
  .ribbon {
    top: -80px;
  }
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .first_fold {
    padding: 60px 0;
    background: url(images/first_fold_bg_mobile.png) no-repeat center
      center/cover;
    height: 650px;
  }
  section .container h2,
  .first_fold h1 {
    font-size: 35px;
  }

  .stories {
    background: url(images/trusted_bg_m.png) no-repeat center center/cover;
    padding: 15px 0 50px;
    background-size: 100% 100%;
  }
  .stories1 {
    background: url(images/stories_bg_m.png) no-repeat center center/cover;
  }

  .first_fold a {
    padding: 7px 40px;
    border-radius: 15px;
    margin-top: 10px;
  }
  .first_fold .content {
    top: 22%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 80%;
    text-align: center;
  }
  .social_grid,
  .about .content_block {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gentle .content_block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gentle {
    padding: 50px 0px;
  }
  section.gentle .container h2 {
    font-size: 30px;
  }
  .about .content_block {
    text-align: center;
    gap: 0;
  }
  .about {
    position: relative;
    top: -40px;
  }
  .about h2 {
    margin-top: 0;
    margin-bottom: 20px !important;
  }
  .about > img {
    max-width: 15px;
  }
  .about img.star3 {
    right: 2%;
    top: 0%;
  }
  .about img.star4 {
    display: none;
  }
  .communty h2 {
    padding: 0 50px;
  }
  section.communty > img {
    max-width: 70px;
  }
  section.communty > img.kite_svg {
    left: 0;
    top: 14%;
  }
  section.communty > img.horse_svg {
    right: 0;
    top: -2%;
  }
  .stories .content_block {
    gap: 20px 10px;
  }
  .stories .content_block > div {
    flex: 1 1 calc(50% - 40px);
    padding: 10px 5px 0 5px;
  }
  .stories .content_block > div h3 {
    margin: 10px 0 0 0;
    font-size: 14px;
  }
  .stories .content_block > div h3 + p {
    margin: 10px 0;
    font-size: 12px;
  }
  .stories .content_block > *:nth-child(n + 5) {
    display: none;
  }
  .stories .content_block > * {
    transition: opacity 0.3s ease;
  }
  .stories .content_block > div img {
    border-radius: 8px;
  }
  #seeMore {
    display: block;
    color: #59b2e7;
    margin: 40px auto 0;
    border: 2px solid #59b2e7;
    font-size: 14px;
    font-weight: 400;
    padding: 10px 50px;
    border-radius: 15px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
  }

  section.stories1 .container h2 {
    color: #fafafa;
    padding-top: 30px;
  }
  section.stories1 .container h2 + p {
    color: #f8f8f8;
    max-width: 80%;
  }
  .carousel-wrapper .review_parent {
    min-width: 90%;
  }
}
