/* Shared public-site navbar.
   Source of truth for every ezyopd company page (home, find doctor, about,
   contact). Taken from the home page (/ezyopd/) - do not fork these rules into
   individual templates, edit them here so all pages stay in sync. */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 12px 0;
    animation: navbarSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes navbarSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.navbar .logo img {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.navbar-logo {
    font-size: 1.8em;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.navbar-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
    padding: 8px 4px;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.navbar-menu a:hover {
    color: #1e293b;
}

.navbar-menu a.active {
    color: #1e293b;
    font-weight: 600;
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2563eb;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 16px;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        gap: 10px;
        border-top: 1px solid #e2e8f0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}
