/* ==========================================================================
   About Us — match Services / Clients / Portfolio design system
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

.about-page {
  --ab-white: #ffffff;
  --ab-bg: #f5f8fc;
  --ab-dark: #1e3a5f;
  --ab-muted: #5f6f86;
  --ab-navy: #1e3a8a;
  --ab-blue: #2563eb;
  --ab-blue-bright: #1d4ed8;
  --ab-blue-soft: #dbeafe;
  --ab-yellow: #f5c518;
  --ab-border: #dbe4f0;
  --ab-radius: 1rem;
  --ab-shadow: 0 10px 28px rgba(30, 58, 138, 0.07);
  --ab-shadow-hover: 0 16px 36px rgba(30, 58, 138, 0.12);
  --ab-container: 64rem;
  --ab-font: "Outfit", "Segoe UI", sans-serif;
  --ab-ease: cubic-bezier(0.22, 1, 0.36, 1);

  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--ab-bg);
  color: var(--ab-dark);
  font-family: var(--ab-font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#about .page-content.about-page,
#about .about-page {
  padding-bottom: 0 !important;
}

.about-page h1,
.about-page h2,
.about-page h3,
.about-page h4,
.about-page h5,
.about-page h6,
.about-page p,
.about-page a,
.about-page li {
  font-family: var(--ab-font);
}

.about-container {
  width: 100%;
  max-width: var(--ab-container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.25rem);
}

/* Breadcrumb */
.about-crumb-bar {
  padding-block: 0.95rem;
  background: transparent;
}

.about-crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: #7f93ad;
}

.about-crumb__item + .about-crumb__item::before {
  content: ">";
  margin-right: 0.4rem;
  color: #a8b6c8;
}

.about-crumb__link {
  color: var(--ab-blue);
  text-decoration: none;
}

.about-crumb__link:hover {
  color: var(--ab-navy);
  text-decoration: none;
}

.about-crumb__item[aria-current="page"] {
  color: #7f93ad;
}

/* Sections */
.about-section {
  padding-block: clamp(0.75rem, 2vw, 1.25rem) clamp(1.75rem, 3.5vw, 2.75rem);
}

.about-section--soft {
  background: #eef3f9;
}

.about-intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-intro__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--ab-navy);
  letter-spacing: -0.02em;
}

.about-intro__title span {
  color: var(--ab-blue-bright);
}

.about-intro__rule {
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0 auto;
  border-radius: 99px;
  background: var(--ab-yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.55s var(--ab-ease);
}

.about-intro.is-visible .about-intro__rule {
  transform: scaleX(1);
}

/* Showcase rows */
.about-showcase {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.about-showcase--reverse .about-showcase__content {
  order: 1;
}

.about-showcase--reverse .about-showcase__figure {
  order: 2;
}

.about-showcase__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--ab-radius);
  border: 1px solid var(--ab-border);
  box-shadow: var(--ab-shadow);
  background: var(--ab-white);
}

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

.about-showcase__content p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ab-muted);
}

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

.about-text-highlight {
  color: var(--ab-dark) !important;
  font-weight: 600;
  font-size: 1.05rem !important;
}

.about-mission-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--ab-navy);
  letter-spacing: -0.02em;
}

/* Expertise features */
.about-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
  margin-bottom: 1.35rem;
}

.about-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem 1.1rem 1.2rem;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: transform 0.3s var(--ab-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.18),
    0 0 28px rgba(59, 130, 246, 0.16),
    var(--ab-shadow-hover);
}

.about-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: 0.7rem;
  border: 1.5px solid #93c5fd;
  background: #eff6ff;
  color: var(--ab-blue);
}

.about-feature__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-feature__rule {
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 0.7rem;
  background: var(--ab-blue);
  border-radius: 99px;
}

.about-feature__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--ab-navy);
}

.about-trust {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-left: 3px solid var(--ab-yellow);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
}

.about-trust p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ab-muted);
  font-style: italic;
}

/* Process cards */
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.25rem);
}

.about-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 14.5rem;
  padding: 1.35rem 1.25rem 1.3rem;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: transform 0.3s var(--ab-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.18),
    0 0 28px rgba(59, 130, 246, 0.18),
    var(--ab-shadow-hover);
}

.about-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  border: 1.5px solid #93c5fd;
  background: #eff6ff;
  color: var(--ab-blue);
}

.about-card__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card__title {
  margin: 0 0 0.55rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ab-navy);
}

.about-card__rule {
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-bottom: 0.85rem;
  background: var(--ab-blue);
  border-radius: 99px;
}

.about-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ab-muted);
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.about-stat {
  text-align: center;
  padding: 1.35rem 1rem 1.4rem;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
  transition: transform 0.3s var(--ab-ease), box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-stat:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--ab-shadow-hover);
}

.about-stat__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  border-radius: 0.7rem;
  border: 1.5px solid #93c5fd;
  background: #eff6ff;
  color: var(--ab-blue);
}

.about-stat__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-stat__num {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ab-navy);
  letter-spacing: -0.03em;
}

.about-stat__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ab-muted);
}

/* CTA */
.about-cta {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1.75rem 1.35rem;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--ab-radius);
  box-shadow: var(--ab-shadow);
}

.about-cta__copy {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ab-dark);
  font-weight: 500;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.45rem;
  border-radius: 0.65rem;
  background: var(--ab-yellow);
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.35);
  transition: transform 0.25s var(--ab-ease), box-shadow 0.25s ease, background 0.25s ease;
}

.about-cta__btn:hover {
  transform: translateY(-2px);
  background: #ffd84a;
  color: #1a1a1a;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(245, 197, 24, 0.45);
}

/* Reveal */
.about-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ab-ease), transform 0.55s var(--ab-ease);
}

.about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-reveal--d1 { transition-delay: 0.06s; }
.about-reveal--d2 { transition-delay: 0.12s; }
.about-reveal--d3 { transition-delay: 0.18s; }
.about-reveal--d4 { transition-delay: 0.24s; }

/* Footer */
.about-page .about-footer {
  position: relative !important;
  bottom: auto !important;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 0 !important;
  padding-bottom: 1.8rem;
  flex: 0 0 auto;
}

.about-page .about-footer .about-footer-bg {
  background-image:
    linear-gradient(180deg, rgba(30, 58, 138, 0.75) 0%, rgba(15, 23, 42, 0.92) 100%),
    url("../img/about/about-brand.png") !important;
  background-position: center 20% !important;
  background-size: cover !important;
  transform: scale(1.08);
}

.about-page .about-footer .row {
  position: relative;
  z-index: 2;
}

/* Sidebar */
#about .about-sidebar {
  --ab-yellow: #f5c518;
  --ab-font: "Outfit", "Segoe UI", sans-serif;
  overflow: hidden;
}

#about .about-sidebar__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1d4ed8;
}

#about .about-sidebar__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

#about .about-sidebar__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-color: #1d4ed8;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#about .about-sidebar__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.35) 0%,
    rgba(29, 78, 216, 0.45) 46%,
    rgba(30, 58, 138, 0.62) 100%
  );
  pointer-events: none;
}

#about .about-sidebar-bg,
.sidebar-item-wrapper[data-content="about"] > .bg-holder {
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

#about .about-sidebar-bg {
  display: none;
}

#about .about-sidebar::after {
  display: none;
}

#about .about-sidebar .btn-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  left: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

#about .about-sidebar .btn-close img.times {
  display: none !important;
}

#about .about-sidebar .btn-close img.d-lg-none {
  display: block !important;
  width: 12px;
  height: 12px;
}

#about .about-sidebar .page-title {
  color: #fff !important;
  font-family: var(--ab-font);
  font-weight: 700;
  letter-spacing: 0.02em;
  left: 0.9rem !important;
  right: auto !important;
  bottom: 9.25rem !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 3;
}

#about .about-sidebar__accent {
  position: absolute;
  left: calc(0.9rem + 1.55rem) !important;
  right: auto !important;
  bottom: 1.65rem;
  width: 2px;
  height: 4.35rem;
  overflow: visible;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.65);
  z-index: 4;
}

#about .about-sidebar__accent::before {
  content: "";
  position: absolute;
  top: -1.15rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f5c518;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(245, 197, 24, 0.7);
  z-index: 4;
}

@media (max-width: 1100px) {
  .about-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-features,
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .about-showcase,
  .about-showcase--reverse {
    grid-template-columns: 1fr;
  }

  .about-showcase--reverse .about-showcase__content,
  .about-showcase--reverse .about-showcase__figure {
    order: initial;
  }

  .about-container {
    padding-inline: clamp(1.05rem, 4vw, 1.75rem);
  }
}

@media (max-width: 640px) {
  .about-process-grid,
  .about-features,
  .about-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .about-section {
    padding-block: 1.15rem 1.45rem;
  }

  .about-card {
    min-height: 0;
    padding: 1.15rem 1.05rem;
  }

  .about-cta {
    max-width: none;
    padding: 1.35rem 1.1rem;
    text-align: center;
  }

  .about-cta__btn {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
  }

  .about-crumb-bar {
    padding-block: 0.55rem 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-reveal,
  .about-intro__rule {
    transition: none !important;
  }
}
