.top-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 14px;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-top-text {
    color: red;
    font-weight: 500;
}

.header-contact-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-phone,
.header-email {
    display: flex;
    align-items: center;
    gap: 5px;
    color: red;
}

.header-email a {
    color: red;
    text-decoration: none;
}

.header-email a:hover {
    color: #007cba;
}

/* Main Header */
.site-header {
    background:#dc2626;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

/* Site Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.site-title-wrap {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.site-title a {
    color:white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: #007cba;
}

.site-description {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
}

/* Main Navigation - CENTER ALIGNED */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.primary-menu li {
    position: relative;
}

.primary-menu > li > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.primary-menu > li > a:hover {
    color: white;
}

.primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.primary-menu > li > a:hover::after,
.primary-menu > li.current-menu-item > a::after {
    width: 100%;
}

/* Dropdown Menu */
.primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.primary-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-menu .sub-menu li {
    margin: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 8px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.primary-menu .sub-menu a:hover {
    background: #f8f9fa;
    color: white;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* CTA Button */
.cta-button {
    background: #007cba;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #007cba;
}

.cta-button:hover {
    background: transparent;
    color: #007cba !important;
}

/* Header Search */
.header-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: #333333;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.search-toggle:hover {
    color: #007cba;
}

.search-form-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-search:hover .search-form-wrap {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-form-wrap .search-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.toggle-bar {
    width: 25px;
    height: 3px;
    background: #333333;
    transition: all 0.3s ease;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu-panel.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #333333;
    cursor: pointer;
    padding: 5px;
}

.mobile-navigation {
    padding: 20px;
}

.mobile-primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-primary-menu li {
    margin-bottom: 10px;
}

.mobile-primary-menu a {
    display: block;
    padding: 10px 0;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f8f9fa;
    transition: color 0.3s ease;
}

.mobile-primary-menu a:hover {
    color: #007cba;
}

.mobile-contact-info {
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-phone,
.mobile-email {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #495057;
}

.mobile-phone a,
.mobile-email a {
    color: #495057;
    text-decoration: none;
}

.mobile-phone a:hover,
.mobile-email a:hover {
    color: #007cba;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333333;
    cursor: pointer;
    padding: 5px;
}

.search-overlay .search-form {
    display: flex;
    gap: 10px;
}

.search-overlay .search-field {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-overlay .search-submit {
    background: #007cba;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.search-overlay .search-submit:hover {
    background: #005a87;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .site-header {
        height: 70px;
    }
    
    .primary-menu {
        gap: 20px;
    }
    
    .main-navigation {
        margin: 0 20px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .site-logo img {
        max-height: 45px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contact-info {
        justify-content: center;
    }
    
    .site-header {
        height: 60px;
        padding: 10px 0;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-branding {
        gap: 10px;
    }
    
    .site-title {
        font-size: 18px;
    }
    
    .site-description {
        display: none;
    }
    
    .site-logo img {
        max-height: 40px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-header {
        height: 55px;
    }
    
    .site-title {
        font-size: 16px;
    }
    
    .site-logo img {
        max-height: 35px;
    }
    
    .mobile-menu-panel {
        width: 100%;
    }
}

/* ===== ALTERNATIVE MENU ALIGNMENTS ===== */

/* Left Aligned Menu */
.menu-left .main-navigation {
    justify-content: flex-start;
    margin-left: 40px;
}

/* Right Aligned Menu */
.menu-right .main-navigation {
    justify-content: flex-end;
    margin-right: 40px;
}

/* Space Between Alignment */
.menu-space-between .header-content {
    justify-content: space-between;
}

.menu-space-between .main-navigation {
    flex: 0 1 auto;
    margin: 0;
}


.header-dark .site-header {
    background: #333333;
}

.header-dark .site-title a {
    color: #ffffff;
}

.header-dark .primary-menu > li > a {
    color: #ffffff;
}

.header-dark .search-toggle {
    color: #ffffff;
}

/* Transparent Header */
.header-transparent .site-header {
    background: transparent;
    box-shadow: none;
    position: absolute;
    width: 100%;
}

.header-transparent .site-title a {
    color: #ffffff;
}

.header-transparent .primary-menu > li > a {
    color: #ffffff;
}

.header-transparent .search-toggle {
    color: #ffffff;
}