/* Reset específico para la sección de servicios */
.services-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contenedor principal de la sección */
.services-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

/* Contenedor de los cards */
.services-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1400px;
    width: 100%;
}

/* Estilos de cada card */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    width: 350px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Pseudo-elemento para el efecto de fondo deslizante */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 0;
}

/* Efecto hover en el card */
.service-card:hover::before {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Contenido del card */
.service-card-content {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-content {
    color: white;
}

/* Contenedor del ícono */
.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 80px;
    height: 80px;
    fill: #31374a;
    transition: fill 0.4s ease;
}

.service-card:hover .service-icon svg {
    fill: #ffffff;
}



/* Título del servicio */
.service-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: color 0.4s ease;
    color: inherit;
}

/* Descripción del servicio */
.service-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 30px;
    transition: color 0.4s ease;
    font-size: 16px;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-card-blue .service-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Botón de acción */
.service-btn {
    background: #4ade80;
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn:hover {
    background: #22c55e;
    transform: scale(1.05);
}

/* Botón de acción */
.service-btn-two {
    background: #4db3e9;
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-btn-two:hover {
    background: #22a2c5;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1200px) {
    .services-container {
        gap: 25px;
    }
    
    .service-card {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 40px 15px;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px;
        padding: 40px 30px;
    }
    
    .service-title {
        font-size: 24px;
    }
    
    .service-description {
        font-size: 15px;
    }
}