/* Estilos generales */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.top-bar {
    background-color: #17a2b8;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 3rem;
    border-bottom-right-radius: 3rem;
}

.top-bar h1 {
    font-size: 18px;
    color: #FFFFFF;
    text-align: center;
    font-weight: bold;
    margin: 0;
}

.nav-bar {
    background-color: #fff;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    height: 3rem;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #17a2b8;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

/* Estilo del ícono hamburguesa */
.hamburger,
.hamburger::before,
.hamburger::after {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    position: relative;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 5px;
}

.carousel-item {
    transition: opacity 1.5s ease-in-out;
    height: 25rem;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.contenedor {
    background-color: #17a2b8;
    padding-top: 1rem;
}

/* Estilos para la sección "Sobre Nosotros" */
.card {
    background-color: #ffffff;
    color: #fff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card:hover {
    transform: scale(1.02);
}

.card-body p {
    text-align: justify;
}

.icon {
    color: #17a2b8;
    font-size: 3rem;
}

.parrafo {
    text-align: justify;
}

.plataforma a {
    background-color: #17a2b8;
    color: #FFFFFF !important;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.plataforma a:hover {
    background-color: #138496;
}

/* Media Queries para pantallas pequeñas */
@media (max-width: 900px) {
    .nav-links {
        font-size: 14px;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        gap: 15px;
        z-index: 1001;
    }

    .nav-links.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .carousel-item {
        height: 15rem;
    }

    .carousel-item img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }

    .icon {
        color: #17a2b8;
        font-size: 1.5rem;
    }

    .top-bar h1 {
        font-size: 12px;
        color: #FFFFFF;
        text-align: center;
        font-weight: bold;
        margin: 0;
    }

    .nav-brand .logo {
        height: 2.5rem;
    }

    .subtitle {
        font-size: 20px;
    }

    .subtitle-1 {
        font-size: 15px;
    }

    .parrafo {
        padding-top: 5px;
        font-size: 13px;
    }

    .opciones {
        font-size: 13px;
    }
}
