* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f7f6;
}

.navbar-container {
    background: linear-gradient(135deg, #e5e5e5, #6aaec5, #3ba5d2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

#logoSvg {
    width: 40px;
    margin-right: 10px;
}

.logo h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li:last-child {
    margin-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: #1d0f0f;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

.auth-menu {
    display: flex;
}

.auth-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-buttons button {
    width: auto;
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.auth-buttons a {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.auth-buttons button.signup,
.auth-buttons a.signup {
    background-color: #007bff;
    color: white;
}

.auth-buttons button.login,
.auth-buttons a.login {
    background-color: #28a745;
    color: white;
}

.auth-buttons button#logout {
    background-color: #dc3545;
    color: white;
}

.auth-buttons button.admin img {
    width: 25px;
    height: 25px;
}

.auth-buttons button.admin {
    background-color: transparent;
}











/* Hamburger Menu Styles */
.hamburger,
.close {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    margin-left: 10px;
}

.close {
    display: none;
}

.nav-menu.active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
}


.auth-menu.active{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 160px;
    right: 0;
    background-color: white;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
}

.nav-menu.active .nav-links,
.auth-menu.active .auth-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-menu.active .nav-links li,
.auth-menu.active .auth-buttons button,
.auth-menu.active .auth-buttons a {
    width: 100%;
    text-align: left;
    margin: 5px 0;
    text-align: center;
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    .nav-menu,
    .auth-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background-color: white;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: left;
    }

    .nav-links li a {
        display: block; /* Ensure the link is visible */
        
    }

    .auth-buttons {
        flex-direction: column;
        margin-top: 10px;
    }

    .hamburger {
        display: block;
    }

    .close {
        display: none;
    }

    .nav-menu.active,
    .auth-menu.active {
        display: flex;
    }

    .hamburger.active {
        display: none;
    }

    .close.active {
        display: block;
    }
}





/* CARD */


.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center; /* Center the cards horizontally */
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px; /* Fixed width */
    height: 350px; /* Fixed height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 70%; 
    object-fit: cover; 
    border-bottom: 1px solid #eee;
}

.card h3 {
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin: 0;
    font-size: 1.1em;
    color: #333;
    text-align: center;
}












/* Content */



.content {
    width: 100%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
}

.content h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}




.hero {
    text-align: center;
    animation: float 6s ease-in-out infinite;
  }
  
  .title {
    font-size: 2.8rem;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease forwards;
  }
  
  .tagline {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #d1d9e6;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease 1s forwards;
  }
  
  /* Animations */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }