.about-story {
  color: black;
  background-color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-bottom: 4rem;
}

.about-quality,
.about-team,
.about-process,
.about-testimonials {
  display: flex;
  flex-direction: column;
}

.about-quality {
  color: white;
  background-image: url("../img/quality-background.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-top: 2rem;
  padding-bottom: 20rem;
}

.about-quality-content{
  display: flex;
  flex-direction: column;
  margin-left: 5rem;
  margin-right: 5rem;
}

.about-story-content {
  display:flex;
  flex-direction: column;
  margin-left: 5rem;
  margin-right: 5rem;
  padding-top: 4rem;
}

.cropped-img {
  flex: 1 1 50%;
  max-width: 50%;
  aspect-ratio: 1.5/1;
  overflow: hidden;
  border-radius: 20px;
}

.headshot {
  flex: 1 1 33%;
  max-width: 33%;
}

.headshot-name {
  position: relative;
  transform: translateY(-3rem);
  z-index: 2;
  font-size: 1.25rem;
  margin-left: 1rem;
}

.headshot-title {
  position: relative;
  transform: translateY(-4rem);
  z-index: 2;
  margin-left: 1rem;
}

.cropped-headshot {
  display: flex;
  aspect-ratio: 0.81/1;
  overflow: hidden;
  border-radius: 20px;
  position:relative;
}
.cropped-headshot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to bottom, rgba(131, 106, 89, 0) 0%,rgba(131, 106, 89, 0.8) 100%);
  z-index: 1;
}


.img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
}

.about-story-text {
  align-self: center;
  flex: 1 1 50%;
  max-width: 50%;
}

.about-story-row {
  display:flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}


.about-story-row p,
.about-story-content p {
  color: black;
}

.section-heading {
  align-self: center;
  text-transform: uppercase;
  padding-bottom: 2rem;
  text-align: center;
}

.about-team {
  background-color: #d9cec7FF;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-top: 2rem;
}

.about-team h1,
.about-team p {
  color: #836a59FF;
}

.about-team .headshot-name,
.about-team .headshot-title {
  color: white;
}

.about-team-content {
  margin-left: 5rem;
  margin-right: 5rem;
}

.about-team-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.about-team-text {
  flex: 1 1 33%;
  max-width: 33%;
}

.about-process {
  background-color: white;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-top: 2rem;
}

.about-process-content {
  margin-left: 5rem;
  margin-right: 5rem;
}

.about-process-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.process-step-text {
  align-self: flex-start;
  flex: 1 1 50%;
  max-width: 50%;
  padding-top: 1rem;
  padding-left: 1rem;
}

.process-step-text p {
  color: black;
  font-size: 1rem;
}

.process-step-title {
  display: flex;
  flex-direction: row;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
}

.process-step-number {
  background-color: #836a59FF;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  text-align: center;
  line-height: 3rem;
  font-size: 1.75rem;
  color: white;
  font-family: mundial;
}

.process-step-title p {
  color: white;
}

.about-testimonials {
  background-color: #d9cec7FF;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.about-testimonials h1 {
  color: #836a59;
}

.testimonial-content {
  margin-left: 5rem;
  margin-right: 5rem;
}

.testimonial-carousel {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem;
}

.stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.star {
  color: gold;
  fill: gold;
  width: 1rem;
  height: auto;
  flex-shrink: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: #f1edeaFF;;
  border-radius: 20px;
  padding: 2rem;
  min-width: 200px;
}

.testimonial-card p {
  color: #836a59FF;
}

.customer-img {
  height: 1.5rem;
  width: 1.5rem;
  background-color: #B1B2B5FF;;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-identity {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.4rem;
}

.about-cta {
  display: flex;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding-top: 2rem;
  background-color: white;
  padding-bottom: 2rem;
  margin-bottom: -2rem;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*margin-left: 12rem;
  margin-right: 12rem;*/
  padding: 4rem;
  /*padding-left: 12rem;
  padding-right: 12rem;*/
  background: linear-gradient(to bottom right, rgba(131, 106, 89, 1) 0%,rgba(217, 206, 199, 1) 100%);
  border-radius: 30px;
  flex: 0 1 75%;
}

.floating-btn {
  position: fixed;
  bottom: 60vh;
  right: 1rem;
  z-index: 1000;
}

.floating-btn .rocket-icon {
  display:none;
}

.floating-btn p {
  margin-bottom: 0;
  font-size: 1rem;
}

.cta-card h1 {
  text-transform: uppercase;
  color: white;
}

.cta-card h1,
.cta-card p {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .section-heading {
    padding-bottom: 1rem;
  }
  .about-story {
    padding-bottom: 1rem;
  }
  .about-story-row {
    flex-wrap: wrap;
  }
  .about-story-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .cropped-img {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-story-content {
    display: flex;
    margin-left: 1rem;
    margin-right: 1rem;
    padding-top: 2rem;
  }
  .about-story-content:last-child {
    padding-top: 0;
  }
  .about-quality {
    padding-bottom: 10rem;
  }
  .about-quality-content {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .about-team-content {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .about-team-text {
    max-width: 100%;
    width: 100%;
  }
  .about-team-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .headshot {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .about-process-row {
    flex-direction: row;
  }
  .about-process-content {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .hidable {
    display: none;
  }
  .process-step-text {
    padding: 1rem;
    flex: 1 1 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-radius: 20px;
    width: 100vw;
    h2 {
      color:white;
    }
    p {
      color: white;
      margin-top: 0.5rem;
    }
    a {
      color: white;
      text-decoration: underline;
    }
  }
  #process-1 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url("../img/process-1.jpg");
  }
  #process-2 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url("../img/process-2.jpg");
  }
  #process-3 {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
      url("../img/process-3.jpg");
  }
  .testimonial-carousel {
    gap: 0.5rem;
  }
  .testimonial-card {
    padding: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    min-width: 160px;
  }

  .floating-btn {
    bottom: 2rem;
    right: 2rem;
  }
  .floating-btn .btn-cta {
    min-width: 75px;
    min-height: 75px;
    border-radius: 50%;
  }

  .floating-btn .rocket-icon {
    display:block;
  }

  .floating-btn p {
    display:none;
  }
}
