/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    background-color: #333;
    color: #fff;
    position: fixed;    /* Fix the navbar at the top */
    top: 0;             /* Position it at the very top */
    left: 0;            /* Align it to the left */
    width: 100%;        /* Make it span the entire width of the viewport */
    z-index: 1000;      /* Ensure it stays above other elements */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Add shadow for better separation */
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5em; /* Increase spacing between buttons */
    margin: 20px 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 25px; /* Increase padding for larger clickable area */
    font-size: 20px; /* Slightly larger font for better readability */
    border-radius: 10px; /* Rounded edges for modern look */
    background-color: #333; /* Default background for inactive buttons */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
    cursor: pointer; /* Ensure it looks like a button */
}

.nav-links a:hover {
    background-color: #555; /* Highlighted background on hover */
    transform: scale(1.05); /* Slightly enlarge on hover for better UX */
}

.nav-links a:active {
    transform: scale(0.95); /* Slightly shrink on click for feedback */
}

.nav-links a.active {
    background-color: #ff5722;
    color: #ffffff;
}

/* Burger menu styling */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-links {
        display: none; /* Hide the links initially on mobile */
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        flex-direction: column;
        width: 200px;
        padding: 1em;
    }
    
    .nav-links.active {
        display: flex;
    }
}

img {
    border: 1px solid #ccc;
    border-radius: 5px;
}

