* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Vazirmatn", sans-serif;
}

body {
  background: #ba00c0;
  color: white;
  line-height: 1.9;
  overflow-x: hidden;
}

header {
  height: 100vh;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 247, 1) 0%,
    rgba(172, 0, 224, 1) 100%,
    rgba(172, 0, 224, 1) 39%
  );
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
}

header h1 {
  font-size: 65px;
  color: #ffd700;
}

header p {
  font-size: 22px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background: #ffd700;
  color: #630066;
  text-decoration: none;
  font-weight: bold;
  border-radius: 40px;
  transition: 0.4s;
}

.btn:hover {
  background: white;
  transform: scale(1.05);
}

section {
  max-width: 1400px;
  width: 100%;
  margin: auto;
  padding: 80px 40px;
}

.title {
  text-align: center;
  font-size: 40px;
  color: #fcb0ff;
  margin-bottom: 25px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  text-align: justify;
  align-items: center;
  padding: 0 20px;
}

.grid img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card {
  background: #ffa600;
  padding: 30px;
  border-radius: 15px;
  transition: 0.4s;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  color: #630066;
  margin-bottom: 15px;
}

.timeline {
  border-right: 4px solid #ffa600;
  padding-right: 25px;
}

.timeline div {
  margin-bottom: 30px;
}

.timeline h4 {
  color: #ffa600;
}

details {
  background: #ffa600;
  padding: 18px;
  margin: 15px 0;
  border-radius: 10px;
  cursor: pointer;
}

.chart-container {
  background: #630066;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 900px;
  margin: auto;
}

footer {
  margin-top: 50px;
  padding: 40px;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(224, 0, 0, 1) 47%,
    rgba(171, 9, 14, 1) 66%
  );
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: 1s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

#topBtn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  padding: 15px;
  font-size: 22px;
  border: none;
  background: #ffa600;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 45px;
  }

  header p {
    font-size: 18px;
  }

  .title {
    font-size: 30px;
  }
}

.copp h5 {
  background-color: linear-gradient(
    90deg,
    rgba(255, 0, 0, 1) 0%,
    rgba(224, 0, 0, 1) 47%,
    rgba(171, 9, 14, 1) 66%
  );
}

.hero-bottom {
  max-width: 1400px;
  width: 90%;
  margin: 80px auto;
  padding: 60px;
  padding: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 247, 1) 0%,
    rgba(172, 0, 224, 1) 100%,
    rgba(172, 0, 224, 1) 39%
  );
  border-radius: 25px;
  overflow: hidden;
}

.hero-content h2 {
  font-size: 45px;
  color: #ffd700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 30px;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-bottom .btn {
  background: #ffd700;
  color: #630066;
  padding: 15px 40px;
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero-bottom .btn:hover {
  transform: scale(1.08);
  background: white;
}

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 32px;
  }
  section {
    width: 100%;
    padding: 50px 20px;
  }
  .grid {
    padding: 0;
    gap: 30px;
  }
}
