/* === Umumiy Stil + Sahifa ochilish animatsiyasi === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0d0d0d;
  color: #e0e0e0;
  margin: 0;
  padding: 0;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1, h2, h3 {
  color: #00ff88;
}

a {
  color: #00bfff;
  text-decoration: none;
}

ul {
  padding-left: 20px;
}

/* === Navbar === */
.navbar {
  background-color: #111;
  padding: 15px;
  text-align: center;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar li {
  display: inline-block;
  margin: 0 15px;
}

.navbar a, .navbar button {
  color: #00ff88;
  background: none;
  border: none;
  font-weight: bold;
  cursor: pointer;
  font-size: 1em;
}

/* === Hero Bo‘lim === */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 60px 10%;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.content h1 {
  font-size: 3em;
}

.content h2 {
  font-size: 1.5em;
  color: #ccc;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00ff88;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.socials {
  margin-top: 20px;
}

.socials a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.socials a img:hover {
  transform: scale(1.2);
}

.avatar img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 20px #00ff88;
}

/* === Services Bo‘limi === */
.services-section {
  padding: 60px 10%;
  background-color: #0d0d0d;
  color: #e0e0e0;
  text-align: center;

  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.6s;
}

.section-title {
  font-size: 2em;
  color: #00ff88;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #00ff88;
}

.service-card h3 {
  color: #00bfff;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.95em;
  color: #ccc;
}

/* === Modal Oynasi === */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  margin: 5% auto;
  width: 90%;
  max-width: 900px;
  height: 90%;
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px #00ff88;
  animation: slideIn 0.4s ease-out;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #00ff88;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* === Cursor (Typing effekt uchun) === */
.cursor {
  display: inline-block;
  color: #00ff88;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}



