/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.nav-container {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 55px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.logo-text .slogan {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.nav-links-left {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #9333EA;
    text-shadow: 0 0 8px rgba(65, 238, 252, 0.6), 0 2px 4px rgba(65, 238, 252, 0.4);
}

.nav-links a.active {
    color: #9333EA;
    text-shadow: 0 0 8px rgba(65, 238, 252, 0.6), 0 2px 4px rgba(65, 238, 252, 0.4);
}

.nav-links a.active:hover {
    color: #9333EA;
    text-shadow: 0 0 10px rgba(65, 238, 252, 0.8), 0 2px 4px rgba(65, 238, 252, 0.5);
}

.nav-links a.dropdown::after {
    content: '▼';
    font-size: 8px;
    margin-left: 5px;
    color: #000000;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #000000;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    color: #9333EA;
    background: rgba(147, 51, 234, 0.1);
    border-left-color: #9333EA;
    text-shadow: 0 0 6px rgba(65, 238, 252, 0.5), 0 1px 2px rgba(65, 238, 252, 0.3);
}

.services-dropdown {
    min-width: 280px;
    padding: 6px 0;
}

.services-dropdown a {
    padding: 8px 20px;
}

/* Second-level dropdown styling */
.dropdown-submenu {
    position: relative;
    padding: 8px 20px 4px;
}

.dropdown-submenu .dropdown-subtitle {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    cursor: default;
    padding: 0;
    line-height: 1.5;
}

.dropdown-subtitle .submenu-icon {
    margin-left: 6px;
    font-size: 10px;
}

.dropdown-submenu-menu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 1002;
}

.dropdown-submenu-menu a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
}

.dropdown-submenu:hover .dropdown-submenu-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Left-opening second-level (for right-aligned dropdowns such as Careers) */
.dropdown-submenu-left .dropdown-submenu-menu {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.dropdown-submenu-left:hover .dropdown-submenu-menu {
    transform: translateX(0);
}

.nav-search {
    color: #000000;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.nav-search:hover {
    color: #41EEFC;
}

/* Hamburger Menu */
.nav-hamburger {
    display: none;
    color: #000000;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1002;
}

.nav-hamburger:hover {
    color: #41EEFC;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 2001;
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-header img {
    height: 45px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #000000;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: #41EEFC;
}

.mobile-nav {
    padding: 10px 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.mobile-nav-item > a {
    display: block;
    padding: 16px 20px;
    color: #000000;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.mobile-nav-item > a:hover {
    color: #9333EA;
    background: rgba(147, 51, 234, 0.1);
    text-shadow: 0 0 8px rgba(65, 238, 252, 0.6), 0 2px 4px rgba(65, 238, 252, 0.4);
}

.mobile-nav-item > a.active {
    color: #9333EA;
    text-shadow: 0 0 8px rgba(65, 238, 252, 0.6), 0 2px 4px rgba(65, 238, 252, 0.4);
}

.mobile-nav-item > a.active:hover {
    color: #9333EA;
    text-shadow: 0 0 10px rgba(65, 238, 252, 0.8), 0 2px 4px rgba(65, 238, 252, 0.5);
}

.mobile-dropdown-toggle {
    position: relative;
}

.mobile-dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: transform 0.3s;
}

.mobile-dropdown-toggle.active::after {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    background: #f9fafb;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-content.active {
    max-height: 500px;
}

.mobile-dropdown-content a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #4b5563;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-dropdown-content a:hover {
    color: #9333EA;
    background: rgba(147, 51, 234, 0.1);
    border-left-color: #9333EA;
    text-shadow: 0 0 6px rgba(65, 238, 252, 0.5), 0 1px 2px rgba(65, 238, 252, 0.3);
}

/* Responsive Design for Header */
@media (max-width: 1024px) {
    .nav-container {
        padding: 10px 30px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    .logo-container img {
        height: 45px;
    }

    .nav-links,
    .nav-search {
        display: none;
    }
    
    .nav-hamburger {
        display: block;
    }
}
