   /* Top menu bar */
   .portal {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
    color: #fff;
    margin-top: 10%;
   }
   .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #414141;
    flex-wrap: wrap;
    position: relative;
  }
  
  .nav-left, .nav-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .nav-left a, .dropdown-btn {
    color: #fff;
    margin-right: 15px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
  }
  .nav-link.active {
    border-bottom: 2px solid #FE0000;
  }
  

  
  .dropdown {
    position: relative;
  }
  
  .dropdown-btn {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #222;
    min-width: 150px;
    border-radius: 5px;
    z-index: 1000;
  }
  
  .dropdown-content a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
  }
  
  .dropdown-content a:hover {
    background-color: #444;
  }
  
  .nav-right {
    gap: 10px;
    text-align: right;
    font-size: 14px;
  }
  
  .nav-right span {
    display: block;
    margin-right: 10px;
  }
  
  .profile {
    background-color: #FE0000;
    color: #FFFF;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-left: 10px;
    cursor: pointer;
  }
  
  .cart-icon {
    background-color: #FE0000;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    margin-left: 10px;
    cursor: pointer;
  }
  

  /* Welcome Heading */
  .welcome {
    text-align: center;
    margin: 40px 10px 50px;
    font-size: 30px;
  }

  .welcome span {
    font-weight: bold;
  }

  /* Cards Section */
  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px 60px;
  }
  .card {
    background-color: #111;
    color: #FFFF;
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(224, 12, 12, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: 1px solid rgba(255, 0, 0, 0.4); /* Thin red border */
  }
  

  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
  }

  .card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  .card h3 {
    margin: 15px 0 5px;
    font-size: 20px;
  }

  .card p {
    padding: 0 10px 15px;
    font-size: 14px;
    color: #adadad;
  }

  @media (max-width: 1024px) {
    .portal {
        margin-top: 20%;
        text-align: center;
        align-items: center;
    }
  
}
  @media (max-width: 768px) {
    .portal {
        margin-top: 16%;
        text-align: center;
        align-items: center;
    }
    .cards-container {
      align-items: center;
    }
.top-bar {
    justify-content: center;
    text-align: center;
}
    .nav-left, .nav-right {
      justify-content: center;
      text-align: center;
    }

    .nav-right {
      margin-top: 10px;
    }
  }
  @media (max-width: 430px) {
    .portal {
        margin-top: 40%;
    }
    .nav-left, .nav-right {
        justify-content: center;
        text-align: center;
      }
      .dropdown-content {
        left: -84px;
      }
}