.elementor-20 .elementor-element.elementor-element-5693f3a{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-b8fd1c0 */.tf-about-intro {
  padding: 20vh 0;
  background-color: var(--surface-container-low);
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  height: 100vh;
}

.tf-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.tf-about-grid {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 48px;
  align-items: center;
}

.tf-badge-secondary {
  background-color: rgba(254, 183, 26, 0.15);
  color: #8f6200;
}

.tf-section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.tf-p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--on-surface-variant);
  margin-bottom: 16px;
  text-align: justify;
}

.tf-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
  transition: gap 0.3s;
}

.tf-link-btn:hover {
  gap: 12px;
}

.tf-team-grid {
  display: block;
  /*grid-template-columns: 7fr 1fr;*/
  gap: 24px;
}

.tf-team-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tf-team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tf-team-card:hover img {
  transform: scale(1.08);
}

.tf-team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 52, 124, 0.95), rgba(0, 52, 124, 0));
  color: #fff;
}

.tf-team-overlay h3 {
  font-size: 18px;
  margin: 0 0 4px 0;
}

.tf-team-overlay p {
  font-size: 13px;
  margin: 0;
  opacity: 0.8;
}

.tf-offset-top {
  margin-top: 32px;
}

.tf-team-info-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tf-team-info-card h3 {
  font-size: 20px;
  margin: 12px 0 8px 0;
}

.tf-team-info-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .tf-about-grid {
    grid-template-columns: 1fr;
  }
  .tf-offset-top {
    margin-top: 0;
  }
}/* End custom CSS */