/* Navigation Styles */
nav {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 100;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #ecf0f1;
    min-height: 50px;
}

.nav-home {
    display: none;
    align-items: center;
}

.nav-home a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-home a:hover {
    color: #5496b3;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #555;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
    min-height: 50px;
    flex: 1;
}

.nav-download {
    display: flex;
    align-items: center;
}

nav li {
    margin: 0;
}

nav li .download-btn {
    display: none;
}

nav a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #5496b3;
}

nav a.active {
    color: #5496b3;
    font-weight: 600;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5496b3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #447a91;
    color: #ffffff;
}

.download-btn-secondary {
    background-color: #cb8e41;
}

.download-btn-secondary:hover {
    background-color: #b88035;
    color: #ffffff;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-home {
        display: flex;
    }
    
    nav {
        background-color: #5496b3;
        border-bottom: none;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .nav-home a {
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
    }
    
    .nav-home a:hover {
        color: #ffffff;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-download {
        display: none;
    }
    
    .hamburger span {
        background-color: #ffffff;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 20px;
        border-bottom: 1px solid #ecf0f1;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    nav ul:not(.active) {
        display: none;
    }
    
    nav ul.active {
        display: flex;
        max-height: 500px;
    }
    
    nav li {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #ecf0f1;
    }
    
    nav li:first-child {
        display: none;
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        width: 100%;
        font-size: 13px;
    }
    
    nav li .download-btn {
        display: block;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
}

