.services-section {
    padding-top: 80px;
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 80px;
    background-color: #2b2b2b; /* Fondo general oscuro */
}

.service-content {
    display: flex; /* Activa el modo de distribución en fila */
    align-items: center; /* Centra verticalmente los elementos */
    justify-content: space-between; /* Espaciado entre los elementos */
    gap: 30px; /* Espaciado entre los textos */
}

.service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2b2b2b; /* Tonalidad de negro suave */
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Línea divisoria sutil */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Línea divisoria sutil */
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-subtitle {
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.service-title {
    font-size: 3rem; /* Tamaño grande para el título */
    font-weight: bold;
    margin: 0;
    color: white; /* Texto blanco */
    white-space: nowrap;
}

.service-description {
    margin-top: 10px;
    font-size: 1rem;
    color: #fff; 
    line-height: 1.6;
    padding-left: 300px;
    opacity: 0;
    width: 250px;
    transition: opacity 0.8s ease, padding-left 0.8s ease;
}

.service-number {
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #fff;
    padding: 5px 10px;
    border-radius: 22px;
    color: white;
    transform: translateY(50%);
}

.service:hover {
    background-color: rgb(214, 160, 0); /* Color amarillo en hover */
    cursor: pointer;
}

.service:hover .service-description {
    opacity: 1;
    padding-left: 50px;
}

/* Media query para pantallas más pequeñas */
@media (max-width: 1100px) {
    .service-content {
        flex-direction: column; /* Cambia a diseño en columna */
        justify-content: center;
        align-items: center; /* Centra los elementos en columna */
        text-align: center; /* Alinea el texto al centro */
        width: 100%;
    }
    .service{
        text-align: center;
    }
    .service-subtitle {
        text-align: center;
    }
    
    .service-title {
      font-size: 1.5rem; /* Reduce el tamaño del título */
    }
  
    .service-number {
      font-size: 0.7rem; /* Ajusta el tamaño del número */
      padding: 4px 8px; /* Ajusta el relleno del número */
    }
  
    .service-description {
      font-size: 0.8rem; /* Reduce ligeramente el tamaño de la descripción */
      padding-left: 0px;
      margin-top: 10px;
      text-align: center;
      width: 250px;
    }
    .service:hover .service-description {
        opacity: 1;
        padding-left: 0px;
    }
  }