@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1f2937;
    padding: 30px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);

    /* Font only for navbar */
    font-family: 'Poppins', sans-serif;
}

/* Logo */
.logo {
    position: absolute;
    left: 40px;
    text-decoration: none;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Navigation Menu */
.nav-links {
    list-style: none;
    display: flex;
    gap: 50px; /* More space between links */
}

/* Navigation Links */
.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem; /* Larger text */
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #f59e0b;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
    }

    .logo {
        position: static;
        margin-bottom: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-links a {
        display: block;
        width: 100%;
        text-align: center;
    }
}