/* =============== ABOUT PAGE STYLES =============== */
.about-page {
  background-color: var(--background);
}

/* =============== HERO SECTION =============== */
.about-hero {
  background: linear-gradient(rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.8)), 
              url('../img/Centre_de_tri_Machinex-1024x579.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fadeInDown 0.8s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* =============== OVERVIEW SECTION =============== */
.about-overview {
  padding: 6rem 0;
  background-color: var(--white);
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.overview-text {
  animation: fadeInLeft 0.8s ease;
}

.section-title {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.section-title .title-word {
  position: relative;
  display: inline-block;
  padding-bottom: 0.6rem;
}

.section-title .title-word::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0; /* RTL */
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}


.overview-description {
  margin-bottom: 2.5rem;
}

.overview-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.overview-features {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--background);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.overview-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  animation: fadeInRight 0.8s ease;
}

.overview-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.overview-image:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(transparent, rgba(30, 30, 30, 0.9));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.image-overlay p {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
}

/* =============== VISION & MISSION =============== */
.about-vision-mission {
  padding: 6rem 0;
  background-color: var(--background);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  text-align: center;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.vm-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeInUp 0.8s ease;
}

.vm-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.vision-card {
  border-top: 4px solid var(--primary);
}

.mission-card {
  border-top: 4px solid var(--accent);
}

.vm-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.vm-card h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.vm-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.vision-points,
.mission-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vision-points li,
.mission-points li {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  padding-right: 1.5rem;
  position: relative;
}

.vision-points li::before,
.mission-points li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: bold;
}

.mission-points li::before {
  color: var(--accent);
}

/* =============== VALUES SECTION =============== */
.about-values {
  padding: 6rem 0;
  background-color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}


.section-title {
  text-align: center;
}


/* =============== WHY WEALTH =============== */
.about-why {
  padding: 6rem 0;
  background-color: var(--background);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.why-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.why-header h3 {
  color: var(--secondary);
  font-size: 1.4rem;
  margin: 0;
}

.why-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.why-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-points li {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  padding-right: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.why-points li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

/* =============== SECTORS SECTION =============== */
.about-sectors {
  padding: 6rem 0;
  background-color: var(--white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sector-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
}

.sector-card:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.sector-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.sector-card h3 {
  color: var(--secondary);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.sector-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* =============== PARTNERS SECTION =============== */
.about-partners {
  padding: 6rem 0;
  background-color: var(--background);
}

.partners-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.partner-card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.partner-logo img {
  max-height: 60px;
  max-width: 150px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: var(--transition);
}

.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.partner-card h3 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.partnership-benefits {
  background-color: #e5e7eb;
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}




.partnership-benefits h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start; /* نفس مستوى البداية */
  gap: 0.8rem;
  text-align: right;
}

.benefit-icon {
  width: 20px;            /* تثبيت مكان الأيقونة */
  height: 20px;
  flex-shrink: 0;
  position: relative;
}

.benefit-icon::before {
  content: "✓";
  color: var(--primary);  /* أحمر */
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
}

.benefit-text {
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============== CTA SECTION =============== */
.about-cta {
  padding: 6rem 0;
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.65)
    ),
    url('/img/blog-engineering-project-management-3a548862.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}


.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  animation: fadeInDown 0.6s ease;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.cta-btn.primary {
  background-color: var(--primary);
  color: var(--white);
}

.cta-btn.primary:hover {
  background-color: #a81217;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(196, 22, 28, 0.3);
}



.cta-btn.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
  background-color: var(--white);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* =============== ANIMATIONS =============== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 992px) {
  .overview-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .vm-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .about-hero,
  .about-overview,
  .about-vision-mission,
  .about-values,
  .about-why,
  .about-sectors,
  .about-partners,
  .about-cta {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .vm-card {
    padding: 2rem;
  }
  
  .values-grid,
  .why-grid,
  .sectors-grid,
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .cta-title {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .overview-features {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

/* =============== SECTION ANIMATION DELAYS =============== */
.about-overview {
  animation-delay: 0.1s;
}

.about-vision-mission {
  animation-delay: 0.2s;
}

.about-values {
  animation-delay: 0.3s;
}

.about-why {
  animation-delay: 0.4s;
}

.about-sectors {
  animation-delay: 0.5s;
}

.about-partners {
  animation-delay: 0.6s;
}

.about-cta {
  animation-delay: 0.7s;
}