/* ==========================================
   ABOUT PAGE - سیب نت
   ========================================== */
.about-page {
  padding: 0 10px;
}
/* ==========================================
   ABOUT HERO - نسخه سبک و بدون فریز
   ========================================== */

.about-hero {
  padding: 40px 30px;
  border-radius: 20px;
  margin: 20px auto 40px;
  max-width: 1200px;
  text-align: center;
  background-color: var(--bg-khak);
  color: var(--black);
  position: relative;
  /* ✅ حذف overflow: hidden برای جلوگیری از فریز */
  will-change: auto; /* به جای transform */
  border-left: 5px solid var(--green);
  border-right: 5px solid var(--green);
  border-top: 1px solid var(--green);
  border-bottom: 1px solid var(--green);
}

/* ==========================================
   محتوای هدر
   ========================================== */
.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.about-hero h1 .highlight {
  color: var(--green);
}

.about-hero p {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 30px;
  opacity: 0.9;
}


/* ==========================================
   آمار (۴ ستونه)
   ========================================== */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 16px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* ✅ حذف backdrop-filter برای جلوگیری از سنگینی */
}

.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f5a623;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* ==========================================
   ریسپانسیو
   ========================================== */

/* تبلت */
@media (max-width: 992px) {

  .about-hero p {
    font-size: 1rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* موبایل */
@media (max-width: 576px) {
  .about-hero {
    padding: 25px 16px;
    border-radius: 16px;
  }

  .about-hero p {
    font-size: 0.9rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 12px 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* موبایل خیلی کوچک */
@media (max-width: 380px) {
  .about-hero {
    padding: 18px 12px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-item {
    padding: 10px 6px;
  }

  .stat-number {
    font-size: 1rem;
  }
}

/* ==========================================
   SECTION TITLE
   ========================================== */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-title i {
  color: var(--green);
}

.section-title .highlight {
  color: var(--green);
}

.section-subtitle {
  text-align: center;
  color: var(--black-hover);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.about-features {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-features .container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  background: var(--bg-khak);
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  border-right: 4px solid var(--green);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--black-hover);
  line-height: 1.7;
  margin: 0;
}

.feature-card p strong {
  color: var(--black);
}

/* ==========================================
   EXPERTS SECTION
   ========================================== */
.about-experts {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-experts .container {
  max-width: 1200px;
  margin: 0 auto;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.expert-card {
  background: var(--bg-khak);
  padding: 25px 20px;
  border-radius: 16px;
  text-align: center;
  border: 2px solid var(--bg-khak2);
}

.expert-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green);
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.expert-specialty {
  display: block;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.expert-link {
  color: var(--green2);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.expert-link:hover {
  color: var(--green);
}

.expert-link i {
  font-size: 0.7rem;
}

.view-all-experts {
  text-align: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: var(--gradient);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(50, 142, 110, 0.3);
  color: #fff;
}

.btn-primary i {
  font-size: 0.8rem;
}

/* ==========================================
   CONTACT SECTION (GEO)
   ========================================== */
.about-contact {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-contact .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--bg-khak);
  padding: 30px 35px;
  border-radius: 16px;
  border-right: 4px solid var(--green);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item strong {
  color: var(--black);
}

.contact-item a {
  color: var(--green2);
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.social-label {
  font-weight: 600;
  color: var(--black);
}

.about-page .social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.about-page .social-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.about-page .social-links a:hover {
  transform: translateY(-3px) scale(1.05);
}
.about-page .social-links a.whatsapp {
  background: #25d366;
}
.about-page .social-links a.telegram {
  background: #0088cc;
}
.about-page .social-links a.ble {
  background: #1e8bc3;
}
.about-page .social-links a.rubika {
  background: #6c2bd9;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.about-faq {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-faq .container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--bg-khak2);
}

.faq-question {
  padding: 16px 20px;
  background: var(--bg-khak);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-khak2);
}

.faq-question h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-toggle i {
  color: var(--green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--bg-sefid);
}

.faq-answer p {
  padding: 20px;
  color: var(--black-hover);
  line-height: 1.8;
  margin: 0;
}

.faq-answer a {
  color: var(--green2);
  font-weight: 600;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .experts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .expert-image {
    width: 100px;
    height: 100px;
  }

  .contact-item {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .expert-image {
    width: 120px;
    height: 120px;
  }

  .stat-item {
    padding: 12px 8px;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .contact-grid {
    padding: 18px 14px;
  }

  .contact-item {
    font-size: 0.85rem;
  }
  .about-page .social-links a {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .faq-question h4 {
    font-size: 0.9rem;
  }
}

/* ==========================================
   SERVICES SECTION - تصویری و حرفه‌ای
   ========================================== */

.about-services {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 10px;
}

.service-card {
  background: var(--bg-khak);
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--bg-khak2);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 4px;
  background: var(--gradient);
  transition:
    width 0.4s ease,
    right 0.4s ease;
}

.service-card:hover::before {
  width: 100%;
  right: 0;
}

.service-card:hover {
  border-color: var(--green);
}

.service-img {
  width: 100%;
  background: var(--gradient);
  margin-bottom: 15px;
  overflow: hidden;
}
.service-card .service-img img {
  transition: all 0.3s ease;
  width: 300px;
  height: 200px;
  margin: 0 auto;
}
.service-card:hover .service-img img {
  transform: scale(1.1) rotate(-2deg);
}
.service-card .content {
  padding: 20px 16px;
}
.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  margin: 0 0 15px 0;
  flex: 1;
}

.service-link {
  background: var(--gradient);
  padding: 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-s);
  gap: 6px;
  transition: all 0.3s ease;
  margin: 10px auto;
}

.service-link i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
  transform: translateX(-4px);
}

/* ==========================================
   RESPONSIVE SERVICES
   ========================================== */

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
