  .header {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 1000;
  }

.card-sombra {
  background: #f2f2f2;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

  .header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

.logo {
    width: 150px;
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.5));
}

  .nav-desktop a {
    margin-right: 1rem;
    text-decoration: none;
    color: white;
  }

  .nav-desktop {
    display: none;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .login-link {
    color: white;
    text-decoration: none;
  }

  .register-btn {
    background: white;
    color: #0a2c57;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: bold;
    text-decoration: none;
  }

  .menu-toggle {
    background: none;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: block;
  }

.nav-mobile {
    display: none;
    position: fixed;
    top: 150px; 
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: #14416c;
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
    align-items: flex-start;
  }

  .nav-mobile a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
  }

  @media screen and (min-width: 769px) {
    .nav-desktop {
      display: flex;
    }

    .menu-toggle,
    .nav-mobile {
      display: none;
    }


  }


@media (max-width: 768px) {
        .logo {
        width: 100;
    }
    .nav-mobile {
    top: 150px; 
  }
}


@media (max-width: 480px) { 
      .logo {
        width: 70px; 
    }
        .nav-mobile {
    top: 70px; 
  }
}