/* Header and Navigation Styles */
header {
    background: #091c3e;
    color: white;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .logo {
    display: flex;
    align-items: center;
}

.header-left .logo img {
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links i {
    margin-right: 2px;
    color: white;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contact-item i {
    font-size: 14px;
    color: white;
    margin-right: 2px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.contact-item a:hover {
    color: #5c79d0;
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.social-icon i {
    font-size: 16px;
}

/* Bottom Bar */
.bottom-bar {
    background: #003366;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bottom-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bottom-nav-links li {
    list-style-type: none;
}

.bottom-nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.bottom-nav-links a i {
    font-size: 14px;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome-text {
    font-weight: 500;
    color:white;
    font-size: 14px;
}

.welcome-text::after {
    content: '|';
    margin-left: 20px;
    color: #ccc;
}

.forgot-password-link {
    color:white;
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #384aee;
}

.logout-btn {
    background-color: #E62727;
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #e62727d7;
}

/* Active state for bottom nav */
.bottom-nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-left {
        justify-content: center;
    }

    .header-center {
        order: 1;
        margin: 0;
    }

    .header-left {
        order: 2;
    }

    .header-right {
        order: 3;
        align-items: center;
    }

    .contact-info {
        align-items: center;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-center h1 {
        font-size: 20px;
    }

    .bottom-bar-content {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .bottom-nav-links {
        gap: 20px;
    }

    .bottom-nav-links a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .auth-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .user-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .welcome-text {
        font-size: 13px;
    }

    .welcome-text::after {
        display: none;
    }

    .forgot-password-link {
        font-size: 11px;
        padding: 4px 8px;
    }

    .logout-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .logo img {
        height: 35px;
    }

    .header-center h1 {
        font-size: 18px;
    }

    .header-center .subtitle {
        font-size: 11px;
    }

    .contact-item {
        font-size: 11px;
    }

    .contact-item i {
        font-size: 12px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-icon i {
        font-size: 14px;
    }
}