/* Professional Mobile Navbar Styles */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 90px;
    position: relative;
    z-index: 1002;
    background-color: #fff;
}

.mobile-logo img {
    height: 80px;
    filter: drop-shadow(2px 2px 8px rgba(255, 255, 255, 0.9));
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: 20px;
    transition: top 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: auto;
    z-index: 980;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    top: 90px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
    display: block;
    width: 100%;
}

.mobile-menu ul li a {
    display: block;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mobile-menu ul li a:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
    padding-left: 5px;
}

.mobile-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #0066cc;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover::after {
    width: 80%;
    left: 10%;
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

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

.mobile-dropdown-content {
    display: none;
    padding: 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 5px;
}

.mobile-dropdown-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.mobile-dropdown-content a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.mobile-dropdown-content a i {
    margin-right: 10px;
    font-size: 20px;
    color: #0066cc;
}

.mobile-dropdown-content a div {
    display: flex;
    flex-direction: column;
}

.mobile-dropdown-content a strong {
    font-weight: 600;
    margin-bottom: 2px;
}

.mobile-dropdown-content a span {
    font-size: 14px;
    color: #666;
}

.mobile-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0066cc;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 30px auto 0;
    transition: all 0.3s ease;
    width: 80%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.mobile-apply-btn i {
    margin-right: 8px;
    color: #ffff;
}

.mobile-apply-btn:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Show mobile navbar on mobile devices */
@media screen and (max-width: 768px) {
    .mobile-navbar {
        display: block;
    }
    
    body {
        padding-top: 90px;
    }
    
    .hero-container {
        margin-top: 0 !important;
    }
}