@import url("about-revamp.css");

/* Our Values — extends About Us (hero, alternating light/dark sections) */

/* Hero background only — structure matches .about-hero in about-revamp.css */
.ov-values-hero::before {
  background-image: url("../images/values_header.jpg");
}

.ov-hero-pills {
  margin-top: 2.5rem;
}

/* Value / AI card icons on light sections */
.ov-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #022d62, #0a4a8a);
  color: #00c2a8;
  font-size: 1.2rem;
}

.ov-ai-card .ov-value-card__icon {
  display: flex;
}

/* Client impact — white section */
.ov-impact {
  background: #fff;
}

.ov-impact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid #e8edf2;
}

.ov-impact-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ov-impact-block__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #022d62, #0a4a8a);
  color: #00c2a8;
  font-size: 1rem;
}

.ov-impact-block h5 {
  color: #022d62;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.ov-impact-block p {
  color: #5a6578;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.ov-impact__media {
  border-radius: 12px;
  overflow: hidden;
  background: #e8edf2;
  box-shadow: 0 12px 40px rgba(2, 45, 98, 0.1);
}

.ov-impact__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Timeline — dark section (glass cards on rg-about-dark) */
.ov-timeline-track {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ov-timeline-item {
  min-width: 0;
}

@media (min-width: 768px) {
  .ov-timeline-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .ov-timeline-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1200px) {
  .ov-timeline-track {
    gap: 1.75rem;
  }

  .ov-timeline-section .ov-timeline-card {
    padding: 1.65rem 1.35rem;
  }
}

.ov-timeline-section .ov-timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem 1.15rem;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ov-timeline-section .ov-timeline-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 194, 168, 0.35);
  transform: translateY(-3px);
}

.ov-timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #022d62;
  color: #00c2a8;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ov-timeline-section .ov-timeline-card h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.ov-timeline-section .ov-timeline-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Trust — 5 columns on large screens */
@media (min-width: 992px) {
  .ov-trust-row .ov-trust-col {
    flex: 1 1 0;
    max-width: 20%;
  }
}

@media (max-width: 767px) {
  .ov-hero-pills {
    gap: 1.25rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ov-timeline-section .ov-timeline-card:hover {
    transform: none;
  }
}
