/* Homepage styles */

.page-wrapper {
  overflow-x: hidden;
}

/* DiagonalFlex */
.diagonal-flex {
  position: relative;
  display: flex;
}

.diagonal-flex::before {
  content: "";
  z-index: -5;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--diagonal-bg, linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(99.98deg, #7a58ff 0%, #817aff 100%));
  transform: skewY(-13deg);
  top: var(--diagonal-top, 0px);
}

@media only screen and (min-width: 1900px) {
  .diagonal-flex::before {
    top: var(--diagonal-top-wide, var(--diagonal-top, 0px));
  }
}

/* Hero DiagonalFlex */
.hero-diagonal-flex {
  height: 300px;
}

@media (min-width: 550px) {
  .hero-diagonal-flex {
    height: 370px;
  }
}

@media (min-width: 900px) {
  .hero-diagonal-flex {
    height: 100%;
  }
}

/* HeroSection */
.hero-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 8vw;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 550px) {
  .hero-section {
    text-align: left;
  }
}

/* HeroContent */
.hero-content {
  width: 100%;
}

@media (min-width: 550px) {
  .hero-content {
    width: 55%;
  }
}

/* HeroTitle */
.hero-title {
  color: white;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 28px;
}

@media (min-width: 550px) {
  .hero-title {
    font-size: 32px;
  }
}

/* HeroText */
.hero-text {
  color: white;
  margin-top: 0;
  font-size: 14px;
}

@media (min-width: 550px) {
  .hero-text {
    font-size: 16px;
  }
}

.hero-text-last {
  margin-bottom: 35px;
}

/* ContentSection */
.content-section {
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 960px;
  max-width: 100%;
}

@media (min-width: 550px) {
  .content-section {
    margin-top: 210px;
  }
}

@media (min-width: 1200px) {
  .content-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ContentHeading */
.content-heading {
  margin-bottom: 40px;
  font-weight: 800;
  font-size: 24px;
}

@media (min-width: 550px) {
  .content-heading {
    font-size: 28px;
  }
}

/* TilesSection */
.tiles-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: left;
  gap: 20px;
  width: 960px;
  max-width: 100%;
}

/* ContactSection */
.contact-section {
  justify-content: center;
  margin-top: 80px;
}

@media (min-width: 550px) {
  .contact-section {
    margin-top: 120px;
  }
}

/* ContactInner */
.contact-inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
}

/* ContactHeading */
.contact-heading {
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  margin-top: 16px;
  margin-bottom: 40px;
}

@media (min-width: 550px) {
  .contact-heading {
    font-size: 28px;
  }
}

/* ContactText */
.contact-text {
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
  max-width: 520px;
}

/* Parallelogram */
.parallelogram-box {
  position: relative;
  width: 326px;
  height: 1px;
}

@media (max-width: 900px) {
  .parallelogram-box {
    display: none;
  }
}

.parallelogram-single {
  position: relative;
  width: 326px;
  height: 113px;
  background: linear-gradient(252.91deg, #7971ff -1.25%, #d1cffc 100%);
  transform: skewY(-13deg);
}

.parallelogram-single-shifted {
  left: 50px;
  top: -62px;
  opacity: 0.6;
  z-index: -1;
}

/* PreFooter */
.pre-footer {
  background: linear-gradient(167deg, transparent 50%, rgba(232, 232, 232, 1) 50%);
  height: 24vw;
  margin-top: -12vw;
}

/* RoundedButton */
.rounded-button {
  display: inline-block;
  background-position-x: calc(100% - 12px);
  background-position-y: center;
  background-repeat: no-repeat;
  border-radius: 100px;
  padding: 16px 44px 16px 16px;
  text-align: left;
  min-width: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.rounded-button:focus,
.rounded-button:hover {
  filter: brightness(0.95);
}

/* ShowMoreLink */
.show-more-link {
  background-image: url("data:image/svg+xml, %3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='M14.2929 15.2929C13.9024 15.6834 13.9024 16.3166 14.2929 16.7071C14.6834 17.0976 15.3166 17.0976 15.7071 16.7071L19.7071 12.7071C20.0976 12.3166 20.0976 11.6834 19.7071 11.2929L15.7071 7.29289C15.3166 6.90237 14.6834 6.90237 14.2929 7.29289C13.9024 7.68342 13.9024 8.31658 14.2929 8.70711L16.5858 11H5C4.44771 11 4 11.4477 4 12C4 12.5523 4.44771 13 5 13H16.5858L14.2929 15.2929Z' fill='%235951FF' /%3E%3C/svg%3E");
  background-position-x: right;
  background-position-y: bottom;
  background-repeat: no-repeat;
  display: block;
  margin: 16px 0 0;
  padding-right: 2em;
  font-weight: 600;
  line-height: 24px;
  color: #5951FF;
}

/* FrontTile */
.front-tile {
  position: relative;
  padding: 32px 32px 160px 32px;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(55, 50, 73, 0.2),
    0px 8px 10px rgba(55, 50, 73, 0.08), 0px 3px 14px rgba(55, 50, 73, 0.1);
  border-radius: 16px;
  min-width: 280px;
  text-decoration: none;
  color: inherit;
  display: block;
}

.front-tile:hover {
  box-shadow: 0px 10px 50px 0px rgb(35 35 35 / 20%);
}

.front-tile h3 {
  border-bottom: 2px solid #e8eaf1;
  padding-bottom: 16px;
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--text-color-primary);
}

@media only screen and (min-width: 1200px) {
  .front-tile {
    width: 306px;
  }
}

@media only screen and (max-width: 550px) {
  .front-tile {
    padding-bottom: 140px;
  }
  .front-tile h3 {
    font-size: 20px;
  }
}

.front-tile-content {
  display: flex;
  flex-direction: column;
}

.front-tile-icon-wrapper {
  position: absolute;
  bottom: 32px;
}

.front-tile-body {
  font-size: 16px;
  line-height: 24px;
}

@media only screen and (max-width: 550px) {
  .front-tile-body {
    font-size: 14px;
  }
}
