.custom-background-section {
    background: #f9f9f9;
    padding: 40px 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #e6e6e6;
    position: relative;
    overflow: hidden;
}

.custom-background-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 8s infinite alternate;
}

.custom-background-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.title-modern {
    color: #ffffff; /* Texto blanco */
    font-size: 2rem; /* Tamaño de texto más grande */
    font-weight: bold;
    background: linear-gradient(90deg, #1e90ff, #ff6b6b); /* Degradado de color */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Efecto de texto degradado */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Sombra elegante */
    position: relative;
    display: inline-block;
    animation: fadeInTitle 1s ease-in-out, glow 1.5s infinite alternate; /* Animación de entrada y efecto de brillo */
}

.title-modern::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e90ff, #ff6b6b); /* Degradado para el subrayado */
    transition: width 0.4s ease;
    margin-top: 5px;
}

.title-modern:hover::after {
    width: 100%; /* Subrayado animado al pasar el mouse */
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0% {
        text-shadow: 2px 2px 8px rgba(30, 144, 255, 0.7);
    }
    100% {
        text-shadow: 2px 2px 12px rgba(255, 107, 107, 0.7);
    }
}



.info-section-modern,
.map-section-modern {
    background: linear-gradient(90deg, #023F5E 0%, #612247 100%);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    padding: 20px;
    color: #b0c4de;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-in-out;
    height: 100%;
    min-width: fit-content;
}

.info-section-modern:hover,
.map-section-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-section-modern img {
    border-radius: 15px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #1a75ff;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.info-section-modern img:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    color: #d1d9e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.info-item i {
    margin-right: 10px;
    color: #4db8ff;
}

.map-frame-modern {
    background: linear-gradient(145deg, #1e2d3b, #283846);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(26, 117, 255, 0.3);
    border-image-slice: 1;
    border: 3px solid #1a75ff;
    width: 100%; /* Ancho al 100% */
    height: 300px; /* Altura uniforme con las imágenes */
    margin-top: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-frame-modern:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(26, 117, 255, 0.4);
}

.map-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.2), transparent);
    z-index: -1;
}


.custom-select-modern {
    background-color: #ffffff;
    color: #666666;
    border: 2px solid #4db8ff;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    outline: none;
}

.custom-select-modern:focus {
    border-color: #1a75ff;
    box-shadow: 0 0 12px rgba(26, 117, 255, 0.7);
}

.alert-banner {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0d6efd;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


/* Ajustes responsivos */
@media (max-width: 768px) {
    .info-section-modern {
        padding: 15px;
    }

    .custom-select-modern {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .info-item {
        font-size: 0.9rem;
    }

    .info-section-modern img,
    .map-frame-modern {
        height: 250px;
    }
}

#map {
    flex: 2;
    height: 450px;
    border-radius: 10px;
}

a {
    color: #d1d9e0 !important;
}