/* 🌟 Header Styles */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* ✅ Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    padding: 50px 0px;
}

/* ✅ Logo */
.logo a {
    text-decoration: none;
    font-size: 26px;
    font-weight: bold;
    color: black;
}

/* ✅ Navigation Bar */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* ✅ Standard Navigation Links */
.nav-links a,
.dropdown-btn {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

/* ✅ Hover Effects */
.nav-links a:hover,
.dropdown-btn:hover {
    color: #007bff;
}

/* ✅ Profile Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ✅ Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    min-width: 160px;
    top: 45px;
    right: 0;
    z-index: 1000;
}

/* ✅ Show Dropdown on Click */
.dropdown.active .dropdown-content {
    display: block;
}

/* ✅ Dropdown Links */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease-in-out;
}

.dropdown-content a:hover {
    color: #007bff;
}

/* Mobile Menu: Hide by default on larger screens */
.mobile-menu {
    display: none;
}

/* Style the hamburger icon as black lines */
.menu-toggle {
    background: transparent;
    border: none;
    color: black;       /* Sets the icon color to black */
    font-size: 28px;    /* Increase size if needed */
    cursor: pointer;
    outline: none;
    /* Optional: add some padding for better clickability */
    padding: 5px;
}

/* ✅ Desktop Navigation: Always Visible */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important; /* Ensures it's visible on desktop */
    }

    .mobile-menu {
        display: none; /* Hide the mobile menu icon on larger screens */
    }
}

/* ✅ Mobile Navigation: Toggle on Click */
@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: #fff;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        right: 20px;
        width: 200px;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    /* ✅ Show mobile menu when active */
    .nav-links.active {
        display: flex !important;
    }
}

