.navbar {
    background-color: var(--background-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99998;
    padding: 1rem 0;
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1000;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    font-weight: 300;
    color: var(--primary-color);
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.nav-logo a:hover {
    color: inherit;
}

.nav-logo span:first-child {
    font-size: 1rem;
    font-weight: 300;
}

.logo-location {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 300;
    position: relative;
}

.logo-location::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
    height: 2px;
    background-color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 300;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

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

.dropdown {
    position: relative;
}

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

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: var(--background-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.3s ease;
    z-index: 99999;
    border: 1px solid var(--background-light);
}

/* Desktop dropdown hover - override mobile styles */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu,
    .nav-item.dropdown:hover .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        background-color: var(--background-white) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
        border-radius: 8px !important;
        padding: 1rem 0 !important;
        min-width: 220px !important;
        z-index: 99999 !important;
        border: 1px solid var(--background-light) !important;
        pointer-events: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 !important;
    }
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--background-light);
    color: var(--accent-color);
}

.cta-button {
    background-color: var(--background-white);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 300;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-color);
    font-family: 'Montserrat', sans-serif;
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--background-white);
    border: 1px solid var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.mobile-cta-item {
    display: none;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        right: -85vw;
        top: 0;
        height: 100vh;
        width: 85vw;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        text-align: left;
        justify-content: center;
        transition: right 0.4s ease-in-out;
        padding: 3rem;
        gap: 2rem;
        z-index: 998;
        overflow-y: auto;
    }

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

    .hamburger {
        z-index: 999;
        position: relative;
    }

    .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 1.5rem;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        color: var(--text-dark);
        font-size: 1.5rem;
        font-weight: 300;
        padding: 1rem 0;
        display: block;
    }

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

    .cta-button {
        display: none;
    }

    .mobile-cta-item {
        border-bottom: none;
        margin-top: 1rem;
        display: block;
    }

    .hamburger {
        display: flex;
        z-index: 99999;
        position: fixed;
        right: 20px;
        top: 24px;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        transform: none !important;
        box-shadow: none !important;
        background-color: transparent;
        margin-top: 1rem;
        margin-left: 2rem;
        transition: all 0.3s ease;
        z-index: auto !important;
    }

    .dropdown.mobile-active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        overflow-y: auto;
    }

    .dropdown-menu a {
        color: var(--text-light);
        font-size: 1.2rem;
        font-weight: 200;
        padding: 0.75rem 0;
        border-bottom: none;
    }

    .dropdown-menu a:hover {
        color: var(--accent-color);
    }

    .mobile-cta-button {
        display: block;
        background-color: var(--background-white);
        color: var(--text-dark);
        padding: 1rem 2rem;
        border-radius: 5px;
        font-weight: 300;
        border: 1px solid var(--accent-color);
        font-family: 'Lato', sans-serif;
        font-size: 1.2rem;
        text-align: center;
        margin-top: 2rem;
        transition: all 0.3s ease;
    }

    .mobile-cta-button:hover {
        background-color: var(--primary-color);
        color: var(--background-white);
        border: 1px solid var(--primary-color);
    }
}

.footer {
    background-color: var(--background-white);
    color: var(--text-dark);
    padding: 3rem 0 1rem;
    margin-top: auto;
    border-top: 1px solid var(--background-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    font-weight: 300;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.footer-logo-location {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 300;
    position: relative;
}

.footer-logo-location::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 400;
    border: 1px solid transparent;
}

.social-links a:hover {
    background-color: var(--background-white);
    color: var(--text-dark);
    border: 1px solid var(--background-light);
    transform: translateY(-1px);
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.3rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-info p strong {
    color: var(--text-dark);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--background-light);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}