.servicios {
    max-width: 100%;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
    background-color: #dde5f7!important;
}

h2{
    color: #161d83;
}

h3{
    color: #d6eb1e;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: #161d83!important;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    color: #fff;
}
.card:hover {
    transform: scale(1.05);
    background-color: #0f57f1!important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.image-container {
    overflow: hidden;
    border-radius: 10px;
}
.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}