
/* ===== About Hero Section ===== */

.about-hero {
    background: #e9e9e9;
    padding: 0 0 60px;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
}

.about-hero-white {
    background: rgba(255, 255, 255, 0.65);
    padding: 110px 0;
    border-bottom-left-radius: 80px;
    border-bottom-right-radius: 80px;
    position: relative;
    overflow: visible;
}
.about-hero-title {
  color: #990002;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 15px;
}

.about-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}

.about-img-wrapper {
    position: static;
}

.about-hero-img {
    max-width: 650px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 40px;
    top: auto;
    z-index: 2;
}


@media (max-width: 991px) {
    .about-img-wrapper {
        position: relative;
    }

    .about-hero-img {
        position: relative;
        top: 0;
        bottom: auto;
        left: 4%;
        right: 0;
        max-width: 520px;
        margin-bottom: 20px;
    }
}



/* ===== كارت ===== */
.journey-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: right;
}

/* السنة */
.year {
  color: #990002;
  font-weight: 700;
  margin-left: 6px;
}

/* الوصف */
.journey-desc {
  font-size: 14px;
  color: #777;
}

/* العمود اللي فيه الصورة */
.journey-item .col-md-2 {
  position: relative;
}

/* الصورة */
.journey-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 2px solid #e6e6e6;
  background: #fff;
  object-fit: cover;
  position: relative;
}

.about-message-desc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 2;
    color: #333;
    direction: rtl;
}

.about-message-desc span {
    display: inline-block;
}

@media (max-width: 576px) {
    .about-message-desc {
        gap: 10px;
        font-size: 16px;
    }
}
/* موبايل */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 28px;
    text-align: center;
  }

  .about-hero-desc {
    font-size: 18px;
    text-align: center;
  }
  .journey-card {
    margin-top: 15px;
    text-align: center;

  }

  .journey-desc {
    text-align: center;
  }
}

/* سكشن رسالتي */
.about-message-section {
  background: #ececec;
}

.about-message-desc {
  max-width: 750px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}



.about-future-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.about-future-img {
  max-width: 420px;
}


/* =====================================
   ABOUT PAGE - RESPONSIVE
===================================== */

@media (max-width: 768px) {

  .about-hero-title {
    font-size: 28px;
    text-align: center;
  }

  .about-hero-desc {
    font-size: 18px;
    text-align: center;
  }

  .journey-card {
    margin-top: 15px;
    text-align: center;
  }

  .journey-desc {
    text-align: center;
  }

  .about-message-desc {
    gap: 10px;
    font-size: 16px;
  }

  .about-future-desc {
    text-align: center;
  }

}

@media (max-width: 576px) {

  .about-hero-white {
    padding: 60px 0;
  }

  .about-hero {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .journey-img {
    width: 90px;
    height: 90px;
  }

}


/* =====================================
   ABOUT PAGE - ANIMATIONS
===================================== */

@keyframes aboutFadeRight {
  from {
    opacity: 0;
    transform: translate3d(18px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes aboutFadeLeft {
  from {
    opacity: 0;
    transform: translate3d(-18px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Hero */

.about-hero-content {
  animation: aboutFadeRight 0.8s ease both;
}

.about-hero-img {
  animation: aboutFadeLeft 0.9s ease both;
}

/* Scroll reveal */

.about-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);

  transition:
    opacity 0.65s ease-out,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);

  transition-delay: var(--about-delay, 0ms);
}

.about-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Mobile */

@media (max-width: 768px) {

  .about-reveal {
    transform: translate3d(0, 10px, 0);

    transition:
      opacity 0.55s ease-out,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {

  .about-hero-content,
  .about-hero-img,
  .about-reveal,
  .about-reveal.is-visible {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }

}


