*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg-dark: #020617;
  --color-surface: #0b1220;
  --color-surface-soft: #0f172a;
  --color-primary: #38bdf8;
  --color-primary-alt: #6366f1;
  --color-text: #e5e7eb;
  --color-muted: #94a3b8;
  --color-border-soft: rgba(148, 163, 184, 0.35);
  --radius-card: 22px;
  --shadow-strong: 0 32px 80px rgba(15, 23, 42, 0.9);
  --shadow-soft: 0 22px 55px rgba(15, 23, 42, 0.55);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #020617;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Container & sections */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  background: transparent;
}

.section-title {
  margin-bottom: 20px;
  text-align: center;
}

.page {
  min-height: calc(100vh - 70px - 70px);
}

.section-page {
  margin-top: 100px;
}

.page-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 0.98rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.page-subtitle.left {
  text-align: left;
}

/* NAVBAR + LOGO */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, #38bdf8, #6366f1, #f97316, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0b1020;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(120deg, #e5e7eb, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  color: #cbd5f5;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-select {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  font-size: 0.9rem;
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  cursor: pointer;
}

.lang-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #e5e7eb;
}

/* HERO (home) */
.hero-home {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

.hero-gradient {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, #22d3ee 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #6366f1 0, transparent 55%),
    radial-gradient(circle at 50% 100%, #f97316 0, transparent 60%),
    linear-gradient(to bottom, #020617 10%, #020617 70%, #020617 100%);
  opacity: 0.55;
  filter: blur(2px);
  animation: gradientShift 28s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 38px 90px rgba(15, 23, 42, 0.95);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.hero-orbit-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -150px;
  border-color: rgba(56, 189, 248, 0.7);
  animation: orbit1 40s linear infinite;
}

.hero-orbit-2 {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: -120px;
  border-color: rgba(99, 102, 241, 0.7);
  animation: orbit2 34s linear infinite;
}

@keyframes gradientShift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-40px, 30px, 0) scale(1.05); }
  100% { transform: translate3d(40px, -30px, 0) scale(1.08); }
}

@keyframes orbit1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes orbit2 {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
  padding: 3.5rem 0;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #cbd5f5;
  margin-bottom: 0.9rem;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-bottom: 1.4rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

/* hero metrics */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.metric {
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: var(--shadow-soft);
}

.metric-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* hero right mini cards */
.hero-badge-block {
  display: grid;
  gap: 1rem;
}

.hero-mini-card {
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.hero-mini-label {
  font-size: 0.8rem;
  color: #e5e7eb;
  margin-bottom: 0.3rem;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease,
    transform 0.08s ease, border-color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-alt));
  color: #0f172a;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.8);
}

.btn.ghost {
  background-color: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.75);
}

.btn.ghost:hover {
  border-color: var(--color-primary);
  background-color: rgba(15, 23, 42, 0.7);
}

.btn.full-width {
  width: 100%;
}

/* GRID & CARDS (about/services) */
.grid {
  display: grid;
  gap: 1.7rem;
}

.about-grid,
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: radial-gradient(circle at 0 0, rgba(148, 163, 184, 0.16), transparent 60%),
    linear-gradient(145deg, var(--color-surface-soft), #020617);
  border-radius: 18px;
  padding: 1.6rem;
  border: 1px solid rgba(30, 64, 175, 0.55);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.card-icon {
  font-size: 1.9rem;
  margin-bottom: 0.8rem;
}

/* Services note */
.info-box {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background-color: rgba(15, 23, 42, 0.92);
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* CONTACT */
.contact-page-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list span:first-child {
  font-weight: 600;
  margin-right: 0.25rem;
}

.contact-list a {
  color: var(--color-primary);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  background: linear-gradient(160deg, var(--color-surface-soft), #020617);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.25rem;
  color: var(--color-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.95rem;
  outline: none;
  background-color: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.3);
  background-color: rgba(15, 23, 42, 0.95);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: #4ade80;
}

/* yangi contact  */

/* ============ CONTACT PAGE (DARK STYLE) ============ */

.contact-page {
  padding-bottom: 3rem;
}

/* form + info layout */
.contact-main .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

/* chap panel – form uchun katta karta */
.contact-form-column {
  padding: 1.8rem 1.6rem 1.6rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.28), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.18), transparent 55%),
    #020617;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 1);
  color: #e5e7eb;
}

.contact-form-column .page-title {
  text-align: center;
  margin-bottom: 0.4rem;
}

.contact-form-column .page-subtitle {
  text-align: center;
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
  color: #cbd5e1;
}

/* form fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.8rem 1rem;
  font: inherit;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  outline: none;
  transition: box-shadow 0.15s ease, border-color 0.15s ease,
              background 0.15s ease, transform 0.08s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #64748b;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 1);
  transform: translateY(-1px);
}

/* submit tugma – faqat effekt, rang sendagi gradientdan qoladi */
.contact-submit {
  margin-top: 0.4rem;
  width: 100%;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.85);
}

.contact-submit:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
}

/* o'ng tomon – info kartalar, dark panellarga mos */
.contact-info-column {
  color: #e5e7eb;
}

.contact-info-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  border-radius: 24px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.25), transparent 55%),
    #020617;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  transition: transform 0.16s ease, box-shadow 0.16s ease,
              border-color 0.16s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 1);
  border-color: rgba(96, 165, 250, 0.95);
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(15, 23, 42, 0.9);
}

.contact-info-label {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-text {
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* LOKATSIYA BLOKI (pastki qism) */
.contact-location {
  padding-top: 0;
}

.contact-location-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.8rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.contact-location-text {
  color: #e5e7eb;
}

.contact-location-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-location-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.9rem;
}

.contact-location-address {
  font-size: 0.95rem;
}

/* Map card – ham dark, ham hoverli */
.contact-map-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.25), transparent 55%),
    #020617;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
              border-color 0.16s ease;
}

.contact-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 1);
  border-color: rgba(96, 165, 250, 0.95);
}

.contact-map-placeholder {
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #cbd5e1;
}

/* Responsivlik */
@media (max-width: 960px) {
  .contact-main .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-column {
    margin-top: 2rem;
  }

  .contact-location-inner {
    grid-template-columns: 1fr;
  }
}



/* FOOTER */

/* ================= FOOTER (DARK) ================= */

.footer {
  margin-top: 3rem;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.15), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(129, 140, 248, 0.18), transparent 55%),
              #020617;
  color: #e5e7eb;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1.1fr 1.1fr 1.1fr;
  gap: 2.5rem;
  padding: 2.2rem 0 1.4rem;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* logo-mark va logo-text – navbar dagi bilan bir xil style ishlatiladi */

.footer-logo-text {
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 260px;
}

/* Columns */
.footer-col-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #e5e7eb;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li + li {
  margin-top: 0.25rem;
}

.footer-list a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-list a:hover {
  color: #e5e7eb;
}

/* Social icons */

.footer-social-row {
  display: flex;
  gap: 0.5rem;
}

.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.45);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: #f9fafb;
}

/* Aniq ranglar */
.social-ig {
  background: radial-gradient(circle at 30% 30%, #f97316, #ec4899, #8b5cf6);
}

.social-tg {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
}

.social-fb {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.social-yt {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
  filter: brightness(1.05);
}

/* Bottom row */

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding: 0.9rem 0 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-bottom-links a {
  text-decoration: none;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* REVEAL animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE NAV */
.nav-lang-mobile {
  display: none;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-text {
    order: 2;
  }

  .hero-badge-block {
    order: 1;
  }

  .hero-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    inset: 70px 0 auto;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.97));
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    flex-direction: column;
    padding: 0.9rem 1.5rem 1.2rem;
    gap: 0.8rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-lang-mobile {
    display: block;
    margin-top: 0.4rem;
  }

  #langSelect {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .contact-page-inner {
    grid-template-columns: 1fr;
  } 
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics {
    flex-direction: column;
  }
}



/* ======== XIZMATLAR SAHIFASI (ESKI USLUBGA YAQIN) ======== */

.services-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.8rem;
}

.services-header .page-title {
  margin-bottom: 0.4rem;
}

.services-header .page-subtitle {
  font-size: 0.98rem;
  opacity: 0.9;
}

/* chiplar qatori */
.services-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.3rem;
}

.services-chip {
  font-size: 0.82rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(6px);
}

/* grid */
.services-grid-24 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

/* kartochka – eski uslubga yaqin, yumaloq burchak + yengil shadow */
.service-card-24 {
  position: relative;
  border-radius: 22px;
  padding: 1.3rem 1.2rem 1.1rem;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card-24:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
  border-color: rgba(129, 140, 248, 0.8);
}

/* sarlavha qismi (raqam + nom) */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.service-card-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.45);
  background: rgba(191, 219, 254, 0.3);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card-title {
  font-size: 0.98rem;
  font-weight: 700;
}

/* ichki ro'yxat */
.service-card-list {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.service-card-list li + li {
  margin-top: 0.15rem;
}

/* responsiveness */
@media (max-width: 640px) {
  .services-page {
    padding-top: 2.4rem;
  }

  .services-grid-24 {
    grid-template-columns: 1fr;
  }
}


/* ========= XIZMATLAR – DARK KARTOCHKALAR (TEMPLATE STILI) ========= */

.services-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.services-header {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.services-header .page-title {
  margin-bottom: 0.4rem;
}

.services-header .page-subtitle {
  font-size: 0.98rem;
  color: #cbd5e1;
}

/* grid – katta ekranda 4 ta, kichikda 2/1 ta */
.services-grid-24 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* karta – screenshot dagi kabi dark, yumaloq burchak, blue edge */
.service-card {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.3), transparent 60%),
    radial-gradient(circle at 100% 0%, rgba(45, 212, 191, 0.16), transparent 55%),
    #020617;
  border: 1px solid rgba(30, 64, 175, 0.7);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* hover – biroz ko‘tariladi, yengil shine */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(148, 163, 184, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 1);
}

.service-card:hover::after {
  opacity: 1;
}

/* icon + sarlavha + matn */
.service-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #facc15, #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}

.service-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card-list {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.service-card-list li + li {
  margin-top: 0.18rem;
}

/* responsive */
@media (max-width: 768px) {
  .services-page {
    padding-top: 2.4rem;
  }
}

@media (max-width: 640px) {
  .services-grid-24 {
    grid-template-columns: 1fr;
  }
}


/* ======== THEME VARIABLES ======== */

/* Light (kun) – default */
:root {
  --bg-main: #f4f7fb;
  --bg-elevated: #ffffff;
  --bg-panel-dark: #ffffff;
  --text-main: #020617;
  --text-muted: #64748b;
  --border-soft: rgba(148, 163, 184, 0.5);
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
}

/* Dark (tun) – biz hozir ishlatgan ranglar shu yerda */
:root.theme-dark {
  --bg-main: #020617;
  --bg-elevated: rgba(15, 23, 42, 0.96);
  --bg-panel-dark: #020617;
  --text-main: #e5e7eb;
  --text-muted: #cbd5e1;
  --border-soft: rgba(30, 64, 175, 0.8);
  --accent: #60a5fa;
  --accent-soft: rgba(37, 99, 235, 0.25);
}


/* ===== THEME TOGGLE BUTTON ===== */

.theme-toggle {
  margin-left: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 1);
}

.theme-toggle-icon {
  position: absolute;
  font-size: 1.1rem;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* default (tun): faqat oycha ko'rinsin */
.theme-toggle-sun {
  opacity: 0;
  transform: translateY(10px);
}
.theme-toggle-moon {
  opacity: 1;
  transform: translateY(0);
}

/* kun rejimida esa – faqat quyosh ko'rinadi */
body.theme-light .theme-toggle-sun {
  opacity: 1;
  transform: translateY(0);
}
body.theme-light .theme-toggle-moon {
  opacity: 0;
  transform: translateY(-10px);
}


/* ===== LIGHT (KUN) REJIM OVERRIDE'LARI ===== */

/* body – fon va matn */
body.theme-light {
  background: #f4f7fb;
  color: #020617;
}

/* navbar (seniki qanaqa class bo'lsa shuni yozib qo'y) */
body.theme-light header,
body.theme-light .navbar,
body.theme-light .top-nav {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* home kartochkalari */
body.theme-light .home-id-card,
body.theme-light .home-why-card,
body.theme-light .home-benefit-card,
body.theme-light .home-stat-card {
  background: #ffffff;
  border-color: #d4d4d8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: #020617;
}

/* xizmatlar kartochkalari */
body.theme-light .service-card {
  background: #ffffff;
  border-color: #d4d4d8;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  color: #020617;
}

/* contact page panellari */
body.theme-light .contact-form-column,
body.theme-light .contact-info-card,
body.theme-light .contact-map-card {
  background: #ffffff;
  border-color: #d4d4d8;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  color: #020617;
}

/* input/textarea'lar kun rejimida ham oq bo'lsin */
body.theme-light .contact-field input,
body.theme-light .contact-field textarea {
  background: #ffffff;
  color: #020617;
  border-color: #cbd5e1;
}

/* footer */
body.theme-light footer {
  background: #ffffff;
  color: #020617;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.05);
}


/* === LIGHT MODE — TONG BACKGROUND === */

body.theme-light {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 245, 255, 1) 30%,
      rgba(226, 236, 255, 1) 60%,
      rgba(210, 225, 255, 1) 100%
    );
  background-attachment: fixed;
  color: #020617;
}

/* waves patternni yo'qotmaslik uchun */
body.theme-light::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("your-waves.svg"); /* agar background svg bo‘lsa */
  opacity: .18;
  pointer-events: none;
}


/* Kartochkalar kun rejimida oqish va yumshoq bo'ladi */

body.theme-light .service-card,
body.theme-light .contact-form-column,
body.theme-light .contact-info-card,
body.theme-light .contact-map-card,
body.theme-light .home-id-card,
body.theme-light .home-why-card,
body.theme-light .home-benefit-card,
body.theme-light .home-stat-card,
body.theme-light .about-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(180, 190, 210, 0.6);
  color: #020617;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}


body.theme-light header,
body.theme-light footer,
body.theme-light nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  color: #020617;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}


body.theme-light .primary-btn {
  background: linear-gradient(135deg, #2563eb, #00b4d8);
  color: white;
}

body.theme-light .outline-btn {
  border-color: rgba(30, 64, 175, 0.4);
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.7);
}


body.theme-light .hero {
  background: radial-gradient(
      circle at 40% 20%,
      rgba(255, 255, 255, 1) 0%,
      rgba(230, 240, 255, 1) 35%,
      rgba(215, 230, 255, 1) 60%,
      rgba(210, 225, 255, 1) 100%
    );
}

/* HOME – TUNGI HOLAT (default) */
/* Bu 1-rasimdagi gradient */

body.home-page main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.25), transparent 65%),
    #020617;
  background-size: cover;
  background-repeat: no-repeat;
  color: #e5e7eb;
}

/* HOME – KUNGI HOLAT (light mode, 2-rasim) */

body.theme-light.home-page main {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(240, 245, 255, 1) 35%,
      rgba(226, 236, 255, 1) 65%,
      rgba(215, 225, 255, 1) 100%
    );
  color: #0f172a;
}


/* ==============================
   LIGHT (KUN) REJIM – 2-rasimga o'xshash
   Faqat body.theme-light bo'lganda ishlaydi
   ============================== */

/* Umumiy fon va matn */
body.theme-light {
  background: linear-gradient(
      135deg,
      #ffffff 0%,
      #f3f7ff 30%,
      #e5edff 65%,
      #dbe6ff 100%
  );
  color: #0f172a;
}

/* Home sahifadagi asosiy qism (main) */
body.theme-light main {
  background: transparent; /* fon bodidan keladi */
}

/* Barcha sarlavha va matnlar kun rejimida qoraroq bo'lsin */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3 {
  color: #0f172a;
}

body.theme-light p,
body.theme-light li,
body.theme-light span {
  color: #1f2937;
}

/* Kartochkalar va panellarni oq "glass" holatiga o'tkazamiz */
body.theme-light .service-card,
body.theme-light .contact-form-column,
body.theme-light .contact-info-card,
body.theme-light .contact-map-card,
body.theme-light .home-id-card,
body.theme-light .home-why-card,
body.theme-light .home-benefit-card,
body.theme-light .home-stat-card,
body.theme-light .about-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(180, 190, 210, 0.6);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

/* Contact sahifasidagi input/textarea'lar */
body.theme-light .contact-field input,
body.theme-light .contact-field textarea {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Navbar va footer */
body.theme-light header,
body.theme-light nav,
body.theme-light footer {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}


/* ==============================
   KUN REJIM (HOME PAGE STILI)
   ============================== */

/* Umumiy fon + matn */
body.theme-light {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3f7ff 30%,
    #e5edff 65%,
    #dbe6ff 100%
  );
  color: #0f172a;
}

/* Home'dagi main – shu gradientni oladi */
body.theme-light main {
  background: transparent; /* fon bodidan keladi */
}

/* Sarlavha va matn ranglari */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3 {
  color: #0f172a; /* quyuq ko‘k/qora */
}

body.theme-light p,
body.theme-light li,
body.theme-light span {
  color: #1f2937; /* o‘rtacha kulrang matn */
}

/* ===================== NAVBAR + FOOTER ===================== */

body.theme-light header,
body.theme-light nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

body.theme-light header a,
body.theme-light nav a {
  color: #0f172a;
}

body.theme-light footer {
  background: linear-gradient(
    135deg,
    rgba(243, 247, 255, 1) 0%,
    rgba(224, 236, 255, 1) 40%,
    rgba(240, 246, 255, 1) 100%
  );
  color: #0f172a;
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.06);
}

/* footer ichidagi matnlar biroz yumshoq */
body.theme-light footer p,
body.theme-light footer li,
body.theme-light footer span {
  color: #334155;
}

/* ===================== HERO BUTTONLAR ===================== */

body.theme-light .primary-btn,
body.theme-light .btn-primary {
  background: linear-gradient(135deg, #2563eb, #0085d8);
  color: #ffffff;
  border: none;
}

body.theme-light .primary-btn:hover,
body.theme-light .btn-primary:hover {
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4);
  transform: translateY(-2px);
}

body.theme-light .outline-btn,
body.theme-light .btn-outline {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #1e3a8a;
}

body.theme-light .outline-btn:hover,
body.theme-light .btn-outline:hover {
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}


/* BODY fonini qatlamlar bilan boshqarish */
body {
  position: relative;
  overflow-x: hidden;
}

/* Umumiy pseudo-elementlar – default (tun) foningni buzmaydi,
   faqat biz yozgan selektorlar ishlaganda o'zgaradi */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ========= KUN (LIGHT) REJIM – orqa fon, tulqin va 3D shakllar ========= */

body.theme-light {
  color: #0f172a;
}

/* Asosiy fon + wave pattern */
body.theme-light::before {
  /* 1) Pastdagi yumshoq oq-ko'k gradient */
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f3f7ff 30%,
      #e5edff 65%,
      #dbe6ff 100%
    ),
    /* 2) Ustiga juda engil "wave" pattern */
    url("data:image/svg+xml,%3Csvg width='160' height='80' viewBox='0 0 160 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40 C20 20 40 20 60 40 C80 60 100 60 120 40 C140 20 160 20 180 40 L180 80 L0 80 Z' fill='none' stroke='%23cbd5f5' stroke-width='0.7' opacity='0.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: auto, 220px 110px;
  opacity: 1;
}

/* 3D "blob" lar – yumshoq rangli dog'lar, sekin harakatlanadi */
/* body.theme-light::after {
  background:
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.36), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(129, 140, 248, 0.32), transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(248, 113, 113, 0.26), transparent 60%);
  mix-blend-mode: normal;
  animation: light-blobs 28s ease-in-out infinite alternate;
  opacity: 0.9;
} */

/* Bloblarga animatsiya – sekin "suzib" yuradi */
@keyframes light-blobs {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-20px, -40px, 0) scale(1.05);
  }
  100% {
    transform: translate3d(30px, -10px, 0) scale(1.02);
  }
}

/* KUN rejimida matn va kartochkalar rangini moslashtirish */

/* Sarlavha va matnlar */
body.theme-light h1,
body.theme-light h2,
body.theme-light h3 {
  color: #0f172a;
}

body.theme-light p,
body.theme-light li,
body.theme-light span {
  color: #1f2937;
}

/* Navbar va footer bir oz shaffof oq bo'lsin */
body.theme-light header,
body.theme-light nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

body.theme-light footer {
  background: linear-gradient(
    135deg,
    rgba(243, 247, 255, 1) 0%,
    rgba(224, 236, 255, 1) 40%,
    rgba(240, 246, 255, 1) 100%
  );
  color: #0f172a;
}

/* Home dagi kartochkalar (Why choose, stats va h.k.)
   – oq "glass" kartalar bo'lib ko'rinadi */
body.theme-light .home-card,
body.theme-light .service-card,
body.theme-light .stats-card,
body.theme-light .feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  border: 1px solid rgba(180, 190, 210, 0.7);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
  color: #0f172a;
}

body.theme-light .home-card:hover,
body.theme-light .service-card:hover,
body.theme-light .stats-card:hover,
body.theme-light .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

/* Tugmalar – gradient + outline varianti */
body.theme-light .primary-btn,
body.theme-light .btn-primary {
  background: linear-gradient(135deg, #2563eb, #0085d8);
  color: #ffffff;
  border: none;
}

body.theme-light .outline-btn,
body.theme-light .btn-outline {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #1e3a8a;
}
