.hero-section {
  background: url('../background/Rigid-Tipper-x-sito-scaled.jpg') center/cover no-repeat;
  min-height: 60vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.20);
  /* Dark overlay */
  z-index: 0;
}

.hero-section .content {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* Optional: Adjust for very small screens */
@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .hero-section .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}




/*interpump logo*/
.logo-wrapper {
  gap: 1.2rem;
}

/* Reduce gap between logos on larger screens */
@media (min-width: 992px) {
  .logo-wrapper {
    gap: 0.6rem;
  }
}

.logo-img {
  width: 80px;
  max-width: 100%;
  height: auto;
}

.logo-img1 {
  width: 140px;
  max-width: 100%;
  height: auto;
}

/* Smaller logo scaling on tablets and mobile */
@media (max-width: 768px) {
  .logo-img {
    width: 65px;
  }

  .logo-img1 {
    width: 110px;
  }

  .logo-wrapper {
    gap: 0.8rem;
  }
}

@media (max-width: 576px) {
  .logo-img {
    width: 50px;
  }

  .logo-img1 {
    width: 90px;
  }

  .logo-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}


/*technical*/
/* Optional image height reduction for large screens only */
@media (min-width: 992px) {

  .reduced-height,
  .reduced-height1 {
    max-height: 400px;
    object-fit: cover;
  }
}


/*testmonials*/
@media (max-width: 575.98px) {
  #testimonialCarousel .card {
    padding: 1.25rem;
    font-size: 0.9rem;
  }
}



/* Push hero content lower on the page */
.hero-section .content {
  margin-top: 120px;
  /* Adjust this number as needed */
}

/* Larger screens (more push if needed) */
@media (min-width: 992px) {
  .hero-section .content {
    margin-top: 150px;
  }
}

/* Tablets */
@media (max-width: 991px) {
  .hero-section .content {
    margin-top: 100px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero-section .content {
    margin-top: 130px;
    /* More push for mobile */
  }
}













/* Fix: ensure header ALWAYS stays above hero section */
#header {
  position: relative;
  z-index: 99999 !important;
}

/* Ensure hero doesn't overlap header */
.hero-section {
  z-index: 1 !important;
}

@media (max-width: 576px) {
  .hero-section .content {
    margin-top: 90px !important;
  }
}