.people-banner {
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 17vh;
}

.people-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--people-banner-url);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.people-banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
  color: white;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.people-banner-content h2 {
  font-weight: bold;
  margin: 0 0 0.5rem 0;
  word-wrap: break-word;
  hyphens: auto;
  flex-shrink: 1;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.people-banner-content h3 {
  margin: 0 0 1rem 0;
  word-wrap: break-word;
  flex-shrink: 1;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
}

.typing-text::after {
  content: "|";
  animation: blink-caret 0.7s step-end infinite;
}

@keyframes blink-caret {
  from,
  to {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.typing-text.typing-done::after {
  content: none;
}

.icon-banner {
  width: 90%;
  max-width: 90%;
  display: flex;
  margin: 0 auto;
  margin-top: 8vh;
}

.container {
  flex: 1;
  text-align: center;
}

.icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
  object-fit: contain;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(4px);
  }
}

.icon-banner .container:nth-child(1) .icon {
  animation: bounce 1.2s infinite;
  animation-delay: 0s;
}

.icon-banner .container:nth-child(2) .icon {
  animation: bounce 1.2s infinite;
  animation-delay: 0.3s;
}

.icon-banner .container:nth-child(3) .icon {
  animation: bounce 1.2s infinite;
  animation-delay: 0.6s;
}

.icon-title {
  color: var(--grey-dark);
  margin: 0;
  margin-bottom: 0.5rem;
}

.people-text-row {
  margin-top: 8vh !important;
  margin-bottom: 8vh !important;
  --container-margin: 8rem;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  gap: var(--container-margin);
  flex-wrap: wrap;
}

.people-text-col {
  flex: 1;
}

.people-text {
  color: var(--grey-dark);
}

.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container video {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  margin-bottom: 8vh;
}

.testimonial-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
  margin-bottom: 4vh;
  max-width: 90%;
}

.opportunities-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 8vh;
}

.opportunities-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
}

/* Benefits Section */

.benefits-section-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}

.benefits-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
}

.benefits-text-wrapper {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.benefits-text {
  text-align: center;
}

.benefits-container {
  margin-top: 4vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8vh;
  width: 90%;
  overflow: hidden;
}

.cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.card {
  width: calc(100% / 3);
  border: none;
  border-radius: 0;

}


.image-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--crisal-green-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

.image-wrapper:hover::after {
  opacity: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.card-title {
  color: var(--grey-mid);
}

.card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.card-text {
  margin-top: 1.2rem;
}

.card-text {
  color: var(--grey-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* Future Section */
.future-section-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}

.future-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
}

.future-text-wrapper {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.future-text {
  text-align: center;
}

.future-container {
  margin-top: 4vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8vh;
  width: 90%;
  overflow: hidden;
}

.future-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.future-card-text {
  color: var(--grey-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  margin-top: 1.2rem;
}

.future-image-col,
.future-text-col {
  flex: 0 0 auto;
}

.future-image-col {
  width: auto;
  overflow: hidden;
  position: relative;
}

.future-image-col::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--crisal-green-light);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}

.future-image-col:hover::after {
  opacity: 1;
}

.future-image-col img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  z-index: 1;
  position: relative;
}

.future-image-col:hover img {
  transform: scale(1.1);
}

.future-text-col {
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.future-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.future-wrapper:last-child {
  margin-bottom: 0 !important;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Contact Section */
.contact-section-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 8vh;
}

.contact-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
  margin-top: 8vh;
  margin-bottom: 4vh;
}

.contact-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: nowrap;
  align-items: stretch;
}

.contact-card {
  width: calc(100% / 3);
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 10px var(--crisal-green-light);
  transition: transform 0.2s;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-image-wrapper {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.contact-text-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 2rem;
}

.contact-card-title {
  color: var(--grey-dark);
  text-align: center;
}

.contact-card-text {
  text-align: center;
}

.custom-border {
  border: solid 1px var(--crisal-green-light);
}

.contact-btn {
  background-color: var(--crisal-green-light);
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: var(--font-sm);
  border: 2px solid transparent !important;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.contact-btn:hover {
  background-color: #ffffff;
  color: var(--crisal-green-light) !important;
  border-color: var(--crisal-green-light) !important;
}

#homerun-jobs-widget,
#homerun-jobs-widget * {
  font-family: "Brandon", sans-serif !important;
}

#homerun-jobs-widget .homerun-widget__subtitle {
  color: var(--grey-light) !important;
  font-size: clamp(1rem, 1vw, 1.8rem) !important;
}

#homerun-jobs-widget .homerun-widget__vacancy__title {
  color: var(--crisal-green-light) !important;
  font-size: clamp(0.95rem, 1vw, 1.5rem) !important;
}

#homerun-jobs-widget .homerun-widget__vacancy__type {
  color: var(--grey-dark) !important;
  font-size: clamp(0.875rem, 1.5vw, 1rem) !important;
}

/* Mobile Styles */
@media (max-width: 576px) {
  .people-banner {
    margin-top: 8vh;
    height: 25vh;
  }

  .people-banner-content {
    padding: 0.5rem;
  }

  .icon-banner {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .people-text-row {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 8vh !important;
    margin-bottom: 8vh !important;
  }

  .people-text-col {
    flex: 1 1 100%;
  }

  .benefits-container {
    margin-bottom: 0 !important;
  }

  .image-wrapper {
    aspect-ratio: 3 / 2;
    margin: 0 auto 0 auto !important;
    padding: 0 !important;
  }

  .cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .spacer:last-child {
    margin-bottom: 5rem;
  }

  .card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    margin: 0;
    margin-bottom: 2rem;
  }

  .card-body {
    padding-top: 0 !important;
  }

  .card-title {
    height: auto;
  }

  .image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .future-wrapper {
    flex-direction: column !important;
    align-items: center !important;
  }

  .future-container {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .benefits-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 8vh;
  }

  .future-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 8vh;
  }

  .contact-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .contact-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    margin: 0;
  }

  .contact-image-wrapper {
    margin: 0 auto !important;
  }

  .contact-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }
}

@media (max-width: 1024px) {

.benefits-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 8vh;
  }

  .future-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 8vh;
  }

}
@media (min-width: 1920px) {
  
  .icon-banner {
    max-width: 1890px;
  }

  .people-text-row {
    max-width: 1890px;
  }

  .testimonial-title {
    max-width: 1890px;
  }

  .opportunities-container {
    max-width: 1890px;
  }

  .benefits-section-container {
    max-width: 1890px;
  }

  .benefits-container {
    max-width: 1890px;
  }

  .future-section-container {
    max-width: 1890px;
  }

  .future-container {
    max-width: 1890px;
  }

  .contact-section-container {
    max-width: 1890px;
  }

  .contact-cards-wrapper {
    max-width: 1890px;
  }

}

@media (min-width: 3120px) {
.video-container video {
  max-height: 120vh;
}
}