/* Hero Section */
#hero {
  height: auto;
  padding: 4rem 2rem;
  text-align: center;
}

#hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  padding: 0;
}

#hero p {
  font-size: 1vw;
  letter-spacing: 0.05rem;
  font-family: var(--ff-neue-light);
}

#hero p span {
  color: var(--vibrant-orange);
  font-family: var(--ff-neue-light);
  background-color: #ff660022;
  border-radius: 2vw;
  padding: 0.3vw 1vw;
  border: solid 0.2px var(--vibrant-orange);
}

@media (min-width: 768px) and (orientation: landscape) {
  #hero {
    height: 70vh;
    padding: 6rem;
  }

  #hero h1 {
    font-size: 4rem;
    line-height: 1.2;
  }

  #hero p {
    font-size: 1.25rem;
  }
}

/* 4 Steps Website Section */
#foursteps {
  height: auto;
  padding: 4rem 2rem;
  border-top: 1px solid var(--dark-grey);
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.header p {
  color: var(--vibrant-orange);
  font-family: var(--ff-neue-light);
  background-color: #ff660022;
  border-radius: 2vw;
  padding: 0.3vw 1vw;
  border: solid 0.2px var(--vibrant-orange);
  display: inline-block;
}

.process-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.step-card {
  background-color: var(--soft-beige);
  border-radius: 0.75rem;
  padding: 1.5rem;
  width: 100%;
  min-height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-card::after {
  display: none;
}

.step-label {
  font-size: 0.9rem;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.step-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--eerie-black);
  margin-bottom: 0.5rem;
}

.step-subtitle {
  font-style: italic;
  color: var(--dark-grey);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.preview-box {
  background: var(--dark-grey);
  border-radius: 0.5rem;
  height: 180px;
  margin-top: auto;
  overflow: hidden;
}

.preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) and (orientation: landscape) {
  #foursteps {
    height: auto;
    padding: 6rem;
  }

  .process-container {
    flex-direction: row;
    gap: 2rem;
  }

  .step-card {
    width: 250px;
    min-height: 300px;
    padding: 1.5rem;
  }

  .step-card::after {
    display: block;
    content: "";
    position: absolute;
    right: -2rem;
    top: 50%;
    width: 3rem;
    height: 2px;
    background: var(--soft-beige);
    z-index: 0;
  }

  .step-card:last-child::after {
    display: none;
  }
}

/* Video Section */
.home-video-container video {
  width: 100%;
  border-radius: 0;
  margin: 2rem 0;
}

@media (min-width: 768px) and (orientation: landscape) {
  .home-video-container video {
    width: 100%;
    border-radius: 35px;
    margin: 5rem 0;
  }
}

/* Figures Grid Section */
.grid-layout {
  margin-bottom: 4rem;
}

#hero-cards {
  background: var(--eerie-black);
  height: auto;
  position: relative;
  padding: 2rem;
}

#hero-cards .text {
  color: var(--soft-beige);
  font-size: 1rem;
  font-family: var(--ff-neue-roman);
}

.card {
  margin-bottom: 1rem;
  transition: transform 0.2s;
  background-color: var(--eerie-black);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 1.25rem;
}

.card-text,
.card-title {
  color: var(--soft-beige);
}

@media (max-width: 768px) and (orientation: portrait) {
  .fig-responsive {
    display: flex;
    flex-direction: column;
  }

  .figures-grid-container {
    margin-left: 2%;
    margin-right: 4%;
  }
}

@media (min-width: 768px) and (orientation: landscape) {
  #hero-cards {
    height: 45vh;
    padding: 2rem;
  }

  .grid-layout {
    margin-bottom: 5rem;
  }
}

/* Overlay Section */
#overlay-section {
  position: relative;
  height: auto;
  background-color: #333;
  margin-bottom: 4rem;
  padding: 4rem 2rem;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./src/Overlay\ Image.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}

.main-text {
  position: relative;
  color: var(--soft-beige);
  text-align: center;
  z-index: 2;
  padding: 1rem;
}

.main-text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.main-text p {
  font-size: 1.25rem;
}

.main-text span {
  font-weight: bold;
  color: var(--vibrant-orange);
}

@media (min-width: 768px) and (orientation: landscape) {
  #overlay-section {
    height: 70vh;
    margin-bottom: 5rem;
    padding: 6rem;
  }

  .main-text h1 {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }
}

/* 3 by 3 Grid Section */
#three-by-three-grid {
  height: auto;
  width: 100%;
  position: relative;
  margin-bottom: 4rem;
  padding: 2rem;
}

#three-by-three-grid .container .row .outcomes-head {
  font-size: 1.25rem;
  color: var(--soft-beige);
  padding-right: 0;
  font-family: var(--ff-neue-medium);
  margin-bottom: 2rem;
}

#three-by-three-grid .card {
  background-color: transparent;
  border: none;
}

#three-by-three-grid .card-title {
  color: var(--soft-beige);
}

#three-by-three-grid .card-text {
  font-family: var(--ff-neue-light);
  letter-spacing: 0.025rem;
  color: var(--soft-beige);
}

#three-by-three-grid .cta {
  margin-top: 2rem;
}

@media (min-width: 768px) and (orientation: landscape) {
  #three-by-three-grid {
    height: auto;
    margin-bottom: 5rem;
    padding: 6rem;
  }

  #three-by-three-grid .container .row .outcomes-head {
    font-size: 1.5rem;
    padding-right: 30%;
  }
}

/* Testimonials / Carousel Section */
#testimonial {
  height: auto;
  width: 100%;
  position: relative;
  border-top: solid 0.8px var(--dark-grey);
  padding: 5rem 2rem;
}

#testimonial h1 {
  background: -webkit-linear-gradient(#f5ece4, #585757);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#testimonial h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#testimonial p {
  letter-spacing: 0.01rem;
  text-align: center;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__stage {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel__item {
  flex-shrink: 0;
  width: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--soft-beige);
}

.carousel__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: var(--vibrant-orange);
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 20;
}

.carousel__control--prev {
  left: 0.5rem;
}

.carousel__control--next {
  right: 0.5rem;
}

@media (min-width: 768px) and (orientation: landscape) {
  #testimonial {
    height: auto;
    padding: 5rem 7rem;
  }

  #testimonial h1 {
    font-size: 3.5rem;
  }

  #testimonial h2 {
    font-size: 3rem;
  }

  .carousel__item {
    padding: 4rem;
  }
}

/* Footer Section */
.footer {
  background-color: var(--eerie-black);
  color: var(--soft-beige);
  padding: 4rem 2rem;
}

.footer h1,
.footer h3 {
  font-family: var(--ff-neue-medium);
}

.footer p {
  font-family: var(--ff-neue-light);
}

.footer a {
  color: var(--soft-beige);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--soft-beige);
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.9rem;
}

@media (min-width: 768px) and (orientation: landscape) {
  .footer {
    padding: 6rem;
  }
}
