* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #8e0e00, #c31432);
  color: white;
  padding: 90px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  letter-spacing: 1px;
}

.tagline {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.9;
}

.hero-sub {
  margin: 25px auto;
  max-width: 650px;
  font-size: 17px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 30px;
  background: white;
  color: #b31217;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #ffe5e5;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ABOUT */
.about {
  background: white;
  padding: 40px;
  border-radius: 14px;
  margin-bottom: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about h2 {
  color: #b31217;
  margin-bottom: 15px;
}

/* SERVICES */
.services h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #b31217;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 14px;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* CONTACT */
.contact {
  background: #fff1f1;
  padding: 40px;
  border-radius: 14px;
  margin-top: 60px;
  text-align: center;
}

.contact h2 {
  color: #b31217;
  margin-bottom: 15px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  color: #777;
  font-size: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.feature-tabs {
  pointer-events: auto;
  z-index: 50;
}

.tab-item {
  cursor: pointer;
}

/* ===== NAVBAR AUTH BUTTONS FIX ===== */

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}
/* ===== LOGO ===== */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo {
  height: 42px;
  width: auto;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #aaa;
}

@media (max-width: 768px) {
  .site-logo {
    height: 34px;
  }

  .logo-text {
    font-size: 14px;
  }

  .logo-text small {
    font-size: 10px;
  }
}

/* ===== GLOBAL BACKGROUND FIX ===== */
body {
  background: linear-gradient(
    135deg,
    #0b0b0b 0%,
    #1a0f0f 35%,
    #0a1a24 70%,
    #050505 100%
  ) !important;
  color: #fff;
}

/* HERO fonini eski dizaynga qaytarish */
.hero {
  background: none !important;
}

.gradient-overlay {
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.08),
    rgba(0,0,0,0.95)
  ) !important;
}

.service-clean-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-clean-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-logo-3d img {
  width: 260px;
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(255,0,0,0.35));
  animation: float3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes float3d {
  0% {
    transform: rotateY(0deg) translateY(0);
  }
  50% {
    transform: rotateY(12deg) translateY(-15px);
  }
  100% {
    transform: rotateY(0deg) translateY(0);
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-logo-3d img {
    margin: 0 auto;
  }
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,80,80,0.35);
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
}

.contact-card i {
  font-size: 34px;
  color: #ff4d4d;
  margin-bottom: 12px;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(255,0,0,0.25);
}
.location-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.location-link:hover i {
  color: #ff2f2f;
  transform: scale(1.15);
}

.location-link:hover p {
  color: #ffffff;
}

<section class="contact" id="contact">
  <h2 class="section-title">ALOQA</h2>

  <div class="contact-boxes">

    <!-- TELEGRAM -->
    <a href="https://t.me/buxgalteriyaXizmatlariUz" target="_blank" class="contact-card telegram">
      <i class="fa-brands fa-telegram"></i>
      <h4>Telegram</h4>
      <p>@buxgalteriyaXizmatlariUz</p>
    </a>

    <!-- INSTAGRAM -->
    <a href="https://www.instagram.com/buxgalter.xizmati/" target="_blank" class="contact-card instagram">
      <i class="fa-brands fa-instagram"></i>
      <h4>Instagram</h4>
      <p>@buxgalter.xizmati</p>
    </a>

    <!-- JOYLASHUV -->
    <a 
      href="https://www.google.com/maps/search/?api=1&query=Toshkent+Chilonzor+NEUS+biznes+markazi"
      target="_blank"
      class="contact-card location"
    >
      <i class="fa-solid fa-location-dot"></i>
      <h4>Joylashuv</h4>
      <p>
        Toshkent sh. Chilonzor tum.<br>
        NEUS biznes markazi
      </p>
    </a>

  </div>
</section>

/* ===== ALOQA SECTION ===== */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contact-box {
  background: #fff1ee;
  max-width: 1100px;
  width: 100%;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
}

.contact-box h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #6b1f1f;
  letter-spacing: 2px;
}

/* GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.contact-card {
  background: #8b7f7f;
  border-radius: 16px;
  padding: 30px 20px;
  color: #fff;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  background: #7a1e1e;
}

/* ICON */
.contact-card i {
  font-size: 34px;
  margin-bottom: 15px;
  display: block;
}

/* TITLE */
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* LINK */
.contact-card a {
  color: #ffdede;
  text-decoration: none;
  font-size: 15px;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Navbar yopib ketmasligi uchun */
#contact {
  scroll-margin-top: 120px;
}

/* ALOQA tepasi bosilib ketmasligi uchun */
.contact-section {
  margin-top: 120px;
}

footer {
  width: 100%;
  padding: 20px 0;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

footer .copyright {
  margin: 0;
  color: #aaa;
  font-size: 14px;
}

.contact-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  background: #8e7f7f;
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  width: 260px;
  text-align: center;
}

.contact-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #ff3b3b;
}

/* ===== NAVBAR ANIMATION & COLOR FIX ===== */

.main-nav a {
  position: relative;
  color: #e6e6e6;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* Pastdan chiziq animatsiyasi */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3b3b, #ff8a00);
  transition: width 0.35s ease;
}

/* Hover holati */
.main-nav a:hover {
  color: #ff3b3b;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Active (bosilgan) link */
.main-nav a.active {
  color: #ff3b3b;
}

.main-nav a.active::after {
  width: 100%;
}

#navbar {
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.95),
    rgba(40, 10, 10, 0.95),
    rgba(10, 20, 30, 0.95)
  );
  box-shadow: 0 4px 25px rgba(255, 80, 0, 0.15);
  backdrop-filter: blur(6px);
}

@keyframes navbarFade {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#navbar {
  animation: navbarFade 0.8s ease-out;
}

@media (max-width: 768px) {
  * {
    backdrop-filter: none !important;
  }
}
@media (max-width: 768px) {

  .scanlines,
  .grid-bg,
  .gradient-overlay {
    display: none !important;
  }

  .glitch-text {
    animation: none !important;
    text-shadow: none !important;
  }
}
html, body {
  -webkit-overflow-scrolling: touch;
}


/* ==== PROFILE PAGE ==== */

.profile-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1b1b1b, #0d0d0d);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}

.profile-card {
  width: 100%;
  max-width: 420px;
  background: #121212;
  border-radius: 18px;
  padding: 30px;
  color: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
  animation: profileFade .7s ease;
}

.profile-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.profile-email {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 20px;
  text-align: center;
}

.profile-email span {
  color: #ffb400;
  word-break: break-all;
}

.profile-form input {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: #1e1e1e;
  color: #fff;
  transition: box-shadow .2s, transform .2s;
}

.profile-form input:focus {
  box-shadow: 0 0 0 2px rgba(255,180,0,.4);
  transform: translateY(-1px);
}

.btn-save {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ffb400, #ffcc33);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,180,0,.45);
}

.btn-logout {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}

.btn-logout:hover {
  background: #ff4444;
}

/* Animatsiya */
@keyframes profileFade {
  from {
    opacity: 0;
    transform: translateY(25px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.support-textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: #1e1e1e;
  color: #fff;
  resize: vertical;
  margin-bottom: 14px;
}


/* ===== HERO BUTTONS ===== */

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Asosiy sariq tugma */
.btn {
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

/* Bepul maslahat */
.btn-primary {
  background: linear-gradient(135deg, #ffb400, #ffcc33);
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 180, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(255, 180, 0, 0.55);
}

/* Xizmatlarimiz */
.btn-outline {
  border: 2px solid #ff3b3b;
  color: #ff3b3b;
  background: transparent;
}

.btn-outline:hover {
  background: #ff3b3b;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== HERO CTA ===== */

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 40px;
}

/* BEPUL MASLAHAT */
.cta-primary {
  padding: 16px 42px;
  border-radius: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #b31217, #ff3b3b);
  box-shadow: 0 0 0 rgba(255,59,59,0.6);
  animation: pulseGlow 2s infinite;
  transition: transform 0.3s ease;
}

.cta-primary:hover {
  transform: translateY(-4px) scale(1.05);
}

/* XIZMATLARIMIZ */
.cta-outline {
  padding: 16px 42px;
  border-radius: 40px;
  border: 2px solid #ff3b3b;
  color: #ff3b3b;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-outline:hover {
  background: #ff3b3b;
  color: #fff;
  transform: translateY(-4px);
}

/* GLOW ANIMATION */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(255,59,59,0.6); }
  70% { box-shadow: 0 0 35px rgba(255,59,59,0.9); }
  100% { box-shadow: 0 0 0 rgba(255,59,59,0.6); }
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.profile-actions a,
.profile-actions button {
  width: 100%;
  text-align: center;
}

/* ===== PROFILE ACTIONS FIX ===== */

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.profile-actions a,
.profile-actions button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* Secondary (Bosh sahifa, Murojaatlarim) */
.btn-secondary {
  background: #2a2a2a;
  color: #ddd;
}

.btn-secondary:hover {
  background: #3a3a3a;
}

/* Primary (Tahrirlash) */
.btn-primary {
  background: linear-gradient(135deg, #ffb400, #ffcc33);
  color: #000;
}

/* Danger (Chiqish) */
.btn-danger {
  background: #3a1e1e;
  color: #ff8a8a;
}

.btn-danger:hover {
  background: #522;
}

.request-card {
  background: #1e1e1e;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 15px;
}

.reply-box {
  margin-top: 10px;
  padding: 10px;
  background: #2a2a2a;
  border-left: 3px solid #ffb400;
}

.waiting {
  margin-top: 8px;
  color: #ffb400;
}

.edit-card {
  width: 420px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  animation: fadeUp .4s ease;
}

.edit-card h2 {
  text-align: center;
  margin-bottom: 20px;
}

.edit-card .row {
  display: flex;
  gap: 10px;
}

.edit-card input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1e1e1e;
  color: #fff;
}

.edit-card input:focus {
  outline: 2px solid #ffbf00;
}

.edit-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cancel-link {
  text-align: center;
  color: #aaa;
  cursor: pointer;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


.profile-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edit-card {
  width: 420px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  animation: fadeUp .4s ease;
}

.edit-card h2 {
  text-align: center;
  margin-bottom: 20px;
}

.edit-card .row {
  display: flex;
  gap: 10px;
}

.edit-card input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1f1f1f;
  color: #fff;
  margin-bottom: 10px;
}

.edit-card input:focus {
  outline: 2px solid #ffbf00;
}

.edit-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-primary {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg,#ffb300,#ffd54f);
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.cancel-link {
  text-align: center;
  color: #aaa;
  cursor: pointer;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.chat-card {
  width: 420px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}

.chat-footer {
  padding: 12px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 14px;
}

.user-msg {
  background: #ffd54f;
  color: #000;
  margin-left: auto;
}

.admin-msg {
  background: #2b2b2b;
  color: #fff;
  margin-right: auto;
}

.back-btn,
.home-btn {
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
}

.empty {
  text-align: center;
  color: #888;
}


.chat-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-card {
  width: 380px;
  background: #0f0f0f;
  border-radius: 18px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.back-btn {
  background: none;
  border: none;
  color: #ffc107;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  margin: 15px 0;
  overflow-y: auto;
}

.chat-msg {
  max-width: 75%;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  font-size: 14px;
}

.chat-msg.user {
  background: #ffc107;
  color: #000;
  margin-left: auto;
}

.chat-msg.admin {
  background: #2a2a2a;
  color: #fff;
}

.chat-input {
  display: flex;
  gap: 8px;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

.chat-input button {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: #ffc107;
  cursor: pointer;
}


.btn-admin {
  background: linear-gradient(135deg,#8e2de2,#4a00e0);
  color: white;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}


.chat-container {
  max-width: 800px;
  margin: 40px auto;
}

.chat-card {
  background: #111;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.user-msg {
  background: #222;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}

.admin-msg {
  background: #2a004f;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  margin-left: 40px;
}

.page-title {
  text-align: center;
  margin-top: 20px;
}

.back-link {
  color: #ffc107;
  margin-left: 20px;
  display: inline-block;
}

.chat-box {
  margin-top: 20px;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* har bir murojaat */
.chat-card {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  padding: 12px 14px;
  border-radius: 12px;
  max-width: 75%;
  color: #fff;
  font-size: 14px;
}

/* agar keyin admin javobi qo‘shilsa */
.chat-card.admin {
  align-self: flex-end;
  background: #ffb400;
  color: #000;
}

/* === CHAT CARD (asosiy blok) === */
.chat-card {
  background: rgba(30, 30, 35, 0.92);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
  color: #f1f1f1;
}

/* === MIJOZ XABARI === */
.user-msg {
  background: #2a2a2e;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  margin: 6px 0;
  max-width: 80%;
  font-size: 14px;
}

/* === ADMIN JAVOBI === */
.admin-msg {
  background: linear-gradient(135deg, #6a00ff, #8f3bff);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 14px;
  margin: 6px 0;
  max-width: 80%;
  align-self: flex-end;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(120, 60, 255, 0.35);
}

/* === CHAT ICHI === */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* === HOLAT TEXT === */
.request-status {
  color: #ffcc00;
  font-size: 12px;
  margin-bottom: 6px;
}

/* === ADMIN INPUT === */
.reply-box textarea {
  background: #1f1f23;
  color: #ffffff;
  border: 1px solid #444;
  border-radius: 8px;
  padding: 8px;
  width: 100%;
}

.reply-box button {
  margin-top: 6px;
  background: #ffb400;
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.user-msg {
  background: #1f2937;   /* to‘q kulrang */
  color: #f9fafb;        /* oq */
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  max-width: 80%;
}
.admin-msg {
  background: linear-gradient(135deg, #6d28d9, #4c1d95);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 6px;
  max-width: 80%;
  align-self: flex-end;
}
.chat-card {
  background: rgba(17, 24, 39, 0.9);
  color: #e5e7eb;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}
.request-status {
  font-size: 12px;
  color: #fbbf24;
  margin-bottom: 6px;
}


:root {
  --bg-main: #0f0f14;
  --card-bg: #1c1c22;
  --text-main: #f5f5f7;
  --text-muted: #b5b5c0;
  --accent: #ffbf00;
  --admin-msg: #3b0764;
  --user-msg: #1f2937;
}
body {
  background: radial-gradient(circle at top, #1b1b25, #0b0b10);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.profile-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  background: rgba(28, 28, 34, 0.95);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 24px;
  width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.profile-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-email,
p {
  color: var(--text-muted);
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  background: #0f0f14;
  color: var(--text-main);
  border: 1px solid #2a2a35;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

input::placeholder,
textarea::placeholder {
  color: #8b8b95;
}
button,
.btn-save {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}
.chat-card {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}
.message-admin {
  background: var(--admin-msg);
  color: #f3e8ff;
  padding: 8px 12px;
  border-radius: 12px;
  margin: 6px 0;
  max-width: 85%;
}

.message-user {
  background: var(--user-msg);
  color: #e5e7eb;
  padding: 8px 12px;
  border-radius: 12px;
  margin: 6px 0;
  max-width: 85%;
}
.status {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* =====================
   MOBILE ADAPTATION
===================== */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .profile-page {
    padding: 12px;
  }

  .profile-card,
  .chat-card,
  .admin-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px;
    border-radius: 14px;
  }

  h1, h2, h3 {
    font-size: 18px;
  }

  input,
  textarea,
  button {
    font-size: 16px;
  }

  textarea {
    min-height: 100px;
  }

  .btn-save,
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .chat-card {
    margin-bottom: 12px;
  }

}
/* =====================================================
   📱 MOBILE FIX PACK — ACCOUNTAN FINANCE
   Qo‘shish joyi: style.css ENG OXIRI
   ===================================================== */

/* 🔹 1. GLOBAL MOBILE OPTIMIZATION */
@media (max-width: 768px) {

  /* Animatsiyalarni tezlashtiramiz */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.2s !important;
  }

  /* Og‘ir effektlarni o‘chiramiz */
  .blur,
  .glass,
  .glass-card,
  .bg-blur {
    backdrop-filter: none !important;
    filter: none !important;
  }

  /* Shadow’larni yengillashtiramiz */
  * {
    box-shadow: none !important;
  }
}

/* 🔹 2. NAVBAR / HEADER FIX */
@media (max-width: 768px) {

  header,
  .header,
  .navbar {
    position: sticky;
    top: 0;
    z-index: 999;
  }

  .nav-links,
  .menu,
  .navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-links a,
  .menu a {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* 🔹 3. SECTION SCROLL CUT FIX (Biz haqimizda, Aloqa) */
section,
[id] {
  scroll-margin-top: 90px;
}

/* 🔹 4. HERO / BOSH SAHIFA TEXT ANIMATION SPEED */
@media (max-width: 768px) {

  .hero-text,
  .animated-text,
  .typing-text {
    animation-duration: 2.5s !important;
  }
}

/* 🔹 5. BUTTONS MOBILE ADAPTATION */
@media (max-width: 768px) {

  button,
  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
    padding: 14px;
  }

  .button-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* 🔹 6. YANGILIKLAR (NEWS) FULL SHOW FIX */
@media (max-width: 768px) {

  .news,
  .news-section,
  .news-list,
  .news-card {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
  }

  .news-card {
    margin-bottom: 16px;
    padding: 16px;
  }
}

/* 🔹 7. CARD / CONTAINER WIDTH FIX */
@media (max-width: 768px) {

  .container,
  .card,
  .profile-card,
  .chat-card {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 🔹 8. CHAT / MUROJAAT MOBILE FIX */
@media (max-width: 768px) {

  .chat-card {
    padding: 14px;
    font-size: 14px;
  }

  .user-msg,
  .admin-msg {
    max-width: 100%;
    word-wrap: break-word;
  }
}

/* 🔹 9. INPUT / FORM MOBILE FIX */
@media (max-width: 768px) {

  input,
  textarea,
  select {
    font-size: 16px; /* iOS zoom bug fix */
    width: 100%;
  }
}

/* 🔹 10. PERFORMANCE BOOST (SCROLL LAG FIX) */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== GOLD / BLACK THEME OVERRIDES ===== */
body {
  background: linear-gradient(135deg, #050505 0%, #0b0b0b 40%, #111111 70%, #050505 100%) !important;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  background: linear-gradient(135deg, #050505, #111111, #1a1508) !important;
  color: #ffffff;
}

.btn,
.hero-buttons .btn,
.btn-primary,
.cta-primary {
  background: linear-gradient(135deg, #111111, #d4af37) !important;
  color: #ffffff !important;
}

.btn-outline,
.cta-outline {
  border-color: #f4c542 !important;
  color: #f4c542 !important;
}

.btn-outline:hover,
.cta-outline:hover {
  background: #f4c542 !important;
  color: #0b0b0b !important;
}

.about h2,
.services h2,
.contact h2 {
  color: #f4c542 !important;
}

.contact {
  background: #111111 !important;
  color: #ffffff;
}

footer,
footer .copyright {
  color: #f4c542 !important;
}

footer {
  margin-top: auto;
}

.logo-text,
.logo-text small,
.main-nav a,
.site-logo {
  color: #ffffff;
}

.main-nav a:hover,
.main-nav a.active {
  color: #f4c542 !important;
}

.hero .subtitle,
.hero .tagline,
.hero-sub {
  color: #f5f5f5;
}

.about,
.service-card,
.profile-card,
.card,
.chat-card,
.request-card,
.edit-card,
.contact-box,
.contact-card,
.about-section,
.features-section,
.currency-card {
  background: #0f0f0f !important;
  color: #ffffff;
  border-color: rgba(244, 197, 66, 0.18);
}

.about-section,
.features-section,
.contact-section,
.contact-box,
.about-text,
.services-clean-grid > div,
.service-clean-card,
.service-card,
.contact-card,
.currency-card,
.news-item {
  border-radius: 10px !important;
}

.about-section,
.features-section,
.contact-section {
  padding-left: 28px;
  padding-right: 28px;
}

.about-section,
.features-section,
.contact-box {
  padding-top: 56px;
  padding-bottom: 56px;
}

.about-text,
.services-clean-grid > div,
.service-clean-card,
.service-card,
.contact-card,
.currency-card,
.news-item {
  padding: 28px !important;
}

.about-grid,
.services-clean-grid,
.contact-boxes,
.contact-grid {
  gap: 32px;
}

.currency-card:hover,
.service-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

h1, h3, h4, h5, h6,
.contact-card h3,
.about h2,
.services h2,
.contact h2 {
  color: #f4c542 !important;
  text-shadow: 0 0 18px rgba(244, 197, 66, 0.18);
}

h2,
.section-title,
.contact-box h2,
.edit-card h2 {
  background: none !important;
  color: #f4c542 !important;
  -webkit-text-fill-color: initial;
  text-shadow: 0 0 14px rgba(244, 197, 66, 0.16);
}

.btn-danger,
.btn-logout {
  background: linear-gradient(135deg, #111111, #d4af37) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.28) !important;
}

.btn-danger:hover,
.btn-logout:hover {
  background: linear-gradient(135deg, #1a1a1a, #f4c542) !important;
  box-shadow: 0 16px 35px rgba(244, 197, 66, 0.38) !important;
}

.btn-primary,
.cta-primary,
.btn,
.hero-buttons .btn {
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.28) !important;
}

.btn-primary:hover,
.cta-primary:hover,
.btn:hover,
.hero-buttons .btn:hover {
  box-shadow: 0 18px 40px rgba(244, 197, 66, 0.42) !important;
}

.about,
.service-card,
.profile-card,
.card,
.chat-card,
.request-card,
.edit-card,
.contact-box,
.contact-card,
.about-section,
.features-section,
.currency-card,
.news-item,
.services-clean-grid > div {
  background: #0d0d0d !important;
  border-color: rgba(244, 197, 66, 0.16) !important;

.about-section,
.features-section {
  margin-bottom: 34px;
}

.features-section {
  margin-top: 18px;
}

.contact-section {
  margin-top: 92px;
}
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

.contact-card i,
.about-logo-3d img,
.logo-img {
  filter: drop-shadow(0 16px 30px rgba(212, 175, 55, 0.22));
}

.btn-outline,
.cta-outline {
  box-shadow: inset 0 0 0 1px rgba(244, 197, 66, 0.25);
}

.btn-outline:hover,
.cta-outline:hover {
  box-shadow: 0 12px 28px rgba(244, 197, 66, 0.28) !important;
}

.cta-primary,
.btn-primary {
  background: #f4c542 !important;
  background-image: none !important;
  color: #111111 !important;
}

.cta-primary:hover,
.btn-primary:hover {
  background: #ffd54f !important;
  color: #111111 !important;
}

.about h2,
.services h2,
.contact h2,
.contact-box h2,
.contact-card h3,
.edit-card h2,
.section-title,
h1, h3, h4, h5, h6 {
  color: #f4c542 !important;
}

.service-card h3,
.service-clean-card h3,
.content-panel h3,
.contact-info h3,
.footer-title,
.logo-text {
  color: #f4c542 !important;
}

.btn-danger,
.btn-logout,
.btn-secondary {
  background: #111111 !important;
  color: #f4c542 !important;
  border-color: rgba(244, 197, 66, 0.32) !important;
}

.btn-danger:hover,
.btn-logout:hover,
.btn-secondary:hover {
  background: #1a1a1a !important;
  color: #ffd54f !important;
}

.section-title,
.about h2,
.services h2,
.contact h2,
.contact-box h2,
.contact-card h3,
.edit-card h2,
.service-card h3,
.service-clean-card h3,
.content-panel h3,
.contact-info h3,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f4c542 !important;
}

.service-card ul li::before {
  color: #f4c542 !important;
}
