/* Tipografía general */
body {
    font-family: 'Gilam', sans-serif;
}

/* Imagen dentro del botón de la card */
.img-bton {
    max-width: 120px;
    height: auto;
}

/* Ícono pequeño en el footer (si usas) */
#img-fot-icon {
    max-width: 30px;
    height: auto;
}

/* Texto especial para títulos */
#cardtxt {
    color: #0b3b60;
}

/* Estilos para las cards */
.card {
    height: 340px; /* altura uniforme */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* sombra ligera */
    border-radius: 12px; /* bordes redondeados */
}

.card:hover {
    transform: scale(1.05); /* efecto agrandado al pasar mouse */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* sombra más fuerte al hover */
}

/* Cuerpo de la card */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Contenedor del icono */
.card-icon {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Título de la card */
.card-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #0b3b59;
    text-align: center;
}

/* Ajustes para el modal */
.modal-content {
    max-width: 90%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .modal-dialog {
        max-width: 100%;
        margin: 0;
    }
    #modalContent {
        max-height: 60vh;
        overflow-y: auto;
    }
}
