/* Modern Header Styles */

:root {
    --header-bg: #ffffff;
    --header-text: #333333;
    --header-hover: #3B64D7;
    --header-border: #e0e0e0;
    --social-bg: #f5f5f5;
}

/* Main Header Container */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Top Bar (Contact Info & Social) */
.header-top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid var(--header-border);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-contact-info a {
    color: var(--header-text);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.header-contact-info a:hover {
    color: var(--header-hover);
}

.header-contact-info i {
    color: var(--header-hover);
    font-size: 16px;
}

.header-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #007bff;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}
.fa-linkedin {
    background-color: transparent;
    color: white;
    border: 0px solid rgb(0, 119, 176);
}
.header-social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-social-icons .fa-facebook:hover {
    background: #1877f2;
    color: white;
}

.header-social-icons .fa-youtube:hover {
    background: #ff0000;
    color: white;
}

.header-social-icons .fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.header-social-icons .fa-linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Language Selector */
.header-language-selector {
    margin-left: 15px;
}

#google_translate_element {
    width: 130px;
    border-radius: 4px;
    overflow: hidden;
    height: 32px;
}

#google_translate_element .goog-te-combo {
    border-radius: 4px;
    width: 130px;
    height: 32px;
    background: #28a745;
    color: white;
    padding: 5px;
    border: none;
}

/* Main Navigation Bar */
.header-nav-bar {
    padding: 15px 0;
    background: var(--header-bg);
}

.header-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navigation Menu */
.header-nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    align-items: center;
}

.header-nav-menu li {
    position: relative;
}

.header-nav-menu > ul > li > a {
    display: block;
    padding: 12px 18px;
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    border-radius: 4px;
    position: relative;
}

.header-nav-menu > ul > li > a:hover,
.header-nav-menu > ul > li > a.active {
    color: var(--header-hover);
    background: #f0f4ff;
}

/* Dropdown Menu */
.header-nav-menu li.menu-item-has-children > a::after {
    content: "▼";
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.header-nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.header-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 5px;
    display: block;
}

.header-nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.header-nav-menu .sub-menu li {
    width: 100%;
}

.header-nav-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--header-text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.header-nav-menu .sub-menu a:hover {
    background: #f0f4ff;
    color: var(--header-hover);
    padding-left: 25px;
}

/* Social Icons Section (Right Side) */
.header-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
    display: none;
}

.header-social-right {
    display: flex;
    gap: 8px;
}

.header-social-right a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--social-bg);
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.header-social-right a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.header-social-right .fa-facebook:hover {
    background: #1877f2;
    color: white;
}

.header-social-right .fa-youtube:hover {
    background: #ff0000;
    color: white;
}

.header-social-right .fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.header-social-right .fa-linkedin:hover {
    background: #0077b5;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--header-hover);
    color: var(--header-hover);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.mobile-menu-toggle:hover {
    background: var(--header-hover);
    color: white;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: left 0.3s;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--header-border);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--header-text);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--header-hover);
}

.mobile-menu .sub-menu {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

.mobile-menu .sub-menu.active {
    display: block;
}

.mobile-menu .sub-menu a {
    font-size: 14px;
    font-weight: 400;
    padding: 8px 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Responsive Design */
@media (max-width: 991px) {
    .header-top-bar {
        display: none;
    }

    .header-nav-content {
        padding: 10px 20px;
    }

    .header-nav-menu {
        display: none;
    }

    .header-social-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    body {
        padding-top: 80px !important;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        max-height: 50px;
    }

    .header-nav-bar {
        padding: 10px 0;
    }
}

@media (max-width: 576px) {
    .header-nav-content {
        padding: 8px 15px;
    }

    .header-logo img {
        max-height: 40px;
    }
}

/* Body padding for fixed header - handled by homepage.css */
/* This ensures content doesn't go under the fixed header */

