#fix-position {
    background: -webkit-linear-gradient(to right, #542CC4, #542CC4);  
    background: -webkit-linear-gradient(to right, #542CC4, #542CC4);  
    background: linear-gradient(to right, #542CC4, #542CC4); 
    text-shadow: 0.1em 0.1em 0.2em black;
    color: white;
    font-size: 3vh;
    background-size: cover;
    display: flex;
    font-size: 2vh;
    height: 40px;
    justify-content: center;
    align-items: center;
  }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-slide {
    min-width: 100%;
    position: relative;
  }
  
  .carousel-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  
  .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  
  .slide-content h1 {
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    color: white;
  }
  
  .prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    z-index: 100;
  }
  
  .prev-btn {
    left: 10px;
  }
  
  .next-btn {
    right: 10px;
  }
  
  @media (max-width: 768px) {
    .slide-content h1 {
      font-size: 2rem;
      padding: 0.5rem;
    }
  }
  

  .elementor-element-03d7f5a {
    background-image: url('./src/services/1.jpg') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important; 
  }
  
  /* Cambiar fondo de la segunda sección */
  .elementor-element-3d0fba9 {
    background-color: #333; /* Cambiar color de fondo */
  }

  /* Cambiar fondo de la tercera sección */
  .elementor-element-a9b6434 {
    background-image: url('./src/elements/7.jpg');
    background-repeat: no-repeat;
    background-size: cover;
  }

  .elementor-element-3d0fba9 {
    background-image: url('./src/elements/8.jpg'); /* Cambia 'path_to_your_image2.jpg' por la ruta de tu imagen */
    background-color: #e0e0e0; /* Opcional: color sólido */
    background-size: cover;
    background-position: center;
}


  /* Cambiar fondo de la sección del título Welcome */
  .elementor-element-b648e94 {
    background-color: #004c8c; /* Cambiar a color sólido */
  }


  /* Estructura básica para pantallas grandes (desktop) */
.services-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  
}

.service-item {
  flex: 1;
  position: relative;
  text-align: center;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.service-image {
  height: 400px;
  background-size: cover;
  background-position: center;
}

.service-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 1;
  color: white;
}

.service-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1;
  transition: background-color 0.3s ease;
}

.service-button:hover {
  background-color: #444;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Responsive para tablets (pantallas medianas) */
@media (max-width: 1024px) {
  .services-section {
      flex-direction: column; /* Las columnas se apilan */
      gap: 40px;
  }

  .service-item {
      width: 100%;
  }

  .service-image {
      height: 300px;
  }

  .service-title {
      font-size: 22px;
  }

  .service-button {
      padding: 8px 16px;
  }
}

/* Responsive para móviles (pantallas pequeñas) */
@media (max-width: 768px) {
  .service-item {
      width: 100%;
  }

  .service-image {
      height: 250px;
  }

  .service-title {
      font-size: 18px;
  }

  .service-button {
      padding: 8px 12px;
  }
}


.footer {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.70)), url(./src/elements/6.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.elementor-section.elementor-element-e6e49f5 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('./src/elements/6.jpg');
  background-size: cover;
  background-position: center;
}

.elementor-element-2b114cb0 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./src/elements/6.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

