.about-section {
  padding: 100px 20px 60px;
  font-family: var(--font-main);
}

.about-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* LEFT SIDE */
.about-left h1 {
  font-size: 164px;
  line-height: 1.3;
  font-weight: 900;
  color: #0a1f44;
}

/* RIGHT SIDE */

.about-right p {
  font-size: 24px;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 18px;
}

.about-right strong {
  color: #0a1f44;
  font-weight: 600;
}

/* IMAGE */
.about-image {
  max-width: var(--container-max);
  margin: 60px auto 0;
}

.about-image img {
  width: 100%;
  border-radius: 25px;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: 30px;
  }
  .gb {
    display: none;
  }

  .about-left h1 {
    font-size: 70px;
  }

  .about-right {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .about-left h1 {
    font-size: 40px;
  }
  .about-right p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .about-container {
    gap: 10px;
  }
  .about-section {
    padding: 40px 16px;
  }

  .about-image {
    margin: 20px auto 0;
  }
  .about-image img {
    min-height: 230px;
  }
}

.marquee-wrapper {
  font-family: "bricolage grotesque", sans-serif;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #9fdb5c;
  height: 60px;
  display: flex;
  align-items: center;
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 25s linear infinite;
}

.marquee span {
  font-family: "Bricolage Grotesque";
  display: inline-block;
  padding: 0 2rem;
  color: #f2ffe5;
  font-size: 1.5rem;
  font-weight: 500;
}

.marquee span::after {
  content: " ✽";
  margin-left: 0.5rem;
}

.marquee-wrapper:hover .marquee {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════
       SECTION
    ══════════════════════════════ */
.team-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 60px 32px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 52px;
  align-items: center;
}

/* ══════════════════════════════
       LEFT PHOTO PANEL
       col-left: 2 static | col-right: 2 marquee lanes
    ══════════════════════════════ */
.team-photos-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 560px;
  overflow: hidden;
  border-radius: 20px;
}

/* ── STATIC COLUMN ── */
.team-static-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* height: 100%; removed to avoid stretching */
  padding-top: 50px;
  padding-bottom: 50px;
  justify-content: center;
}

.team-static-photo {
  max-height: 230px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.team-static-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-static-photo:hover img {
  transform: scale(1.05);
}

/* Gradient overlay */
.team-static-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 26, 46, 0.9) 0%,
    rgba(10, 26, 46, 0.1) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.team-static-photo:hover .team-static-overlay {
  opacity: 1;
}

/* Badge — slides up on hover */
.team-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(10, 26, 46, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s ease;
  z-index: 2;
}

.team-static-photo:hover .team-badge {
  transform: translateY(0);
  opacity: 1;
}

.team-badge-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.team-badge-role {
  font-size: 11px;
  color: var(--primary);
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── MARQUEE COLUMN ── */
.team-marquee-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}

/* Each lane clips vertically */
.team-marquee-lane {
  overflow: hidden;
  height: 100%;
  border-radius: 14px;
  position: relative;
}

/* Fade top & bottom */
.team-marquee-lane::before,
.team-marquee-lane::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.team-marquee-lane::before {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}

.team-marquee-lane::after {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, transparent 100%);
}

/* The scrolling strip */
.team-marquee-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* animation set inline per lane */
}

/* Pause on hover */
.team-marquee-lane:hover .team-marquee-strip {
  animation-play-state: paused;
}

/* Individual member card in marquee */
.team-member-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  height: 160px;
}

.team-member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.team-member-card:hover img {
  transform: scale(1.07);
}

.team-member-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 26, 46, 0.85) 0%,
    transparent 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 11px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .team-member-overlay {
  opacity: 1;
}

.team-member-name {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transform: translateY(5px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-member-role {
  font-size: 10px;
  color: var(--primary);
  margin-top: 2px;
  transform: translateY(5px);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.03s;
}

.team-member-card:hover .team-member-name,
.team-member-card:hover .team-member-role {
  transform: translateY(0);
}

/* ── KEYFRAMES ── */
@keyframes marquee-down {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes marquee-up {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.marquee-scroll-down {
  animation: marquee-up 18s linear infinite;
}

.marquee-scroll-up {
  animation: marquee-down 18s linear infinite;
}

/* ══════════════════════════════
       RIGHT — Content
    ══════════════════════════════ */
.team-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-heading {
  font-size: clamp(40px, 7vw, 164px);
  font-weight: 900;
  color: #0a1f44;
  line-height: 0.95;
  letter-spacing: -2px;
}

.team-desc {
  font-size: 24px;
  color: #6b7280;
  line-height: 1.3;
  font-weight: 500;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.team-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #80ff01;
  line-height: 1;
}

.team-stat-label {
  font-size: 11.5px;
  color: #888;
  line-height: 1.4;
}

@media (max-width: 820px) {
  .team-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 16px;
  }
  .team-desc {
    font-size: 16px;
    font-weight: 400;
  }
  .team-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .team-photos-panel {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }

  /* CEO + CTO side by side */
  .team-static-col {
    flex-direction: row;
    height: 180px;
    padding: 0;
  }

  /* marquee container height */
  .team-marquee-col {
    height: 160px;
  }

  /* 🔥 horizontal scroll */
  .team-marquee-strip {
    flex-direction: row;
    width: max-content;
    animation: none;
  }

  /* 🔥 FIX: equal card sizes */
  .team-member-card {
    width: 130px;
    height: 130px;
    flex: 0 0 auto;
  }

  .team-member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* stats */
  .team-stat-label {
    font-size: 9px;
    line-height: 1.4;
  }
  .team-stats {
    text-align: center;
  }
}

/* horizontal animation */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 480px) {
  .team-static-col {
    height: 160px;
  }
  .team-marquee-col {
    height: 160px;
  }
  .team-content {
    order: 1;
  }

  .team-photos-panel {
    order: 2;
  }
  .team-section {
    padding-bottom: 0px;
  }
  .team-marquee-lane::before {
    display: none;
  }
}
.testimonial2-stars svg.filled {
  fill: #80ff01;
}
