.btn-view-agencies {
    display: none;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #001a4e;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.logo-container:hover .btn-view-agencies {
    display: inline-block;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px; 
    background-color: #f8f9fa; 
    border-radius: 8px; 
    padding: 20px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s ease; 
}

.logo-container img {
    width: 200px; 
    height: 200px; 
    object-fit: contain; 
    display: block;
    margin: 0 auto; 
    transition: all 0.3s ease; 
}

.logo-container:hover {
    background-color: #d9ecff; 
    border-radius: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.logo-container:hover img {
    width: 250px; 
    height: 250px; 
}

/*js hovered*/
.logo-container_hover {
    background-color: #d9ecff; 
    border-radius: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}

.logo-container_hover_img {
    width: 210px !important; 
    height: 210px !important; 
}

.logo-container::before {
    content: ''; 
    position: absolute; 
    top: 0;
    left: -100%; 
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 50%); 
    border-radius: 20px; 
    transition: left 0.5s ease; 
}

.logo-container:hover::before {
    left: 100%; 
}

.logo-agencies_hovered {
    display: inline-block !important;
}

/*MODAL*/
.modal-body {
    max-height: 400px; /* Ajusta la altura máxima del body según sea necesario */
    overflow-y: auto; /* Habilita el scroll vertical solo dentro del body */
}

.modal-header, .modal-footer {
    border: none; /* Opcional: Quitar bordes */
}

.modal-header img {
    max-width: 100px; /* Ajusta el tamaño de la imagen del logo si es necesario */
}

/* Estilos de la tarjeta de agencia */
.agency-card {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

/* Estilo de la imagen de la agencia */
.agency-image {
    max-width: 100%;
    border-radius: 8px;
}

/* Título de la agencia */
.agency-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Horario */
.agency-schedule {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

/* Dirección */
.agency-address {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Estilos del botón "Ver en Maps" */
.google-maps-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #4285F4;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1rem;
}

.google-maps-btn img {
    margin-right: 8px;
}

.google-maps-btn:hover {
    background-color: #357ae8;
}

