#medical-form {
    text-decoration: none;
    text-align: center;
    color: #fff;
    margin-left: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(90deg, #008AB8, #4DB6AC);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

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

.target-burger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    position: relative;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: transparent;
    border: 1px solid #34495e;
    color: #34495e;
    width: 44px;
    height: 38px;
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    margin-left: auto; 
}

.menu-toggle .bar {
    position: relative;
    display: block;
    width: 22px;
    height: 2px;
    background: #34495e;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle .bar + .bar { margin-top: 5px; }

.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    gap: 10px;
    color: #34495e;
}

#primary-nav a:hover {
    color: #0080ff;
}

#primary-nav {
    display: grid;
    grid-auto-rows: auto;
    justify-items: start;
    align-items: start; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #34495e;
    border-top: 1px solid rgba(255,255,255,0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000; 
}

#primary-nav a {
    text-decoration: none;
    color: #fff;
    text-transform: none;
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    border: none;
    margin: 10px 16px;
}

#primary-nav.open {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 601px) {
    #primary-nav {
        grid-template-columns: 1fr;
    }

    .logo-img {
        width: 120px; 
        height: auto;
    }

    .logo-text {
        font-size: 25px;
    }
}

@media (min-width: 1025px) {
    .menu-toggle {
        display: none;
    }

    #primary-nav {
        display: flex;
        position: static;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-top: none;
        background: transparent;
        max-height: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        margin-left: auto; 
        gap: 20px;
    }

    #primary-nav a {
        text-transform: uppercase;
        font-size: 20px;
        color: #34495e;
        position: relative;
    }

    #primary-nav a:not(:last-child)::after {
        content: "|";
        position: absolute;
        right: -30px;              
        top: 50%;
        transform: translateY(-50%);
    }

    .logo-img {
        width: 200px; 
        height: auto;
    }

   .target-burger {
        color: #fff;
    }

   .logo-text {
        color: #fff;
        font-size: 30px;
    }
}