/*================================================
About Page Sections
Builds on the card and step components in service-content.css.
Colours follow the theme: pink #b62a72, blue #316A9A.
=================================================*/
.about-story-area,
.about-certs-area {
  background: linear-gradient(135deg, #fdf3f8 0%, #eef6fc 100%);
}
.about-team-area {
  background-color: #f5fafd;
}

/* Running text */
.about-page-text p {
  margin-bottom: 15px;
}
.about-page-text p:last-child {
  margin-bottom: 0;
}
.about-page-text a,
.about-section-intro a,
.about-page .sd-card p a {
  display: inline;
  color: #316A9A;
  font-weight: 500;
}
.about-page-text a:hover,
.about-section-intro a:hover,
.about-page .sd-card p a:hover {
  color: #b62a72;
}
.about-page .about-section-intro {
  margin-bottom: 45px;
  font-size: 17px;
}
.about-page .sd-cards {
  margin-top: 0;
  gap: 25px;
}
.about-page .sd-card {
  height: 100%;
}

/* Our Story: milestones */
.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.about-timeline::before {
  content: "";
  position: absolute;
  left: 44px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: #f0d9e5;
}
.about-timeline li {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px 20px 110px;
  box-shadow: 0 10px 30px rgba(49, 106, 154, 0.08);
  margin-bottom: 20px;
  min-height: 90px;
}
.about-timeline li:last-child {
  margin-bottom: 0;
}
.about-timeline-badge {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #b62a72;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 0 0 6px #fbeef5;
}
.about-timeline li:nth-child(2) .about-timeline-badge {
  background: #316A9A;
  box-shadow: 0 0 0 6px #eaf4fb;
}
.about-timeline h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.4;
}
.about-timeline p {
  margin: 0;
  font-size: 15px;
}

/* Team and award cards */
.about-card-role {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b62a72;
  margin-bottom: 8px;
}
.about-section-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  padding: 16px 20px;
  background: #ffffff;
  border-left: 4px solid #316A9A;
  border-radius: 8px;
}
.about-section-note i {
  font-size: 24px;
  color: #316A9A;
  flex-shrink: 0;
}

/* Technology: sterilisation card */
.about-page .sd-card.about-card-highlight {
  background: #b62a72;
  border-color: #b62a72;
}
.about-card-highlight h3,
.about-card-highlight p {
  color: #ffffff;
}
.about-page .sd-card.about-card-highlight .sd-card-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* First visit */
.about-steps {
  margin-top: 0;
}
.about-steps li {
  background: #ffffff;
}
.about-tip {
  display: flex;
  gap: 14px;
  background: #fff8e6;
  border: 1px solid #f6e1a8;
  border-radius: 12px;
  padding: 18px 20px;
}
.about-tip i {
  font-size: 26px;
  color: #c08a00;
  flex-shrink: 0;
}
.about-tip p {
  margin: 0;
  font-size: 15px;
}

/* Location */
.about-address {
  display: flex;
  gap: 12px;
  color: #222222;
  font-weight: 500;
}
.about-address i {
  font-size: 24px;
  color: #b62a72;
  flex-shrink: 0;
  margin-top: 3px;
}
.about-info-card {
  background: #316A9A;
  color: #ffffff;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 15px 40px rgba(49, 106, 154, 0.25);
}
.about-info-card h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
}
.about-info-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-info-card li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.about-info-card li i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.about-info-card strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.about-info-card span,
.about-info-card a {
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
}
.about-info-card a {
  text-decoration: underline;
}
.about-info-card a:hover {
  color: #B0E6FF;
}

/* Responsive */
@media only screen and (max-width: 991px) {
  .about-page .about-section-intro {
    margin-top: -15px;
  }
  .about-timeline,
  .about-steps,
  .about-info-card {
    margin-top: 40px;
  }
  .about-tip {
    margin-bottom: 0;
  }
}
@media only screen and (max-width: 767px) {
  .about-page .about-section-intro {
    text-align: center;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .about-timeline li {
    padding-left: 95px;
  }
  .about-timeline-badge {
    left: 12px;
    width: 58px;
    height: 58px;
    font-size: 12px;
  }
  .about-timeline::before {
    left: 40px;
  }
  .about-info-card {
    padding: 25px 20px;
  }
}
@media only screen and (min-width: 992px) {
  .about-story-area .section-title-warp,
  .about-location-area .section-title-warp {
    margin-bottom: 25px;
  }
}

/* Intro section headings use h2/h3 for a correct outline; keep the theme's original sizes */
.about-page .about-content h2.about-heading {
  font-size: 36px;
  margin-top: 22px;
  margin-bottom: 15px;
  line-height: 1.4;
}
.about-page .about-content h2.about-heading span {
  color: #b62a72;
}
.about-page .about-content h3.about-subheading {
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.2;
  color: #316A9A;
}
@media only screen and (max-width: 767px) {
  .about-page .about-content h2.about-heading {
    font-size: 25px;
  }
}
