/* Samarqand viloyati Murojaatlar Portali - Asosiy stillar */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-dark: #0a192f;
  --primary-blue: #0f3b6c;
  --primary-light: #1e5ba3;
  --accent-gold: #c99738;
  --accent-gold-light: #fae8be;
  --accent-azure: #0ea5e9;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #3b82f6;
  --info-bg: #eff6ff;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* --- NAVIGATSIYA HEADER --- */
.header-top {
  background: linear-gradient(135deg, #09172c 0%, #0d284a 100%);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-info {
  display: flex;
  gap: 20px;
}
.top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-links a:hover {
  color: var(--accent-gold);
}

.main-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.emblem-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f3b6c 0%, #1e5ba3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(15, 59, 108, 0.25);
  border: 2px solid var(--accent-gold);
}
.emblem-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(15, 59, 108, 0.28));
  transition: transform var(--transition-fast);
}
.logo-group:hover .emblem-img {
  transform: scale(1.08);
}
.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}
.logo-text p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-blue);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tugmalar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #174b88 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 59, 108, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0d325c 0%, #134076 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(15, 59, 108, 0.35);
}
.btn-gold {
  background: linear-gradient(135deg, #c99738 0%, #dfb055 100%);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(201, 151, 56, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b88628 0%, #d4a345 100%);
  transform: translateY(-1.5px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(15, 59, 108, 0.04);
}
.btn-tg {
  background: #24A1DE;
  color: #ffffff;
}
.btn-tg:hover {
  background: #1d8bc0;
  transform: translateY(-1.5px);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.12), transparent 45%),
              linear-gradient(135deg, #07172c 0%, #0d284e 50%, #0a203f 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 151, 56, 0.15);
  border: 1px solid rgba(201, 151, 56, 0.4);
  color: var(--accent-gold-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, #fae8be 0%, #c99738 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 35px;
  line-height: 1.7;
  max-width: 580px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Tezkor Qidiruv / Track Card */
.hero-quick-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}
.quick-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}
.quick-card-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 20px;
}
.quick-search-box {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 24px;
}
.quick-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}
.quick-search-box input::placeholder {
  color: #94a3b8;
}

.telegram-connect-banner {
  background: rgba(36, 161, 222, 0.12);
  border: 1px dashed rgba(36, 161, 222, 0.5);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tg-icon-box {
  width: 44px;
  height: 44px;
  background: #24A1DE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  flex-shrink: 0;
}
.tg-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.tg-text p {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* --- STATS OVERVIEW CARDS --- */
.stats-strip {
  margin-top: -35px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}
.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-yellow { background: #fffbeb; color: #d97706; }
.icon-green { background: #ecfdf5; color: #059669; }
.icon-purple { background: #f5f3ff; color: #7c3aed; }
.stat-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}
.stat-info p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px;
}
.section-tag {
  display: inline-block;
  color: var(--primary-blue);
  background: rgba(15, 59, 108, 0.08);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

/* --- FORM SECTION --- */
.form-section {
  padding: 40px 0 80px;
}
.form-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.form-card-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #15457f 100%);
  color: #ffffff;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.form-card-header-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-gold);
}
.form-card-header-text h3 {
  font-size: 1.45rem;
  font-weight: 700;
}
.form-card-header-text p {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.form-body {
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 22px;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 8px;
}
.form-label span.req {
  color: var(--danger);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-main);
  transition: all 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(15, 59, 108, 0.12);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.file-upload-box {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s;
}
.file-upload-box:hover {
  border-color: var(--primary-blue);
  background: #f1f5f9;
}
.file-upload-box input {
  display: none;
}
.file-upload-icon {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 8px;
}
.file-upload-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.file-upload-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 6px;
}

/* Alert Boxes */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.alert-success {
  background: var(--success-bg);
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.alert-danger {
  background: var(--danger-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}
.alert-info {
  background: var(--info-bg);
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Modallar */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}
.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 600px;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  overflow: hidden;
}
.modal-backdrop.active .modal-box {
  transform: translateY(0);
}
.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-body {
  padding: 28px;
}
.modal-footer {
  padding: 16px 28px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Success Code Popup */
.success-code-display {
  text-align: center;
  padding: 20px 0;
}
.success-check-icon {
  width: 72px;
  height: 72px;
  background: #d1fae5;
  color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
}
.code-badge-box {
  background: #eff6ff;
  border: 2px dashed #3b82f6;
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}
.code-badge-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
}
.code-badge-box strong {
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--primary-blue);
  font-family: monospace;
}

/* --- FOOTER --- */
.footer {
  background: #07172c;
  color: #94a3b8;
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--accent-gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- WORKFLOW / SAYT ISHLASH BOSQICHLARI --- */
.workflow-section {
  padding: 65px 0 80px;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 36px;
}
.workflow-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px 22px 24px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 18px rgba(15, 59, 108, 0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-azure));
  opacity: 0;
  transition: opacity 0.3s;
}
.workflow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px -5px rgba(15, 59, 108, 0.14);
  border-color: rgba(14, 165, 233, 0.4);
}
.workflow-card:hover::before {
  opacity: 1;
}
.workflow-watermark {
  position: absolute;
  top: 10px;
  right: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #f1f5f9;
  user-select: none;
  pointer-events: none;
  transition: color 0.3s;
}
.workflow-card:hover .workflow-watermark {
  color: #e2e8f0;
}
.workflow-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.12);
}
.wf-icon-1 { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); color: #ffffff; }
.wf-icon-2 { background: linear-gradient(135deg, #0f3b6c 0%, #1e5ba3 100%); color: #fae8be; }
.wf-icon-3 { background: linear-gradient(135deg, #059669 0%, #34d399 100%); color: #ffffff; }
.wf-icon-4 { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); color: #ffffff; }

.workflow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}
.wf-badge-1 { background: #e0f2fe; color: #0284c7; }
.wf-badge-2 { background: #fef3c7; color: #b45309; }
.wf-badge-3 { background: #ecfdf5; color: #047857; }
.wf-badge-4 { background: #f5f3ff; color: #6d28d9; }

.workflow-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}
.workflow-card-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.workflow-result-box {
  background: #f8fafc;
  border-left: 3px solid #0284c7;
  padding: 10px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.wf-card-2 .workflow-result-box { border-left-color: #c99738; }
.wf-card-3 .workflow-result-box { border-left-color: #10b981; }
.wf-card-4 .workflow-result-box { border-left-color: #8b5cf6; }

/* Subsidiyalar va Sohalar Mini Chips */
.workflow-categories-bar {
  margin-top: 36px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 22px 28px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.wf-bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f3b6c;
}
.wf-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
  text-decoration: none;
}
.wf-chip:hover {
  background: #0f3b6c;
  color: #ffffff;
  border-color: #0f3b6c;
  transform: translateY(-2px);
}

/* --- DAVLAT SUBSIDIYALARI VA YOSHLAR DAFTARI IMTIYOZLARI (VMQ-312) --- */
.privileges-section {
  padding: 70px 0 85px;
  background: #ffffff;
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.privilege-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.privilege-main-card {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.privilege-main-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 165, 233, 0.4);
  background: #ffffff;
}
.privilege-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}
.badge-ielts { background: #e0f2fe; color: #0284c7; }
.badge-study { background: #fef3c7; color: #b45309; }
.badge-daftari { background: #ecfdf5; color: #047857; }

.privilege-main-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 16px;
  line-height: 1.35;
}
.privilege-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: #334155;
  flex: 1;
}
.privilege-details-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
}
.privilege-details-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.privilege-details-list span.param-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.privilege-details-list strong.param-value {
  color: #0f172a;
  font-weight: 600;
  line-height: 1.45;
}

/* 12 ta Imtiyoz turlari panjarasi */
.privilege-12-header {
  background: linear-gradient(135deg, #09172c 0%, #0f3b6c 100%);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  box-shadow: 0 10px 25px rgba(15, 59, 108, 0.15);
}
.privilege-12-title h3 {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privilege-12-title p {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-top: 4px;
}
.privilege-12-badge {
  background: rgba(201, 151, 56, 0.2);
  border: 1px solid rgba(201, 151, 56, 0.4);
  color: #fae8be;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
}

.privileges-12-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.privilege-item-card {
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.privilege-item-card:hover {
  background: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 59, 108, 0.08);
}
.p-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.p-item-num-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.p-icon-green { background: #ecfdf5; color: #059669; }
.p-icon-blue { background: #eff6ff; color: #0284c7; }
.p-icon-purple { background: #f5f3ff; color: #7c3aed; }
.p-icon-amber { background: #fffbeb; color: #d97706; }

.p-item-category {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #475569;
}
.p-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}
.p-item-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.p-item-footer {
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #047857;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .privilege-top-grid { grid-template-columns: 1fr; }
  .privileges-12-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-body { padding: 24px; }
  .hero-title { font-size: 2.1rem; }
  .top-info { display: none; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-categories-bar { flex-direction: column; align-items: flex-start; }
  .privileges-12-grid { grid-template-columns: 1fr; }
}
