.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.header-container.loaded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.offer-bar {
    background: linear-gradient(135deg, #004370, #00609c);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.offer-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.offer-tag {
    background: #b90101;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.offer-text {
    flex: 1;
    font-weight: 500;
}

.countdown {
    display: flex;
    gap: 5px;
    align-items: center;
}

.time-unit {
    background: #b90101;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    min-width: 35px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    color: white;
    opacity: 0.8;
    transition: opacity 0.2s;
    font-size: 16px;
}

.social-icon:hover {
    opacity: 1;
}

.close-offer {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 5px;
}

.close-offer:hover {
    opacity: 1;
}

.mobile-contact-offer {
    display: none;
    align-items: center;
    gap: 8px;
    margin-right: auto;
    font-size: 13px;
}

.mobile-contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.phone-number {
    font-weight: 600;
}

.desktop-social {
    display: flex;
}

.main-header {
    padding: 15px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
    width: auto;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 155, 91, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 18px 20px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: block;
    transition: color 0.3s ease;
    position: relative;
    background: transparent !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: calc(100% - 40px);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #475569;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.nav-icon:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.get-quote-btn {
    background: #007a48;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.get-quote-btn:hover {
    background: linear-gradient(135deg, #00824c, #00693d);
    transform: translateY(-2px);
}

.profile-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007a48;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.mobile-header {
    display: none;
    background: white;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 98%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
}

.mobile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-logo-img {
    height: 25px;
    width: auto;
}

.mobile-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-get-quote-btn {
    background: linear-gradient(135deg, var(--accent), #007a48);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--gray);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-item-mobile.active {
    color: var(--primary);
}

.nav-icon-mobile {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: background 0.2s;
}

.nav-item-mobile.active .nav-icon-mobile {
    background: rgba(0, 67, 112, 0.1);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    backdrop-filter: blur(5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: white;
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
}

.mobile-menu-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-item a {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-item a:hover {
    color: var(--primary);
}