/* ESTILO PARA NUESTROS SERVICIOS */
.section-nuestros-servicios {
    max-width: 1200px;
    padding-top: 120px;
    margin: auto;
} 
.servicios-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
  
.servicio-card {
    background: #fff;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
    position: relative;
    padding: 15px;
    border: 2px solid #f0f0f0;
}
.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.icon {
    font-size: 40px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.servicio-img{
    position: relative;
}
.servicio-img img {
    width: 100%;
    height:250px;
    object-fit: cover;
    border-radius: 10px;
}
.servicio-content {
    padding: 20px;
}
.servicio-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
} 
.line {
    width: 50px;
    height: 4px;
    background: #6B8AA7;
    margin: 5px auto 15px auto;
    border-radius: 2px;
}
.servicio-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    position: relative;
    z-index: 50;
}
.servicio-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #1F2937;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    position: relative;
    z-index: 100;
}
.servicio-btn:hover {
    background: #6B8AA7;
    transform: scale(1.05);
}
.imagen-card-inferior{
    position: absolute;
    bottom: 0;
}

.container {
    position: relative;
    /* Set width and height as needed for your container */
  }
  
  .consulta-boton {
    position: absolute !important;
    bottom: 0;
    left: 0;
    background-color: #2D3A4A; /* Color de fondo base azul oscuro */
    color: white;
    font-family: Arial, sans-serif;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    width: 130px;
    clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%);
    overflow: hidden;
    position: relative;
  }
  
  /* Efecto de círculos en el fondo */
  .consulta-boton::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 8px),
                      radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 10px),
                      radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.1) 1px, transparent 14px),
                      radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 12px),
                      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 9px);
    z-index: -1;
  }
  
  .consulta-boton span {
    display: block;
    line-height: 1.2;
    position: relative; /* Para que el texto esté por encima del patrón */
  }


@media (max-width: 768px) {
    .servicios-container {
        flex-direction: column;
        align-items: center;
    }
}
