/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #F2F6FA;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Header Styles */
header {
    background-color: #277ab9;
    color: #fff;
    padding: 15px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-left: 250px;
    justify-content: center;
}

.header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    height: 80px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 6px;
    max-width: 150px;
    height: auto;
}

.language-selector {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.language-selector select {
    padding: 5px;
    font-size: 14px;
    background-color: #277ab9;
    color: white;
    border: none;
    cursor: pointer;
}

.language-selector select:hover {
    background-color: #225f93;
}

.language-selector select:focus {
    outline: none;
}

/* Navigation Styles - Desktop */
nav {
    position: fixed;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #277ab9;
    font-size: 1.1em;
    box-shadow: 0px 0 0px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

nav a {
    margin: 0;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a:hover {
    background-color: #225f93;
}

nav a i {
    width: 20px;
    text-align: center;
}

.btn-login {
    background-color: #1a4f7d;
    border-radius: 5px;
    margin-top: 20px;
}

/* Main content adjustment */
main {
    padding: 2rem 1rem;
    margin-left: 250px;
    flex: 1;
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
    position: absolute;
    left: 15px;
    top: 15px;
    z-index: 101;
}

/* Overlay - Hidden on Desktop */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* Responsive Styles - Mobile */
@media screen and (max-width: 1024px) {
    header {
        margin-left: 0;
        padding: 10px 15px;
        justify-content: space-between;
    }

    .header-content h1 {
        font-size: 1.2rem;
        margin-left: 40px;
    }

    .language-selector {
        position: static;
        transform: none;
        margin-left: auto;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: block;
    }

    /* Adjust navigation for mobile */
    nav {
        transform: translateX(-100%);
        top: 0;
        left: 0;
        width: 280px;
    }

    nav.active {
        transform: translateX(0);
    }

    /* Show overlay when menu is active */
    .overlay.active {
        display: block;
    }

    /* Adjust main content */
    main {
        margin-left: 0;
        padding: 1rem;
    }

    /* Stack social links vertically on small screens */
    .social-links {
        flex-direction: column;
        right: 10px;
        bottom: 10px;
    }
}