:root {
    --primary-color: #0056A4;
    --secondary-color: #e54b1b;
    --text-color: #d8d8d8;
    --hover-claro: #a5a5a5;
    --background-hero: linear-gradient(to right, #0033ff, #6666ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.servicios-container {
    background-color: #0047FF;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.title {
    color: white;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: bold;
    margin: 0;
    line-height: 1;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.content-section {
    background-color: white;
    padding: clamp(2rem, 5vw, 4rem);
    width: 100%;
}

.text-content {
    max-width: 1200px;
    margin: 0 auto;
}

.description {
    color: #333;
    font-size: clamp(1.2rem, 3vw, 2rem);
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
    margin-bottom: 1rem;
}

.subtitle {
    color: #333;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.cards-section {
    background-color: white;
    padding: 4rem 2rem;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.card {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #333;
    font-size: 1.5rem;
}

.card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.icon {
    width: 40px;
    height: 40px;
    color: #ff3333;
    justify-content: flex-end;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transform: rotate(-45deg);
    border: solid #666;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}
.icon img {
    width: 40px;
    height: 40px;
    left: 10px;
    padding: 3px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-section {
    background: url('../Img/Servicios-Background.jpg ') center/cover;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-content h3 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


@media screen and (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .servicios-container {
        min-height: 40vh;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }

    .cta-content h3 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .servicios-container {
        min-height: 30vh;
    }
    
    .cards-section {
        padding: 2rem 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

