body {
  overflow-x: hidden;
}

.hero-section {
  background-color: var(--lightBrown);
  background-image: url("media/wave.png");
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 50px 0 100px 0;
}
.hero {
  position: relative;
  display: flex;
}

.hero-text-wrapper {
  flex-basis: 60%;
  position: relative;
}

.welcome-bubble {
  background: rgba(255, 255, 255, 0.9);
  width: 85%;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 20px;
}

.welcome-bubble h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  color: var(--stndBrown);
}
.welcome-bubble h1 span {
  font-size: 2.5rem;
  display: block;
  color: var(--buttonSelect);
}

.welcome-bubble a {
  display: inline-block;
  position: relative;
}

.hero-video-wrapper {
  flex-basis: 40%;
  height: 100%;
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.promo-video {
  position: relative;
  width: 58%;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  border: 5px solid var(--buttonSelect);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

.values {
  padding: 50px 0;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
.value-card {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-1);
  transition:
    transform 0.12s ease,
    box-shadow 0.2s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}
.value-card img {
  width: 75px;
  height: auto;
  margin-bottom: 18px;
}
.value-card h4 {
  color: var(--stndBrown);
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 8px 0;
}
.value-card p {
  margin: 0;
  color: var(--text);
}

@media (max-width: 994px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.cedar-description {
  margin-top: 60px;

  padding-bottom: 90px;
}
.description-header {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 70px;
  color: var(--stndBrown);
}

.description-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px;
}

.description-img-wrapper {
  flex: 1 1 calc(50% - 30px);

  position: relative;
}
.description-img {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  aspect-ratio: 1/1;
  border-radius: 50%;
}

.description-text-wrapper {
  flex: 1 1 calc(50% - 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
}

.description-text-wrapper p {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6rem;
  font-weight: 400;
}

.description-text-wrapper h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--stndBrown);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.description-text-wrapper p span {
  color: var(--stndBrown);
  font-weight: bolder;
}

.description-text-wrapper p {
  margin-bottom: 40px;
}

.description-links-wrapper {
  width: 95%;
  margin: 0 auto;
}

.description-links-wrapper a {
  margin-right: 10px;
}

.cards {
  padding: 30px 0 50px 0;
}

.cards-header {
  text-align: center;
  font-size: 2.5rem;
  color: var(--stndBrown);
  margin-bottom: 30px;
}

.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  column-gap: 30px;
  row-gap: 80px;
}
.flip-card {
  flex: 1 1 calc(25% - 30px);
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
}

.flip-card__front-side,
.flip-card__back-side {
  backface-visibility: hidden;
  width: 100%;
  perspective: 3200px;
  transition: transform 1s;
}
.flip-card__front-side,
.flip-card__back-side p {
  font-size: 1rem;
  line-height: 1.1rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.flip-card__front-side {
  transform: rotateX(0deg);
  color: var(--stndBrown);

  padding-bottom: 20px;
}

.flip-card__back-side {
  position: absolute;
  transform: rotateX(-180deg);
  display: flex;
  align-items: center;
}

.flip-card:hover .flip-card__front-side {
  transform: rotateX(180deg);
}
.flip-card:hover .flip-card__back-side {
  transform: rotateX(0deg);
}

/* flip cards */
.flip-card__front-side img {
  width: 175px;
}

.ethos {
  padding-bottom: 90px;
}

.ethos-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-wrap: nowrap;
  gap: 30px;
  padding: 30px;
  position: relative;
}

.ethos-img-wrapper {
  flex: 1 1 calc(50% - 30px);

  position: relative;
}

.ethos-img {
  position: relative;
  width: 420px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.ethos-text-wrapper {
  flex-basis: 70%;
  position: relative;
  top: 26%;

  min-width: 0;
}

.ethos-text-wrapper h3 {
  font-size: 2.5rem;
  text-align: center;
  color: var(--stndBrown);
  margin-bottom: 30px;
}
/* .ethos-text-wrapper h1 span {
    } */

.slide-wrapper {
  width: 100%;
  margin: 0 auto;

  position: relative;
}

.slide-wrapper img {
  width: 60px;
  position: absolute;
  left: 30px;
}

.slide-wrapper p {
  position: relative;
  width: 70%;
  left: 100px;
  font-size: 1.1rem;
}

.slide:hover {
  cursor: grab !important;
}

.swiper-btn {
  color: var(--stndBrown);
  font-size: 5px !important;
  font-weight: 1000;
}
.swiper-btn:hover {
  color: var(--buttonSelect);
}

:root {
  --swiper-navigation-size: 20px;
}

.widgets {
  margin-top: 25px;
}

/* .widgets-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 0 30px;
} */

.review-wrapper {
  flex-basis: 57%;
  margin-top: 40px;
}

.review-wrapper h3 {
  text-align: center;
  font-size: 3rem;
  color: var(--stndBrown);
}

.review {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}
.guides-wrapper {
  flex-basis: 38%;
  padding: 0 20px;
}
.guide-card {
  background-color: var(--lightBrown);
  height: 100%;
  color: white;
  padding: 5%;
}

.guide-card h4 {
  font-size: 2.3rem;
  text-align: center;
  width: 70%;
  margin: 0 auto 30px auto;
}

.guide-card p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.3rem;
}

.guide-img-card {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
}

.guide-img-card .img-card__front-side,
.guide-img-card .img-card__back-side {
  backface-visibility: hidden;
  width: 100%;
  perspective: 3200px;
  transition: transform 1s;
}

.guide-img-card .img-card__front-side {
  transform: rotateX(0deg);

  padding-bottom: 20px;
}

.guide-img-card .img-card__back-side {
  position: absolute;
  transform: rotateX(-180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-img-card:hover .img-card__front-side {
  transform: rotateX(180deg);
}
.guide-img-card:hover .img-card__back-side {
  transform: rotateX(0deg);
}

.guide-img-card .img-card__front-side {
  text-align: center;
}
.guide-img-card .img-card__front-side img {
  width: 80%;
}
.guide-img-card .img-card__back-side {
  text-align: center;
}

.guide-download-btn {
  background-color: var(--lightBrown);
  border: 2px solid white;
  color: white;
}
.guide-download-btn:hover {
  background-color: white;

  color: var(--lightBrown);
}

.map {
  margin-bottom: 0px !important;
  display: block;
}
.map iframe {
  display: block;
}

@media (max-width: 994px) {
  .description-links-wrapper a {
    display: block;
    margin-bottom: 10px;
  }

  .value-card {
    flex-basis: 45%;
  }
}

@media (max-width: 920px) {
  .description-wrapper {
    display: block;
  }

  .description-text-wrapper {
    margin-top: 30px;
    display: block;
  }

  .description-text-wrapper h2 {
    text-align: center;
  }

  .description-links-wrapper {
    width: fit-content;
  }
  .description-links-wrapper a {
    display: inline;
  }

  .ethos-wrapper {
    display: block;
  }

  .ethos-text-wrapper {
    position: static;
    margin-top: 30px;
  }

  .widgets-wrapper {
    display: block;
  }

  .guides-wrapper {
    margin-top: 30px;
  }
  .guide-img-card .img-card__front-side img {
    width: 30%;
  }
}

@media (max-width: 767px) {
  .hero {
    display: block;
  }

  .hero-text-wrapper {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .welcome-bubble {
    top: 0%;
    width: 95%;

    transform: translate(-50%, 0%);
  }

  .welcome-bubble h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
  }

  .welcome-bubble h1 span {
    font-size: 1.6rem;
  }

  .promo-video {
    width: 95%;
  }
}

@media (max-width: 500px) {
  .hero-wave {
    display: none;
  }
  .values {
    display: block;
  }
  .description-links-wrapper {
    width: 100%;
    margin-bottom: 50px;
  }

  .description-img-wrapper img {
    width: 300px;
  }

  .description-links-wrapper a {
    display: block;
    margin-bottom: 10px;
  }

  .description-wrapper {
    margin-bottom: 100px;
  }

  .block h2 {
    font-size: 1.6rem;
  }

  .ethos-img-wrapper {
    margin-top: 50px;
  }
  .ethos-img-wrapper img {
    width: 300px;
  }

  .slide-wrapper img {
    display: None;
  }

  .slide-wrapper p {
    width: 80%;
    margin: 0 auto;
    position: static;
  }
}
