

    .volver{
    display: inline-block;
    margin-top: 20px;
    background-color: #840028;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold; transition: background 0.2s;
        
    }
    
    .navbar {
        background-color: #840028;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        color: white;
        flex-wrap: wrap;
    }

    .navbar img {
        height: 40px;
        margin-right: 10px;
    }

    .navbar .logo-text {
        font-size: 20px;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

    .navbar nav a {
        color: white;
        margin-left: 20px;
        text-decoration: none;
        font-weight: bold;
    }

    .navbar nav a:hover {
        text-decoration: underline;
    }
    .nav-btn{
        text-decoration: none;
        color: white;
        border: 2px solid #840028;
        border-radius: 8px;
        font-family: 'Konnect Bold', sans-serif;
        text-align: center;
        transition: background-color 0.4s ease, color 0.4s ease,
        transform 0.4s ease, box-shadow 0.4s ease;
        
    }
    .navbar nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1;
        gap: 20px;
    }
    
    .navbar nav a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.4s, color 0.4s, transform 0.3s, box-shadow 0.3s;
        padding: 8px 18px;
        border-radius: 8px;
        border: 2px solid #840028;
        background: transparent;
        font-family: 'Konnect Bold', sans-serif;
    }
    
    .navbar nav a:hover {
        background-color: #fff;
        color: #840028;
        text-decoration: none;
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    }
    
    .logo {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-block;
    }
    .logo:hover {
        transform: scale(1.2);
    }
    
        .logout-btn {
          position: absolute;
          right: 0px;
          margin-left: 10px;
          padding: 8px 16px;
          background-color: #840028;
          color: #fff;
          border: 2px solid #840028;
          border-radius: 8px;
          font-family: 'Konnect Bold', sans-serif;
          text-decoration: none;
          cursor: pointer;
          transition: background-color 0.4s ease, color 0.4s ease,
                      transform 0.4s ease, box-shadow 0.4s ease;
        }
        .logout-btn:hover {
          background-color: #fff;
          color: #840028;
          transform: translateY(-3px);
          box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
    

  /* ==== BARRA DE NAVEGACIÓN FIJA INFERIOR ==== */
        .fixed-navbar {
            
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color:#840028;
            padding: 0.8rem 1rem;
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            border-top-left-radius: 1.5rem;
            border-top-right-radius: 1.5rem;
        }

         .nav-link1 {
            flex: 1;
            text-align: center;
            text-decoration: none;
            color: white;
            font-weight: 600;
            padding: 0.5rem 0;
            transition: background-color 0.3s ease, transform 0.3s ease;
            border-radius: 0.75rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-link1.active, .nav-link1:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-3px);
        }

        .nav-link1 svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 600px) {
        .hero h1 {
            font-size: 2rem;
            margin-top: 100px;
        }
    }