* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://constancias.edulabc.com.mx/images/edulabc-home-section-bg.webp?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

nav {
    background: rgb(30, 30, 30);
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex: 0 0 auto;
}

.logo img{
    width: 160px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.flower{
    position: absolute;
    top: 50%;
    right: calc(100% + 6px);
    display: inline-block;
    opacity: 1;
    transform: translateY(-50%);
    fill: rgb(105, 177, 187);
}

.item-sel{
    background-size: 100% calc(5px + 1px);
    position: relative;
    margin-left: 21px;
    color: rgb(105, 177, 187);

/*    text-decoration: none;
    background-image: linear-gradient(to top, transparent 0, transparent calc(5px), currentColor calc(5px), currentColor 100%);
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .25s*/
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.hamburger.active {
    transform: rotate(90deg);
}

.overlayMenu{
    display: none;
    position: fixed;
    top:0px; left: 0px;
    width: 100%;    height: 100%;
    background-color:rgba(51, 51, 51, .85);
    z-index: 10000;
}

.sideNav {
    height: 100%; /* 100% Full-height */
    width: 0; 
    position: fixed; /* Stay in place */
    z-index: 100000; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #1c1c1c;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

.sideNav a {
    display: block;
    font-size: 2.5rem;
    color: var(--blanco);
    padding: 0px 20px;
    transition: 0.3s;
    text-align: left;
    text-decoration:none;
/*  text-transform: uppercase;*/
}

.sideNav span {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    padding: 20px 20px;
    transition: 0.3s;
    text-align: left;
/*  text-transform: uppercase;*/
}

.sideNav img {
    display: block;
    padding: 20px 20px;
    transition: 0.3s;
    text-align: left;
/*  text-transform: uppercase;*/
}

.sideNav a:hover {
    /*background-color: var(--fondoO);*/
}

.sideNav a:first-child {
    background-color: unset;
}

.sideNav .closebtn {
    position: absolute;
    top: 1px;
    right: 0px;
    font-size: 42px;
    margin-left: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 100;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.step-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
    max-width: 250px;
    flex: 1 1 250px;
    height: 300px;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    background: #69b1bb;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    margin: 0 auto 1rem;
}

.step-card h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step-card p {
    text-align: center;
    color: #34495e;
}

.up-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.up-arrow-w{
    border: 2px solid white;
}

.up-arrow-b{
    border: 2px solid rgb(105, 177, 187);
}

.blue{
    stroke: rgb(105, 177, 187);
}

.white{
    stroke: white;
}

.up-arrow svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke-width: 2;
    cursor: pointer;
}

.up-arrow:hover {
    transform: scale(1.1);
    background: transparent;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    background: #0088cc;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    cursor: pointer;
}

.whatsapp-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;
        background: rgb(30, 30, 30);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: none;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .step-card {
        max-width: 100%;
    }

    .up-arrow {
        display: none;
    }
}