/* ================================================
   ABOUT.CSS
   ستايل صفحة About فقط
   ================================================ */


/* ================================================
   BANNER
   ================================================ */
.page-banner.about-banner {
  background:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url("../images/about-banner.webp") center / cover no-repeat;
}


/* ================================================
   HIGHLIGHT
   ================================================ */
.about-highlight {
  padding: 20px 0 0;
}

.about-highlight-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
  box-sizing: border-box;
}

.about-highlight-wrap p {
  margin: 0;
  color: var(--hmc-brand-primary);
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  padding-bottom: 28px;
}

.about-highlight-wrap p::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88%;
  height: 22px;
  transform: translateX(-50%);
  border-bottom: 5px solid var(--hmc-brand-accent);
  border-radius: 0 0 50% 50%;
}


/* ================================================
   COMPANY OVERVIEW
   ================================================ */
.about-overview {
  padding: 100px 0 50px;
}

.about-overview-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.about-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-overview-image {
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(47,71,56,0.08);
}

.about-overview-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-overview-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--hmc-brand-primary);
}

.about-overview-text p {
  margin-bottom: 14px;
  line-height: 1.8;
  color: rgba(30,30,30,0.8);
}


/* ================================================
   VISION & MISSION
   ================================================ */
.about-vm-section {
  padding: 20px 0 60px;
}

.about-vm-grid {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-vm-card {
  background: rgba(47,71,56,0.04);
  border: 1px solid var(--hmc-brand-border);
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-vm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -18px rgba(0,0,0,0.22);
}

.about-vm-card h2 {
  margin: 0 0 14px;
  color: var(--hmc-brand-primary);
  font-size: 1.6rem;
}

.about-vm-card h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--hmc-brand-accent);
  border-radius: 999px;
  margin-top: 10px;
  margin-bottom: 24px;
}

.about-vm-card p {
  margin: 0;
  color: rgba(30,30,30,0.78);
  line-height: 1.8;
  font-size: 1rem;
}


/* ================================================
   VALUES
   ================================================ */
.values-section {
  padding: 40px 0 60px;
}

.values-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

.values-wrap h2 {
  margin: 0 0 10px;
  color: var(--hmc-brand-primary);
  font-size: 1.7rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.value-card {
  padding: 24px 28px;
  border-radius: 18px;
  background: rgba(47,71,56,0.05);
  border: 1px solid rgba(140,46,110,0.12);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 95%;
  border-left: 4px solid var(--hmc-brand-accent);
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.value-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.value-card h3 {
  margin: 0 0 8px;
  color: var(--hmc-brand-primary);
  font-size: 1.2rem;
}

.value-card p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(30,30,30,0.8);
  line-height: 1.6;
}


/* ================================================
   HMC GROUP
   ================================================ */
.hmc-section {
  padding: 50px 0 70px;
}

.hmc-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
}

.hmc-wrap h2 {
  margin: 0 0 8px;
  color: var(--hmc-brand-primary);
  font-size: 1.7rem;
}

.hmc-desc {
  margin: 0 0 24px;
  max-width: 760px;
  color: rgba(30,30,30,0.7);
  line-height: 1.7;
}

.hmc-box {
  background:
    radial-gradient(circle at 8% 18%, rgba(140,46,110,0.12), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(47,71,56,0.10), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(47,71,56,0.08), transparent 35%),
    #f8f9f8;
  border: 1px solid var(--hmc-brand-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px -18px rgba(0,0,0,0.18);
}

.hmc-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
}

.hmc-card {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(140,46,110,0.03) 100%);
  border: 1.5px solid rgba(47,71,56,0.12);
  border-radius: 18px;
  padding: 24px;
  min-height: 120px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hmc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.15);
  border: 1.5px solid rgba(140,46,110,0.25);
}

.hmc-card:nth-child(1) {
  grid-column: 2 / span 2;
}

.hmc-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.hmc-card:nth-child(9) {
  grid-column: 3 / span 2;
}

.hmc-card h3 {
  margin: 0 0 10px;
  color: var(--hmc-brand-primary);
  font-size: 1rem;
  line-height: 1.35;
}

.hmc-card p {
  margin: 0 0 4px;
  color: rgba(30,30,30,0.72);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hmc-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(140,46,110,0.05);
  border: 1px solid rgba(140,46,110,0.12);
  color: rgba(30,30,30,0.78);
  line-height: 1.7;
  font-size: 0.95rem;
}


/* ================================================
   HMC GROUP — إضافة: شعار المجموعة جنب العنوان
   وشعارات الشركات جوه البطاقات
   ================================================ */
.hmc-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hmc-title-row h2 {
  margin: 0;
}

.hmc-group-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.hmc-card {
  gap: 12px;
}

.hmc-card img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}