/* ==========================================================================
   NEGAREH ABOUT US PAGE STYLES (assets/css/about.css)
   سیستم طراحی و استایل‌های اختصاصی صفحه درباره ما موسسه نگاره
   ========================================================================== */

body.page-template-page-about {
  background-color: var(--bg-primary, #ffffff);
  color: var(--text-primary, #0a191d);
  direction: rtl;
  text-align: right;
}

/* ==================== ۱. هدر اصلی بالای صفحه درباره ما ==================== */
body.page-template-page-about .about-header-section {
  padding: 12px 0 28px;
}

body.page-template-page-about .about-hero-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-medium, rgba(0, 104, 114, 0.18));
  border-radius: var(--radius-xl, 22px);
  padding: 34px 38px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 54, 59, 0.05));
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  transition: background-color var(--transition-normal, 0.3s ease), border-color var(--transition-normal, 0.3s ease);
}

body.page-template-page-about .about-hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -15%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--brand-cyan-light, #E6FAFA) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.75;
}

[data-theme="dark"] body.page-template-page-about .about-hero-card::before {
  background: radial-gradient(circle, rgba(0, 205, 211, 0.15) 0%, transparent 70%);
}

body.page-template-page-about .breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted, #6B888E);
  margin-bottom: 14px;
}

body.page-template-page-about .breadcrumb-nav a {
  color: var(--brand-teal, #006872);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-fast, 0.18s ease);
}

[data-theme="dark"] body.page-template-page-about .breadcrumb-nav a {
  color: var(--brand-cyan, #00CDD3);
}

body.page-template-page-about .breadcrumb-nav a:hover {
  text-decoration: underline;
}

body.page-template-page-about .breadcrumb-separator {
  color: var(--text-muted, #6B888E);
  opacity: 0.6;
}

body.page-template-page-about .about-experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-cyan-light, #E6FAFA);
  border: 1px solid rgba(0, 205, 211, 0.4);
  color: var(--brand-teal, #006872);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 205, 211, 0.1);
}

[data-theme="dark"] body.page-template-page-about .about-experience-badge {
  background: rgba(0, 205, 211, 0.15);
  color: var(--brand-cyan, #00CDD3);
  border-color: rgba(0, 205, 211, 0.3);
}

body.page-template-page-about .about-hero-title {
  font-size: clamp(1.2rem, 2.05vw, 1.78rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.45;
  letter-spacing: -0.02em;
  white-space: normal;
}

body.page-template-page-about .gradient-title {
  background: linear-gradient(135deg, var(--brand-teal-deep, #00363B) 0%, var(--brand-teal, #006872) 65%, #008794 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] body.page-template-page-about .gradient-title {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--brand-cyan, #00CDD3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.page-template-page-about .about-hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-secondary, #3D5A60);
  line-height: 1.85;
  max-width: 960px;
  margin-bottom: 24px;
}

body.page-template-page-about .about-stats-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle, rgba(0, 104, 114, 0.1));
}

body.page-template-page-about .about-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated, #F6FAFA);
  border: 1px solid var(--border-subtle, rgba(0, 104, 114, 0.1));
  border-radius: var(--radius-pill, 999px);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary, #0A191D);
  transition: all var(--transition-fast, 0.18s ease);
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
}

body.page-template-page-about .about-stat-pill:hover {
  border-color: var(--brand-cyan, #00CDD3);
  background: var(--brand-cyan-light, #E6FAFA);
  transform: translateY(-1px);
}

[data-theme="dark"] body.page-template-page-about .about-stat-pill:hover {
  background: rgba(0, 205, 211, 0.12);
}

body.page-template-page-about .about-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-yellow, #FFB400);
  box-shadow: 0 0 6px rgba(255, 180, 0, 0.6);
  flex-shrink: 0;
}

/* ==================== ۲. بخش‌های اصلی بدنه صفحه ==================== */
body.page-template-page-about .about-content-area {
  padding-bottom: 60px;
}

body.page-template-page-about .about-section-block {
  margin-bottom: 40px;
}

body.page-template-page-about .about-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

body.page-template-page-about .about-block-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md, 14px);
  background: var(--brand-cyan-light, #E6FAFA);
  color: var(--brand-teal, #006872);
  border: 1px solid rgba(0, 205, 211, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] body.page-template-page-about .about-block-icon-box {
  background: rgba(0, 205, 211, 0.15);
  color: var(--brand-cyan, #00CDD3);
  border-color: rgba(0, 205, 211, 0.25);
}

body.page-template-page-about .about-block-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary, #0A191D);
}

/* کارت ماموریت ما */
body.page-template-page-about .mission-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-medium, rgba(0, 104, 114, 0.18));
  border-radius: var(--radius-xl, 22px);
  padding: 26px 32px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 54, 59, 0.05));
  border-top: 4px solid var(--brand-teal, #006872);
  transition: all var(--transition-fast, 0.18s ease);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] body.page-template-page-about .mission-card {
  border-top-color: var(--brand-cyan, #00CDD3);
}

body.page-template-page-about .mission-card:hover {
  box-shadow: var(--shadow-md, 0 10px 30px -6px rgba(0, 54, 59, 0.09));
  border-color: var(--brand-cyan, #00CDD3);
}

body.page-template-page-about .mission-text {
  font-size: 0.98rem;
  color: var(--text-primary, #0A191D);
  line-height: 1.95;
  font-weight: 500;
}

/* گرید چرا نگاره - ۴ کارت */
body.page-template-page-about .why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

body.page-template-page-about .why-us-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-medium, rgba(0, 104, 114, 0.18));
  border-radius: var(--radius-lg, 18px);
  padding: 24px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 54, 59, 0.05));
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal, 0.3s ease);
}

body.page-template-page-about .why-us-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-teal, #006872) 0%, var(--brand-cyan, #00CDD3) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast, 0.18s ease);
}

body.page-template-page-about .why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 10px 30px -6px rgba(0, 54, 59, 0.09));
  border-color: rgba(0, 205, 211, 0.45);
}

body.page-template-page-about .why-us-card:hover::after {
  opacity: 1;
}

body.page-template-page-about .why-us-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md, 14px);
  background: var(--bg-elevated, #F6FAFA);
  border: 1px solid var(--border-medium, rgba(0, 104, 114, 0.18));
  color: var(--brand-teal, #006872);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast, 0.18s ease);
}

[data-theme="dark"] body.page-template-page-about .why-us-icon-wrapper {
  color: var(--brand-cyan, #00CDD3);
}

body.page-template-page-about .why-us-card:hover .why-us-icon-wrapper {
  background: var(--brand-cyan-light, #E6FAFA);
  border-color: var(--brand-cyan, #00CDD3);
  transform: scale(1.06);
}

[data-theme="dark"] body.page-template-page-about .why-us-card:hover .why-us-icon-wrapper {
  background: rgba(0, 205, 211, 0.2);
}

body.page-template-page-about .why-us-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

body.page-template-page-about .why-us-body {
  flex: 1;
}

body.page-template-page-about .why-us-item-text {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary, #0A191D);
  line-height: 1.8;
}

/* کارت نگاه به آینده */
body.page-template-page-about .future-card {
  background: var(--bg-surface, #ffffff);
  border: 1px solid var(--border-medium, rgba(0, 104, 114, 0.18));
  border-radius: var(--radius-xl, 22px);
  padding: 26px 32px;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0, 54, 59, 0.05));
  border-top: 4px solid var(--accent-gold, #D97706);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast, 0.18s ease);
}

body.page-template-page-about .future-card:hover {
  box-shadow: var(--shadow-md, 0 10px 30px -6px rgba(0, 54, 59, 0.09));
  border-color: var(--accent-gold-border, rgba(217, 119, 6, 0.35));
}

body.page-template-page-about .future-text {
  font-size: 0.98rem;
  color: var(--text-primary, #0A191D);
  line-height: 1.95;
  font-weight: 500;
}

/* ==================== ۳. بلوک برجسته شعار نگاره (Slogan Banner) ==================== */
body.page-template-page-about .slogan-banner-section {
  margin-top: 50px;
  margin-bottom: 20px;
}

body.page-template-page-about .slogan-banner-card {
  background: linear-gradient(135deg, #012429 0%, #00363B 45%, #004D54 100%);
  border: 1px solid rgba(0, 205, 211, 0.35);
  border-radius: var(--radius-2xl, 28px);
  padding: 44px 38px;
  color: #FFFFFF;
  box-shadow: 0 18px 45px -8px rgba(1, 36, 41, 0.45);
  position: relative;
  overflow: hidden;
  text-align: center;
}

body.page-template-page-about .slogan-banner-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 205, 211, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

body.page-template-page-about .slogan-banner-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 180, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

body.page-template-page-about .slogan-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

body.page-template-page-about .slogan-quote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--brand-cyan, #00CDD3);
  opacity: 0.85;
}

body.page-template-page-about .slogan-quote-icon svg {
  width: 100%;
  height: 100%;
}

body.page-template-page-about .slogan-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-yellow, #FFB400);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

body.page-template-page-about .slogan-main-text {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 16px;
}

body.page-template-page-about .slogan-main-text .highlight {
  color: var(--brand-cyan, #00CDD3);
  position: relative;
  display: inline-block;
}

body.page-template-page-about .slogan-sub-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  margin-bottom: 28px;
}

body.page-template-page-about .slogan-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

body.page-template-page-about .btn-slogan-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-cyan, #00CDD3) 0%, var(--brand-cyan-dark, #00ADB2) 100%);
  color: #012429;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 205, 211, 0.35);
  transition: all var(--transition-fast, 0.18s ease);
}

body.page-template-page-about .btn-slogan-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 205, 211, 0.5);
  filter: brightness(1.08);
}

body.page-template-page-about .btn-slogan-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  transition: all var(--transition-fast, 0.18s ease);
}

body.page-template-page-about .btn-slogan-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==================== ۴. واکنش‌گرایی (Responsive Design) ==================== */
@media (max-width: 992px) {
  body.page-template-page-about .why-us-grid {
    grid-template-columns: 1fr;
  }

  body.page-template-page-about .about-hero-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 860px) {
  body.page-template-page-about .about-hero-card {
    padding: 24px 18px;
  }

  body.page-template-page-about .about-hero-title {
    font-size: 1.22rem;
  }

  body.page-template-page-about .about-stats-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.page-template-page-about .about-stat-pill {
    width: 100%;
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  body.page-template-page-about .slogan-banner-card {
    padding: 32px 18px;
  }

  body.page-template-page-about .slogan-main-text {
    font-size: 1.35rem;
  }
}
