/* ==========================================================
   14. ABOUT US PAGE STYLES
   ========================================================== */

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--clr-primary-900) 0%, var(--clr-primary-500) 100%);
  padding: calc(var(--sp-16) + 20px) 0 var(--sp-12) 0;
  color: white; text-align: center; position: relative; overflow: hidden;
  border-radius: 0 0 var(--rad-lg) var(--rad-lg); margin-bottom: var(--sp-12);
}
.page-header .container { position: relative; z-index: 2; }
.page-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; }
.page-subtitle { font-size: 1.15rem; opacity: 0.9; max-width: 650px; margin: 0 auto; font-weight: 300; line-height: 1.8; }

/* --- Story Section --- */
.about-story-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: center; margin-bottom: var(--sp-16);
}
@media (min-width: 992px) { .about-story-grid { grid-template-columns: 1fr 1fr; } }
.about-img-collage { position: relative; height: 450px; }
.about-img-collage img {
  position: absolute; border-radius: var(--rad-lg); box-shadow: var(--shadow-md); object-fit: cover; border: 6px solid white;
}
.img-main { width: 75%; height: 80%; top: 0; right: 0; z-index: 2; }
.img-sub { width: 60%0; height: 65%; bottom: 0; left: 0; z-index: 3; } /* اصلاح تناسب */
.img-sub { width: 55%; height: 60%; bottom: 0; left: 0; z-index: 3; }

/* --- Values Cards --- */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--sp-6); margin-top: var(--sp-8);
}
.value-card {
  background: var(--clr-surface); padding: var(--sp-6); border-radius: var(--rad-lg);
  border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm); transition: var(--trans-normal); text-align: center;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--clr-primary-300); }
.value-icon {
  width: 70px; height: 70px; background: var(--clr-primary-100); color: var(--clr-primary-700);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.value-icon svg { width: 30px; height: 30px; }
.value-card h3 { font-size: 1.2rem; color: var(--clr-primary-900); margin-bottom: 10px; }
.value-card p { color: var(--clr-text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- Mission Banner --- */
.mission-banner {
  background: var(--clr-primary-900); color: white; border-radius: var(--rad-lg);
  padding: var(--sp-12) var(--sp-8); margin: var(--sp-16) 0; text-align: center; position: relative; overflow: hidden;
}
.mission-banner h2 { font-size: 2.2rem; margin-bottom: 20px; color: white; }
.mission-banner p { font-size: 1.15rem; max-width: 800px; margin: 0 auto; line-height: 1.8; opacity: 0.9; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ==========================================================
   14. ABOUT US PAGE STYLES (Advanced & High-End)
   ========================================================== */

/* --- Page Header --- */
.page-header {
  background: linear-gradient(135deg, var(--clr-primary-900) 0%, var(--clr-primary-500) 100%);
  padding: calc(var(--sp-16) + 20px) 0 var(--sp-12) 0;
  color: white; text-align: center; position: relative; overflow: hidden;
  border-radius: 0 0 var(--rad-lg) var(--rad-lg); margin-bottom: var(--sp-12);
}
.ph-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.05); animation: float 8s ease-in-out infinite; z-index: 1; }
.ph-blob-1 { width: 350px; height: 350px; top: -80px; right: -80px; }
.ph-blob-2 { width: 250px; height: 250px; bottom: -60px; left: 10%; animation-delay: -3s; }
.page-header .container { position: relative; z-index: 2; }
.page-title { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 900; margin-bottom: 15px; letter-spacing: -1px; }
.page-subtitle { font-size: 1.15rem; opacity: 0.9; max-width: 650px; margin: 0 auto; font-weight: 300; line-height: 1.8; }

/* --- Story & Collage Section --- */
.about-story-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: center; margin-bottom: var(--sp-16);
}
@media (min-width: 992px) { .about-story-grid { grid-template-columns: 1fr 1fr; } }

.about-img-collage { position: relative; height: 480px; }
.about-img-collage img {
  position: absolute; border-radius: var(--rad-lg); box-shadow: var(--shadow-md); object-fit: cover; border: 6px solid white;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-main { width: 75%; height: 80%; top: 0; right: 0; z-index: 2; }
.img-sub { width: 55%; height: 60%; bottom: 0; left: 0; z-index: 3; }
.about-img-collage:hover .img-main { transform: scale(1.03) translateY(-5px); }
.about-img-collage:hover .img-sub { transform: scale(1.05) translateY(5px); }

/* --- Stats Bar (آمار متحرک) --- */
.about-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-6);
  background: white; border: 1px solid var(--clr-border); border-radius: var(--rad-lg);
  padding: var(--sp-8); box-shadow: var(--shadow-sm); margin-bottom: var(--sp-16); text-align: center;
}
.astat-num { font-size: 2.8rem; font-weight: 900; color: var(--clr-primary-500); display: block; margin-bottom: 5px; }
.astat-text { font-size: 0.95rem; color: var(--clr-text-muted); font-weight: 700; }

/* --- Timeline Section (خط زمانی تاریخچه) --- */
.timeline-container { position: relative; max-width: 900px; margin: var(--sp-16) auto; }
.timeline-container::before {
  content: ''; position: absolute; top: 0; bottom: 0; right: 50%; width: 3px;
  background: var(--clr-primary-300); transform: translateX(50%);
}
.timeline-item { position: relative; margin-bottom: 50px; display: flex; width: 100%; }
.timeline-content {
  width: 45%; background: white; padding: 25px; border-radius: var(--rad-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--clr-border); position: relative;
  transition: transform 0.3s ease;
}
.timeline-content:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--clr-primary-300); }
.timeline-item:nth-child(odd) { justify-content: flex-start; }
.timeline-item:nth-child(even) { justify-content: flex-end; }
.timeline-year {
  position: absolute; top: 50%; transform: translateY(-50%); right: -60px;
  width: 50px; height: 50px; background: var(--clr-primary-500); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.9rem; box-shadow: 0 0 0 5px var(--clr-bg-main); z-index: 10;
}
.timeline-item:nth-child(even) .timeline-year { right: auto; left: -60px; }
.timeline-content h3 { font-size: 1.2rem; color: var(--clr-primary-900); margin-bottom: 8px; }
.timeline-content p { color: var(--clr-text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .timeline-container::before { right: 20px; transform: none; }
  .timeline-item { justify-content: flex-end !important; }
  .timeline-content { width: 85%; }
  .timeline-year { right: -40px !important; left: auto !important; width: 40px; height: 40px; font-size: 0.8rem; }
}

/* --- Values Cards --- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-6); margin-top: var(--sp-8); }
.value-card {
  background: var(--clr-surface); padding: var(--sp-8) var(--sp-6); border-radius: var(--rad-lg);
  border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); text-align: center;
}
.value-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-md); border-color: var(--clr-primary-300); }
.value-icon {
  width: 75px; height: 75px; background: var(--clr-primary-100); color: var(--clr-primary-700);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  transition: transform 0.5s ease;
}
.value-card:hover .value-icon { transform: rotateY(360deg); background: var(--clr-primary-500); color: white; }
.value-icon svg { width: 35px; height: 35px; }
.value-card h3 { font-size: 1.25rem; color: var(--clr-primary-900); margin-bottom: 12px; }
.value-card p { color: var(--clr-text-muted); font-size: 0.95rem; line-height: 1.7; }

/* --- Mission Banner --- */
.mission-banner {
  background: linear-gradient(135deg, var(--clr-primary-900) 0%, var(--clr-primary-500) 100%);
  color: white; border-radius: var(--rad-lg); padding: var(--sp-12) var(--sp-8);
  margin: var(--sp-16) 0; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mission-banner h2 { font-size: 2.3rem; margin-bottom: 20px; color: white; }
.mission-banner p { font-size: 1.15rem; max-width: 800px; margin: 0 auto; line-height: 1.9; opacity: 0.95; font-weight: 300; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }