/* =========================================================
   SIMPLE MINIMAL HERO (CLEAN WHITE)
========================================================= */
.simple-about-hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  box-sizing: border-box;
}

.simple-title {
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  line-height: 1.05;
  margin: 24px 0 20px;
  color: #0b132a;
}

.simple-title span {
  display: block;
  background: linear-gradient(90deg, #f42569 0%, #d92d8a 7%, #167bd0 77%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.simple-subtext {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .simple-about-hero {
    min-height: auto;
    padding: 120px 20px 60px;
  }
}

/* =========================================================
   FIBRIART SHOWCASE SECTION
========================================================= */
.fibriart-showcase-section {
  position: relative;
  width: 100%;
  min-height: 720px;
  background: #ffffff;
  color: #082b55;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.showcase-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 0 60px;
  box-sizing: border-box;
}

.showcase-visual-col {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.device-ambient-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 109, 179, 0.12) 0%, rgba(255, 42, 95, 0.05) 45%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

.device-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.device-main-asset {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  filter: drop-shadow(0 20px 35px rgba(10, 31, 68, 0.12));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-radius: 15px;
}

.device-main-asset:hover {
  transform: scale(1.03) rotate(-1deg);
}

.showcase-text-col {
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  background: transparent;
}

.showcase-text-col h2 {
  margin: 0 0 8px;
  font-size: clamp(38px, 3.2vw, 58px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #082b55;
}

.showcase-text-col h2 span {
  display: block;
  color: #f02769;
}

.showcase-text-col h3 {
  margin: 0 0 20px;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.35;
  font-weight: 700;
  color: #082b55;
}

.showcase-body {
  margin-bottom: 32px;
}

.showcase-body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.65;
  color: #31547a;
}

.showcase-body strong {
  color: #082b55;
  font-weight: 700;
}

.showcase-specs-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.spec-row {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #e5ebf2;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.spec-row:hover {
  transform: translateY(-2px);
  border-color: #d5e1ee;
  box-shadow: 0 8px 25px rgba(8, 43, 85, 0.06);
}

.spec-badge {
  flex: 0 0 auto;
  padding: 7px 13px;
  background: #082b55;
  color: #ffffff;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.spec-info {
  flex: 1;
  min-width: 0;
}

.spec-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.3;
  color: #082b55;
  font-weight: 700;
}

.spec-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #53708f;
}

@media (max-width: 1100px) {
  .showcase-container {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
    padding: 0 40px;
  }
  .device-image-wrapper,
  .device-main-asset {
    max-width: 560px;
  }
  .showcase-text-col h2 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .fibriart-showcase-section {
    min-height: auto;
    padding: 60px 0;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 0 24px;
  }
  .showcase-visual-col {
    order: 1;
  }
  .showcase-text-col {
    order: 2;
    max-width: 100%;
  }
  .device-image-wrapper,
  .device-main-asset {
    max-width: 100%;
  }
  .showcase-text-col h2 {
    font-size: 38px;
  }
  .showcase-text-col h3 {
    font-size: 19px;
  }
  .spec-row {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .showcase-container {
    padding: 0 18px;
  }
  .showcase-text-col h2 {
    font-size: 32px;
  }
  .spec-row {
    flex-direction: column;
    gap: 10px;
  }
  .spec-badge {
    align-self: flex-start;
  }
}

/* =========================================================
   FIBRIART ABOUT STORY SECTION
========================================================= */
.fa-about-story {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  background: #030712;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fa-about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.fa-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.fa-glow-1 {
  width: 500px;
  height: 500px;
  background: #146db3;
  top: 10%;
  left: -150px;
}

.fa-glow-2 {
  width: 450px;
  height: 450px;
  background: #f02769;
  right: -150px;
  bottom: 10%;
}

.fa-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.fa-ecg-line {
  position: absolute;
  width: 100%;
  height: 160px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0.12;
}

.fa-ecg-line path {
  fill: none;
  stroke: #146db3;
  stroke-width: 2;
}

.fa-about-inner {
  position: relative;
  width: min(1380px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
  height: 100%;
  z-index: 2;
}

.fa-about-intro {
  position: relative;
  z-index: 5;
}

.fa-section-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #8fa0b7;
}

.fa-section-number span:first-child {
  color: #f02769;
  font-weight: 700;
}

.fa-section-number i {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.fa-about-intro h2 {
  font-size: 46px;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.fa-about-intro h2 span {
  display: block;
  background: linear-gradient(135deg, #ffffff 40%, #7e8b9e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fa-intro-tagline {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.fa-heart-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 35px;
}

.fa-heart-mark span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f02769;
  animation: faHeartbeat 1.4s infinite ease-in-out;
}

.fa-heart-mark span:nth-child(2) {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  animation-delay: 0.15s;
}

.fa-heart-mark span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes faHeartbeat {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

.fa-story-container {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
}

.fa-story-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 48px 44px;
  border-radius: 24px;
  background: #0d121f !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.9), 0 30px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  will-change: transform, opacity;
}

.fa-card-number {
  position: absolute;
  top: 35px;
  right: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.25);
}

.fa-card-content {
  max-width: 92%;
}

.fa-card-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: #f02769;
  margin-bottom: 16px;
}

.fa-story-card h3 {
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.25;
  margin: 0 0 18px 0;
  font-weight: 700;
  color: #ffffff;
}

.fa-story-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0 0 14px 0;
}

.fa-story-card p:last-of-type {
  margin-bottom: 0;
}

.fa-story-card p strong {
  color: #e2e8f0;
}

.fa-milestones-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
}

.fa-milestones-list li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #cbd5e1;
}

.fa-milestones-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #146db3;
  font-size: 14px;
}

.fa-promise-callout {
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(240, 39, 105, 0.08);
  border: 1px solid rgba(240, 39, 105, 0.25);
}

.fa-promise-statement {
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}

.fa-card-icon {
  align-self: flex-end;
  margin-top: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fa-card-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .fa-about-story {
    height: auto;
    min-height: auto;
    padding: 80px 0;
  }
  .fa-about-inner {
    grid-template-columns: 1fr;
    height: auto;
  }
  .fa-story-container {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .fa-story-card {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 380px;
    transform: none !important;
    opacity: 1 !important;
  }
  .fa-milestones-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FIBRIART HORIZONTAL JOURNEY SECTION
========================================================= */
.journey-section {
  position: relative;
  background: #030712;
  color: #ffffff;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0;
}

.journey-section::before {
  content: "";
  position: absolute;
  top: 20%;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 109, 179, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.journey-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: -150px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 39, 105, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.journey-intro {
  max-width: 1380px;
  margin: 0 auto 50px;
  padding: 0 6%;
  width: 100%;
  position: relative;
  z-index: 2;
}

.journey-intro .section-title {
  font-size: 46px;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.journey-intro .section-subtext {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 620px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.horizontal-scroll-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 32px;
  padding: 20px 6% 40px;
  width: max-content;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.timeline-card {
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  flex: 0 0 380px !important;
  min-height: 400px;
  background: #0d121f;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(56, 189, 248, 0.08);
}

.timeline-year {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.04) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.3s ease;
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

.timeline-card .pill-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
}

.timeline-card.active {
  background: radial-gradient(circle at 100% 0%, rgba(240, 39, 105, 0.12) 0%, transparent 60%), #0d121f;
  border-color: rgba(240, 39, 105, 0.35);
  box-shadow: 0 25px 50px -12px rgba(240, 39, 105, 0.15), 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

.timeline-card.active::before {
  background: linear-gradient(90deg, transparent, rgba(240, 39, 105, 0.6), transparent);
}

.timeline-card.active .timeline-year {
  background: linear-gradient(180deg, #f02769 0%, rgba(240, 39, 105, 0.25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-card .pill-badge.coral {
  color: #f02769;
  background: rgba(240, 39, 105, 0.12);
  border-color: rgba(240, 39, 105, 0.35);
  box-shadow: 0 0 12px rgba(240, 39, 105, 0.2);
}

@media (max-width: 768px) {
  .journey-section {
    padding: 60px 0;
    min-height: auto;
  }
  .horizontal-scroll-track {
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 6%;
    gap: 24px;
  }
  .timeline-card {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    min-height: auto;
  }
}

/* =========================================================
   LIGHT / WHITE TEAM SECTION
========================================================= */

.fa-team-section.light-theme {
    position: relative;
    background: #ffffff;
    color: #0f172a;
    padding: 130px 0;
    overflow: hidden;
}

/* Ambient Background Lights */
.fa-team-section.light-theme .team-bg-accents {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.fa-team-section.light-theme .team-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
}

.fa-team-section.light-theme .team-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(56, 189, 248, 0.12);
    top: 10%;
    left: -120px;
}

.fa-team-section.light-theme .team-glow-2 {
    width: 480px;
    height: 480px;
    background: rgba(240, 39, 105, 0.08);
    bottom: 5%;
    right: -120px;
}

/* Subtle Technical Grid Lines */
.fa-team-section.light-theme .team-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

.fa-team-section.light-theme .team-container {
    position: relative;
    width: min(1380px, 92%);
    margin: 0 auto;
    z-index: 2;
}

/* Section Header Alignment */
.team-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.team-header h2 {
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin: 0 0 16px 0;
}

.team-header .tagline {
    font-size: 17px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* =========================================================
   CATEGORY TAB CONTROLS
========================================================= */
.team-tabs-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 55px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 100px;
    width: fit-content;
    border: 1px solid #e2e8f0;
}

.team-tab-btn {
    position: relative;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-tab-btn:hover {
    color: #0f172a;
}

.team-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.tab-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.3s ease;
}

.team-tab-btn.active .tab-indicator {
    background: #f02769;
}

/* =========================================================
   3D CARD GRID
========================================================= */
.fa-team-section.light-theme .team-grid {
	display: flex;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
}

.perspective-container {
	perspective: 1000px;
	transition: opacity 0.3s ease, transform 0.3s ease;
	max-width: 318px;
	width: 100%;
}

/* Tab Filter Hide/Show state */
.team-card-wrapper.is-hidden {
    display: none !important;
}

/* Card */
.fa-team-section.light-theme .team-card {
	position: relative;
	background: #ffffff;
	border: 1px solid #eef2f6;
	border-radius: 24px;
	padding: 40px 15px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transform-style: preserve-3d;
	transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.6);
}

.fa-team-section.light-theme .team-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 25px rgba(56, 189, 248, 0.1);
}

/* Profile Photo Avatar */
.fa-team-section.light-theme .member-avatar-wrap {
	position: relative;
	width: 125px;
	height: 125px;
	transform: translateZ(30px);
}

.fa-team-section.light-theme .member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.fa-team-section.light-theme .member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fa-team-section.light-theme .avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(20, 109, 179, 0.35);
    pointer-events: none;
}

/* Member Information */
.fa-team-section.light-theme .member-info {
	transform: translateZ(20px);
	padding-top: 20px;
}

.fa-team-section.light-theme .member-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.fa-team-section.light-theme .member-name {
    font-size: 22px;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.fa-team-section.light-theme .member-role {
    font-size: 13.5px;
    color: #f02769;
    margin: 0 0 16px 0;
}

.fa-team-section.light-theme .member-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 24px 0;
}

/* Action Button */
.fa-team-section.light-theme .team-view-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    transform: translateZ(25px);
}

.fa-team-section.light-theme .team-view-btn:hover {
    background: #f02769;
    border-color: #f02769;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(240, 39, 105, 0.28);
    transform: translateZ(35px) translateY(-2px);
}

/* =========================================================
   COMMON LIGHT POPUP MODAL
========================================================= */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.team-modal.hidden {
    display: none;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
}

.team-modal-box {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 38px 34px;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25);
    z-index: 2;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.team-modal-box.active {
    transform: scale(1);
    opacity: 1;
}

.team-modal-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-modal-close:hover {
    color: #f02769;
    background: #fff1f4;
    border-color: rgba(240, 39, 105, 0.3);
}

/* Modal Header Meta (Photo + Title) */
.modal-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-avatar-wrapper {
    width: 78px;
    height: 78px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    background: #f1f5f9;
}

.modal-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-title-meta {
    flex: 1;
}

.modal-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #f02769;
    text-transform: uppercase;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 4px 0 2px;
}

.modal-role {
    font-size: 13.5px;
    font-weight: 600;
    color: #0284c7;
    margin: 0;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
}

.modal-intro {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Clean gap between all paragraphs */
    margin: 0 0 24px 0;
}

.modal-intro .modal-p {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
    margin: 0;
}

.modal-bio-container h4 {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 8px 0;
}

.modal-bio-container p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
    .fa-team-section.light-theme .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .fa-team-section.light-theme .team-grid {
        grid-template-columns: 1fr;
    }
    .team-modal-box {
        padding: 30px 20px;
    }
    .team-tabs-wrapper {
        width: 100%;
        max-width: 360px;
    }
    .team-tab-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 14px;
        font-size: 13px;
    }
    .modal-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}