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

/* About Us page */

/* Hero — match homepage rg-hero look (gradient + clear CTAs) */
.about-hero {
  position: relative;
  padding: 0 !important;
  background: linear-gradient(135deg, #022d62 0%, #0a4a8a 45%, #022d62 100%) !important;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/about_header.jpg") center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: 5rem 15px 2.5rem;
}

.about-hero.header-inner-menu .header-inner-title {
  margin-bottom: 0;
}

.about-hero .rg-hero-badge {
  display: inline-block;
}

.about-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.about-hero h1 span {
  color: #00c2a8;
}

.about-hero .rg-hero-lead {
  max-width: 720px;
}

.about-hero-trust {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  max-width: 640px;
  margin: -1rem auto 1.75rem;
  line-height: 1.6;
}

.about-hero .rg-hero-ctas .btn {
  margin: 0.35rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.about-hero .rg-hero-ctas .btn-primary-round {
  background: #00c2a8;
  border-color: #00c2a8;
  color: #022d62;
}

.about-hero .rg-hero-ctas .btn-primary-round:hover,
.about-hero .rg-hero-ctas .btn-primary-round:focus {
  background: #00e6c8;
  border-color: #00e6c8;
  color: #022d62;
}

.about-hero .rg-hero-ctas .btn-outline-light.btn-round {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff !important;
  background-color: transparent;
  border-radius: 50px;
}

.about-hero .rg-hero-ctas .btn-outline-light.btn-round:hover,
.about-hero .rg-hero-ctas .btn-outline-light.btn-round:focus {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #022d62 !important;
}

@media (max-width: 991px) {
  .about-hero__content {
    padding: 4rem 15px 2rem;
  }
}

@media (max-width: 767px) {
  .about-hero__content {
    padding: 3.5rem 15px 1.75rem;
  }

  .about-hero-trust {
    margin-top: 0;
    margin-bottom: 1.25rem;
  }
}

/* Who We Are — image + text row, highlights full width below */
.rg-about-who {
  padding: 3rem 0;
  background: #fff;
}

.rg-about-who__main {
  margin-bottom: 0;
}

.rg-about-who__media {
  border-radius: 12px;
  overflow: hidden;
  background: #e8edf2;
  height: 100%;
}

.rg-about-who__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}

.rg-about-who__body {
  height: 100%;
}

.rg-about-who__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #022d62;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.rg-about-who__text {
  color: #5a6578;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.rg-about-who__text p {
  margin-bottom: 0.75rem;
}

.rg-about-who__text p:last-child {
  margin-bottom: 0;
}

.rg-about-who__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 0.75rem;
  margin-top: 1.25rem;
}

.rg-about-who__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #022d62;
}

.rg-about-who__highlight i {
  flex-shrink: 0;
  color: #00c2a8;
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

@media (min-width: 992px) {
  .rg-about-who {
    padding: 3.5rem 0;
  }

  .rg-about-who__col-media {
    display: flex;
  }

  .rg-about-who__media {
    flex: 1;
    min-height: 100%;
  }

  /* Text-only column beside image — similar aspect ratio, minimal side crop */
  .rg-about-who__media img {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 991px) {
  .rg-about-who {
    padding: 2.5rem 0;
  }

  .rg-about-who__media {
    height: auto;
  }

  .rg-about-who__media img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
  }

  .rg-about-who__highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .rg-about-who {
    padding: 2rem 0;
  }

  .rg-about-who__highlights {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .rg-about-who__highlight {
    font-size: 0.875rem;
    padding: 0.6rem 0.75rem;
  }

  .rg-about-who__media img {
    max-height: 200px;
    object-fit: contain;
  }
}

/* Journey timeline */
.rg-journey-timeline {
  position: relative;
  padding: 2rem 0 0;
}

.rg-journey-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2.6rem;
  height: 2px;
  background: linear-gradient(90deg, #022d62, #00c2a8, #022d62);
  opacity: 0.25;
}

.rg-journey-item {
  text-align: center;
  padding: 0 0.75rem 1.5rem;
  height: 100%;
}

.rg-journey-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #022d62;
  color: #00c2a8;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.rg-journey-item h5 {
  color: #022d62;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rg-journey-item p {
  color: #5a6578;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.rg-journey-timeline--compact {
  padding-top: 1rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.rg-journey-timeline--compact .rg-journey-item {
  padding-bottom: 1rem;
}

.rg-journey-timeline--compact .rg-journey-item h5 {
  font-size: 0.95rem;
}

.rg-journey-timeline--compact .rg-journey-item p {
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .rg-journey-timeline::before {
    display: none;
  }

  .rg-journey-item {
    text-align: left;
    display: flex;
    gap: 1.25rem;
    padding: 0 0 1.75rem;
    border-left: 2px solid #e8edf2;
    margin-left: 1.25rem;
    padding-left: 1.5rem;
  }

  .rg-journey-year {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* Believe / dark sections */
.rg-about-dark {
  background: linear-gradient(135deg, #011a3a 0%, #022d62 55%, #0a4a8a 100%);
}

.rg-about-dark h2,
.rg-about-dark h3,
.rg-about-dark h4,
.rg-about-dark p {
  color: #fff;
}

.rg-about-dark p.text-muted,
.rg-about-dark .text-muted {
  color: rgba(255, 255, 255, 0.78) !important;
}

.rg-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.rg-pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 148px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.rg-pillar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 194, 168, 0.35);
}

.rg-pillar-card h4 {
  flex-shrink: 0;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: #00c2a8;
  line-height: 1.3;
}

.rg-pillar-card p {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
  opacity: 0.9;
}

@media (max-width: 991px) {
  .rg-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .rg-pillar-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rg-pillar-card {
    min-height: 0;
  }
}

/* Challenge cards */
.rg-challenge-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.rg-challenge-card:hover {
  box-shadow: 0 12px 40px rgba(2, 45, 98, 0.08);
  transform: translateY(-3px);
  border-color: rgba(0, 194, 168, 0.35);
}

.rg-challenge-card h5 {
  color: #022d62;
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.rg-challenge-card p {
  color: #5a6578;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* 6-step approach */
.rg-approach-step {
  text-align: center;
  padding: 1.25rem 0.75rem;
  height: 100%;
}

.rg-approach-step .rg-process-num {
  font-size: 0.95rem;
}

.rg-approach-step h5 {
  font-size: 0.95rem;
  color: #022d62;
  margin-bottom: 0.5rem;
}

.rg-approach-step p {
  font-size: 0.85rem;
  color: #5a6578;
  line-height: 1.5;
  margin-bottom: 0;
}

/* AI capability grid */
.rg-about-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rg-about-ai-tile {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #022d62;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.rg-about-ai-tile:hover {
  border-color: #00c2a8;
  box-shadow: 0 8px 24px rgba(2, 45, 98, 0.08);
}

.rg-about-ai-tile i {
  display: block;
  color: #00c2a8;
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

/* Technology expertise categories */
.rg-tech-category {
  margin-bottom: 1.5rem;
}

.rg-tech-category h5 {
  color: #022d62;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.rg-tech-category p {
  color: #5a6578;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Trust metrics */
.rg-trust-metric {
  text-align: center;
  padding: 1.5rem 1rem;
}

.rg-trust-metric strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #00c2a8;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.rg-trust-metric span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .rg-about-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .rg-about-ai-grid {
    grid-template-columns: 1fr;
  }
}
