* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5;
  direction: rtl;
  font-family: "Vazirmatn", sans-serif;
}

.sch-hero {
  padding-top: 85px;
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 120px;
}

.sch-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to left, #7a121d, rgba(123, 15, 28, 0.867)),
    url("images/school.jpg");
}

.sch-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 500px;
}

.sch-content h1 {
  font-size: 44px;
  margin-bottom: 15px;
}

.sch-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.sch-line-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sch-line {
  width: 90px;
  height: 2px;
  background: #f4c06b;
}

.sch-icon {
  color: #f4c06b;
  font-size: 18px;
}

.sch-teachers {
  padding: 60px 20px;
}

.sch-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.sch-subtitle {
  color: #777;
  margin-bottom: 30px;
}

.sch-filters {
  margin-bottom: 30px;
}

.sch-filters button {
  border: 2px solid #7b0f1c;
  background: transparent;
  color: #7b0f1c;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-family: "Vazirmatn", sans-serif;
}

.sch-filters button.active,
.sch-filters button:hover {
  background: #7b0f1c;
  color: #fff;
}

.sch-teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.sch-card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sch-card:hover {
  transform: translateY(-8px);
}

.sch-card img {
  width: 90%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.sch-card h3 {
  margin-bottom: 5px;
  color: #6e6e6e;
}

.sch-card span {
  color: #7b0f1cea;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.sch-teacher-divider {
  display: block;
  width: 30px;
  height: 3px;
  background: #c7a26a;
  margin: 10px auto;
  border-radius: 50px;
}

.sch-cta {
  margin: 60px 20px;
  background: linear-gradient(90deg, #8d1020, #a51226, #8d1020);
  border-radius: 15px;
  color: #ffffffd9;
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  border: 3.5px solid rgba(214, 179, 106, 0.8);
}

.sch-quote-line {
  display: block;
  width: 100px;
  height: 2.2px;
  background: #d6b36a;
  margin: 18px auto 0;
  border-radius: 50px;
}