/* About page — base from style.css + page polish (single source) */

/* About page */

.about-page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: var(--bg);
  overflow-x: clip;
}

.about-main {
  background: var(--bg);
}

.about-hero-section {
  position: relative;
  overflow: hidden;
  padding: 0 32px;
}

.about-hero-backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.about-hero-glow {
  position: absolute;
  opacity: 1;
  pointer-events: none;
}

.about-hero-glow-left {
  left: -96px;
  top: 183px;
  width: 708px;
  height: 814px;
}

.about-hero-glow-center {
  left: 788px;
  top: 498px;
  width: 298px;
  height: 328px;
}

.about-hero-glow-right {
  left: 1421px;
  top: 12px;
  width: 664px;
  height: 650px;
}

.about-hero-grid {
  position: absolute;
  inset: 0 0 0 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0) 0 54px, rgba(255, 255, 255, 0.05) 54px 55px);
  mix-blend-mode: lighten;
  opacity: 0.95;
}

.about-hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #fbfcfd 10%, rgba(248, 249, 252, 0) 30%, rgba(248, 249, 252, 0) 70%, #fbfcfd 100%),
    linear-gradient(90deg, #fbfcfd 10%, rgba(248, 249, 252, 0) 30%, rgba(248, 249, 252, 0) 70%, #fbfcfd 90%);
}

.about-hero-container {
  position: relative;
  z-index: 1;
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.about-hero-heading {
  width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about-hero-badge {
  height: 32px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
  color: var(--text-3);
  font-size: 14px;
  line-height: 20px;
}

.about-hero-heading h1 {
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.about-hero-heading h1 span {
  color: var(--primary);
}

.about-hero-collage {
  width: 1288px;
  height: 420px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  filter: drop-shadow(0 24px 24px rgba(0, 69, 206, 0.18));
}

.about-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.about-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-card-tall {
  height: 420px;
  align-self: start;
}

.about-hero-card-small {
  height: 280px;
  margin-top: 70px;
}

.about-hero-card-medium {
  height: 365px;
  margin-top: 28px;
}

.about-hero-copy {
  width: 960px;
  color: var(--text-3);
}

.about-hero-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.about-hero-copy p + p {
  margin-top: 16px;
}

.about-hero-lead {
  color: var(--text);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.about-hero-lead span {
  color: var(--primary);
}

.about-vision-section {
  padding: 0 32px;
}

.about-vision-container {
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-vision-row {
  width: 960px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.about-vision-label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.about-vision-label img {
  width: 44px;
  height: 44px;
}

.about-vision-label h2 {
  margin: 0;
  color: var(--text);
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
}

.about-vision-row p {
  width: 640px;
  margin: 0;
  color: var(--text-3);
  font-size: 18px;
  line-height: 28px;
}

.about-vision-banner {
  width: 1288px;
  height: 588px;
  overflow: hidden;
  border-radius: 24px;
}

.about-vision-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-section {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
}

.about-team-deco {
  position: absolute;
  pointer-events: none;
}

.about-team-deco-left {
  left: -104px;
  top: 380px;
  width: 347px;
  height: 207px;
}

.about-team-deco-right {
  right: 578px;
  top: 877px;
  width: 91px;
  height: 303px;
}

.about-team-container {
  position: relative;
  z-index: 1;
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-section-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 12px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--primary);
  font-size: 14px;
  line-height: 20px;
}

.about-section-heading h2 {
  width: 960px;
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.about-section-heading p {
  width: 640px;
  margin: 0;
  color: var(--text-3);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.about-team-track-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Pre-Owl fallback layout */
.about-team-track:not(.owl-loaded) {
  display: flex;
  gap: 32px;
  width: max-content;
}

.about-team-track.owl-carousel {
  display: block;
  width: 100%;
}

.about-team-track.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

.about-team-card {
  width: 350px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-team-photo {
  width: 100%;
  max-width: 350px;
  height: 466px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(188.259deg, #e2effe 4.912%, #88b0f9 95.088%);
}

.about-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-team-name h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.about-team-name p {
  margin: 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 24px;
}

.about-team-bio {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
  text-align: justify;
}

.about-team-progress {
  width: 100%;
  max-width: 100%;
  height: 8px;
  background: #f0f2f5;
}

.about-team-progress span {
  display: block;
  width: 235px;
  height: 8px;
  background: var(--primary);
}

.about-team-actions {
  display: flex;
  gap: 16px;
}

.about-capabilities-section {
  padding: 80px 32px;
  background: linear-gradient(180deg, #eff7ff 0%, #cee2fb 100%);
}

.about-capabilities-container {
  width: 1288px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 19px;
}

.about-capability-card {
  min-height: 270px;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid #fff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, #cee2fb 0%, #f5f8ff 52.85%, #feffff 100%);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.about-capability-card img {
  width: 100px;
  height: 100px;
}

.about-capability-card h3 {
  margin: 0;
  color: #111322;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
}

.about-capability-card p {
  margin: 0;
  color: var(--text-3);
  font-size: 16px;
  line-height: 24px;
}

.about-contact-section {
  padding: 80px 32px;
}

.about-contact-container {
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.about-contact-copy {
  width: 640px;
}

.about-contact-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
}

.about-contact-meta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-contact-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.about-contact-row img {
  width: 48px;
  height: 48px;
}

.about-contact-row p {
  margin: 0 0 4px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 20px;
}

.about-contact-row strong {
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.about-contact-form {
  width: 527px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 16px;
}

.about-contact-form input,
.about-contact-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

.about-contact-form textarea {
  min-height: 94px;
  resize: none;
}

.about-contact-form input::placeholder,
.about-contact-form textarea::placeholder {
  color: var(--text-3);
}

.about-contact-submit {
  align-self: flex-end;
}

/* —— Page polish / scoped overrides —— */

/* About page polish — Figma PC 3788:545 / Mobile 4048:7879 (scoped) */

.about-page .about-hero-card-media,
.about-page .about-vision-banner-media,
.about-page .about-team-photo-media {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.about-page .about-hero-card-media img,
.about-page .about-vision-banner-media img,
.about-page .about-team-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-page .about-capability-icon {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  border-radius: 0;
  background: transparent;
  animation: none;
}

.about-page .about-capability-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}


/* Owl team carousel — public + builder shell */
.about-page .about-team-track.owl-carousel,
.gt-builder-stage .about-team-track.owl-carousel {
  width: 100%;
}

.about-page .about-team-track.owl-carousel .owl-stage-outer,
.gt-builder-stage .about-team-track.owl-carousel .owl-stage-outer {
  overflow: hidden;
}

.about-page .about-team-track.owl-carousel .owl-item,
.gt-builder-stage .about-team-track.owl-carousel .owl-item {
  display: flex;
}

.about-page .about-team-track.owl-carousel .about-team-card,
.gt-builder-stage .about-team-track.owl-carousel .about-team-card {
  width: 100%;
}

.about-page .about-team-track.owl-carousel .about-team-photo,
.gt-builder-stage .about-team-track.owl-carousel .about-team-photo {
  width: 100%;
  max-width: none;
}

.about-page .about-team-actions .btn,
.gt-builder-stage .about-team-actions .btn {
  cursor: pointer;
}

.about-page .about-team-progress span[data-gt-about-team-progress],
.gt-builder-stage .about-team-progress span[data-gt-about-team-progress] {
  transition: width 0.35s ease, margin-left 0.35s ease;
}

.about-page .about-contact-meta a {
  color: inherit;
  text-decoration: none;
}

.about-page .about-contact-meta a:hover,
.about-page .about-contact-meta a:focus-visible {
  color: var(--primary, #2f6fed);
  text-decoration: underline;
}

.about-page a.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* —— Mobile 4048:7879 —— */
@media (max-width: 768px) {
  .about-page .about-hero-section {
    padding: 0 16px;
  }

  .about-page .about-hero-glow,
  .about-page .about-hero-grid {
    display: none;
  }

  .about-page .about-hero-mask {
    background:
      linear-gradient(180deg, #fbfcfd 0%, rgba(248, 249, 252, 0) 20%, rgba(248, 249, 252, 0) 80%, #fbfcfd 100%);
  }

  .about-page .about-hero-container {
    width: 100%;
    max-width: 100%;
    padding: 48px 0;
    gap: 40px;
  }

  .about-page .about-hero-heading {
    width: 100%;
    gap: 24px;
  }

  .about-page .about-hero-heading h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .about-page .about-hero-collage {
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 9px;
    filter: none;
  }

  .about-page .about-hero-card,
  .about-page .about-hero-card-tall,
  .about-page .about-hero-card-small,
  .about-page .about-hero-card-medium {
    height: auto;
    margin-top: 0;
    aspect-ratio: 170 / 236;
    border-radius: 16px;
  }

  .about-page .about-hero-copy {
    width: 100%;
    padding: 0;
  }

  .about-page .about-hero-lead {
    font-size: 20px;
    line-height: 30px;
  }

  .about-page .about-hero-copy p {
    font-size: 14px;
    line-height: 20px;
  }

  .about-page .about-vision-section {
    padding: 0 16px;
  }

  .about-page .about-vision-container {
    width: 100%;
    max-width: 100%;
    padding: 48px 0;
    gap: 40px;
  }

  .about-page .about-vision-row {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 0 12px;
  }

  .about-page .about-vision-label {
    gap: 12px;
  }

  .about-page .about-vision-label img {
    width: 32px;
    height: 32px;
  }

  .about-page .about-vision-label h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .about-page .about-vision-row p {
    width: 100%;
    font-size: 14px;
    line-height: 20px;
  }

  .about-page .about-vision-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 1288 / 588;
    border-radius: 16px;
  }

  .about-page .about-team-section {
    padding: 40px 16px;
  }

  .about-page .about-team-deco {
    display: none;
  }

  .about-page .about-team-container {
    width: 100%;
    max-width: 100%;
    gap: 20px;
  }

  .about-page .about-section-heading {
    gap: 16px;
  }

  .about-page .about-section-heading h2 {
    width: 100%;
    font-size: 36px;
    line-height: 44px;
  }

  .about-page .about-section-heading p {
    width: 100%;
    max-width: 100%;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .about-page .about-team-track-wrap {
    width: 100%;
    max-width: 100%;
  }

  .about-page .about-team-card {
    width: 264px;
  }

  .about-page .about-team-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 307 / 409;
  }

  .about-page .about-team-name h3 {
    font-size: 18px;
    line-height: 28px;
  }

  .about-page .about-team-name p {
    font-size: 14px;
    line-height: 20px;
  }

  .about-page .about-team-bio {
    font-size: 12px;
    line-height: 16px;
  }

  .about-page .about-team-progress {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-page .about-capabilities-section {
    padding: 48px 16px;
  }

  .about-page .about-capabilities-container {
    width: 100%;
    max-width: 100%;
    gap: 40px;
  }

  .about-page .about-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-page .about-capability-card {
    min-height: 0;
    width: 100%;
  }

  .about-page .about-contact-section {
    padding: 48px 16px;
  }

  .about-page .about-contact-container {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .about-page .about-contact-copy {
    width: 100%;
  }

  .about-page .about-contact-copy h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .about-page .about-contact-form {
    width: 100%;
    max-width: 100%;
  }
}
