/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.5em;
}

.nav-container {
    display: flex;
    align-items: center;
}

.header-nav-menu {
    display: flex;
    list-style: none;
}

.header-nav-item {
    position: relative;
    margin-left: 1.5rem;
}

.header-nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.header-nav-link:hover {
    color: var(--primary);
}

.header-dropdown {
    position: relative;
    display: inline-block;
}

.header-dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
}

.header-dropdown:hover .header-dropdown-content {
    display: block;
}

.header-dropdown-item {
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    color: var(--dark);
    transition: all 0.3s ease;
}

.header-dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary);
}

.header-dropdown-icon {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.header-dropdown:hover .header-dropdown-icon {
    transform: rotate(180deg);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
}

.header-nav-menu.active {
    display: flex;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        padding: 1rem;
        align-items: center;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-container {
        width: auto;
    }
    
    .hamburger {
        display: block;
    }
    
    .header-nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .header-nav-menu.active {
        display: flex;
    }
    
    .header-nav-item {
        margin-left: 0;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .header-nav-link {
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .header-dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background-color: #f8f9fa;
        padding-left: 1rem;
    }
    
    .header-dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .header-dropdown-content {
        left: auto;
        right: 0;
    }
}

/* Active state for navigation items */
.header-nav-link.active {
    color: var(--primary);
    position: relative;
}

.header-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Smooth header transitions */
header {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}