/* ========== NAVBAR STYLES ========== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    padding: 0.5rem 0;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-links a:hover {
    color: #667eea;
}

/* Dropdown Arrow */
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-links > li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: #333;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: #f8f9ff;
    color: #667eea;
    padding-left: 2rem;
}

/* Apply Button */
.apply-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ========== HAMBURGER MENU STYLES ========== */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open {
    overflow: hidden;
}

/* ========== MOBILE RESPONSIVE ========== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
        z-index: 999;
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        font-size: 1.1rem;
        padding: 1rem 0.5rem;
        justify-content: space-between;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f8f9ff;
        border-radius: 0;
    }

    .nav-links > li.dropdown-open .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .nav-links > li.dropdown-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .dropdown-menu a:hover {
        padding-left: 2rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo span {
        font-size: 0.9rem;
    }
}