/* 🔹 General Header Styles */
.site-header {
    background-color: #ffffff;
    padding: 15px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Arial', sans-serif;
}
/* Make sure mobile nav is fixed and right below the header */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px; /* Adjust this to match your header height */
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 20px;
}

/* Show the menu when toggled */
.mobile-nav.show {
  display: flex;
}

body {
  padding-top: 90px; /* Make room below the fixed header */
}
/* 🔹 Container for proper spacing */
.site-header .container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

/* 🔹 Logo */
.logo img {
    height: 70px;
    width: 70px;
    object-fit: contain; /* Keeps the image nicely contained */
}


/* 🔹 Navigation */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    position: relative;
    margin: 0 20px;
}

.main-nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #50004b;
}

/* 🔹 Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #ffffff;
    top: 100%;
    left: 0;
    min-width: 160px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px;
}

.dropdown-menu li a {
    color: #333;
    display: block;
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
}

/* 🔹 Header Buttons (Moved to Right) */
.header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto; /* Pushes buttons to the right */
    gap: 15px;
}

/* 🔹 Login Links */
.login-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #50004b;
}

/* 🔹 Join as Expert Button */
.join-expert {
    background: #007bff;
    color: white;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.join-expert i {
    margin-right: 8px;
}

.join-expert:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* 🔹 Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* 🔹 Responsive Design */
@media (max-width: 768px) {
    .main-nav, .header-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}
