/* Compiled from SCSS - Our Story Styles */

.col-12 .story-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  padding-top: 96px;
  position: relative;
}

.col-12 .story-wrapper .content {
  margin-left: 72px;
}

.col-12 .story-wrapper .content span.date {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FF5100;
}

.col-12 .story-wrapper .content p.title {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;
  color: #525151;
  margin-top: 24px;
  margin-bottom: 30px;
}

.col-12 .story-wrapper .content p.desc {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 29px;
  letter-spacing: -0.01em;
  color: #606060;
}

.col-12 .story-wrapper::after {
  content: "";
  border: 1px solid #FF5100;
  width: 1px;
  height: 200px;
  position: absolute;
  top: 0px;
  margin-left: 261px;
}

.col-12 .story-wrapper img.img-fluid {
  z-index: 1;
  border-radius: 30px;
}

.col-12:first-child .story-wrapper::after {
  content: "";
  display: none;
}

/* Our Story page styles */
.our-story-page {
  background: #F8F9FA;
  padding: 96px 0;
}

.our-story-page .story-header {
  text-align: center;
  margin-bottom: 64px;
}

.our-story-page .story-header .sub-title {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-size: 12px;
  line-height: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #035B9B;
  margin-bottom: 16px;
  display: block;
}

.our-story-page .story-header h1 {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.02em;
  color: #525151;
  margin-bottom: 24px;
}

.our-story-page .story-header p {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: -0.02em;
  color: #8E8E8E;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Timeline styles */
.timeline {
  position: relative;
  padding: 64px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FF5100;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item .timeline-content {
  flex: 1;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 64px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 64px;
}

.timeline-item .timeline-content .date {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FF5100;
  margin-bottom: 16px;
  display: block;
}

.timeline-item .timeline-content h3 {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #525151;
  margin-bottom: 16px;
}

.timeline-item .timeline-content p {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #8E8E8E;
  margin-bottom: 0;
}

.timeline-item .timeline-image {
  flex: 1;
  text-align: center;
  max-width: 45%;
}

.timeline-item .timeline-image img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.timeline-item .timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #FF5100;
  border: 4px solid #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive timeline */
@media (max-width: 768px) {
  .timeline::before {
    left: 32px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 64px;
  }
  
  .timeline-item .timeline-content {
    max-width: 100%;
    margin: 0 !important;
    margin-bottom: 24px;
  }
  
  .timeline-item .timeline-image {
    max-width: 100%;
  }
  
  .timeline-item .timeline-dot {
    left: 32px;
  }
}
