/* 📄 فایل: assets/css/static-pages.css */
/* 🎨 استایل پایه برای تمام صفحات محتوایی و خدماتی (درباره ما، قوانین، FAQ، حریم خصوصی و...) */

body {
  background: #f9fafb;
  color: #1f2937;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  line-height: 1.9;
}

/* ░░░ سکشن قهرمان بالای صفحه (Hero Section) ░░░ */
.page-hero {
  position: relative;
  background: #FFC000 ;
  color: #fff;
  text-align: center;
  padding: 100px 20px 80px;
  overflow: hidden;
  margin-bottom: 2px;
}


.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23f9fafb' fill-opacity='1' d='M0,224L48,197.3C96,171,192,117,288,112C384,107,480,149,576,181.3C672,213,768,235,864,229.3C960,224,1056,192,1152,170.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L0,320Z'></path></svg>") no-repeat bottom;
  background-size: cover;
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.page-hero p {
  font-size: 17px;
  opacity: 0.95;
  margin: 0 auto;
  max-width: 700px;
}

/* ░░░ ساختار کلی بدنه صفحات ░░░ */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  }

.page-content p {
  line-height: 2;
  font-size: 15.5px;
  color: #333;
  margin-bottom: 16px;
  text-align: justify;
}

/* ░░░ بخش‌های متنی اصلی ░░░ */
.page-section {
  background: #fff;
  padding: 28px 32px;
  margin-bottom: 26px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  text-align: justify;
}
.page-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.page-section.alt {
  background: #fff7eb;
}
.page-section h2 {
  font-size: 20px;
  color: #ff8c00;
  margin-bottom: 14px;
  font-weight: 700;
}
.page-section ul {
  padding-right: 25px;
}
.page-section li {
  margin-bottom: 8px;
}

/* ░░░ عنوان‌های شاخص (بخش‌های مادر) ░░░ */
.section-title {
  margin: 70px 0 25px;
  text-align: center;
  position: relative;
}
.section-title h2 {
  font-size: 26px;
  color: #ff8c00;
  font-weight: 800;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  display: block;
  height: 4px;
  width: 60%;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #ffb100, #ff8c00);
  border-radius: 2px;
}
.section-title p {
  color: #6b7280;
  font-size: 15px;
  margin-top: 8px;
}

/* ░░░ باکس جمع‌بندی یا نکات پایانی ░░░ */
.page-summary {
  background: #1e293b;
  color: #fff;
  border-radius: 18px;
  padding: 40px 35px;
  margin-top: 60px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.page-summary h3 {
  color: #ffb100;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
}
.page-summary ul {
  list-style: none;
  padding: 0;
}
.page-summary li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 10px;
}
.page-summary li::before {
  content: "✔";
  color: #ffb100;
  position: absolute;
  right: 0;
  font-weight: 600;
}

/* ░░░ FAQ / Accordion Style (در صورت نیاز در سایر صفحات) ░░░ */
/* ░░░ FAQ / Accordion Style (طراحی هماهنگ با صفحه قوانین) ░░░ */
.faq-container {
  margin-top: 40px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  background: #fff7eb;
  color: #1f2937;
  font-size: 16.5px;
  text-align: right;
  padding: 18px 24px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
  font-size: 18px;
  color: #ff8c00;
}

.faq-question:hover,
.faq-question.active {
  background: linear-gradient(90deg, #ffb100, #ff8c00);
  color: #fff;
}

.faq-question.active .arrow {
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 24px;
  transition: max-height 0.4s ease;
}

.faq-answer p,
.faq-answer ul {
  padding: 18px 0;
  margin: 0;
  line-height: 1.9;
  font-size: 15.5px;
  color: #333;
}

.faq-answer ul {
  list-style: disc;
  padding-right: 30px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  padding: 0 20px;
  transition: max-height 0.4s ease;
}
.faq-answer p, .faq-answer ul {
  padding: 15px 0;
  margin: 0;
  line-height: 1.9;
  color: #333;
}
.faq-answer ul { list-style: disc; padding-right: 25px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.section-title img.icon-wrapper {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}



/* ==== تیترهای سکشن‌های بالای صفحه درباره ما ==== */
.about-title {
  position: relative;
  margin-top: 60px;
  margin-bottom: 25px;
  text-align: right;
}
.about-title.m-0 { margin-top: 0; margin-bottom: 16px; }

.about-title h2 {
  display: inline-block;
  font-size: 22px;
  font-weight: 700;
  color: #ff7c00;
  position: relative;
  padding-bottom: 6px;
}

.about-title h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 120px;
  height: 3px;
  background-color: #ff7c00;
  border-radius: 3px;
}

.about-title img.icon-wrapper {
  position: absolute;
  right: -64px;
  top: -10px;
  width: 56px;
  height: 56px;
}

/* =========================
   ABOUT: سکشن‌های دو ستونه (نیم‌عرض تصویر)
   ========================= */
.split-section{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 34px 0;
}
.split-section.reverse{ direction: rtl; }
.split-section .text{ direction: rtl; }
.split-section .media{ width:100%; }
.split-section .photo{
  width:100%;
  object-fit: contain;
  display:block;
  border:none;
  box-shadow:none;
  background:transparent;
}

/* باکس نقل‌قول کوتاه */
.quote-box{
  background:#fff7eb;
  border:1px dashed #ffb100;
  border-radius:14px;
  padding:18px 20px;
  margin:28px 0 10px;
  text-align:center;
  font-weight:700;
  color:#ff7c00;
}

/* =========================
   TEAM: کارت‌های اعضای تیم
   ========================= */
.team-section{
  background:#f6f7fb;
  padding: 10px 0 70px;
}
.team-section .container{
  max-width: 1000px;
  padding: 60px 20px 0;
}
.team-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-member{
  background:#fff;
  border-radius:16px;
  padding:18px;
  text-align:center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-member:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.team-member img{
  width:100%;
  aspect-ratio: 1 / 1;
  height:auto;
  object-fit: cover;
  border-radius:16px;
  margin-bottom:12px;
  display:block;
}

.team-member h4{
  margin:0 0 6px;
  font-size:16.5px;
  font-weight:800;
  color:#1f2937;
}
.team-member p{
  margin:0;
  font-size:13.5px;
  line-height:1.9;
  color:#475569;
}


/* =========================
   SERVICES FOR STUDENTS PAGE
   ========================= */
.page-hero h1 { font-weight:800; }
.page-hero p { font-size:17px; }

.split-section .photo {
  border:3px solid #fff;
}

.about-title h2 {
  color:#ff8c00;
}

.about-title img.icon-wrapper {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* تصاویر صفحه خدمات هنرجو */
@media (max-width:768px){
  .split-section .photo { aspect-ratio:auto; }
}


/* ریسپانسیو تکمیلی */
@media (max-width: 992px){
  .split-section{ grid-template-columns: 1fr; padding:22px; }
  .about-title img.icon-wrapper{ right:-56px; }
  .team-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .section-title img.icon-wrapper{ width:96px; height:96px; }
  .team-grid{ grid-template-columns: 1fr; }
}


/* ░░░ ریسپانسیو ░░░ */
@media (max-width: 768px) {
  .page-hero { padding: 80px 20px 60px; }
  .page-hero h1 { font-size: 26px; }
  .page-section, .page-summary { padding: 22px; }
  .section-title h2 { font-size: 22px; }
}

