/* ═══════════════════════════════════════
   ABOUT.CSS — HMC GROUP
═══════════════════════════════════════ */

/* ── PAGE HEADER ── */
.page-header {
  margin-top: 88px;
  height: 280px;
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,32,88,0.72) 0%, rgba(8,40,120,0.45) 100%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 3;
  animation: fadeUp 0.9s ease both;
}

.page-header-h1 {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-header-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.7;
}

/* ── ABOUT SECTIONS ── */
.about-section {
  padding: 96px 80px;
  background: var(--white);
}

.about-section--alt {
  background: var(--off-white);
}

/* تقليل الـ padding لسكشن البربوز */
.about-section--purpose {
  padding: 56px 80px;
  position: relative;
  overflow: hidden;
}

/* دوائر باكقراوند جهة النص (اليمين) */
.purpose-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.purpose-c1 {
  width: 380px; height: 380px;
  border: 50px solid rgba(8,40,120,0.03);
  top: -100px; right: -80px;
}

.purpose-c2 {
  width: 220px; height: 220px;
  border: 40px solid rgba(216,160,48,0.04);
  bottom: -60px; right: 120px;
}

.about-section--purpose .about-grid {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 14px 20px;
  gap: 3px;
  box-shadow: var(--shadow-lg);
}

.badge-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.badge-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about-text {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.85;
}

/* ── VISION MISSION VALUES ── */
.vmv-section {
  padding: 96px 80px;
  background: var(--off-white);
}

.vmv-header {
  margin-bottom: 52px;
}

.vmv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.vmv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-left: 4px solid transparent;
}

.vmv-card--vision { border-left-color: var(--gold); }
.vmv-card--mission { border-left-color: var(--navy); }

.vmv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.vmv-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.vmv-card-icon svg {
  width: 22px; height: 22px;
  color: var(--navy);
}

.vmv-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--gold);
}

.vmv-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.vmv-card-text {
  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  color: var(--charcoal);
}

/* Values */
.vmv-values {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.vmv-values-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.vmv-values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: default;
  text-align: center;
}

.value-item:hover {
  border-color: var(--navy);
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-item:hover .value-icon { background: var(--navy); }
.value-item:hover .value-icon svg { color: var(--gold); }
.value-item:hover span { color: var(--navy); }

.value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}

.value-icon svg {
  width: 20px; height: 20px;
  color: var(--navy);
  transition: color 0.3s ease;
}

.value-item span {
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 0.3s ease;
  line-height: 1.3;
}

/* ── MILESTONES — أفقي ── */
.milestones-section {
  padding: 96px 80px;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* دوائر الباكقراوند — نفس الستايل المعتمد */
.milestones-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ms-c1 {
  width: 420px; height: 420px;
  border: 50px solid rgba(8,40,120,0.03);
  top: -100px; left: -100px;
}

.ms-c2 {
  width: 260px; height: 260px;
  border: 40px solid rgba(216,160,48,0.04);
  bottom: -60px; right: -60px;
}

.ms-c3 {
  width: 180px; height: 180px;
  border: 30px solid rgba(8,40,120,0.03);
  top: 50%; right: 15%;
  transform: translateY(-50%);
}

.milestones-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.milestones-sub {
  margin: 0 auto;
}

/* الـ timeline الأفقي */
.ms-timeline-wrap {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* النقاط والكونتنت */
.ms-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  height: 300px;
}

/* الخط الأفقي */
.ms-line {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 150px;
  height: 3px;
  background: rgba(8,40,120,0.15);
  z-index: 0;
}

.ms-line-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 1.8s ease;
}

.ms-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  position: relative;
}

/* النص فوق — ارتفاع ثابت */
.ms-text-top {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
  text-align: center;
}

/* النقطة على الخط */
.ms-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--off-white);
  box-shadow: 0 0 0 2px var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  position: relative;
}

/* النص تحت */
.ms-text-bottom {
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 16px;
  text-align: center;
}

.ms-empty {
  visibility: hidden;
}

.ms-item:hover .ms-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 3px var(--gold), 0 0 12px rgba(216,160,48,0.4);
}

.ms-year {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.ms-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  max-width: 100px;
}

.ms-item:hover .ms-year { color: var(--gold); }
.ms-item:hover .ms-title { color: var(--navy); }

/* ── ICON IMAGES — VMV ── */
.vmv-card-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.value-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease;
}

.value-item:hover .value-icon img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(55%) saturate(600%) hue-rotate(5deg) brightness(100%);
}

.ms-item {
  opacity: 1 !important;
  transform: none !important;
}