/* Estilos para la galería de imágenes */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* Estilos personalizados para el sitio web financiero */

/* Estilos generales */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0d6efd;
}

/* Estilos para el carrusel */
.carousel-item {
    height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

/* Estilos para las tarjetas */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    font-weight: bold;
}

/* Estilos para el simulador */
#simulador {
    scroll-margin-top: 80px;
}

/* Estilos para el visor de PDF */
iframe {
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Estilos para el formulario de contacto */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos para el footer */
footer {
    box-shadow: 0 16px rgb(0, 0, 0);
    background-color: #84b6f4 !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    text-decoration: underline;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 10px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
}

/* Animaciones */
.btn {
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos para tablas */
.table {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-primary th {
    background-color: #0d6efd;
    color: white;
}

/* Estilos para alertas */
.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: #198754;
}

.alert-danger {
    border-left-color: #dc3545;
}

.alert-info {
    border-left-color: #0dcaf0;
}

/* Estilos para el visor de documentos */
.list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 300ms ease-in-out;
}
.whatsapp-float.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.whatsapp-float .whatsapp-icon {
    font-size: 26px;
}
.whatsapp-float:hover {
    transform: translateY(-6px) scale(1.02);
}

.whatsapp-float:focus,
.whatsapp-float:hover {
    text-decoration: none;
    outline: none;
}

@media (max-width: 576px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }
    .whatsapp-float .whatsapp-icon {
        font-size: 20px;
    }
}