*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  font-family: "DM Sans", Sans-serif, -apple-system, system-ui;
}

html {
  font-size: 16px;
}

body {
  -webkit-font-smoothing: antialiased;
  background: #222;
}

header,
main,
footer {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

header {
  height: 6rem;
  background-color: #faf04b;
}

footer {
  padding-top: 5rem;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  line-height: 1.1;
}

a,
button {
  text-decoration: none;
  color: #000;
}

#root,
#__next {
  isolation: isolate;
}

.grid {
  padding: 0 5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1rem;
}

h1 {
  font-size: 6rem;
  font-weight: 400;
}

h2 {
  font-size: 7.5rem;
  font-weight: 700;
}

h3 {
  font-size: 4rem;
}

h4 {
  font-size: 3rem;
}

h5 {
  font-size: 1.5rem;
}

h6 {
  font-size: 1.125rem;
}

header .logo {
  display: flex;
  gap: 0.5rem;
  text-wrap: nowrap;
  align-items: center;
  grid-column: 1 / 2;
}

header .logo span {
  font-weight: 600;
}

.links {
  display: flex;
  gap: 1rem;
  grid-column: 5 / 7;
  align-self: center;
  justify-content: flex-end;
}

.hero {
  display: flex;
  flex-direction: column;
  padding: 3rem 5rem 5rem 5rem;
  background: linear-gradient(to bottom, #faf04b 20%, #fff 80%);
}

.title {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  width: 50%;
  margin-bottom: 2rem;
}

.title h4 {
  display: none;
}

.text-description {
  position: relative;
  width: 50%;
  place-self: flex-end;
}

.text-description svg {
  position: absolute;
  top: 5px;
  left: -24px;
}

.text-description p {
  font-size: 1.5rem;
}

.cta-button {
  display: inline-block;
  width: fit-content;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-banner img {
  /* height: 37.5rem; */
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-banner__text {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 5rem;
  white-space: nowrap;
  color: #222;
}

.mission {
  padding: 7.5rem 5rem 12rem 5rem;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}

.mission-statement {
  width: 50%;
}

.mission-statement h4 {
  color: #000;
}

.mission-statement h4:first-child {
  margin-bottom: 2rem;
}

.mission-image-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6rem;
}

.mission-image {
  position: relative;
}

.mission-image img {
  height: 325px;
  width: 325px;
  object-fit: cover;
  object-position: center;
  max-height: 100%;
  min-width: 100%;
}

.mission-image:first-child {
  place-self: end;
}

.mission-image:last-child {
  place-self: start;
}

.mission-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}

.mission-text h6 {
  color: #fff;
  font-size: 18px;
}

.mission-text p {
  color: #faf04b;
  font-size: 16px;
  font-weight: 700;
  width: 80%;
}

.phases {
  margin: 0 5rem 16rem 5rem;
}

.phases-intro {
  background: #222;
  background-image: url("https://res.cloudinary.com/dzx97ufzn/image/upload/v1720988046/hzn0lm8f7c2jjqb323mx.webp");
  background-size: contain;
  background-position: 85% center;
  background-repeat: no-repeat;
}

.intro-container {
  padding: 2.5rem 2.5rem 5rem 2.5rem;
}

.intro-container svg {
  margin-bottom: 24px;
}

.intro-container .intro-title {
  width: 50%;
  color: #fff;
}

.phases-parallax {
  position: relative;
}

.progression-line {
  position: absolute;
  display: block;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #222;
}

.phase-info-card {
  display: flex;
}

.phase-number {
  position: relative;
  margin-left: -21px;
  margin-right: 16px;
}

.phase-number svg {
  width: 39px;
  height: 45px;
}

.phase-number span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #faf04b;
  font-size: 16px;
}

.phase-title {
  display: flex;
  flex: 2;
  height: 100%;
  line-height: 4;
  align-items: baseline;
  margin-left: 21px;
}

.phase-title h4 {
  align-self: center;
}

.phase-description {
  flex: 4;
  margin-left: 4rem;
  padding-bottom: 3.25rem;
  border-bottom: 3px solid #222;
}

.phase-description p {
  font-size: 2.5rem;
}

.parallax-container {
  padding-top: 16rem;
}

.carousel {
  padding-left: 5rem;
  width: 100%;
  height: 40rem;
  background-color: #faf04b;
  background-image: linear-gradient(to right, #d4cd5c 1px, transparent 1px),
    linear-gradient(to bottom, #d4cd5c 1px, transparent 1px);
  background-size: 5rem 5rem;
  background-position: -1px -1px;
  align-content: center;
}

.carousel-container {
  display: flex;
  align-items: center;
  overflow-x: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  height: 29.875rem;
  background: #fff;
  padding: 2.5rem;
}

.carousel-buttons {
  display: flex;
  flex-direction: column;
  width: 10rem;
  margin-top: 3.25rem;
}

.swipe-button {
  width: fit-content;
  padding: 24px 30px;
  background: #000;
  cursor: pointer;
}

.swipe-button:active {
  transform: scale(0.95);
}

.swiper-button-next-unique {
  align-self: end;
}

.card-title {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #919191;
}

.card p {
  font-size: 1.8rem;
}

.footer-main {
  display: flex;
  margin: 0 5rem;
  padding: 7.5rem 5rem 3.5rem 5rem;
  gap: 5rem;
  background-color: #222;
}

.footer-cta-text {
  display: flex;
  width: 50%;
  flex-direction: column;
  justify-content: center;
}

.footer-cta-text h3 {
  color: #faf04b;
}

.footer-cta-text p {
  margin-top: 1rem;
  width: 80%;
  color: #fff;
}

.footer-image {
  margin: 0 auto;
  margin-top: -8.75rem;
}

.footer-image img {
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 100vh;
}

.footer-button {
  background-color: #faf04b;
  color: #222;
}

.footer-end {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

footer .copyright {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  align-self: center;
  text-align: start;
}

footer .copyright a {
  color: #919191;
}

footer .logo {
  display: flex;
  gap: 0.5rem;
  text-wrap: nowrap;
  place-self: center;
  align-items: center;
  grid-column: 3 / 5;
}

footer .logo span {
  font-weight: 600;
}

.links {
  display: flex;
  gap: 1rem;
  grid-column: 5 / 7;
  justify-content: flex-end;
}

.u-link {
  font-weight: 500;
}

@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  header .logo {
    display: flex;
    place-self: center;
    grid-column: 2 / 4;
  }
  header .logo span {
    display: none;
  }
  header .links {
    display: contents;
  }
  header .careers {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: center;
  }
  header .contact {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    align-self: center;
    justify-self: end;
  }
  .title {
    width: 70%;
  }
  .title h4 {
    display: block;
    font-weight: 400;
    margin-bottom: 0.5rem;
  }
  .text-description {
    width: 80%;
  }
  .mission {
    flex-direction: column;
    padding: 7.5rem 5rem 10rem 5rem;
  }
  .mission-statement {
    width: 80%;
  }
  .mission-image-container {
    width: 90%;
    gap: 2rem;
    padding-left: 4rem;
  }
  .phases {
    margin-bottom: 14rem;
  }
  .parallax-container {
    padding-top: 14rem;
  }
  .phase-info-card {
    flex-direction: column;
  }
  .phase-description {
    padding-top: 2rem;
    padding-left: 1rem;
  }
  .carousel {
    height: 45rem;
  }
  .carousel-container {
    flex-direction: column;
  }
  .carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .carousel-nav {
    margin-bottom: 1.5rem;
  }
  .carousel-buttons {
    margin: 0 5rem 0 0;
  }
  .swipe-button {
    padding: 20px 25px;
  }
  .footer-end {
    grid-template-columns: repeat(4, 1fr);
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
  footer .logo {
    display: flex;
    place-self: center;
    grid-column: 2 / 4;
  }
  footer .logo span {
    display: none;
  }
  footer .copyright {
    place-self: center;
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }
  footer .links {
    display: contents;
  }
  footer .careers {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    align-self: center;
  }
  footer .contact {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
    align-self: center;
    justify-self: end;
  }
  .u-link {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
  .grid {
    padding: 0 3rem;
  }
  h1 {
    font-size: 5rem;
  }
  h2 {
    font-size: 4.5rem;
  }
  .hero {
    padding: 3rem 3rem 5rem 3rem;
  }
  .title {
    min-height: 180px;
    width: 90%;
  }
  .hero-banner__text {
    padding-left: 3rem;
  }
  .mission {
    padding: 7.5rem 3rem 8rem 3rem;
  }
  .mission-statement {
    width: 100%;
  }
  .mission-image-container {
    width: 100%;
    padding: 0;
  }
  .intro-container .intro-title {
    width: 100%;
  }
  .phases {
    margin: 0 3rem 12rem 3rem;
  }
  .parallax-container {
    padding-top: 12rem;
  }
  .phase-description p {
    font-size: 2.25rem;
  }
  .carousel-buttons {
    display: none;
  }
  .footer-main {
    flex-direction: column-reverse;
    margin: 0 3rem 1rem 3rem;
  }
  .footer-cta-text {
    width: 80%;
  }
  .copyright {
    margin-bottom: 1rem;
  }
}

@media (max-width: 425px) {
  html {
    font-size: 10px;
  }
  .title {
    width: 100%;
  }
  .footer-cta-text {
    width: 100%;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 8px;
  }
  .title {
    min-height: 160px;
  }
}
