/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #14213D;
    font-weight: 800;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00CEC8, #009b96);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 206, 200, 0.3);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Fixed hover effect for nav links */
.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 206, 200, 0.1), rgba(0, 155, 150, 0.1));
    border-radius: 50px; /* Match parent border-radius */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover:before {
    opacity: 1;
}

.nav-link:hover {
    color: #14213D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 206, 200, 0.2);
}


.nav-link.active {
    background: linear-gradient(135deg, #00CEC8, #009b96);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 206, 200, 0.3);
}

.nav-link.active:before {
    display: none;
}

.download-nav-btn {
    background: linear-gradient(135deg, #14213D, #1e3a5f);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.3);
    position: relative;
    overflow: hidden;
}

.download-nav-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    pointer-events: none; /* Important: prevents interference */
    z-index: 1; /* Make sure it's above the background but below text */
}

.download-nav-btn:hover:before {
    left: 100%;
}

.download-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(20, 33, 61, 0.4);
}
/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #14213D;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 206, 200, 0.1);
}

/* Body padding to account for fixed navbar */
body {
    padding-top: 80px !important;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-radius: 0 0 20px 20px;
    }

    .navbar-nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }

    .download-nav-btn {
        width: 100%;
        text-align: center;
        padding: 15px 25px;
    }

    body {
        padding-top: 70px !important;
    }

    .navbar-container {
        padding: 12px 20px;
    }
}

/* Scrolled state */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
