:root {
    --header-height: 40px;
    --navbar-height: 100px;
    --total-header-height: calc(var(--header-height) + var(--navbar-height));
}

/* Ensure body has proper padding */
body {
    padding-top: var(--total-header-height);
}

/* Header Styles */
.site-header {
    background-color: #bcebf3;
    color: var(--white);
    height: var(--header-height);
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    display: flex;
    align-items: center;
}

.site-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-location {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.header-location a{
    color: var(--primary-black);
    text-decoration: none;
}

.header-location:hover a{
    color: var(--primary-black);
    font-weight: 700;
    transform: translateY(-1px);
}

.header-location span{
    color: var(--primary-black);
}

.header-location i {
    color: var(--primary-black);
    margin-right: 8px;
    font-size: 1rem;
}

.header-contact {
    display: flex;
    align-items: center;
}

.header-contact a {
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header-contact a:hover {
    color: var(--primary-black);
    font-weight: 700;
    transform: translateY(-1px);
}

.header-contact i {
    color: var(--primary-black);
    margin-right: 8px;
    font-size: 1rem;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-email {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.header-email a{
    color: var(--primary-black);
}

.header-email i {
    color: var(--primary-black);
    margin-right: 8px;
    font-size: 1rem;
}

.header-email:hover{
    color: var(--primary-black);
    font-weight: 700;
    transform: translateY(-1px);
}

.header-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-social a {
    color: var(--primary-black);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.header-social a:hover {
    color: #ce8430;
    transform: translateY(-2px);
}

.header-social i {
    font-size: 1.1rem;
}

/* Adjust navbar position to account for header */
.navbar {
    margin-top: var(--header-height);
    height: var(--navbar-height);
    transition: all 0.3s ease;
}

.navbar.no-header {
    margin-top: 0;
}

/* Mobile Responsive Styles for Header */
@media (max-width: 991.98px) {
    .site-header {
        height: auto;
        padding: 6px 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 5px;
    }
    
    .header-left, .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-location, .header-email {
        margin-right: 1rem;
    }
    
    .navbar {
        margin-top: 60px;
    }
    
    .navbar.no-header {
        margin-top: 0;
    }
}

/* Hide header completely on screens below 575px */
@media (max-width: 575px) {
    .site-header {
        display: none !important;
    }
    
    .navbar {
        margin-top: 0 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
    }
    
    body {
        padding-top: var(--navbar-height) !important;
    }
}

