.about-us-banner {
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 17vh;
}

.about-us-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--about-us-banner-url);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.about-us-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%);
}

.about-us-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);
}

.about-us-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;
}


.about-us-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;
}

.about-us-text-col {
  flex: 1;
}

.about-us-text-col p {
  color: var(--grey-dark);
}

.about-us-text-col p:last-child {
  margin-bottom: 0;
}

/* What we do Section */

.what-we-make-section-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
}

.what-we-make-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
}

.what-we-make-text-wrapper {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.what-we-make-text {
  text-align: center;
}

.what-we-make-cards-container {
  margin-top: 4vh;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  overflow: hidden;
  margin-bottom: 8vh;
}

.what-we-make-cards-container .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
}

.col {
  flex: 0 0 20%;
  max-width: 20%;
}

.card {
  border: none;
  border-radius: 0;
  text-align: center;
}

.card-title {
  color: var(--grey-mid);
}

.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);
}

/* What Moves us Section */
.what-moves-us-section-container {
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 4vh;
}

.what-moves-us-title {
  text-align: center;
  color: var(--grey-light);
  font-weight: bold;
}

.what-moves-us-subtitle {
  margin-bottom: 0.5rem !important;
  color: var(--grey-mid);
}

.what-moves-us-text-wrapper {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.what-moves-us-text {
  text-align: center;
}
.what-moves-us-container,
.what-moves-us-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.what-moves-us-container {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

.what-moves-us-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 5rem;
  min-height: 0;
}

.what-moves-us-item.normal-order .column-left {
  order: 0;
}
.what-moves-us-item.normal-order .column-right {
  order: 1;
}

.what-moves-us-item.reverse-order .column-left {
  order: 1;
}
.what-moves-us-item.reverse-order .column-right {
  order: 0;
}

.column-left {
  height: 100%;
}

.column-left .what-moves-us-subtitle {
  margin-bottom: 1rem;
}

.column-right {
  display: grid;
  height: 100%;
  min-height: 0;
  align-self: start;
}

.image-wrapper-what-moves-us {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.image-wrapper-what-moves-us img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================================
   Promotional Banner */

.promo-banner {
  position: relative;
  width: 100%;
  background-color: var(--crisal-green-light);
  overflow: hidden;
  padding: 5rem 2rem;
  z-index: 1;
  margin-bottom: 8vh;
  margin-top: 8vh;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--banner-url);
  background-color: var(--crisal-green-light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.promo-title {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
}

.promo-subtitle {
  font-weight: 400;
  margin-bottom: 2rem;
  color: white;
}

.btn-promo {
  background-color: #ffffff;
  color: var(--crisal-green-light);
  padding: 0.6rem 1.5rem;
  font-size: var(--font-sm);
  text-decoration: none;
  border: none;
  border-radius: 0;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.btn-promo:hover {
  background-color: #f5f5f5;
  color: var(--crisal-green-light);
}

.btn-promo:active {
  background-color: #ffffff;
  color: var(--crisal-green-light);
}

.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper {
    width: 100%;
    height: auto;
}


@media (max-width: 1024px) {

  .what-we-make-text-wrapper {
    width: 90%;
  }
  
  .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .what-moves-us-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 4vh;
  }

  .what-moves-us-section-container {
    margin-bottom: 0;
  }

  .what-moves-us-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .what-moves-us-item:last-child {
    margin-bottom: 0;
  }

  .column-left {
    display: contents;
  }

  .column-left .what-moves-us-subtitle {
    order: 0;
    margin-bottom: 0 !important;
  }

  .column-right {
    order: 1;
  }

  .column-left .what-moves-us-content {
    order: 2;
  }

  .what-moves-us-item.normal-order .column-left,
  .what-moves-us-item.normal-order .column-right,
  .what-moves-us-item.reverse-order .column-left,
  .what-moves-us-item.reverse-order .column-right {
    order: initial;
  }

}

@media (max-width: 768px) {

  
  .what-we-make-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4vh;
  }

  .what-moves-us-text-wrapper {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 4vh;
  }

   .promo-banner {
    height: auto;
    padding: 2rem 1rem;
    margin-bottom: 8vh;
  }
}

/* Mobile Styles */
@media (max-width: 576px) {
  .about-us-banner {
    margin-top: 11vh;
    height: 25vh;
  }

  .about-us-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;
  }

  .about-us-text-col {
    flex: 1 1 100%;
  }

  .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
    
  .promo-banner {
    height: auto;
    padding: 2rem 1rem;
    margin-bottom: 8vh;
  }
}

@media (min-width: 1920px) {

  .about-us-text-row {
    max-width: 1890px;
  }

  .what-we-make-section-container {
    max-width: 1890px;
  }

  .what-we-make-cards-container {
    max-width: 1890px;
  }

  .what-moves-us-section-container {
    max-width: 1890px;
  }

  .what-moves-us-container {
    max-width: 1890px;
  }
}