/* Navbar Custom Styles */
.navbar-custom {
    background-color: #ffffff;
    border-radius: 50px;
    border: 0.5px solid #d8d8d8;
    padding: 10px 30px;
    margin: 20px auto;
    width: calc(100% - 200px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 100%;
    box-sizing: border-box;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Styles */
.navbar-logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Navigation Links */
.navbar-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex: 1;
    margin: 0 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: black;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link.active,
.nav-link[aria-current="page"] {
    color: var(--primary-blue);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Download Button */
.navbar-right-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Hide mobile download button on desktop */
.mobile-download-btn {
    display: none;
}

.navbar-action {
    display: flex;
    align-items: center;
}

.download-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.download-btn .material-symbols-outlined {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    background-color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .navbar-custom {
        margin: 26px 25px;
        padding: 12px 20px;
        width: calc(100% - 50px);
    }
    
    .navbar-container {
        position: relative;
    }
    
    /* Show hamburger menu */
    .hamburger-menu {
        display: flex;
    }
    
    /* Style navbar links for mobile */
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-radius: 20px;
        padding: 20px;
        margin: 10px -20px 0;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .navbar-links.active {
        display: flex;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile download button in menu */
    .mobile-download-btn {
        display: block;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
        margin-top: 10px;
    }
    
    .mobile-download-btn .download-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 5px;
    }
    
    /* Hide desktop download button on mobile */
    .navbar-action {
        display: none;
    }
    
    /* Hamburger menu on extreme right */
    .hamburger-menu {
        order: 2;
    }
    
    /* Hamburger animation */
    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (max-width: 480px) {

    
    .navbar-custom {
        padding: 10px 15px;
    }
    
    .navbar-links {
        margin: 10px -15px 0;
        padding: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .navbar-right-actions {
        gap: 10px;
    }
    
    .download-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .download-btn i {
        font-size: 12px;
    }
}
