.elementor-51 .elementor-element.elementor-element-495c6a6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-51 .elementor-element.elementor-element-495c6a6.e-con{--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-51 .elementor-element.elementor-element-495c6a6{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-597c266 *//* Main section */
.our-story-section {
  padding: 60px 20px;
  background:  #f7f3ea;
  font-family: Arial, sans-serif;
}

/* Wrapper */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #0F6935;
  transform: translateX(-50%);
}

/* Each item */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Left + Right items */
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: left;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

/* Content box */
.timeline-content {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: inline-block;
  max-width: 90%;
  z-index: 1;
  position: relative;
}

/* Year */
.timeline-year {
  font-weight: bold;
  color: #0F6935;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Title */
.timeline-content h3 {
  margin: 0 0 12px;
  color: #0F6935;
  font-size: 22px;
}

/* Paragraph */
.timeline-content p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 16px;
}

/* Image box */
.timeline-img {
  position: absolute;
  top: 40px;
  width: 275px; /* زودت الحجم */
  height: 250px; /* زودت الحجم */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform .3s ease;
  z-index: 2;
}


/* Image left / right */
.timeline-item:nth-child(odd) .timeline-img {
  right: -280px; /* تعديل حسب الحجم الجديد */
}

.timeline-item:nth-child(even) .timeline-img {
  left: -280px; /* تعديل حسب الحجم الجديد */
}

/* Image zoom */
.timeline-img img {
  width: 100%;
  height: 100%;

  transition: .3s ease;
}

.timeline-img:hover img {
  transform: scale(1.1);
}

/* ================================
   RESPONSIVE
================================ */

/* Tablet + Mobile */
@media (max-width: 900px) {

  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 70px;
    padding-right: 20px;
    margin-bottom: 60px;
  }

  .timeline-img {
    width: 180px; /* أكبر شوي عن السابق */
    height: 180px;
    left: 0 !important;
    top: 0;
  }

  .timeline-content {
    max-width: 100%;
    margin-left: 200px; /* تعديل حسب الحجم الجديد */
    padding: 20px;
  }
}

/* Mobile small */
@media (max-width: 600px) {

  .timeline-item {
    padding-left: 0;
  }

  .timeline-img {
    position: relative;
    left: 0 !important;
    top: 0;
    margin-bottom: 15px;
    width: 100%;
    height: 250px; /* أكبر شوي */
  }

  .timeline-content {
    margin-left: 0;
  }
}/* End custom CSS */