:root {
  --brand1: #00bfb3;
  --brand2: #2f80ff;
  --ink: #0f172a;
  --muted: rgba(15, 23, 42, 0.68);
  --line: rgba(15, 23, 42, 0.12);
  --soft: rgba(15, 23, 42, 0.06);
}

/* =======================
   SECTION BACKGROUND (animated)
======================= */
.company-section {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
}

.company-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    120deg,
    rgba(0, 191, 179, 0.06) 0px,
    rgba(0, 191, 179, 0.06) 1px,
    transparent 1px,
    transparent 26px
  );
  transform: rotate(6deg);
  animation: drift 16s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

@keyframes drift {
  0% {
    transform: translate3d(-6%, -2%, 0) rotate(6deg);
  }
  100% {
    transform: translate3d(6%, 2%, 0) rotate(6deg);
  }
}

.about-bg {
  display: none;
}

/* ======================= HEAD ======================= */
.about-shell {
  position: relative;
  z-index: 1;
}

.page_head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.page_title {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: 0.4px;
  margin: 0;
  color: var(--ink);
}
.page_title span {
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page_sub {
  margin: 10px auto 0;
  max-width: 900px;
  line-height: 1.9;
  color: var(--muted);
  font-size: 16px;
}

/* Logo mark */
.page_mark {
  width: 56px;
  height: 56px;
  position: relative;
  margin-top: 6px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.15));
}
.page_mark span {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 28px solid rgba(0, 0, 0, 0.06);
}
.page_mark span:nth-child(1) {
  left: 0;
  top: 12px;
  border-bottom-color: rgba(0, 191, 179, 0.55);
}
.page_mark span:nth-child(2) {
  left: 18px;
  top: 0;
  border-bottom-color: rgba(47, 128, 255, 0.55);
}
.page_mark span:nth-child(3) {
  left: 34px;
  top: 12px;
  border-bottom-color: rgba(50, 165, 255, 0.4);
}

/* =======================
   PARTICLES (keep but refined)
======================= */
#particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45) inset;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(360px) translateX(22px);
  }
}

/* ======================= TOP ======================= */
.top-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 34px 0 28px;
  background: transparent;
}

.top-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
}

.top-card {
  padding: 0;
  background: transparent;
  border: 0;
  position: relative;
}

.top-card::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand1), var(--brand2));
  opacity: 0.85;
}

.top-card h3 {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  display: inline-block;
}

.top-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  transition: width 0.5s ease;
}
.top-card:hover h3::after {
  width: 100%;
}

.top-card p {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
  margin: 0 0 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.pill {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.75);
  background: transparent;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.pill:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 128, 255, 0.35);
  color: rgba(15, 23, 42, 0.92);
}

/* =======================
   MID GRID -> timeline style
======================= */
.mid-grid {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  gap: 58px;
  align-items: center;
  padding: 70px 0 18px;
  position: relative;
}

/* dotted connector line behind */
.mid-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(47, 128, 255, 0),
    rgba(15, 23, 42, 0.12),
    rgba(0, 191, 179, 0)
  );
  transform: translateX(-50%);
  opacity: 0.85;
  z-index: 0;
}

.block {
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(0, 191, 179, 0.35);
  position: relative;
  z-index: 1;
}

/* “node” dot */
.block::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(47, 128, 255, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.block h3 {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
.block p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 16px;
}

.gears {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* image with subtle “float” animation */
.gears img {
  width: 340px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.14));
  animation: floatImg 4.8s ease-in-out infinite;
}
@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ======================= VISION -> full width band, no card ======================= */
.vision-line {
  margin-top: 18px;
  padding: 28px 0 6px;
  position: relative;
}

.vision-line::before {
  .block::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(47, 128, 255, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

}

.vision {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 0 18px;
  border-left: 3px solid rgba(47, 128, 255, 0.35);
}

.vision h3 {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
/* .vision h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.45s ease;
} */
/* .vision:hover h3::after {
  transform: scaleX(1);
} */

.vision p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 16px;
}

/* =======================
   TEAM (no cards) -> clean grid + hover lift only
======================= */
.team-section {
  padding: 34px 0 78px;
}

/* .team-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    120deg,
    rgba(0, 191, 179, 0.06) 0px,
    rgba(0, 191, 179, 0.06) 1px,
    transparent 1px,
    transparent 26px
  );
  transform: rotate(6deg);
  animation: drift 16s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
} */

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0 18px;
}

/* no card bg */
.team-card {
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  transition: transform 0.22s ease;
}
.team-card:hover {
  transform: translateY(-8px);
}

/* gradient ring photo */
.team-photo {
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.14);
}
.team-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(40%);
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
}
.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 18px;
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--ink);
}
.role {
  margin: 0;
  font-size: 14px;
  color: rgba(15, 23, 42, 0.62);
}

/* =======================
   REVEAL ANIMATION (scroll)
======================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 1100px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .top-card::before {
    left: -10px;
  }

  .mid-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 46px 0 10px;
  }
  .mid-grid::before {
    display: none;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .teams-grid {
    grid-template-columns: 1fr;
  }
  .team-photo {
    width: 148px;
    height: 148px;
  }
}
