.about-root {
  position: relative;
  min-height: 100vh;
  color: #fff;
  font-family: var(--font-sans, Inter, Arial, sans-serif);
  overflow-x: hidden;
}

.about-bg-container {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.about-bg-container::-webkit-scrollbar {
  display: none;
}
.about-bg-image {
  object-fit: cover;
  object-position: center;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  pointer-events: none;
}
.about-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,20,28,0.08) 60%, rgba(35,36,60,0.15) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Hero Section */
.about-hero-section {
  padding: 6rem 2rem 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.about-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg,#60a5fa,#a855f7 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.about-hero-subtitle {
  font-size: 1.4rem;
  color: #e0e7ef;
  margin-bottom: 2.2rem;
}

/* Story Section */
.about-story-section {
  padding: 2rem 0;
  width: 100%;
  display: flex;
  justify-content: center;
}
.about-story-card {
  background: rgba(18,22,38,0.9);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(59,130,246,0.11);
  padding: 2rem 2.5rem;
  max-width: 700px;
  text-align: left;
  border: 1px solid rgba(96,165,250,0.16);
}
.about-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,#60a5fa,#a855f7 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Team Section */
.about-team-section {
  padding: 3rem 0 2rem 0;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}
.about-team-subtitle {
  font-size: 1.25rem;
  color: #e0e7ef;
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
}
.modern-team-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  width: 100%;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

/* Flip Card Styles */
.flip-card {
  background-color: transparent;
  width: 340px;
  height: 400px;
  perspective: 1200px;
  font-family: inherit;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s cubic-bezier(.23,1.02,.55,.98);
  transform-style: preserve-3d;
}
.flip-card.flipped .flip-card-inner,
.flip-card-inner.flipped {
  transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
  box-shadow: 0 8px 22px 0 rgba(59,130,246,0.13), 0 2px 16px 0 rgba(168,85,247,0.13);
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1.5rem;
  padding: 2.5rem 1.3rem 2.1rem 1.3rem;
  border: 2.5px solid;
  border-image: linear-gradient(135deg,#60a5fa,#a855f7 90%);
  border-image-slice: 1;
  overflow: hidden;
}
.flip-card-front {
  background: linear-gradient(120deg, #23243c 65%, #60a5fa 98%, #23243c 30%);
  color: #fff;
  box-shadow: 0 14px 32px 0 rgba(96,165,250,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flip-card-back {
  background: linear-gradient(120deg, #23243c 30%, #a855f7 98%, #60a5fa 40%);
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 14px 32px 0 rgba(168,85,247,0.13);
  overflow-y: auto;
  overflow-x: hidden;
  /* Allow scrolling the card back if needed */
}
.title {
  font-size: 2em;
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.7em 0;
  color: #fff;
  letter-spacing: 0.01em;
}
.flip-card-role {
  font-weight: 700;
  font-size: 1.15em;
  margin-bottom: 0.7em;
  background: linear-gradient(90deg,#60a5fa 45%,#a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.flip-card-bio {
  font-size: 1em;
  color: #e0e7ef;
  margin-bottom: 0.8em;
  padding: 0 1em;
}
.flip-card-qualifications {
  margin: 0 auto 1em auto;
  padding: 0 1em;
  list-style: disc;
  text-align: left;
  color: #e0e7ef;
  font-size: 1em;
  max-height: 200px;
  overflow-y: auto;
}
.flip-card-qualifications li {
  margin-bottom: 0.6em;
}
.flip-card-lottie {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3em auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa 60%, #a855f7 100%);
  box-shadow: 0 4px 24px #60a5fa22;
}
.team-modern-more {
  font-size: 1em;
  color: #60a5fa;
  opacity: 0.74;
  margin-top: 1.2em;
  cursor: pointer;
  text-decoration: underline;
  transition: color .17s;
}
.team-modern-more:hover,
.team-modern-more:focus {
  color: #a855f7;
  opacity: 1;
}

/* Values Section */
.about-values-section {
  padding: 3rem 0 2rem 0;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.about-values-cardswap-container {
  width: 100%;
  min-height: 470px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  position: relative;
}
.about-values-cardswap {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.about-values-card {
  background: linear-gradient(135deg, #181818 60%, var(--accent-blue, #60a5fa) 100%);
  border-radius: 18px;
  box-shadow: 0 8px 32px #18181888;
  border: 2px solid var(--accent-blue, #60a5fa);
  min-width: 240px;
  min-height: 180px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-values-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* CTA Section */
.about-cta-section {
  padding: 4rem 0 3rem 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-cta-card {
  background: rgba(18,22,38,0.9);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(59,130,246,0.11);
  padding: 2rem 2.5rem;
  text-align: center;
  border: 1px solid rgba(96,165,250,0.16);
}
.about-cta-text {
  font-size: 1.2rem;
  color: #e0e7ef;
  margin-bottom: 2.2rem;
}
.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.about-cta-btn-primary {
  background: linear-gradient(90deg,#60a5fa 45%,#a855f7 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 1.2em;
  font-size: 1.1em;
  box-shadow: 0 4px 18px rgba(59,130,246,0.13);
  border: none;
  padding: 1em 2em;
  cursor: pointer;
  transition: background 0.14s, transform 0.14s;
}
.about-cta-btn-primary:hover {
  background: linear-gradient(90deg,#a855f7 45%,#60a5fa 100%);
}
.about-cta-btn-secondary {
  background: #fff;
  color: #60a5fa;
  font-weight: 700;
  border-radius: 1.2em;
  font-size: 1.1em;
  box-shadow: 0 4px 18px rgba(59,130,246,0.13);
  border: 2px solid #60a5fa;
  padding: 1em 2em;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border 0.14s;
}
.about-cta-btn-secondary:hover {
  background: #60a5fa;
  color: #fff;
  border-color: #a855f7;
}

/* Responsive */
@media (max-width:1150px) {
  .modern-team-grid { gap: 1.1rem; }
  .flip-card { width: 99vw; max-width: 380px; height: 370px; }
  .about-values-cardswap-container { min-height: 340px; }
}
@media (max-width:900px) {
  .modern-team-grid { flex-direction: column; gap: 2rem; align-items: center; }
  .about-section-title { font-size: 1.6rem; }
  .about-story-card { padding: 1.5rem 1rem; }
  .about-values-cardswap-container { min-height: 340px; }
  .flip-card { width: 99vw; max-width: 380px; height: 370px; }
}
@media (max-width:600px) {
  .about-hero-title { font-size: 2rem; }
  .about-team-section, .about-values-section, .about-cta-section { padding: 2rem 0 1rem 0; }
  .flip-card { 
    width: 98vw; 
    max-width: 99vw; 
    min-width: 0;
    height: auto;
    min-height: 390px;
    max-height: 98vh;
    margin-bottom: 1.7rem;
    /* Make card height adapt to content on mobile */
  }
  .flip-card-inner {
    min-height: 390px;
    height: auto;
  }
  .flip-card-front, .flip-card-back {
    min-height: 390px;
    height: auto;
    max-height: 90vh;
    padding: 2rem 0.7rem 2rem 0.7rem;
    overflow-y: auto;
  }
  .flip-card-qualifications {
    max-height: 110px;
    overflow-y: auto;
    padding-bottom: 0.5em;
    font-size: 0.97em;
  }
  .about-values-card { min-width: 180px; min-height: 110px; padding: 16px 6px; }
  .about-values-cardswap-container { min-height: 220px; }
}
