* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header {
    text-align: center;
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    color: white;
    padding: 50px 20px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    opacity: 0.8;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0;
    width: 100%;
    max-width: 1200px;
}

.card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    width: calc(25% - 40px); /* Ajuste para 4 columnas */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.card h2 {
    font-size: 22px;
    color: #ff758c;
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    margin: 10px 0;
}

.card ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #ff758c;
    padding: 10px 20px;
    border: 2px solid #ff758c;
    border-radius: 6px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.card ul li a:hover {
    background-color: #ff758c;
    color: white;
}

/* Iconos */
.icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ff758c;
}

/* Media Queries para pantallas más pequeñas */
@media (max-width: 1024px) {
    .card {
        width: calc(33.33% - 40px); /* 3 columnas en pantallas medianas */
    }
}

@media (max-width: 768px) {
    .card {
        width: calc(50% - 40px); /* 2 columnas en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%; /* 1 columna en pantallas móviles */
    }
}
