@media (min-width: 992px) {
  .video-hero.video {
    position: relative;
  }
}

@media (min-width: 992px) {
  .cta-overlay {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 1200px;
    z-index: 10;
  }
}

@media (min-width: 992px) {
  .cta-overlay.scrolled {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .cta-overlay .container-fluid {
    padding: 0;
  }
}

@media (min-width: 992px) {
  .cta-overlay .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
  }
}

@media (min-width: 992px) {
  .cta-item {
    flex: 0 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    display: flex;
    align-items: center;
  }
}

/* Mobile Styles */

@media (max-width: 991px) {
  .cta-overlay {
    margin-top: 15px;
  }
}

@media (max-width: 991px) {
  .cta-overlay .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .cta-item {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }
}

/* Common Styles */

.cta-item {
  background-color: #0d0923;
  padding: 0;
  transition: background-color 0.3s ease, margin-top 0.3s ease, padding-bottom 0.3s ease;
}

.cta-item:hover {
  background-color: #fff;
  margin-top: -10px;
  padding-bottom: 10px;
}

.cta-link {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  padding-right: 35px;
  position: relative;
  transition: color 0.3s ease;
}

.cta-item:hover .cta-link {
  color: #333;
}

/* Animated Chevron */

.cta-link::after {
  content: '\203A';
  position: absolute;
  right: 10px;
  top: 50%;
  font-size: 1.4em;
  font-weight: bold;
  color: #df852a;
  opacity: 0;
  transform: translate(-50px, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-item:hover .cta-link::after {
  opacity: 1;
  transform: translate(0, -50%);
}

