/* Hero Section */
#hero {
    background: linear-gradient(rgba(2, 27, 109, 0.88), rgba(2, 17, 61, 0.95)),
        url("../img/test/test1.png") center center;
    background-size: cover;
    min-height: 0px; /* Reducido de 200px a 180px */
    display: flex;
    align-items: center;
    padding: 0; /* Reducido de 15px a 0 */
}
#hero .container {
    padding: 10px 0;
}
#hero h1 {
    font-size: 2.2rem; /* Reducido de 2.5rem a 2.2rem */
    margin-bottom: 10px;
}
#hero h2 {
    font-size: 1.1rem; /* Reducido de 1.2rem a 1.1rem */
    margin-bottom: 15px;
}
.btn-pop {
    transition: transform 0.3s ease, box-shadow 0.3s ease,
        background-color 0.3s ease;
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}
.btn-pop:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #0056b3;
    color: white;
}
/* Ajustes para móviles */
@media (max-width: 767.98px) {
    #hero {
        min-height: 130px; /* Reducido de 150px a 130px */
        padding: 0;
    }
    #hero .container {
        padding: 10px 0;
    }
    #hero h1 {
        font-size: 1.6rem; /* Reducido de 1.8rem a 1.6rem */
    }
    #hero h2 {
        font-size: 0.9rem; /* Reducido de 1rem a 0.9rem */
    }
}
/* Resto de los estilos (sin cambios) */
#carousel-section .carousel-item img {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}
/* Sección de 3 pasos */
.background-section {
    background-image: url("../img/test/BANNER-INSTRUCCIONES.png");
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 30px 20px;
    color: white;
    min-height: auto;
}
.background-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}
.steps-container {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.step {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1 1 300px;
    max-width: 350px;
    margin: 10px;
}
.step-number {
    background-color: #183161;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    margin: 0 auto 20px;
}
.step img {
    width: 100%;
    max-width: 250px;
    height: 160px;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: block;
}
.step h4 {
    color: #183161;
    font-weight: bold;
    margin-bottom: 15px;
}
.step p {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.5;
}
.access-title {
    position: relative;
    text-align: center;
    z-index: 1;
    color: #cfcfcf;
    margin-bottom: 30px;
}
.access-title h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
/* Tarjetas de información */
.info-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.info-card .card-header {
    background-color: #183161;
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 1.3rem;
}
.info-card .card-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.card-img-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.card-img-container img {
    max-width: 250px;
    height: auto;
    width: 100%;
}
.card-text-container {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 991.98px) {
    .step {
        flex: 1 1 300px;
        max-width: 45%;
    }
    .card-img-container img {
        max-width: 220px;
    }
}
/* Ajustes para escritorio */
@media (min-width: 992px) {
    .info-card .card-body {
        flex-direction: row;
        align-items: center;
    }
    .card-img-container {
        margin-right: 25px;
        margin-bottom: 0;
        min-width: 250px;
    }
    .card-text-container {
        flex: 1;
    }
}
/* Iconos flotantes */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}
.floating-icons a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.floating-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
@media (max-width: 575.98px) {
    .floating-icons {
        bottom: 70px;
        right: 10px;
    }
    .floating-icons a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
