.video-section {
  width: 100%;
  position: relative;
  height: 370px;
  max-height: 800px;
  /* z-index: 99; */
  overflow: hidden;
}

/* sm: ≥ 576px */
@media (min-width: 576px) {
  .video-section {
    height: 450px;
  }
}

@media (min-width: 768px) {
  .video-section {
    height: 500px;
  }
}

/* lg: ≥ 992px */
@media (min-width: 992px) {
  .video-section {
    height: 600px;
  }
}

/* xl: ≥ 1200px */
@media (min-width: 1200px) {
  .video-section {
    height: 700px;
  }
}

/* xxl: ≥ 1400px */
@media (min-width: 1400px) {
  .video-section {
    height: 800px;
  }
}

/* Smooth responsive vertical spacing below banner */
.button-banner-wrapper {
  margin-top: clamp(1.5rem, 3vw, 3rem);
}

#home-bg-video {
  position: absolute; /* so it stays behind content */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures full coverage */
  z-index: 1; /* below overlay content */
}

.video-overlay-content {
  position: relative;
  z-index: 2;
  color: #f1f1f1;
  background: linear-gradient(to right, #07192d, #07192d70, #6660);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; /* optional: vertically center */
}

.section-wwwu {
  background-color: #19599d;
}

.achieved-number {
  font-size: 36px;
  font-weight: 700;
  color: #ffa100;
}

.achieved-desc {
  color: #000;
}

.wwwu-title-lean {
  margin-top: 52px;
  margin-bottom: 18px;
  font-weight: 700;
}

.wwwu-approach-title {
  text-align: center;
}

.wwwu-category-title {
  font-weight: 600;
}

.factor-number {
  font-size: 36px;
  color: white;
}

.factor-title {
  font-weight: 700;
}

.factor-block {
  /* min-height: 180px; */
  height: fit-content;
  overflow: hidden;
  height: 100%;
}

.wwo-card {
  width: 355px;
  height: 440px;
  cursor: pointer;
}

.wwo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.2s;
}

.partner-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wwo-card-overlay {
  top: 40%;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(180deg, #15498100, #154981b2, #154981);
  opacity: 1;
  border-radius: 12px;
  transition: 0.5s;
  color: white;
  line-height: 32px;
  padding: 24px 16px;
  transition: 1s;
}

.wwo-card-title {
  font-weight: 500;
  z-index: 2;
}

.wwo-card-full-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001e4bb2;
  border-radius: 12px;
  transition: 0.2s;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.wwo-card:hover .wwo-card-full-overlay {
  opacity: 0.7;
}

.wwo-card:hover .wwo-card-full-overlay-text {
  opacity: 1;
}

.wwo-card-full-overlay-text {
  font-size: 16px;
  text-align: start;
  font-weight: 400;
  letter-spacing: 0.15px;
  display: flex;
  align-items: center;
  height: 100%;
  opacity: 0;
  transition: opacity 0.2s;
}

.project-title {
  font-size: 18px;
  font-weight: 500;
  color: #007bff;
}

.project-content {
  font-size: 12px;
  font-weight: 400;
  color: #4d4d4d;
}

.partner-card {
  width: auto;
  height: 100px;
}

.testimonial-card {
  border-radius: 8px;
  padding: 4px 24px;
  min-height: 160px;
  border-color: #6b9fd7 !important;
}

.testimonial-name {
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  color: #007bff;
}

.testimonial-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #19599d;
}

.testimonial-content {
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #404243;
}

.testimonial-rating .checked {
  color: #ffcc00;
}

.w-lg-50 {
  width: 100%;
}

.wwo-card:hover .wwo-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(30, 105, 185, 0) 0%,
    rgba(30, 105, 185, 0.7) 50%,
    #1e69b9 100%
  );
}

.wwo-card:hover .wwo-card-img {
  border: 2px solid #2479d4;
}

@media (min-width: 992px) {
  .hook-home {
    font-size: calc(4vw + 10px);
    line-height: calc((4vw + 10px) * 1.5);
    margin-top: 10%;
  }
  .small-hook-home {
    font-size: calc(3vw + 10px);
    line-height: calc(3vw + 20px);
  }

  .achieved-number {
    font-size: calc(2vw + 30px);
  }

  .factor-number {
    font-size: 70px;
    font-weight: 700;
  }

  .factor-title {
    font-weight: 700;
  }

  .factor-block {
    /* min-height: 320px; */
    height: fit-content;
  }

  .wwo-card {
    height: 600px;
    width: 396px;
  }

  .project-title {
    font-size: 32px;
  }

  .project-content {
    font-size: 18px;
  }

  .testimonial-name {
    font-size: 28px;
    line-height: 48px;
  }

  .w-lg-50 {
    width: 50%;
  }
}
