.transparencia {
    background-color: #f1f5f9;
    padding: 50px 20px;
}

.transparencia h2 {
    font-size: 2.5rem;
    color: #004080;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.transparencia nav ul {
    list-style-type: none;
    padding: 0;
}

.transparencia .menu-item {
    margin-bottom: 20px;
    text-align: left;
}

.transparencia .menu-1 {
    background-color: #e0f2ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.transparencia .menu-1:hover {
    background-color: #cce7ff;
}

.transparencia .menu-1 h4 {
    font-size: 1.75rem;
    color: #003366;
    margin: 0;
}

.transparencia .submenu {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.transparencia .submenu-1 {
    padding: 10px 0;
}

.transparencia .submenu-1 a {
    font-size: 1.2rem;
    color: #0066cc;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.transparencia .submenu-1 a:hover {
    color: #ffffff;
    background-color: #00509e;
    border-radius: 5px;
}

.transparencia hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 10px 0;
}

.transparencia .menu-item.active .submenu {
    max-height: 2000px;
}

.transparencia .menu-1::after {
    content: "\25BC";
    font-size: 1.2rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.transparencia .menu-item.active .menu-1::after {
    transform: translateY(-50%) rotate(180deg);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f4f6f8;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.card:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    z-index: -1;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover:before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 14px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.card:hover h3 {
    color: #0066ff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    transition: color 0.3s ease;
}

.card:hover p {
    color: #333;
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
}
