/* top red banner line (مشابه اسکرین‌شات) */
.top-emergency-bar {
    background-color: #be321f;
    color: white;
    font-size: 0.85rem;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.3px;
}
/* header main area - white background, shadow */
.header-main {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #e0e0e0;
}
.logo-area img {
    max-height: 70px;
    width: auto;
}
/*.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-right: 12px;
    border-right: 2px solid #9b1f2c;
    padding-right: 15px;
    line-height: 1.3;
}*/
.logo-text small {
    font-size: 0.7rem;
    color: #6c757d;
    display: block;
    font-weight: normal;
}
.ministry-title {
    font-size: 0.9rem;
    color: #2c3e50;
    margin-top: 5px;
    font-weight: 500;
}
.slogan-header {
    background-color: #eef2f7;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    text-align: center;
    color: #0f3241;
    font-weight: 500;
    border-right: 4px solid #be321f;
}
/* navbar styling - mimicking vaja.ir style */
.navbar-custom {
    background-color: #0f3241;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.navbar-custom .navbar-nav .nav-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 18px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    background-color: #0f3241;
    border-bottom-color: #be321f;
    color: #fff;
}
.dropdown-menu-custom {
    background-color: #0f3241;
    border-radius: 0 0 8px 8px;
    border: none;
    margin-top: 0;
}
.dropdown-menu-custom .dropdown-item {
    color: #f1f1f1;
    padding: 8px 20px;
    border-bottom: 1px solid #0f3241;
}
.dropdown-menu-custom .dropdown-item:hover {
    background-color: #be321f;
    color: white;
}
.btn-coordination {
    background-color: #be321f;
    color: white;
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 10px;
    transition: 0.2s;
    border: none;
}
.btn-coordination:hover {
    background-color: #be321f;
    color: white;
}
/* responsive tweaks */
@media (max-width: 992px) {
    .logo-text {
        font-size: 1rem;
        padding-right: 8px;
        margin-right: 6px;
    }
    .logo-area img {
        max-height: 55px;
    }
    .btn-coordination {
        margin: 10px 0 10px 15px;
    }
    .navbar-custom .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}
@media (max-width: 768px) {
    .slogan-header {
        font-size: 0.7rem;
        margin-top: 8px;
    }
    .ministry-title {
        font-size: 0.75rem;
    }
    .logo-text {
        font-size: 0.9rem;
    }
}
/* hamburger icon color */
.navbar-toggler {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

}
.navbar-toggler {
    margin-top: 8px;
    margin-bottom: 8px;
}
/* search icon in navbar right side */
.search-icon {
    color: white;
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
}
.header-contact {
    font-size: 0.75rem;
    color: #0f3241;
}
footer-sim {
    background-color: #eaeef2;
    margin-top: 20px;
    padding: 12px;
    text-align: center;
    font-size: 0.7rem;
}