/* ============================================
   2. LAYOUT: HEADER / NAVIGATION
   ============================================ */

/* Header ----------- */

nav{
    background-color: var(--navBackgroundColor);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
    transition: .2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-height: 7rem;
    box-sizing: border-box;
}

.logo{
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img{
    height: 3.5rem;
    max-width: 100%;
    object-fit: contain;
}

.logo a{
    display: flex;
    align-items: center;
    text-decoration: none;
}



.hamburgerMenu{
    display: none;
}
.navElements{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.navElements li{
    margin:0;
    padding:1rem .5rem;
    font-weight: 600;
    transition:.2s;
    position: relative;
}
.navElements .highlighted{
    border-bottom: 3px solid var(--navTextColor);
}

.navElements li a{
    color: var(--navTextColor);
    padding:1.5rem 1rem;
    text-decoration: none;
    transition:.2s;
}


/* Desktop hover functionality for About Us dropdown - REMOVED (moved to media query) */


.navElements li a:hover{
    color:var(--logoBlue);
    
}

.fab{
    font-size:1.5rem;
}

.nestedElements{
    background-color: var(--navBackgroundColor);
    position: absolute;
    margin-top:1.5rem;
    list-style: none;
    height:0;
    display: none;
    overflow: hidden;
    transition:.2s;
    border-radius: 0;
    padding: 0;
    width: auto;
}
/* Removed conflicting nestedElements rules - handled in media query */

/* Social media styles removed - now handled in footer */
/* Force hide any remaining floating social media elements */
.socialMedia, .showSocial, .floating-social, .social-float, .social-fixed {
    display: none !important;
    visibility: hidden !important;
    position: static !important;
}

/* Ensure footer social media is properly positioned */
.footerSocial {
    position: relative !important;
    z-index: 1 !important;
    margin: 2rem auto !important;
    max-width: 600px !important;
}

.socialMediaFooter {
    position: relative !important;
    z-index: 1 !important;
}

/* Prevent any social media from floating over content */
*[class*="social"]:not(.footerSocial):not(.socialMediaFooter) {
    position: static !important;
    display: none !important;
}

/* Ensure social media links in footer don't float */
.footerSocial a,
.socialMediaFooter a {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
}


/* Old social media styles removed */

