/* dispatcher.css — extracted from dispatcher.html (CSP cleanup) */

:root {
  --bg: #071029;
  --card: rgba(255,255,255,.04);
  --accent: #06b6d4;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --radius: 14px;
  --bg-dark: #0a122a;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', 'Inter', sans-serif; }
a { text-decoration: none; color: inherit; }

body {
  background: linear-gradient(180deg, #071029, #07192b);
  color: var(--text);
  font-family: 'Poppins', 'Inter', sans-serif;
  overflow-x: hidden;
}

/* ============================================================
   OVERLAY (mobil menyu uchun fon) — index.html bilan bir xil
============================================================ */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 1040; opacity: 0; pointer-events: none; transition: 0.4s;
}
.overlay.show { opacity: 1; pointer-events: all; }

/* ============================================================
   HEADER (SMART SCROLL & FLOAT BAR) — index.html bilan bir xil
============================================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease;
  will-change: transform;
}
.topbar.is-scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 188, 212, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.topbar.is-hidden {
  transform: translateY(-100%);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  width: 100%;
  padding: 0 20px;
  position: relative;
}

/* BRAND LOGO */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  z-index: 10;
}
.brand-mark {
  background: var(--accent);
  color: #0b0f19;
  font-weight: 900;
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.45);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-size: 18px;
  letter-spacing: 1px;
  color: #ffffff;
}
.brand-text small {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
}

/* DESKTOP NAVIGATION */
.desktop-nav {
  display: none;
  flex: 1 1 auto;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

@media (min-width: 1025px) {
  .desktop-nav {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: static;
  }
  .desktop-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
  }
  .desktop-nav-list li {
    margin: 0;
    position: relative;
  }
  .desktop-nav-list .nav-link {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
    padding: 6px 7px;
    position: relative;
    letter-spacing: 0.02em;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .desktop-nav-list .nav-link-icon { display: none; }
  .desktop-nav-list .nav-link:hover,
  .desktop-nav-list .nav-link.active {
    color: #ffffff;
    background: rgba(0, 188, 212, 0.12);
    transform: translateY(-1px);
  }
  .desktop-nav-list .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 3px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #0ea5e9);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }
  .desktop-nav-list .nav-link:hover::after,
  .desktop-nav-list .nav-link.active::after {
    transform: scaleX(1);
  }
}

/* ACTIONS (SEARCH & SWITCHER) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* SEARCH INPUT */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px 12px 6px 36px;
  transition: all 0.3s ease;
  color: var(--muted);
}
.nav-search i {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.3s ease;
}
.nav-search input {
  border: none;
  background: transparent;
  color: #ffffff;
  outline: none;
  font-size: 13px;
  width: 130px;
  transition: width 0.3s ease;
  font-family: "Poppins", sans-serif;
}
.nav-search input::placeholder {
  color: var(--muted);
}
.nav-search:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}
.nav-search:focus-within i {
  color: var(--accent);
}
.nav-search:focus-within input {
  width: 170px;
}

.nav-signin {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(0, 188, 212, 0.3);
  transition: all 0.3s ease;
  background: rgba(0, 188, 212, 0.05);
}
.nav-signin:hover {
  background: var(--accent);
  color: #0b0f19;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; z-index: 1101; position: relative;
  width: 34px; min-height: 36px; margin-left: 12px;
  background: transparent; border: none; padding: 4px;
  align-items: stretch; justify-content: center;
  appearance: none; -webkit-appearance: none;
}
.menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.menu-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--accent); border-radius: 3px; transition: 0.4s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 1025px) {
  .menu-toggle { display: none !important; }
}

/* ============================================================
   DESKTOP NAV — ICON LINKS + Ko'proq DROPDOWN
============================================================ */
.nav-shell {
  max-width: 1760px;
  padding: 0 24px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-link-icon {
  font-size: 13px;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-link:hover .nav-link-icon,
.nav-link.active .nav-link-icon {
  transform: scale(1.2);
}

.desktop-nav-list li {
  position: relative;
}

.nav-more-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-more-chevron {
  font-size: 10px;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.nav-more-btn[aria-expanded="true"] .nav-more-chevron {
  transform: rotate(180deg);
}

.nav-more-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: rgba(10, 14, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 188, 212, 0.18);
  border-radius: 18px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 2000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}
.nav-more-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0, 188, 212, 0.3);
}
.nav-more-item:hover .nav-more-dropdown,
.nav-more-item .nav-more-btn[aria-expanded="true"] ~ .nav-more-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-more-item-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #94a3b8;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.nav-more-item-link i {
  width: 18px;
  text-align: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}
.nav-more-item-link:hover {
  background: rgba(0, 188, 212, 0.1);
  color: #fff;
  transform: translateX(3px);
}
.nav-phone-link {
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-phone-link:hover {
  background: rgba(0, 188, 212, 0.12) !important;
}
.nav-more-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 6px 8px;
  border-radius: 1px;
}
.nav-more-signin {
  background: rgba(0, 188, 212, 0.08);
  color: var(--accent) !important;
  font-weight: 700;
  margin-top: 2px;
  border: 1px solid rgba(0, 188, 212, 0.2);
}
.nav-more-signin:hover {
  background: var(--accent) !important;
  color: #0b0f19 !important;
  border-color: var(--accent);
  transform: none;
}
.nav-more-signin i { color: inherit !important; }

@media (min-width: 1560px) {
  .desktop-nav-list { gap: clamp(4px, 1vw, 16px); }
  .desktop-nav-list .nav-link { font-size: 14px; padding: 8px 12px; }
  .desktop-nav-list .nav-link-icon { display: inline-block; }
}

/* nav#menu dizayni shared-ui.css dan keladi — barcha sahifalarda bir xil. */

/* ================= MAIN ================= */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto 60px;
  padding-top: 130px;
}

.dispatcher-header {
  text-align: center;
  margin-bottom: 60px;
}
.dispatcher-header h1 {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 15px;
  font-weight: 800;
}
.dispatcher-header p {
  max-width: 700px;
  margin: auto;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Cards */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.benefit {
  background: var(--card);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  transition: .3s;
  position: relative;
  overflow: hidden;
}
.benefit::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #0891b2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.benefit:hover::before { transform: scaleX(1); }
.benefit:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(255,255,255,0.07);
}
.benefit h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 700;
}
.benefit p { color: var(--muted); line-height: 1.7; font-size: 14px; }

/* Contact */
.contact {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(6,182,212,.1), rgba(59,130,246,.1));
  border: 1px dashed var(--accent);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
}
.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 800;
}
.contact p {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 15px;
}
.call {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: #071029;
  padding: 18px 40px;
  border-radius: 12px;
  font-weight: 800;
  transition: .3s;
  font-family: 'Poppins', sans-serif;
}
.call:hover { transform: scale(1.05); box-shadow: 0 10px 20px rgba(6,182,212,.3); }

/* ================= MOBILE ================= */
@media (max-width: 1024px) {
  .nav-search { display: none; }
}
@media (max-width: 768px) {
  .dispatcher-header h1 { font-size: 2.2rem; }
  .contact { padding: 30px 20px; }
  .container { padding-top: 110px; }
}
@media (max-width: 575px) {
  .dispatcher-header h1 { font-size: 1.8rem; }
  .container { width: 95%; margin: 0 auto 40px; padding-top: 100px; }
}

/* ============================================================
   NAVBAR & HAMBURGER — 480px / 360px / 320px GACHA moslashuv
   (oquv.html bilan bir xil — barcha sahifalarda qatiy bir xil)
============================================================ */
@media (max-width: 480px) {
  .nav-shell { padding: 0 14px; height: 64px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 8px; letter-spacing: 1.5px; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; border-radius: 7px; }
  .menu-toggle { width: 30px; margin-left: 8px; }
}
@media (max-width: 360px) {
  .nav-shell { padding: 0 10px; height: 60px; }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 7px; letter-spacing: 1px; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; }
  .nav-actions { gap: 8px; }
  .lang-switcher { flex: 0 0 96px; width: 96px; max-width: 96px; font-size: 11px; }
  .nav-signin { display: none; }
  .menu-toggle { width: 28px; margin-left: 4px; }
}
@media (max-width: 320px) {
  .nav-shell { padding: 0 8px; height: 58px; }
  .brand-text strong { font-size: 13px; }
  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .lang-switcher { flex: 0 0 88px; width: 88px; max-width: 88px; font-size: 10px; }
  .menu-toggle { width: 26px; }
}
