/* Variables de diseño */
:root {
    /* Colores para el services-header */
    --primary-color: #1c6dfa;
    --light-color: #f8f9fa;
    --white: #ffffff;
    /* Colores para el contenido de servicios */
    --primary-text: #2c3e50;
    --secondary-color: #0e1da8;
    --text-color: #333;
    --leght-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
}

body {
    font-family: "Poppins", sans-serif;
}

/* Header */
.services-header {
    background: linear-gradient(135deg, var(--primary-color), #1c6dfa);
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.services-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.9;
}

/* Contenedor principal */
/* Sección de servicios */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.service-section {
    display: flex;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.image-section {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.text-section {
    flex: 1;
    padding: 3rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-text);
    position: relative;
    padding-bottom: 0.5rem;
}

.service-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

@media (max-width: 768px) {
    .service-section {
        flex-direction: column;
    }

    .image-section {
        order: 1;
        min-height: 250px;
    }

    .text-section {
        order: 2;
    }

    .service-section:nth-child(even) .image-section {
        order: 1;
    }
}


/* Sección de equipo */
.team-section {
    padding: 0.5rem 0;
    text-align: center;
}

.team-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.team-content p {
    color: var(--text);
    margin-bottom: 2rem;
}

.team-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.team-feature {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
}

.team-feature::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}