.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    box-sizing: border-box;
    position: fixed;
    top: -150px;
    transform: translateX(-50%);
    left: 50%;
    width: 80%;
    max-width: 100vw;
    margin: 0;
    height: 7vh;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 2px solid rgba(64, 64, 64, 0.3);
    border-radius: 50px;
    padding: 0 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: 3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-header.active {
    top: 20px;
    transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-left {
    display: flex;
    align-items: center;
    height: 80%;
    overflow: hidden;
}

.header-left .site-logo {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
}

.header-left .site-logo svg {
    display: block;
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    fill: white;
}

.header-center {
    grid-column: 2;
    display: flex;
    justify-content: center;
    min-width: 0;
    max-width: 100vw;
}

.primary-nav {
    padding: 0;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
}

.primary-nav .nav-list {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.primary-nav .nav-list a {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.primary-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-nav .nav-list a:hover::after {
    opacity: 1;
}

.header-right {
    grid-column: 3; justify-self: end;
}

.header-right .secondary-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-us-icon {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    fill: white;
}

.site-header .btn{
    border: none;
    padding: 0.5rem;
}

.mobile-toggle {
    display: none;
}

/*RESPONSIVE*/
@media (max-width: 1700px){
    .site-header{
        height: 9vh;
    }
}

@media (max-width: 1049px) {

    .site-header {
        height: 11vh;
        width: 90%;
    }

    .header-left .site-logo svg{
        width: 90%;
    }

}

@media (max-width: 800px) {
    .site-header {
        grid-template-columns: 1fr auto;
        grid-template-rows: 60px 0fr;
        height: auto;
        min-height: 60px;
        padding: 0.5rem 1.5rem;
        width: 90%;
        border-radius: 35px;
        align-items: start;
        overflow: hidden;
        transition: grid-template-rows 0.5s ease-out, background 0.5s ease, border-radius 0.5s ease;
    }

    .header-left {
        grid-column: 1;
        grid-row: 1;
        height: 60px;
    }

    .header-right {
        grid-column: 2;
        grid-row: 1;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .desktop-only {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-toggle .bar {
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .header-center {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        opacity: 0;
        overflow: hidden;
        min-height: 0;
        margin-top: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        justify-content: left;
    }

    .primary-nav .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
        padding: 2rem 0;
    }

    .site-header.menu-open {
        grid-template-rows: 60px 1fr;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 25px;
        padding-bottom: 1rem;
    }

    .site-header.menu-open .header-center {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 1rem;
    }

    .site-header.menu-open .mobile-toggle .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .site-header.menu-open .mobile-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    .site-header.menu-open .mobile-toggle .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

}
