/* ===================================
   Custom About Page Styles
   Following theme design patterns
   =================================== */

/* ==== Statistics Section ==== */
.statistics {
  padding: 100px 0px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.statistics__inner {
  position: relative;
  z-index: 2;
}

.statistics__single {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
}

.statistics__single:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.statistics__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: var(--base-color);
  transition: var(--transition);
}

.statistics__single:hover .statistics__icon {
  background: var(--quaternary-color);
  transform: scale(1.1);
}

.statistics__icon i {
  font-size: 36px;
  color: var(--black);
  transition: var(--transition);
}

.statistics__single:hover .statistics__icon i {
  color: var(--white);
}

.statistics__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
  font-family: var(--template-font);
}

.statistics__single p {
  font-size: 16px;
  font-weight: 600;
  color: var(--template-color);
  margin: 0;
  text-transform: capitalize;
}

/* ==== Story Section ==== */
.story {
  padding: 100px 0px;
  position: relative;
  z-index: 1;
}

.story__content {
  position: relative;
  z-index: 2;
}

.story__content .sub-title {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  color: var(--base-color);
  margin-bottom: 20px;
  text-transform: capitalize;
}

.story__content h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  color: var(--black);
}

.story__content h2 span {
  color: var(--base-color);
}

.story__content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--template-color);
  margin-bottom: 20px;
}

.story__milestones {
  margin-top: 40px;
}

.milestone-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.milestone-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.milestone-year {
  min-width: 120px;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--base-color);
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
}

.milestone-content h6 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.milestone-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--template-color);
  margin: 0;
}

.story__thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.story__thumb img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ==== Featured Projects Section ==== */
.featured-projects {
  padding: 100px 0px;
  position: relative;
  z-index: 1;
  background: var(--white);
}

.featured-projects .section__header {
  margin-bottom: 60px;
}

/* ==== Values Section ==== */
.values {
  padding: 100px 0px;
  position: relative;
  z-index: 1;
}

.values__single {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
}

.values__single:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.15);
}

.values__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: var(--base-color);
  transition: var(--transition);
}

.values__single:hover .values__icon {
  background: var(--quaternary-color);
  transform: scale(1.1) rotate(5deg);
}

.values__icon i {
  font-size: 36px;
  color: var(--black);
  transition: var(--transition);
}

.values__single:hover .values__icon i {
  color: var(--white);
}

.values__single h5 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 15px;
  text-transform: capitalize;
}

.values__single p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--template-color);
  margin: 0;
}

/* ==== Responsive Styles ==== */
@media (max-width: 991px) {
  .statistics__number {
    font-size: 36px;
  }
  
  .story__content h2 {
    font-size: 36px;
  }
  
  .milestone-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .milestone-year {
    min-width: auto;
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .statistics,
  .story,
  .featured-projects,
  .values {
    padding: 60px 0px;
  }
  
  .statistics__number {
    font-size: 32px;
  }
  
  .story__content h2 {
    font-size: 28px;
  }
  
  .values__single {
    padding: 30px 20px;
  }
}
