/* =====================================================================
   NAVBAR  -  assets/css/navbar.css
   Ek file, cache hoti hai. Koi @import nahi, koi hidden-attribute hack nahi.
===================================================================== */

:root {
    --arziyat-red: #e60000;
    --arziyat-red-dark: #b90000;
    --arziyat-dark: #1f2937;
    --arziyat-muted: #6b7280;
    --arziyat-soft: #f8fafc;
    --arziyat-sidebar-width: 360px;
    --nav-font: 'Ethnocentric', 'Orbitron', sans-serif;
    --plain-font: Arial, sans-serif;
}

#arziyat-header,
#arziyat-header *,
#arziyat-header *::before,
#arziyat-header *::after { box-sizing: border-box; }

/* ---------- Header ---------- */
#arziyat-header { position: relative; width: 100%; z-index: 9999; }
#arziyat-header.arziyat-header-home { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.arziyat-header-inner { background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }

/* Theme ki sticky classes header ko hilane na payein */
#arziyat-header.nav-fixed, #arziyat-header.header-scroll, #arziyat-header.fixed-top,
#arziyat-header.sticky, #arziyat-header.is-sticky {
    position: relative !important; top: auto !important; left: auto !important; right: auto !important;
    transform: none !important; animation: none !important;
}
#arziyat-header.arziyat-header-home.nav-fixed, #arziyat-header.arziyat-header-home.header-scroll,
#arziyat-header.arziyat-header-home.fixed-top, #arziyat-header.arziyat-header-home.sticky,
#arziyat-header.arziyat-header-home.is-sticky {
    position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important;
}

.arziyat-header-container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 22px; }
.arziyat-topbar { display: grid; grid-template-columns: minmax(270px, 1fr) auto minmax(270px, 1fr); align-items: center; gap: 28px; height: 96px; }

/* ---------- Brand + country ---------- */
.arziyat-brand-area { display: flex; align-items: center; justify-self: start; }
.arziyat-logo-link { display: flex; align-items: center; text-decoration: none; }
.arziyat-logo { display: block; width: 225px; max-width: 225px; height: auto; max-height: 68px; object-fit: contain; }

.arziyat-country { position: relative; margin-left: 15px; z-index: 10050; }
.arziyat-country-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 49px; height: 42px; padding: 5px 9px;
    border: 1px solid #e1e5ea; border-radius: 999px; background: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    transition: border-color .2s, box-shadow .2s;
}
.arziyat-country-button:hover { border-color: var(--arziyat-red); box-shadow: 0 7px 18px rgba(230, 0, 0, .10); }
.arziyat-country-button img { width: 21px; height: 21px; border-radius: 50%; object-fit: cover; }
.arziyat-country-button i { color: var(--arziyat-muted); font-size: 9px; transition: transform .2s; }
.arziyat-country.is-open .arziyat-country-button i { transform: rotate(180deg); }

.arziyat-country-dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; z-index: 10060; display: none; width: 285px; padding: 10px;
    border: 1px solid #ececec; border-radius: 13px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}
.arziyat-country.is-open .arziyat-country-dropdown { display: block; }

.arziyat-country-search input, .arziyat-mobile-country-search {
    width: 100%; height: 40px; margin-bottom: 7px; padding: 0 11px; border: 1px solid #e5e7eb; border-radius: 8px;
    outline: 0; background: #fff; font: 12px var(--plain-font); text-transform: none; letter-spacing: normal;
}
.arziyat-country-list, .arziyat-mobile-country-list { max-height: 280px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.arziyat-country-item { margin: 2px 0; }
.arziyat-country-option {
    display: flex; align-items: center; gap: 8px; width: 100%; min-height: 37px; padding: 8px; border: 0; border-radius: 8px;
    background: transparent; color: #4b5563; cursor: pointer; text-align: left; font: 400 12px var(--plain-font); text-transform: none; letter-spacing: normal;
}
.arziyat-country-option:hover { background: #fff3f3; color: var(--arziyat-red); }
.arziyat-country-option img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* ---------- Desktop menu ---------- */
.arziyat-desktop-center { display: flex; align-items: center; justify-content: center; min-width: 0; }
.arziyat-desktop-menu { display: flex; align-items: center; justify-content: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.arziyat-menu-item { position: relative; }

.arziyat-menu-link {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; padding: 0 15px;
    border: 0; background: transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
    font: 800 13px var(--nav-font); text-transform: uppercase; letter-spacing: 1.25px; transition: color .2s;
}
.arziyat-header-home .arziyat-menu-link { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .22); }
.arziyat-header-inner .arziyat-menu-link { color: var(--arziyat-dark); }
.arziyat-menu-link i { font-size: 10px; }
.arziyat-header-inner .arziyat-menu-link:hover { color: var(--arziyat-red); }
.arziyat-menu-link:hover { text-decoration: none; }

/* ---------- Mega menu ---------- */
.arziyat-mega-item { position: static; }
.arziyat-mega-menu {
    position: absolute; top: calc(100% - 6px); left: 50%; z-index: 99999; width: min(1180px, calc(100vw - 40px));
    border: 1px solid #ececec; border-radius: 16px; background: #fff; box-shadow: 0 22px 55px rgba(0, 0, 0, .15);
    opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -8px);
    transition: opacity .15s, transform .15s, visibility 0s .15s;
}
/* Hover aur link ke beech ka khaali hissa (menu band na ho) */
.arziyat-mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }

.arziyat-mega-item.mega-open .arziyat-mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
@media (hover: hover) and (min-width: 992px) {
    .arziyat-mega-item:hover .arziyat-mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
}

.arziyat-mega-inner { padding: 27px; }
.arziyat-mega-title {
    margin-bottom: 21px; padding-bottom: 14px; border-bottom: 2px solid var(--arziyat-red);
    color: #222; font: 800 15px var(--nav-font); text-transform: uppercase; letter-spacing: 1px;
}
.arziyat-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.arziyat-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arziyat-mega-column, .arziyat-featured-column { min-width: 0; }

.arziyat-mega-column h5, .arziyat-featured-column h5 {
    margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid #e7eaee;
    color: var(--arziyat-red); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.arziyat-mega-column h5 small { display: block; margin-top: 3px; color: #777; font: 400 8px var(--plain-font); text-transform: none; letter-spacing: normal; }

.arziyat-mega-column > a, .arziyat-city-scroll a {
    display: flex; align-items: center; gap: 9px; min-height: 36px; padding: 5px 0; color: #4b5563; text-decoration: none;
    font: 700 9px var(--nav-font); text-transform: uppercase; letter-spacing: .7px; transition: color .2s, padding-left .2s;
}
.arziyat-mega-column > a:hover, .arziyat-city-scroll a:hover { padding-left: 4px; color: var(--arziyat-red); }
.arziyat-mega-column a i { width: 18px; color: #9ca3af; }
.arziyat-city-scroll { max-height: 235px; overflow-y: auto; }
.arziyat-empty-state { display: block; color: #9ca3af; font: 10px var(--plain-font); }

.arziyat-featured-column { padding: 14px; border-radius: 12px; background: #fff5f5; }
.arziyat-featured-card { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; padding: 9px; border: 1px solid #f1f1f1; border-radius: 9px; background: #fff; }
.arziyat-featured-icon { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; min-width: 37px; border-radius: 8px; color: #fff; }
.arziyat-featured-icon.red { background: linear-gradient(135deg, #e60000, #a80000); }
.arziyat-featured-icon.green { background: linear-gradient(135deg, #10b981, #047857); }
.arziyat-featured-icon.blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.arziyat-featured-icon.purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.arziyat-featured-info strong { display: block; color: #222; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.arziyat-featured-info small { display: block; margin-top: 2px; color: #8a8a8a; font: 8px var(--plain-font); text-transform: none; letter-spacing: normal; }

/* ---------- Right area ---------- */
.arziyat-right-area { display: flex; align-items: center; justify-content: flex-end; gap: 8px; justify-self: end; min-width: 0; }

.arziyat-login-link, .arziyat-account-button {
    display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px; border: 0; background: transparent;
    cursor: pointer; text-decoration: none; white-space: nowrap; font: 800 11px var(--nav-font); text-transform: uppercase; letter-spacing: 1px;
}
.arziyat-header-home .arziyat-login-link, .arziyat-header-home .arziyat-account-button { color: #fff; }
.arziyat-header-inner .arziyat-login-link, .arziyat-header-inner .arziyat-account-button { color: var(--arziyat-dark); }
.arziyat-login-link:hover { color: var(--arziyat-red); text-decoration: none; }

.arziyat-agent-button {
    display: flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 18px; border-radius: 8px;
    background: linear-gradient(135deg, #e60000, #b70000); color: #fff; text-decoration: none; white-space: nowrap;
    font: 800 10px var(--nav-font); text-transform: uppercase; letter-spacing: .8px; transition: transform .2s, box-shadow .2s;
}
.arziyat-agent-button:hover { color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(230, 0, 0, .20); }

.arziyat-account { position: relative; }
.arziyat-account-dropdown {
    position: absolute; top: calc(100% + 8px); right: 0; display: none; min-width: 185px; padding: 7px;
    border: 1px solid #ececec; border-radius: 10px; background: #fff; box-shadow: 0 18px 35px rgba(0, 0, 0, .14);
}
.arziyat-account.account-open .arziyat-account-dropdown { display: block; }
.arziyat-account-dropdown a { display: block; padding: 10px; border-radius: 7px; color: #444; text-decoration: none; font: 700 10px var(--nav-font); text-transform: uppercase; }
.arziyat-account-dropdown a:hover { background: #fff3f3; color: var(--arziyat-red); }

/* ---------- Language switcher ---------- */
.arziyat-language-switcher { position: relative; z-index: 30; }
.arziyat-language-trigger {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid rgba(17, 17, 17, .12);
    border-radius: 11px; background: #fff; color: #222; cursor: pointer; list-style: none; font-size: 11px; font-weight: 800;
    box-shadow: 0 5px 16px rgba(17, 17, 17, .06);
}
.arziyat-language-trigger::-webkit-details-marker { display: none; }
.arziyat-language-trigger i:first-child { color: #e30613; font-size: 15px; }
.arziyat-language-trigger .fa-chevron-down { color: #777; font-size: 9px; transition: transform .2s; }
.arziyat-language-switcher[open] .fa-chevron-down { transform: rotate(180deg); }
.arziyat-language-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 142px; padding: 6px; border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 12px; background: #fff; box-shadow: 0 16px 35px rgba(17, 17, 17, .14);
}
.arziyat-language-link { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 0 10px; border-radius: 8px; color: #444; font-size: 11px; font-weight: 700; text-decoration: none; }
.arziyat-language-link:hover { background: #fff1f2; color: #b4000b; text-decoration: none; }
.arziyat-language-link.active { background: #e30613; color: #fff; }
.arziyat-language-link i { font-size: 11px; }

.arziyat-mobile-language { width: 100%; margin: 0 0 18px; }
.arziyat-mobile-language .arziyat-language-trigger { width: 100%; }
.arziyat-mobile-language .arziyat-language-trigger .fa-chevron-down { margin-left: auto; }
.arziyat-mobile-language .arziyat-language-menu { position: static; width: 100%; margin-top: 7px; background: #fafafa; box-shadow: none; }

/* ---------- Mobile trigger ---------- */
.arziyat-mobile-trigger {
    display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; min-width: 44px;
    margin-left: auto; padding: 0; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer; z-index: 100100;
}
.arziyat-mobile-trigger span { width: 21px; height: 2px; border-radius: 999px; background: var(--arziyat-dark); transition: transform .25s, opacity .2s, background .2s; }
.arziyat-mobile-trigger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--arziyat-red); }
.arziyat-mobile-trigger.is-active span:nth-child(2) { opacity: 0; }
.arziyat-mobile-trigger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--arziyat-red); }

/* ---------- Mobile sidebar ---------- */
.arziyat-mobile-overlay {
    position: fixed; inset: 0; z-index: 100000; background: rgba(15, 23, 42, .48);
    opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s;
}
.arziyat-mobile-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

.arziyat-mobile-sidebar, .arziyat-sidebar-submenu {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(var(--arziyat-sidebar-width), 89vw); max-width: 365px;
    background: #fff; visibility: hidden; pointer-events: none; transform: translate3d(-105%, 0, 0);
    box-shadow: 18px 0 45px rgba(0, 0, 0, .18); transition: transform .28s cubic-bezier(.4, 0, .2, 1), visibility .28s;
}
.arziyat-mobile-sidebar { display: flex; flex-direction: column; z-index: 100050; }
.arziyat-sidebar-submenu { z-index: 100100; }
.arziyat-mobile-sidebar.is-open, .arziyat-sidebar-submenu.is-open { visibility: visible; pointer-events: auto; transform: translate3d(0, 0, 0); }

.arziyat-sidebar-header, .arziyat-sidebar-submenu-header {
    display: flex; align-items: center; flex: 0 0 78px; min-height: 78px; padding: 0 16px; border-bottom: 1px solid #eee; background: #fff;
}
.arziyat-sidebar-header { justify-content: space-between; }
.arziyat-sidebar-logo img { width: 150px; max-width: 150px; max-height: 46px; height: auto; object-fit: contain; }
.arziyat-mobile-close {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #e5e7eb;
    border-radius: 9px; background: #fff; color: #222; cursor: pointer; transition: .2s;
}
.arziyat-mobile-close:hover { border-color: var(--arziyat-red); background: var(--arziyat-red); color: #fff; }

.arziyat-sidebar-body { flex: 1 1 auto; min-height: 0; padding: 12px; overflow: hidden auto; -webkit-overflow-scrolling: touch; }

.arziyat-mobile-country { margin-bottom: 10px; padding: 12px; border: 1px solid #edf0f3; border-radius: 10px; background: var(--arziyat-soft); }
.arziyat-mobile-country-title { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--arziyat-muted); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.arziyat-mobile-country-trigger {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 42px; padding: 0 9px;
    border: 1px solid #e2e5ea; border-radius: 8px; background: #fff; cursor: pointer;
}
.arziyat-mobile-country-trigger > span { display: flex; align-items: center; gap: 8px; font: 11px var(--plain-font); }
.arziyat-mobile-country-trigger img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.arziyat-mobile-country-panel { display: none; margin-top: 8px; }
.arziyat-mobile-country-panel.is-open { display: block; }
.arziyat-mobile-country-list { max-height: 190px; margin-top: 6px; }

.arziyat-sidebar-menu { display: flex; flex-direction: column; gap: 4px; }
.arziyat-sidebar-menu-trigger, .arziyat-sidebar-link {
    display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 13px;
    border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--arziyat-dark); cursor: pointer;
    text-decoration: none; font: 800 10px var(--nav-font); text-transform: uppercase; letter-spacing: 1px;
}
.arziyat-sidebar-menu-trigger:hover, .arziyat-sidebar-link:hover { border-color: #ffe1e1; background: #fff4f4; color: var(--arziyat-red); text-decoration: none; }
.arziyat-sidebar-menu-trigger > span, .arziyat-sidebar-link > span { display: flex; align-items: center; gap: 10px; }
.arziyat-sidebar-menu-trigger > span > i, .arziyat-sidebar-link > span > i { width: 17px; color: #8d949c; text-align: center; }
.arziyat-sidebar-menu-trigger > i { font-size: 9px; transition: transform .2s; }
.arziyat-sidebar-menu-trigger.is-active > i { transform: rotate(90deg); color: var(--arziyat-red); }

.arziyat-sidebar-back { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: #222; cursor: pointer; font: 800 10px var(--nav-font); text-transform: uppercase; letter-spacing: 1px; }
.arziyat-sidebar-back i { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: #f5f5f5; }
.arziyat-sidebar-submenu-body { height: calc(100% - 78px); padding: 14px 12px 22px; overflow-y: auto; }

.arziyat-sidebar-group { margin-bottom: 16px; padding: 12px; border: 1px solid #eef1f4; border-radius: 10px; background: var(--arziyat-soft); }
.arziyat-sidebar-group h4 { margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #e7eaee; color: var(--arziyat-red); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.arziyat-sidebar-group a { display: flex; align-items: center; gap: 8px; min-height: 38px; border-bottom: 1px solid #eceff1; color: #4b5563; text-decoration: none; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.arziyat-sidebar-group a:last-child { border-bottom: 0; }
.arziyat-sidebar-group a:hover { color: var(--arziyat-red); }
.arziyat-sidebar-group a i { width: 17px; color: #9ca3af; }

.arziyat-sidebar-agent {
    display: flex; align-items: center; justify-content: space-between; min-height: 49px; margin-top: 8px; padding: 0 13px; border-radius: 10px;
    background: linear-gradient(135deg, #e60000, #b60000); color: #fff; text-decoration: none; font: 800 9px var(--nav-font); text-transform: uppercase;
}
.arziyat-sidebar-agent:hover { color: #fff; text-decoration: none; }

body.arziyat-sidebar-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .arziyat-header-container { padding: 0 12px; }
    .arziyat-topbar { grid-template-columns: minmax(235px, 1fr) auto minmax(235px, 1fr); gap: 12px; }
    .arziyat-logo { width: 190px; max-width: 190px; }
    .arziyat-menu-link { padding: 0 9px; font-size: 11px; }
}
@media (min-width: 992px) {
    .arziyat-mobile-trigger, .arziyat-mobile-sidebar, .arziyat-mobile-overlay { display: none !important; }
}
@media (max-width: 991px) {
    .arziyat-topbar { display: flex; align-items: center; height: 76px; }
    .arziyat-desktop-center, .arziyat-right-area { display: none; }
    .arziyat-brand-area { min-width: 0; }
    .arziyat-logo { width: 140px; max-width: 140px; max-height: 50px; }
    .arziyat-country { margin-left: 7px; }
    .arziyat-country-button { width: 41px; height: 39px; }
    .arziyat-mobile-trigger { display: flex; }
}
@media (max-width: 576px) {
    .arziyat-header-container { padding: 0 10px; }
    .arziyat-topbar { height: 74px; }
    .arziyat-logo { width: 128px; max-width: 128px; max-height: 46px; }
    .arziyat-mobile-trigger { width: 42px; height: 42px; min-width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    #arziyat-header * { transition-duration: .01ms !important; }
}