/* Hero Section */

.hero {
  position: relative;
  height: calc(100vh - 100px);
  background: url("https://st4.depositphotos.com/1441511/20464/i/450/depositphotos_204649936-stock-photo-programmers-working-software-office-team.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 1000px;
  text-align: left;
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero p {
  max-width: 1000px;
  font-size: 2.5rem;
  font-style: italic;
  text-align: left;
}

/* About Us Section Styling */
.about-us {
  background-color: #0a3981; /* Deep blue background */
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-content p {
  text-align: left;
  font-size: 1.2rem;
  margin: 15px 0;
}

.about-content strong {
  font-weight: bold;
}

.about-content u {
  text-decoration: underline;
}

/* Telegram Link Section */
.telegram-link-section {
  text-align: center;
  background-color: black;
  color: white;
  padding: 10px 0;
  font-size: 1.2em;
}

.telegram-link-section a {
  margin-left: 10px;
  color: white;
  font-size: 1.5em;
  text-decoration: none;
}

.telegram-link-section a:hover {
  color: #0a3981;
}

/* Qanday Ishlaydi Section */
.how-it-works {
  padding: 20px;
  background-color: #f8f9fa;
}

.how-it-works h1 {
  text-align: center;
  color: #0a3981;
  margin-bottom: 20px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 1000px;
}

.info-card {
  background-color: #0a3981;
  color: white;
  padding: 30px 60px 30px 60px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 1.3em;
}

.info-card p {
  font-size: 1em;
  line-height: 1.5;
}

.info-card:hover {
  background-color: #08356b;
}

/* Teachers Section */
.teachers {
  background-color: #002d57;
  text-align: center;
  padding: 40px 20px;
}

.teachers h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 30px;
}

.teacher-card {
  background-color: white;
  margin: 0 auto;
  max-width: 300px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.teacher-card:hover {
  transform: translateY(-5px);
}

.teacher-card img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #0a3981;
}

.teacher-card h2 {
  font-size: 1.5rem;
  color: #0a3981;
  margin-bottom: 10px;
}

.teacher-card p {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 2rem;
  }
}
