.link,
.overlay-section,
.service-box {
  position: relative;
}
.project-1-bottom-title {
  font-size: 4.5vw !important;
  padding: 1vw !important;
  margin-left: 6vw !important;
  font-weight: 900;
}
body {
  font-family: Roboto, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f37c02;
}
.overlay-section {
  margin-top: -90px;
  z-index: 2;
  padding-bottom: 50px;
}
.service-box-container {
  flex: 1 0 calc(16% - 3px);
  margin: 1px;
  max-width: calc(16% - 3px);
}
.service-box h4 {
  margin: 0;
  font-size: 18px;
  color: #0c64c4;
}
.link,
.link span,
.service-box:hover .link,
.service-box:hover h4,
.slider-control:hover span {
  color: #fff;
}
.service-box .link span {
  font-size: 12px;
}
@media (max-width: 1200px) {
  .overlay-section {
    position: relative;
    margin-top: 20px;
    z-index: 2;
    padding-bottom: 50px;
  }
  .service-box-container {
    flex: 1 0 calc(27% - 3px);
    max-width: calc(27% - 3px);
  }
  #cabecera_h1 {
    margin-left: 0;
    font-size: 80px;
  }
}
@media (max-width: 992px) {
  .service-box-container {
    flex: 1 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  #cabecera_h1 {
    margin-left: 0;
    font-size: 80px;
  }
}
.service-box {
  background: center/cover;
  text-align: center;
  color: #fff;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 30px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  text-decoration: none;
  filter: brightness(2) contrast(0.9) saturate(1);
}
.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
.service-box .text-content {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.79);
  border-radius: 8px;
  z-index: 2;
}
.service-box:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  border-radius: 6px;
}
.mini-gruas {
  background-image: url("../assets/images/servicios_index/mini_grua.webp");
}
.gruas-telescopicas {
  background-image: url("../assets/images/servicios_index/gruas_telescopicas.webp");
}
.transportes-especiales {
  background-image: url("../assets/images/servicios_index/transportes_especiales.webp");
}
.plataformas-elevadoras {
  background-image: url("../assets/images/servicios_index/plataformas_elevadoras.webp");
}
.camiones-cesta {
  background-image: url("../assets/images/servicios_index/camiones_cesta.webp");
}
.camiones-grua {
  background-image: url("../assets/images/servicios_index/camiones_grua.webp");
}
.link {
  z-index: 2;
}
.link span:hover {
  text-decoration: underline;
}
.banner-1-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  .service-box-container {
    flex: 1 0 calc(100% - 10px);
    max-width: calc(100% - 10px);
    margin-bottom: 20px;
  }
  .service-box h4 {
    font-size: 16px;
  }
  .service-box .link span {
    font-size: 10px;
  }
  .banner-1-section .fs_65 {
    font-size: 40px;
    line-height: 1.2;
  }
  .banner-1-section .pt_200 {
    padding-top: 100px;
  }
  .banner-1-section .pb_320 {
    padding-bottom: 160px;
  }
  #cabecera_h1 {
    margin-left: 0 !important;
    font-size: 60px !important;
  }
}
@media (max-width: 992px) {
  #cabecera_h1 {
    margin-left: 0 !important;
    font-size: 70px !important;
  }
}
@media (max-width: 1200px) {
  #cabecera_h1 {
    margin-left: 0 !important;
    font-size: 80px !important;
  }
}
@media (min-width: 1921px) {
  #cabecera_h1 {
    margin-left: -300px !important;
    font-size: 130px !important;
  }
}
#animeDiv {
  animation: 1.5s linear fadeIn;
}
#cabecera_h1 {
  margin-left: -50px;
  font-size: 100px;
  margin-bottom: 30px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px white;
  animation: 1.5s 0.2s both fadeInUp;
}
.fixed-size-image {
  width: 438px;
  height: 422px;
  object-fit: cover;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.section-news {
  background-color: #1a1a1a;
  padding-top: 120px;
  padding-bottom: 90px;
}
.section-news h6 {
  color: #f8b400;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.section-news h2 {
  color: #fff;
  font-size: 45px;
  font-weight: 900;
  margin-bottom: 40px;
}
.blog-1-block {
  background-color: #000;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.blog-1-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}
.blog-1-image:hover img {
  transform: scale(1.05);
}
.blog-1-lower-content {
  padding: 20px;
  background-color: #0b1930;
}
.blog-1-title {
  color: #fff;
  font-size: 22px;
  line-height: 35px;
  margin-bottom: 30px;
}
.slider-control span {
  font-size: 20px;
  color: #f37c02;
}
.about4-shape {
    top: 150px;
    left: 0;
}





/* Ajustes específicos para móviles */
@media (max-width: 767px) {
    .about4-shape {
        position: relative;
        z-index: 0; /* Asegura que esté detrás de otros elementos si es necesario */
        margin-top: 20px; /* Ajuste de espacio entre el texto y la silueta */
    }

    .iso-certification {
        position: relative;
        z-index: 2; /* El texto ISO se mantiene sobre la silueta */
        margin-bottom: 20px; /* Asegura espacio adicional antes de la silueta */
    }
}



