.site-header {
    background-color: #FAF7F2;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    background-color: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(10, 34, 62, 0.05);
    padding: 13px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Left Area */
.header-left {
    display: flex;
    align-items: center;
}

/* Brand Logo */
.brand-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-symbol-wrap {
    display: flex;
    align-items: center;
}

.brand-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-divider {
    display: inline-block;
    width: 1px;
    height: 26px;
    background-color: #D4C4AC;
    margin: 0 12px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-family-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #042C53;
    line-height: 1;
    text-transform: uppercase;
}

.brand-tagline {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-family-heading);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #C5822B;
    line-height: 1;
    text-transform: uppercase;
    margin-top: 3px;
}

.brand-tagline::before,
.brand-tagline::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 1px;
    background-color: #C5822B;
}

/* Navigation Links */
.header-nav {
    display: flex;
    align-items: center;
    gap: 33px;
}

.nav-link {
    color: #042C53B2;
    padding: 6px 2px;
    position: relative;
    transition: color 0.2s ease;
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 5%;
}

.nav-link:hover {
    color: #042C53;
}

/* Active Blogs Indicator - Small Navy Dot */
.nav-link.active {
    font-weight: 700;
    color: #042C53;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    background-color: #042C53;
    border-radius: 50%;
}

/* Right CTA Button */
.header-contact-btn {
    background-color: #D07F10;
    color: #F7F4EF;
    text-transform: uppercase;
    padding: 16px 28px;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(199, 122, 20, 0.28);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: center;
}

.header-contact-btn:hover {
    background-color: #AF680B;
    box-shadow: 0 6px 18px rgba(199, 122, 20, 0.38);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle Button (Desktop hidden) */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 17px;
    background: transparent;
    cursor: pointer;
    border: none;
    padding: 0;
    z-index: 101;
}

.mobile-nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #042C53;
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}



@media (max-width: 1199px) {
    .header-container {
        padding: 0 24px;
    }

    .header-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 13.5px;
    }
}

@media (max-width: 991px) {

    /* Header Responsive Layout for Tablet & Mobile (<= 991px) */
    .site-header {
        background-color: #FAF7F2;
        padding: 14px 0;
        border-bottom: 1px solid rgba(212, 196, 172, 0.25);
    }

    .header-container {
        padding: 0 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 16px;
    }

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

    .mobile-nav-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

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

    .brand-symbol-wrap {
        display: flex;
        align-items: center;
    }

    .brand-symbol svg {
        width: 26px;
        height: 30px;
    }

    .brand-divider {
        display: inline-block;
        width: 1px;
        height: 24px;
        background-color: #D4C4AC;
        margin: 0 10px;
    }

    .site-header .brand-text {
        display: flex;
    }

    .brand-name {
        font-size: 17px;
    }

    .brand-tagline {
        font-size: 7px;
    }

    .header-nav {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(250, 247, 242, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        box-shadow: 0 12px 30px rgba(10, 34, 62, 0.08);
        border-bottom: 1px solid #ECDCC8;
        gap: 16px;
        margin: 0;
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 99;
    }

    .header-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav .nav-link {
        font-size: 16px;
        font-weight: 600;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(10, 34, 62, 0.05);
    }

    .header-nav .nav-link.active {
        color: #D07F10;
        font-weight: 700;
    }

    .header-nav .nav-link.active::after {
        display: none;
    }

}

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

    .header-left {
        gap: 12px;
    }

    .brand-symbol svg {
        width: 25px;
        height: 28px;
    }

    .site-header .brand-divider {
        display: none !important;
    }

    .site-header .brand-text {
        display: none !important;
    }

    .header-contact-btn {
        padding: 14px 20px;
        font-size: 16px;
    }

    .header-nav {
        top: 70px;
    }

    .header-nav {
        padding: 20px;
        gap: 14px;
    }

    .header-nav .nav-link {
        font-size: 15px;
        padding: 8px 0;
    }
}