/* Header and Navigation Styles */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active::before {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
    border: none;
    background: transparent;
}

/* Futuristic Glowing Menu Button */
.mobile-menu-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: all 0.5s ease;
}

.mobile-menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-icon span:nth-child(1) {
    top: 5px;
}

.mobile-menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-icon span:nth-child(3) {
    bottom: 5px;
}

.mobile-menu.active .mobile-menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active .mobile-menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .mobile-menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Add subtle animation to nav items */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links li {
    animation: fadeInDown 0.5s forwards;
    animation-delay: calc(0.1s * var(--item));
    opacity: 0;
}

/* Header scroll effect */
.header-scroll {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.7rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-scroll .logo img {
    height: 40px;
}

.header-scroll .logo-text {
    font-size: 1.3rem;
}
