/* About page styling */

/* About Page Specific Overrides */

/* Our Vision Section Styles */
.about-vision-section {
  width: 100%;
  background-color: #ffffff;
  padding: 72px 24px 72px;
  position: relative;
  display: flex;
  justify-content: center;
}

.about-vision-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 51.2px;
}

.about-vision-header {
  text-align: center;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vision-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.08px;
  font-weight: 700;
  color: var(--brand, #5b4fe8);
  letter-spacing: 1.1264px;
  text-transform: uppercase;
  margin-bottom: 19.2px;
}

.vision-heading {
  font-size: 44.8px;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #5b4fe8 0%, #3b32b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 19.2px;
}

.vision-subheading {
  font-size: 16.8px;
  line-height: 1.65;
  color: var(--text-2, #4b4b6b);
  max-width: 780px;
}

/* 3 Vision Cards Grid */
.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.vision-card {
  background-color: #ffffff;
  border: 1.5px solid rgba(91, 79, 232, 0.12);
  border-radius: 16px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.vision-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  border-top-right-radius: 16px;
  background: radial-gradient(
    circle at top right,
    rgba(93, 85, 249, 0.12) 0%,
    rgba(93, 85, 249, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.vision-card:hover::before {
  opacity: 1;
}

.vision-card:hover {
  border-color: var(--brand, #5b4fe8);
  background-color: #ffffff;
  box-shadow: 0 8px 30px rgba(91, 79, 232, 0.08);
  transform: translateY(-2px);
}

.vision-card-icon-box,
.vision-card-title,
.vision-card-desc {
  position: relative;
  z-index: 2;
}

.vision-card-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(91, 79, 232, 0.06);
  border: 1.5px solid rgba(91, 79, 232, 0.15);
  color: var(--brand, #5b4fe8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.vision-card:hover .vision-card-icon-box {
  background-color: var(--brand, #5b4fe8);
  color: #ffffff;
  border-color: var(--brand, #5b4fe8);
}

.vision-card-icon {
  width: 25px;
  height: 25px;
}

.vision-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1, #0f0f1a);
  margin-bottom: 10px;
  line-height: 1.3;
}

.vision-card-desc {
  font-size: 15.36px;
  line-height: 1.55;
  color: var(--text-2, #4b4b6b);
}

/* Callout Box at Bottom of Vision */
.vision-mission-box {
  width: 100%;
  max-width: 780px;
  background: rgba(91, 79, 232, 0.03);
  border: 1.5px solid rgba(91, 79, 232, 0.18);
  border-radius: 12px;
  padding: 16px 30px;
  text-align: center;
  margin: 36px auto 0;
}

.vision-mission-text {
  font-size: 14.72px;
  font-weight: 500;
  font-style: italic;
  color: #3b3a5c;
  line-height: 1.5;
}

/* Center align cards in Our Vision section */
#vision .about-value-item {
  align-items: center;
  text-align: center;
}

/* Values Section */
.about-values-section {
  width: 100%;
  background-color: #ffffff;
  padding: 16px 48px 0px 48px;
  display: flex;
  justify-content: center;
}

.about-values-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-values-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

.about-value-item {
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.about-value-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-top-right-radius: 16px;
  background: radial-gradient(
    circle at top right,
    rgba(93, 85, 249, 0.12) 0%,
    rgba(93, 85, 249, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.about-value-item:hover::before {
  opacity: 1;
}

.about-value-item:hover {
  border-color: rgba(91, 79, 232, 0.35);
  background-color: #ffffff;
  box-shadow: 0 6px 16px -2px rgba(15, 23, 42, 0.06);
}

.about-value-number,
.about-value-icon-box,
.about-value-title,
.about-value-text {
  position: relative;
  z-index: 2;
}

.about-value-number {
  font-size: 28.8px;
  font-weight: 800;
  color: var(--brand, #5b4fe8);
  line-height: 1;
}

.about-value-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(93, 85, 249, 0.15) 0%,
    rgba(93, 85, 249, 0.05) 100%
  );
  border: 1px solid rgba(93, 85, 249, 0.25);
  color: var(--brand, #5d55f9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transform: scale(1) rotate(0deg) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.about-value-icon-box svg,
.about-card-icon {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  flex-shrink: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.about-value-item:hover .about-value-icon-box {
  transform: scale(1.1) rotate(-3deg) translateZ(0);
}

.about-value-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-1, #0f0f1a);
}

.about-value-text {
  font-size: 15.36px;
  line-height: 1.6;
  color: var(--text-2, #4b4b6b);
}

/* About Page Perspective Overrides for NFA / MyTeam Sections */
.about-perspective-override {
  padding-top: 32px;
  padding-bottom: 0px;
  width: 100%;
  background: #ffffff;
}

.about-perspective-override .myteam-badge,
.about-perspective-override .nfa-badge {
  background: rgba(91, 79, 232, 0.08);
  color: var(--brand, #5b4fe8);
  border: 1px solid rgba(91, 79, 232, 0.15);
}

.about-perspective-override .myteam-heading-span,
.about-perspective-override .nfa-heading-span {
  background: linear-gradient(135deg, #5b4fe8 0%, #3b32b4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-perspective-override .myteam-card,
.about-perspective-override .nfa-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.about-perspective-override .myteam-card:hover,
.about-perspective-override .nfa-card:hover {
  border-color: var(--brand, #5b4fe8);
  box-shadow: 0 8px 30px rgba(91, 79, 232, 0.1);
}

.about-perspective-override .myteam-metric-number,
.about-perspective-override .nfa-metric-number {
  color: var(--brand, #5b4fe8);
}

.about-perspective-override .myteam-member-name,
.about-perspective-override .nfa-card-title {
  color: #0f0f1a;
}

.about-perspective-override .myteam-member-role,
.about-perspective-override .nfa-card-desc {
  color: #4b4b6b;
}

.about-perspective-override .myteam-tag,
.about-perspective-override .nfa-tag {
  background: rgba(91, 79, 232, 0.06);
  color: var(--brand, #5b4fe8);
}

.about-perspective-override .myteam-icon-box,
.about-perspective-override .nfa-icon-box {
  background: rgba(91, 79, 232, 0.06);
  color: var(--brand, #5b4fe8);
  border: 1px solid rgba(91, 79, 232, 0.15);
}

.about-perspective-override .myteam-section-bg,
.about-perspective-override .nfa-section-bg {
  opacity: 0.03;
}

.about-perspective-override .myteam-heading,
.about-perspective-override .nfa-heading {
  color: #0f0f1a;
}

.about-perspective-override .myteam-subheading,
.about-perspective-override .nfa-subheading {
  color: #4b4b6b;
}

.about-perspective-override .myteam-metric-label,
.about-perspective-override .nfa-metric-label {
  color: #6b7280;
}

.about-perspective-override .nfa-flow-step {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.about-perspective-override .nfa-flow-step-number {
  background: rgba(91, 79, 232, 0.08);
  color: var(--brand, #5b4fe8);
}

.about-perspective-override .nfa-flow-step-title {
  color: #0f0f1a;
}

.about-perspective-override .nfa-flow-step-desc {
  color: #6b7280;
}

.about-perspective-override .nfa-flow-line {
  background: rgba(91, 79, 232, 0.2);
}

.about-perspective-override .nfa-flow-badge {
  background: rgba(91, 79, 232, 0.06);
  color: var(--brand, #5b4fe8);
  border-color: rgba(91, 79, 232, 0.15);
}

.about-perspective-override .myteam-section-small-text,
.about-perspective-override .nfa-section-small-text {
  color: var(--brand, #5b4fe8);
}

.about-perspective-override .myteam-section-point,
.about-perspective-override .nfa-section-point {
  align-items: flex-start;
}

.about-perspective-override .nfa-section-points-wrapper,
.about-perspective-override .myteam-section-points-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-template-rows: auto;
}

.about-perspective-override .myteam-section-point-icon,
.about-perspective-override .nfa-section-point-icon {
  color: var(--brand, #5b4fe8);
}

.about-perspective-override .myteam-section-point-icon-container,
.about-perspective-override .nfa-section-point-icon-container {
  width: 28.8px;
  height: 28.8px;
  min-width: 28.8px;
  min-height: 28.8px;
  flex-shrink: 0;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background-color: rgba(91, 79, 232, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.about-perspective-override .myteam-card-icon,
.about-perspective-override .nfa-card-icon {
  margin-top: 3px;
}

/* Responsive Styles for About Page */
@media (max-width: 1200px) {
  .hero-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  /* .page-hero-section .hero-bg {
    background-position: center 40%;
    background-size: 1300px;
  } */
  .page-hero-content {
    padding: 120px 32px;
  }
  .hero-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values-section {
    padding-left: 32px;
    padding-right: 32px;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .vision-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  /* .page-hero-section .hero-bg {
    background-position: center 20%;
    background-size: 1300px;
  } */
  .page-hero-content {
    padding: 120px 20px;
  }
  .page-hero-content .hero-subheading,
  .about-subheading-note {
    max-width: 100%;
  }
  .about-values-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-cards-grid {
    grid-template-columns: 1fr;
  }
  .vision-heading {
    font-size: 32px;
  }
  .vision-cards-grid {
    grid-template-columns: 1fr;
  }
  .vision-mission-box {
    padding: 14px 18px;
  }
}
