/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 15px 30px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to left, rgba(26, 117, 188, 0.05), white, white, rgba(212, 175, 55, 0.05));
    border-bottom: 2px solid var(--secondary-color);
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 15px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(26, 117, 188, 0.1));
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.logo {
    width: 60px;
    height: 60px;
    margin-left: 15px;
    margin-right: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    padding: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(10deg);
}

header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    left: auto;
    width: 70%;
    height: 2px;
    background: linear-gradient(to left, var(--secondary-color), transparent);
}

nav ul {
    display: flex;
    gap: 25px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(26, 117, 188, 0.2);
}

nav a {
    padding: 10px 18px;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav a:hover, nav a.active {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(26, 117, 188, 0.3);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 101;
    position: relative;
}

@media (max-width: 768px) {
    header {
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 15px;
    }
    
    .logo-container {
        margin-bottom: 0;
        padding: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 70%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 100;
        border-radius: 0;
    }
    
    nav ul.active {
        right: 0;
    }
    
    nav a {
        width: 100%;
        text-align: right;
        padding: 15px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
}