/*
 * تنسيقات خاصة بصفحة "من نحن" (templates/about.php)
 * إيقاع مسافات + كروت رسالتنا/رؤيتنا + كروت الفريق والآراء + صور موحدة الزوايا.
 */

/* ---------- إيقاع المسافات بين السكاشن ---------- */
.page-template-about .about-us-main.flat-spacing-2 {
  padding-top: 80px;
}

.page-template-about .about-us.flat-spacing-2 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.page-template-about .section-testimonials.flat-spacing-4 {
  padding-top: 90px;
  padding-bottom: 90px;
}

.page-template-about section.flat-spacing-2:last-of-type {
  padding-top: 90px;
  padding-bottom: 100px;
}

.page-template-about .about-us-main .heading-section.spacing-2 {
  margin-bottom: 48px;
}

.page-template-about .about-us-main .img-wrap {
  margin-bottom: 48px;
}

@media (max-width: 1199px) {
  .page-template-about .about-us-main.flat-spacing-2,
  .page-template-about .about-us.flat-spacing-2,
  .page-template-about .section-testimonials.flat-spacing-4,
  .page-template-about section.flat-spacing-2:last-of-type {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-template-about .about-us-main .heading-section.spacing-2,
  .page-template-about .about-us-main .img-wrap {
    margin-bottom: 32px;
  }
}

/* ---------- صور بزوايا دائرية موحدة (16px) ---------- */
.page-template-about .about-us-main .img-wrap,
.page-template-about .about-us .img-style,
.page-template-about .testimonial-item,
.page-template-about .team-item .img-style {
  border-radius: 16px;
  overflow: hidden;
}

/* ---------- كروت رسالتنا / رؤيتنا ---------- */
.page-template-about .about-us-main .main-content {
  gap: 30px;
}

.page-template-about .nestly-mv-card {
  flex: 1;
  background-color: var(--Surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.page-template-about .nestly-mv-card:hover {
  box-shadow: 0 12px 32px rgba(24, 24, 24, 0.08);
  transform: translateY(-4px);
}

.page-template-about .nestly-mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--main);
  color: var(--White);
  font-size: 24px;
  margin-bottom: 20px;
}

.page-template-about .nestly-mv-card p {
  line-height: 1.9;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .page-template-about .about-us-main .main-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-template-about .nestly-mv-card {
    padding: 28px 24px;
  }
}

/* ---------- شريط المزايا: أيقونات بلون الهوية ---------- */
.page-template-about .tf-box-icon .icon {
  color: var(--main);
  font-size: 48px;
  margin-bottom: 16px;
}

.page-template-about .about-us-main .tf-sw-iconbox {
  margin-top: 48px;
  padding-top: 48px;
}

/* ---------- قسم قيمنا: أيقونات داخل دوائر بلون الهوية ---------- */
.page-template-about .about-us .benefit-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--Surface);
  border: 1px solid var(--line);
  color: var(--main);
  font-size: 28px;
  transition: all 0.4s ease;
}

.page-template-about .about-us .benefit-item:hover .icon {
  background-color: var(--main);
  border-color: var(--main);
  color: var(--White);
}

.page-template-about .about-us .box-about .benefit {
  gap: 28px;
}

/* ---------- قسم الآراء: كروت مظللة ---------- */
.page-template-about .testimonial-item {
  box-shadow: 0 8px 24px rgba(24, 24, 24, 0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.page-template-about .testimonial-item:hover {
  box-shadow: 0 16px 36px rgba(24, 24, 24, 0.1);
  transform: translateY(-4px);
}

.page-template-about .testimonial-item .list-star-default i {
  color: var(--main);
}

.page-template-about .testimonial-item .content-top p {
  line-height: 1.9;
}

/* ---------- كروت الفريق: hover أنيق ---------- */
.page-template-about .team-item .img-style img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.page-template-about .team-item:hover .img-style img {
  transform: scale(1.05);
}

.page-template-about .team-item .img-style {
  transition: box-shadow 0.4s ease;
}

.page-template-about .team-item:hover .img-style {
  box-shadow: 0 12px 32px rgba(24, 24, 24, 0.1);
}

.page-template-about .team-item .content {
  text-align: center;
  padding-bottom: 8px;
}

.page-template-about .team-item:hover .name a {
  color: var(--main);
}

.page-template-about .team-item .infor {
  margin-top: 2px;
}

.page-template-about .team-item .img-style .tf-social-icon li a {
  color: var(--main);
}

.page-template-about .team-item .img-style .tf-social-icon li a:hover {
  background-color: var(--main);
  border-color: var(--main);
  color: var(--White);
}
