/* style.css */
body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #000000, #000915, #002342);
  color: #ffffff;
  text-align: center;
}

h1,
h2 {
  text-shadow: 0 0 5px #00f6ff, 0 0 10px #00f6ff;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  /* Sahifa kontenti orqasida ko'rinadi */
  overflow: hidden;
}

.stars div {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: moveStars 10s linear infinite;
}

@keyframes moveStars {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(900%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

:root {
  --bg-color: #ffffff;
  --text-color: #000000;
}

/* --- Yulduzlar --- */
.star-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 2;
}

.star {
  position: absolute;
  background: white;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.2;
  }
}

/* --- Raketa --- */
.rocket-container {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  height: auto;
  z-index: 3;
}

/* Raketa uchish animatsiyasi */
@keyframes launch {
  0% {
    bottom: -100px;
    opacity: 1;
  }

  100% {
    bottom: 100vh;
    opacity: 0;
  }
}

/* Yo‘qolish animatsiyasi */
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Portfel bo‘limi */
.portfolio {
  display: none;
  opacity: 0;
  animation: fadeIn 1s forwards;
  z-index: 1;
}

/* Portfel paydo bo‘lishi */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap");

.back-to-top-futuristic {
  position: fixed;
  bottom: 10px;
  right: 5px;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 28px;
  color: #0ff;
  text-decoration: none;
  font-family: "Orbitron", sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
  animation: pulse 2s infinite;
}

.back-to-top-futuristic:hover {
  transform: scale(1.2);
  box-shadow: 0 0 40px #0ff, 0 0 80px #0ff, inset 0 0 30px;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loading-animation {
  width: 150px;
  height: 150px;
}

.fade-out {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    display: none;
  }
}

.navbar {
  position: fixed;
  /* Har doim ko‘rinib turadi */
  top: -40px;
  /* Tepaga joylashadi */
  right: 0;
  /* O‘ng tomonga joylashadi */
  width: 99%;
  /* To‘liq kenglikni egallaydi */
  backdrop-filter: blur(15px);
  /* 15px ga xiralik effekti */
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
  padding: 0px;
  /* Yon tomonlardan bo‘sh joy */
}

.navbar ul {
  display: flex;
  /* Elementlarni yonma-yon joylashish uchun */
  flex-direction: row;
  /* Gorizontal joylashish */
  justify-content: flex-end;
  /* Elementlarni o‘ngga joylashish */
  align-items: center;
  /* Vertikal markazlash */
  gap: 0px;
  /* Elementlar orasidagi masofa */
  list-style: none;
  /* Ro‘yxat nuqtalarini olib tashlash */
  margin: 0;
  /* Ichki va tashqi bo‘shliqni olib tashlash */
  padding: 0;
  /* Ichki va tashqi bo‘shliqni olib tashlash */
}

.navbar a {
  top: -25px;
  font-size: 1.1rem;
  /* Havolalarning kattaligi */
  font-weight: bold;
  /* Qalin matn */
  text-transform: uppercase;
  /* Matnni katta harflarda ko‘rsatish */
  letter-spacing: 1.5px;
  /* Harflar orasidagi masofa */
  color: #fff;
  /* Oq matn rangi */
  text-decoration: none;
  /* Tag chizig‘ini olib tashlash */
  padding: 20px;
  /* Havola ichidagi bo‘sh joylar */
  border-radius: 5px;
  /* Yumaloq burchaklar */
  background: linear-gradient(to right, #00f6ff, #2feaff);
  /* Gradient rang */
  background-clip: text;
  /* Matnga gradientni qo‘llash */
  -webkit-background-clip: text;
  /* Safari uchun */
  -webkit-text-fill-color: transparent;
  /* Matnni gradient qilish */
  transition: all 0.3s ease;
  /* Hoverda animatsiya */
  position: relative;
  /* Absolyut elementlar uchun konteks yaratish */
}

.navbar a:hover {
  color: #00f6ff;
  /* Hoverda matn rangi */
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #44e9ff;
  /* Yorqin hover effekti */
  transform: scale(1.1);
  /* Havolani kattalashtirish */
}

.navbar a::after {
  content: "";
  /* Qo‘shimcha chiziq */
  position: absolute;
  bottom: -5px;
  /* Havolaning pastida joylashadi */
  left: 0;
  width: 0;
  /* Boshlang‘ich holat kengligi */
  height: 3px;
  /* Chiziq balandligi */
  background: linear-gradient(to right, #00f6ff, #45e0ff);
  /* Gradient fon */
  transition: width 0.3s ease;
  /* Chiziq kengayishi */
}

.navbar a:hover::after {
  width: 100%;
  /* Hoverda to‘liq kengayadi */
}

.icon-link {
  position: relative;
  right: 110px;
  /* O‘ng tomonda joylashadi */
  top: 25px;
  /* Yuqoriga joylashadi */
}

.a2 {
  position: relative;
  left: 100px;
  flex: 1;
  /* Bo‘sh joyni moslashtirish */
  text-align: left;
  /* Matnni chapdan yo‘naltirish */
  height: 1px;
  top: 40px;
}

/* Ovoz tugmasi */
.music-button {
  width: 30px;
  height: 30px;
  font-size: 0.7rem;
  font-weight: bold;
  color: #00f6ff;
  background: transparent;
  border: 2px solid #00f6ff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  outline: none;
  position: relative;
  top: 25px;
}

/* Hover efekti */
.music-button:hover {
  background: rgba(0, 246, 255, 0.2);
  transform: scale(1.1);
}

.menu-btn {
  display: none;
  cursor: pointer;
  position: relative;
  right: 10px;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #00f6ff;
  margin: 5px auto;
  transition: 0.3s;
}

/* === HOME SECTION Umumiy Tuzilishi === */
.home-section {
  display: flex;
  /* Yonma-yon joylashish */
  align-items: center;
  /* Vertikal markazlash */
  justify-content: flex-start;
  /* Chapdan boshlash */
  padding: 6.25rem;
  /* 100px = 6.25rem */
  position: relative;
}

/* === Chap Tomon Matn (Salomlashish) === */
.home-left {
  flex: 1;
  text-align: left;
  margin-left: 9.375rem;
  /* 150px = 9.375rem */
  position: relative;
  top: 1.25rem;
  /* 20px = 1.25rem */
}

.home-left h1 {
  font-size: 2.5rem;
  /* Salom matn hajmi */
  color: #ffffff;
  margin-bottom: 0.3125rem;
  /* 5px = 0.3125rem */
}

/* === Dynamic Typing Matn === */
.typing-container {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1fa3cb;
  white-space: nowrap;
  overflow: hidden;
  width: fit-content;
  animation: blink 0s step-end infinite;
}

/* === Lottie Animatsiya Divi === */
.lottie-animation {
  width: 35%;
  height: 34.375rem;
  /* 550px = 34.375rem */
  top: 1.25rem;
  /* 20px = 1.25rem */
  position: relative;
}

/* About bo‘limi */
.about-section {
  padding: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

/* Sarlavha */
.about-title {
  text-transform: uppercase;
  position: relative;
  /* Absolyut pozitsiya */
  text-align: center;
  /* Matnni o‘rtalash */
  top: 114.5%;
  /* Yuqori joylashuv */
  left: 50%;
  /* Gorizontal markazlash */
  transform: translateX(-50%);
  /* Markazlash */
  font-size: 2.5rem;
  /* Matn hajmi */
  font-weight: bold;
  color: #ffffff;
  /* Matn rangi */
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00d8ff;
  /* Neon effekt */
  z-index: 0;
  /* Yuqorida bo‘lishi uchun */
  margin: 0;
  /* Ichki va tashqi bo‘shliqni olib tashlash */
}

/* About konteyneri */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
}

/* Animatsiya joylashuvi */
.about-animation-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 35%;
  margin-top: 100px;
  position: relative;
  top: -10px;
}

/* Forma joylashuvi */
.about-details {
  flex: 1.5;
  display: flex;
  justify-content: center;
}

.about-form {
  width: 100%;
  max-width: 500px;
  background: rgb(0, 25, 44);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgb(17, 179, 194);
  position: relative;
  top: 15px;
  left: 200px;
  min-height: 400px;
  /* Eng kam balandlik */
}

/* HUD USLUBI */
@keyframes cosmicGlow {
  0% {
    box-shadow: 0 0 25px rgba(0, 246, 255, 0.8);
  }

  100% {
    box-shadow: 0 0 60px rgba(0, 246, 255, 1);
  }
}

/* === ABOUT BUTTONS (NEON STYLE) === */
.about-buttons {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.tab-button {
  font-size: 1rem;
  font-weight: bold;
  color: #00f6ff;
  background: transparent;
  border: 2px solid rgba(0, 246, 255, 0.8);
  padding: 12px 25px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.tab-button::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 246, 255, 0.7),
    transparent
  );
  left: -50%;
  top: 0;
  transform: skewX(-45deg);
  transition: 0.4s;
}

.tab-button:hover::before {
  left: 150%;
}

.tab-button:hover {
  box-shadow: 0 0 25px rgba(0, 246, 255, 1);
  transform: scale(1.05);
}

/* === ACTIVE TAB EFFECT === */
.tab-button.active {
  background: rgba(0, 246, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 246, 255, 1);
}

/* Bo‘limlar tarkibi */
.about-section-content {
  display: none;
}

.about-section-content.active {
  display: block;
  text-align: left;
}

/* Bio konteyneri */
.quick-bio-container {
  position: relative;
  display: flex;
  align-items: flex-start;
  /* Matn bilan tekis joylashish */
  justify-content: space-between;
}

/* Matn qismi */
.quick-bio-text {
  flex: 1;
  font-size: 1.1rem;
  color: #ffffff;
  text-align: left;
}

/* Rasm qismi */
.quick-bio-image {
  position: absolute;
  top: 20px;
  /* Yuqoriga yaqin joylashadi */
  right: 30px;
  /* O‘ng tomonda burchakka joylashadi */
}

.quick-bio-image img {
  width: 100px;
  /* Rasm hajmi */
  height: 130px;
  border-radius: 10%;
  box-shadow: 0 0 10px rgba(0, 246, 255, 0.5);
}

.a3 {
  position: relative;
  top: 50px;
  color: #ffffff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00f6ff;
}

.a0 {
  position: relative;
  top: 50px;
  color: #ffffff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00f6ff;
}

.a1 {
  color: #ffffff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00f6ff;
}

/* Umumiy Konteyner */
.skills-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px;
  color: #ffffff;
}

/* Animatsiya (Chap tomon) */
.skills-animation {
  flex: 1;
  height: 600px;
  max-width: 50%;
  /* Animatsiya kengligi */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 10px;
  left: -50px;
}

/* Skill Barlar */
.skill-bar-container {
  display: flex;
  flex-direction: column;
  position: relative;
  top: 35px;
  width: 90%;
  gap: 25px;
  right: -100px;
}

.skill-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.2rem;
}

.skill-bar i {
  font-size: 3rem;
  color: #00f6ff;
  text-shadow: 0 0 10px rgba(0, 246, 255, 0.8);
}

.skill-bar span {
  flex: 1;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Logotiplar va Progress Barlar (O‘ng tomon) */
.skills-logos {
  flex: 1;
  text-align: left;
}

.progress {
  flex: 4;
  height: 10px;
  background: #1c1c1e;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #00f6ff, #ffffff);
  border-radius: 5px;
  box-shadow: 0 0 20px #00f6ff;
  width: 0%;
  /* Har doim 0% dan boshlash */
  transition: width 2s ease-in-out;
  /* Smooth animatsiya */
}

.skh2 {
  position: absolute;
  top: 1627px;
  /* Ekran tepasidan 20px pastga */
  left: 50%;
  /* Gorizontal markazga */
  transform: translateX(-50%);
  /* O‘rtaga markazlash */
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00d8ff;
  text-align: center;
  z-index: 0;
}

.projects-section {
  text-align: center;
  color: rgb(255, 255, 255);
}

.projects-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  position: relative;
  padding: 100px;
  margin: 0 auto;
  gap: 200px;
  top: 100px;
}

.project-logos {
  position: absolute;
  top: 2430px;
  /* Ekrandan pastga 100px */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  /* Matn rangi */
  font-weight: bold;
  /* Qalin matn */
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00d8ff;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: rgb(4, 20, 45);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 246, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Responsivlik */
  width: 100%;
  max-width: 900px;
  margin: 10px auto;
  /* Markazga */
  height: auto;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 30px rgba(0, 246, 255, 0.8);
}

.project-card img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.project-card h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  text-shadow: 0 0 10px #00f6ff;
}

.project-card p {
  font-size: 1rem;
  padding: 0 10px;
  color: #b0b0b0;
}

.project-card a {
  display: inline-block;
  margin: 10px;
  padding: 10px 15px;
  background: #00f6ff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.project-card a:hover {
  background: #ff00ff;
}

/* Modal Dizayni */
.modal {
  display: none;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.modal-content {
  background: #1c1c1e;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  width: 80%;
  max-width: 450px;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0;
}

.modal-content a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #00f6ff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Footer umumiy uslubi */
.footer-container {
  background: rgba(6, 24, 46, 0.7);
  /* Shisha rang fon */
  padding: 10px 40px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  backdrop-filter: blur(10px);
  /* Hira shisha effekt */
  box-shadow: 0 0 20px rgb(105, 236, 243);
}

/* Matn uslubi */
.footer-container p {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}

.contact-title {
  text-transform: uppercase;
  position: absolute;
  /* Absolyut pozitsiya */
  top: 3205px;
  /* Yuqori joylashuv */
  left: 50%;
  /* Gorizontal markazlash */
  transform: translateX(-50%);
  /* Markazlash */
  font-size: 2.5rem;
  /* Matn hajmi */
  color: #ffffff;
  /* Matn rangi */
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #00d8ff;
  /* Neon effekt */
  z-index: 0;
  /* Yuqorida bo‘lishi uchun */
}

/* === Contact Content === */
.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 150px;
  position: relative;
}

/* === Contact Form === */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 30%;
  padding: 10px;
  background: rgba(15, 30, 50, 0.8);
  border: 1px solid rgba(59, 235, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 246, 255, 0.7);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  animation: fadeIn 1s ease-in-out;
}

#contact-form {
  position: relative;
  top: 120px;
  /* Formani teppaga ko‘tarish */
  left: 1px;
  /* Formani chapga siljitish */
}

#contact-form:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 246, 255, 1);
}

/* === Form Input Fields === */
#contact-form input,
#contact-form textarea {
  background: rgba(30, 60, 90, 0.8);
  color: #ffffff;
  font-size: 1.2rem;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #00f6ff;
  box-shadow: 0 0 15px rgba(0, 246, 255, 0.7);
}

/* === Send Button === */
#contact-form button {
  padding: 14px 32px;
  background: linear-gradient(135deg, #00f6ff, #0070ff);
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 246, 255, 1);
}

/* === Futuristik Aloqa Ma'lumotlari === */
.contact-details {
  position: absolute;
  right: -8%;
  top: 35%;
  width: 500px;
  padding: 30px;
  background: rgba(20, 30, 50, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 50px rgba(0, 246, 255, 0.7), 0 0 25px rgba(0, 246, 255, 0.4);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(0, 246, 255, 0.8);
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  animation: fadeIn 1s ease-in-out;
}

/* === Futuristik Matn Stili === */
.contact-info p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 18px 0;
  padding: 10px;
  background: rgba(0, 246, 255, 0.1);
  border-radius: 10px;
  box-shadow: inset 0 0 15px rgba(0, 246, 255, 0.3);
}

/* === Neon Effektli Ikonalar === */
.contact-info i {
  font-size: 1.8rem;
  color: #00f6ff;
}

/* === Futuristik Ijtimoiy Tarmoqlar === */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.social-icons a {
  font-size: 2.2rem;
  color: #ffffff;
  text-shadow: 0 0 10px #00f6ff, 0 0 20px #2feaff;
  transition: transform 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.social-icons a:hover {
  transform: scale(1.3);
  color: #2feaff;
  text-shadow: 0 0 20px #2feaff, 0 0 30px #00f6ff;
}

#soc:hover {
  transform: scale(1.02);
}

.resume-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #00f6ff, #00f6ff);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 246, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.resume-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 246, 255, 1);
}

/* Chap tomondan chiqadigan animatsiya */
.about-animation-container {
  opacity: 0;
  transform: translateX(-50px);
  /* Yangi transform qiymati */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.about-animation-container.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

/* O‘ng tomondan chiqadigan animatsiya */
.about-form {
  opacity: 0;
  transform: translateX(50px);
  /* Yangi transform qiymati */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.about-form.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* Chap tomondan chiqadigan animatsiya (Skills bo‘limi uchun) */
.skills-animation {
  opacity: 0;
  transform: translateX(-50px);
  /* Chapdan chiqadi */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.skills-animation.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

/* O‘ng tomondan chiqadigan animatsiya (Skill barlar uchun) */
.skills-logos {
  opacity: 0;
  transform: translateX(50px);
  /* O‘ngdan chiqadi */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.skills-logos.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

.project-card {
  opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Chapdan chiqadigan kartochkalar */
.project-card:nth-child(odd) {
  transform: translateX(100px);
  /* Chapga surilgan */
}

.project-card:nth-child(odd).slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* O‘ngdan chiqadigan kartochkalar */
.project-card:nth-child(even) {
  transform: translateX(-100px);
  /* O‘ngga surilgan */
}

.project-card:nth-child(even).slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Form (Chapdan chiqadi) */
#contact-form {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

#contact-form.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

/* Home Left (Chapdan chiqadi) */
.home-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.home-left.slide-in-left {
  opacity: 1;
  transform: translateX(0);
}

/* Lottie Animation (O‘ngdan chiqadi) */
.lottie-animation {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.lottie-animation.slide-in-right {
  opacity: 1;
  transform: translateX(0);
}

/* Umumiy responsiv sozlamalar (Telefon uchun) */
@media (max-width: 768px) {
  body {
    /* gorizontal siljishni oldini olish */
    margin: 0;
    /* Har bir element uchun quti modelini belgilash */
  }

  /* Kenglikni 768px ga cheklash */

  h1 {
    font-size: 1.8rem;
    /* kichikroq matn */
  }

  .container {
    padding: 0 20px;
    /* Sahifani kengaytirish */
    margin-left: 0;
    /* Sahifani chapga surish */
    overflow-x: hidden;
  }

  .home-section {
    flex-direction: column;
    /* Elementlarni vertikal qilish */
    padding: 0px 0px;
    text-align: center;
  }

  .home-left {
    margin: 0;
    top: 100px;
    left: 0;
    text-align: center;
  }

  .typing-container {
    font-size: 1.1rem;
    margin-top: 10px;
  }

  .lottie-animation {
    width: 85%;
    /* katta ko‘rinadi mobil uchun */
    height: 400px;
    left: 0;
    margin-top: 20px;
    top: 50px;
  }

  .about-title {
    position: relative;
    left: 50%;
    top: 50px;
  }

  .about-section {
    flex-direction: column;
    /* Elementlarni vertikal qilish */
    padding: 0px 0px;
    position: relative;
  }

  .about-container {
    flex-direction: column;
    gap: 0px;
  }

  .about-form {
    position: relative;
    left: 0px;
    margin-top: 50px;
    padding: 25px;
    /* Ichki bo'sh joyni oshirib shaklni kengroq qiladi */
  }

  .about-animation-container {
    display: none;
    /* animatsiyani yashirish mobil uchun */
  }

  .tab-button {
    font-size: 0.6rem;
    /* kichikroq matn */
    padding: 10px 20px;
  }

  .quick-bio-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .quick-bio-image {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
  }

  .skh2 {
    position: relative;
    left: 15%;
    top: 80px;
  }

  .skills-container {
    flex-direction: column;
    padding: 0px;
    margin-top: 0px;
  }

  .skills-animation {
    display: none;
    /* animatsiyani yashirish mobil uchun */
  }

  .skills-logos {
    position: relative;
    right: 45px;
    width: 100%;
    top: 80px;
  }

  /* Skill Barlar */
  .skill-bar-container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    right: -50px;
    top: 50px;
  }

  .progress {
    flex: 2;
  }

  .project-logos {
    position: relative;
    top: -180px;
    left: 50%;
  }

  .projects-section {
    padding: 250px 0px;
    margin-top: 200px;
  }

  .projects-container {
    flex-direction: column;
    gap: 40px;
    top: -60px;
    padding: 0px;
    left: -3px;
  }

  .project-card {
    overflow: hidden;
    width: 90%;
    /* kenglikni kichiklashtirish */
    height: auto;
    margin-bottom: 10px;
    top: -51px;
  }

  .project-card img {
    width: 100%;
    height: auto;
  }

  .contact-section {
    padding: 0px;
    margin-top: -300px;
  }

  .contact-title {
    position: relative;
    top: 70px;
  }

  .contact-content {
    top: 180px;
    flex-direction: column;
    margin: auto;
    width: 100%;
  }

  #contact-form {
    position: relative;
    width: 90%;
    margin: 20px auto;
    top: -90px;
    left: -5px;
    /* Formani chapga siljitish */
  }

  .contact-info p {
    font-size: 1rem;
    word-break: break-all;
    /* Email uzun bo‘lsa, bo‘lib chiqadi */
    overflow-wrap: break-word;
    /* Katakchani buzmaydi */
  }

  .contact-info a {
    color: white;
    /* Raqam oq rangda bo‘ladi */
    text-decoration: none;
    /* Tag chiziqni olib tashlaydi */
    font-weight: bold;
  }

  .contact-details {
    position: relative;
    width: 85%;
    top: -70px;
    left: -5px;
  }

  .star,
  .stars div {
    width: 1px;
    height: 1px;
  }

  #loading-animation {
    width: 80px;
    height: 80px;
  }

  #loading-screen {
    height: 100vh;
  }

  .back-to-top-futuristic {
    bottom: 100px;
    right: 40px;
    width: 0px;
    height: 0px;
    line-height: 90px;
    font-size: 22px;
    text-decoration: none;
    font-family: "Orbitron", sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    animation: pulse 2s infinite;
  }

  .back-to-top-futuristic:hover {
    transform: scale(1.2);
  }

  /* Ovoz tugmasi */
  .music-button {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #00f6ff;
    background: transparent;
    border: 2px solid #00f6ff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    outline: none;
    top: 20px;
    right: 60px;
    /* O‘ng tomonga joylashadi */
    position: relative;
  }

  /* Hover efekti */
  .music-button:hover {
    background: rgba(0, 246, 255, 0.2);
    transform: scale(1.1);
  }

  /* Tugma bosilganda */
  .music-button:active {
    transform: scale(0.95);
  }

  .navbar {
    top: 10px;
    /* Tepaga joylashadi */
    right: 100px;
    /* O‘ng tomonga joylashadi */
    width: 85%;
    /* To‘liq kenglikni egallaydi */
    z-index: 1;
    /* Yuqorida bo‘lishi uchun */
    padding: 0px;
    /* Yon tomonlardan bo‘sh joy */
  }

  .navbar a {
    top: 0px;
    margin-left: -20px;
    left: -10px;
  }

  .navbar ul {
    position: fixed;
    top: 50px;
    /* hamburgerning pastidan chiqishi uchun kerakli masofa */
    right: -15px;
    width: 180px;
    height: auto;
    gap: 10px;
    border-radius: 10px;
    flex-direction: column;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    align-items: flex-end;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-20px);
    z-index: 1;
  }

  .navbar ul.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 5;
  }

  .menu-item {
    opacity: 0;
    transform: translateY(-15px);
    animation: fadeDown 0.5s forwards;
  }

  /* Har bir menyuga alohida kechikish berish */
  .menu-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .menu-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .menu-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .menu-item:nth-child(4) {
    animation-delay: 0.4s;
  }

  .menu-item:nth-child(5) {
    animation-delay: 0.5s;
  }

  /* Animatsiya */
  @keyframes fadeDown {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Menyu ochilishi */
  .navbar ul.active {
    opacity: 1;
    visibility: visible;
  }

  .menu-btn {
    display: block;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 2;
  }

  .navbar .icon-link {
    position: relative;
    top: 10px;
    left: -20px;

    display: flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    display: flex;
    gap: 5px;
    left: 0px;
    z-index: 1;
    width: 100%;
  }

  .a2 {
    left: 25px;
    top: -5px;
  }

  .footer-container {
    position: relative;
    bottom: -140px;
    left: -20px;
    width: 90%;
    padding: 10px 40px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    backdrop-filter: blur(10px);
    /* Hira shisha effekt */
    box-shadow: 0 -2px 20px rgb(105, 236, 243);
    z-index: 0;
    /* Yuqorida bo‘lishi uchun */
  }

  .footer-container p {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
    /* Matn rangi */
    text-shadow: 0 0 10px #00f6ff, 0 0 20px #00d8ff;
    /* Neon effekt */
  }

  .resume-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 0.8rem;
    /* Kichikroq matn */
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #00f6ff, #00f6ff);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
  }
}
