:root {
  --bg: #0a0e1f;
  --text: #f5f8ff;
  --accent: #6ea0ff;
  --accent2: #9bffd6;
  --muted: #9aa1b9;
}

/* HERO */
.about-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text);
}
.about-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.3), #000);
}
.about-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.about-hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

/* STORY */
.story-section {
  background: linear-gradient(180deg, #0b0f25, #0a0e1f);
  padding: 100px 20px;
  text-align: center;
}
.timeline {
  position: relative;
  margin-top: 40px;
}
.timeline .line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.1);
  transform: translateX(-50%);
}
.timeline-item {
  background: #10162d;
  border-radius: 15px;
  padding: 20px;
  margin: 30px auto;
  max-width: 400px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s ease;
}
.timeline-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(110,160,255,0.3);
}
.timeline-item .year {
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

/* MISSION */
.mission-section {
  padding: 100px 20px;
  background: #0a0f26;
  text-align: center;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  background: #101630;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 25px 15px;
  transition: 0.3s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent2);
  box-shadow: 0 0 30px rgba(155,255,214,0.2);
}
.value-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* TEAM */
.team-section {
  background: linear-gradient(180deg, #0a0e1f, #0d132a);
  padding: 100px 20px;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  justify-items: center;
}

.team-card {
  background: #101633;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 420px;
}

.team-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* Keeps consistent height ratio without cropping */
  object-fit: contain; /* Ensures full face visible without cutting */
  background: #0b0f25; /* Adds subtle contrast background */
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.team-card h3 {
  margin: 15px 0 5px;
  color: var(--accent);
  font-weight: 700;
}

.team-card p {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 10px 15px;
  line-height: 1.5;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(110, 160, 255, 0.3);
  border-color: var(--accent);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.team-card:hover {
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 0 25px rgba(110,160,255,0.3);
}
/* CTA */
.about-cta {
  background: linear-gradient(180deg, #0a0e1f, #101735);
  position: relative;
  padding: 100px 20px;
  text-align: center;
}
#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Animations */
.fade-up, .fade-in, .pop, .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}
.fade-up.show, .fade-in.show, .pop.show, .reveal-up.show {
  opacity: 1;
  transform: translateY(0);
}
