/* ===== LOGO FIXED POSITION ===== */
.logo-fixed {
    position: fixed;
    top: 0;
    left: 6rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img-fixed {
    width: 140px;
    height: 140px;
    background: transparent;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    overflow: visible;
}

.logo-img-fixed img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Hide mobile button on desktop */
.mobile-only-btn {
    display: none;
}

/* ===== DROPDOWN STYLES ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    margin-top: 1rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
}

/* Mobile dropdown - click to toggle */
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
}

.dropdown-item {
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 8px;
}

.dropdown-item:hover {
    background: var(--primary-blue);
    color: white;
    padding-left: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark);
}

/* ===== RESPONSIVE NAVBAR ===== */

/* Tablet & iPad — switch to hamburger menu here */
@media (max-width: 1024px) {

    .logo-fixed {
        left: 2rem;
        top: 0px;
    }

    .logo-img-fixed {
        width: 100px;
        height: 100px;
    }

    .navbar {
        top: 0;
    }

    .nav-container {
        padding: 1rem 1rem 1rem 120px;
        justify-content: flex-end;
    }

    /* Hide desktop CTA button */
    .desktop-cta-btn {
        display: none;
    }

    /* Show mobile CTA button */
    .mobile-only-btn {
        display: block;
        width: 100%;
    }

    .mobile-only-btn .cta-button {
        width: 100%;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Menu items */
    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    /* Dropdown — hidden by default */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--light);
        min-width: 100%;
        grid-template-columns: 1fr;
        transform: none;
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        transition: all 0.3s ease;
    }

    /* Show dropdown when clicked */
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 600px;
        padding: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .logo-fixed {
        left: 1.5rem;
        top: 0;
    }

    .logo-img-fixed {
        width: 110px;
        height: 110px;
    }

    .nav-container {
        padding: 1rem 1rem 1rem 130px;
    }
}

@media (max-width: 480px) {
    .logo-fixed {
        left: 0.75rem;
        top: 0;
    }

    .logo-img-fixed {
        width: 95px;
        height: 95px;
    }

    .nav-container {
        padding: 1rem 1rem 1rem 105px;
    }
}