/* Google Fonts - Outfit */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1a1a40; /* Deep Indigo */
    --secondary-color: #ff9933; /* Saffron/Gold */
    --accent-color: #f4e04d; /* Bright Gold */
    --text-white: #ffffff;
    --text-dark: #1a1a40;
    --bg-light: #ffffff;
    --header-bg: #ffffff;
    --transition: all 0.3s ease;
    --header-height: 80px;
    --sidebar-width: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #f8f9fa;
}

header {
    width: 100%;
    height: var(--header-height);
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 45px;
}

/* Desktop Navigation */
.nav-menu ul {
    display: flex;
    list-style: none; /* Removed bullet points */
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Dropdown Styles */
.nav-menu ul li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    display: block !important; /* Override flex */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding-left: 25px;
}

.small {
    font-size: 10px;
    margin-left: 5px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Sidebar (Mobile Nav) */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-light);
    z-index: 1001;
    padding: 40px 30px;
    transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: var(--primary-color);
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.sidebar-logo {
    margin-bottom: 40px;
    text-align: left;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 20px;
}

.sidebar-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidebar-link:hover, .sidebar-link.active {
    color: var(--secondary-color);
    padding-left: 10px;
}

.sidebar-footer {
    margin-top: auto;
    color: #888;
    font-size: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 64, 0.2);
    backdrop-filter: blur(4px);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --sidebar-width: 100%;
    }
}
