img {
    max-width: 100%;
    height: auto;
}
/* Header Custom CSS - tpp2.mn */


/* Top Header Section */
.top-header {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 3px solid #00026f;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    max-height: 80px;
}

.company-info h1 {
    font-size: 16px;
    font-weight: bold;
    color: #00026f;
    margin: 0;
    line-height: 1.3;
}

.company-info p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    font-size: 24px;
    color: #00026f;
}

.contact-item .contact-info small {
    display: block;
    font-size: 11px;
    color: #999;
}

.contact-item .contact-info span {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.header-search-box {
    position: relative;
}

.header-search-box input {
    width: 180px;
    height: 32px;
    padding: 5px 35px 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
}

.header-search-box input:focus {
    outline: none;
    border-color: #00026f;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: #00026f;
    font-size: 16px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #22248b;
}

.weather-widget {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #00026f;
    font-weight: bold;
}

.weather-widget i {
    font-size: 20px;
}

/* News Ticker */
.news-ticker {
    padding: 8px 0;
}

.news-ticker marquee {
    color: #00026f;
    font-weight: 600;
    font-size: 14px;
}

/* Main Navigation */
.main-navigation {
    background: #00026f;
    padding: 0;
}

.main-navigation .navbar {
    padding: 0;
}

.main-navigation .navbar-nav {
    width: 100%;
}

.main-navigation .nav-item {
    position: relative;
}

.main-navigation .nav-link {
    color: #ffffff !important;
    padding: 20px 30px !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.main-navigation .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 6px;
    background-color: #fff200;
    transition: width 0.3s ease;
}

.main-navigation .nav-link:hover::before,
.main-navigation .nav-link.active::before {
    width: 50%;
}

.main-navigation .dropdown-menu {
    background: #00026f;
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-navigation .dropdown-item {
    padding: 15px 20px;
    font-size: 13px;
    color: #ffffff;
    transition: background 0.3s;
    border-left: 3px solid transparent;
}

.main-navigation .dropdown-item:hover {
    background: #22248b;
    color: #ffffff;
    border-left-color: #fff200;
}

/* Dropend (3rd level dropdown) */
.main-navigation .dropend {
    position: relative;
}

.main-navigation .dropend > .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
}

.main-navigation .dropend .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: 0;
    display: none;
}

.main-navigation .dropend:hover > .dropdown-menu,
.main-navigation .dropend .dropdown-menu.show {
    display: block;
}

.main-navigation .dropdown-menu {
    z-index: 1000;
}

.main-navigation .dropend .dropdown-menu {
    z-index: 1001;
}

.user-button {
    background: #fff200 !important;
    color: #00026f !important;
    font-weight: bold;
    padding: 15px 30px;
    text-transform: uppercase;
    border: none;
    transition: background 0.3s;
    border-radius: 0 !important;
}

.user-button:hover {
    background: #e6d900 !important;
}

/* Mobile Styles */
@media (max-width: 991px) {
    .top-header {
        padding: 10px 0;
    }

    .logo-section img {
        max-height: 60px;
    }

    .company-info h1 {
        font-size: 14px;
    }

    .header-right {
        display: none;
    }

    .main-navigation {
        display: none;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    background: #00026f;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}

.mobile-menu-btn:hover {
    background: #22248b;
}
