/* Header Styles - Clean Professional Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Container */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation Container */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left Section - Logo */
.nav-left {
    flex: 0 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #22c55e;
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 1.6rem;
    color: #22c55e;
}

.logo:hover {
    color: #16a34a;
}

/* Center Section - Navigation Menu */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(34, 197, 94, 0.1);
}

.nav-link i {
    margin-left: 0.3rem;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #ffffff;
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: #22c55e;
    font-size: 0.9rem;
}

/* Right Section - CTA Buttons */
.nav-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Mobile Navigation CTA (Hidden by default) */
.mobile-nav-cta {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-center {
        display: none;
    }
    
    .nav-right .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    .nav-link {
        justify-content: center;
        padding: 1rem;
    }
    
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-center {
        margin: 0 1rem;
    }
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .nav-menu {
        gap: 2.5rem;
    }
}