/* ═══════════════════════════════════════
   SHEO MEDIA — TEAM PAGE MASTER CSS
   Fonts: Poppins + Urbanist only
═══════════════════════════════════════ */

:root {
  --lime:        #DBFF49;
  --lime-dim:    rgba(219, 255, 73, 0.08);
  --lime-glow:   rgba(219, 255, 73, 0.2);
  --lime-border: rgba(219, 255, 73, 0.3);
  --bg:          #001019;
  --bg-2:        #050e14;
  --surface:     rgba(255, 255, 255, 0.03);
  --surface-2:   rgba(255, 255, 255, 0.05);
  --border:      rgba(255, 255, 255, 0.06);
  --white:       #FFFFFF;
  --grey:        rgba(255, 255, 255, 0.5);
  --grey-lt:     rgba(255, 255, 255, 0.7);
  --f-head:      'Poppins', sans-serif;
  --f-body:      'Urbanist', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.tm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.tm-hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;       
  padding-top: 80px;             
  padding-bottom: 40px;          
  overflow: hidden;
  background-color: #001019;
}

.tm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tm-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.13;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.blob-lime {
  top: -15%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: var(--lime);
}

.blob-blue {
  bottom: 10%;
  left: -8%;
  width: 500px;
  height: 500px;
  background: #0055ff;
}

.tm-noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.tm-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.8) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, rgba(0,0,0,0.8) 0%, transparent 75%);
}

.tm-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

.tm-hero-eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.tm-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--lime);
}

.tm-hero-title {
  font-family: var(--f-head);
  font-weight: 500;
  line-height: 0.95;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  opacity: 0;
}

.tm-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.tm-title-line--big {
  gap: 0;
}

/* ── UNIQUE CLASSES — TEAM PAGE ONLY ── */
.team-word-fill {
  font-size: clamp(60px, 10vw, 140px);   /* exact services match */
  color: var(--white);
  letter-spacing: -0.03em;
  display: inline-block;
  line-height: 0.92;
}

.team-word-outline {
  font-size: clamp(60px, 10vw, 140px);   /* exact services match */
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  letter-spacing: -0.03em;
  display: inline-block;
  line-height: 0.92;
}

.tm-title-line--big .team-word-fill {
  position: relative;
}

.tm-title-ready .tm-title-line--big .team-word-fill::after {
  transform: scaleX(1);
}

.tm-hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 400;
  color: var(--grey-lt);
  max-width: 560px;
  line-height: 1.65;
  opacity: 0;
}

.tm-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); 
  opacity: 0;
}

.tm-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 28px;
  gap: 2px;
}

.tm-stat-num {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 22px;
  color: var(--lime);
  line-height: 1;
}

.tm-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
}

.tm-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.tm-hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.tm-hero-scroll-hint span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--grey);
}

.tm-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollPulse 1.8s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.brandings {
  font-family: 'Bunken Tech Sans SC Wide W01Bd', sans-serif;
  font-size: 50px;
}

/* ═══════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════ */
.tm-section-tag {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.tm-section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--lime);
}

.tm-section-title {
  font-family: var(--f-head);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
}

/* ═══════════════════════════════════════
   VALUES / CULTURE SECTION
═══════════════════════════════════════ */
.tm-culture-section {
  padding: 100px 0;
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--border);
}

.tm-culture-header {
  margin-bottom: 60px;
}

.tm-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tm-value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.4s ease;
  opacity: 0;
}

.tm-value-card:hover {
  border-color: var(--lime-border);
  background: var(--lime-dim);
  transform: translateY(-4px);
}

.tm-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--lime);
  margin-bottom: 20px;
}

.tm-value-card h3 {
  font-family: var(--f-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.tm-value-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   JOIN / CTA SECTION
═══════════════════════════════════════ */
.tm-join-section {
  padding: 100px 0 140px;
  position: relative;
  z-index: 5;
}

.tm-join-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.tm-join-wrap::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--lime);
  filter: blur(100px);
  opacity: 0.07;
  pointer-events: none;
}

.tm-join-text { flex: 1; }

.tm-join-title {
  font-family: var(--f-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}

.tm-join-text p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 480px;
}

.tm-join-btn {
  background: var(--lime);
  color: var(--bg);
  border: none;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 18px 40px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px var(--lime-glow);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  flex-shrink: 0;
}

.tm-join-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(219, 255, 73, 0.35);
}

.tm-join-btn i { transition: transform 0.3s ease; }
.tm-join-btn:hover i { transform: translateX(5px); }

/* ═══════════════════════════════════════
   RESPONSIVE — EXACT SERVICES MATCH
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .tm-values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tm-hero-section {
    min-height: 80vh;
    padding-top: 100px;        /* services jaisa */
  }
  .team-word-fill,
  .team-word-outline {
    font-size: clamp(50px, 14vw, 80px);  /* exact services match */
  }
  .tm-title-line { gap: 12px; }
  .tm-hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
  }
  .tm-stat-divider { display: none; }
  .tm-hero-stats { max-width: 100%; }
  .tm-stat-pill { flex: 1; min-width: auto; padding: 10px 8px; }
  .tm-join-wrap {
    flex-direction: column;
    padding: 40px 28px;
    text-align: center;
  }
  .tm-join-text p { max-width: 100%; }
}

@media (max-width: 480px) {
  .tm-values-grid { grid-template-columns: 1fr; }
  .tm-hero-title { line-height: .88; }
  .team-word-fill,
  .team-word-outline {
    font-size: clamp(40px, 12vw, 60px);  /* exact services match */
  }
  .tm-title-line { gap: 10px; }
}

@media (max-width: 390px) {
  .team-word-fill,
  .team-word-outline {
    font-size: clamp(36px, 11vw, 52px);
  }
}

/* ═══════════════════════════════════════
   TEAM CARDS SECTION
═══════════════════════════════════════ */
.tm-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tm-section {
  padding: 130px 0 140px;
  position: relative;
}

.tm-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(219,255,73,0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tm-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(-18px);
  animation: tmFadeDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.tm-eyebrow::before,
.tm-eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--lime);
  opacity: 0.6;
}

.tm-title {
  font-family: var(--f-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.tm-subtitle {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--grey-lt);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.tm-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform    0.65s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity      0.65s ease,
    border-color 0.35s ease,
    box-shadow   0.35s ease;
}

.tm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tm-card.tm-reveal { opacity: 1; transform: translateY(0); }

.tm-card:hover {
  border-color: var(--lime-border);
  box-shadow: 0 16px 50px rgba(0,0,0,0.6), 0 0 30px rgba(219,255,73,0.04);
}

.tm-card:hover::before { opacity: 1; }

.tm-avatar-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.tm-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 10%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0d1e2a;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.tm-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tm-card:hover .tm-avatar-inner {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.55);
}

.tm-card:hover .tm-avatar-inner img { transform: scale(1.08); }

.tm-info { flex: 1; min-width: 0; }

.tm-name {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.tm-card:hover .tm-name { color: var(--lime); }

.tm-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}

.tm-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 14px;
}

.tm-bio {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-lt);
  line-height: 1.65;
  margin-bottom: 20px;
}

.tm-socials { display: flex; gap: 8px; }

.tm-social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-social:hover,
.tm-social:active {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
  transform: translateY(-3px) rotate(6deg);
}

.tm-social--active {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
  box-shadow: 0 4px 14px var(--lime-glow);
}

.tm-social--active:hover,
.tm-social--active:active {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

@keyframes tmFadeDown {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tmPulseRing {
  0%   { box-shadow: 0 0 4px var(--lime-glow);  border-color: rgba(219,255,73,0.5); }
  100% { box-shadow: 0 0 18px var(--lime-glow); border-color: var(--lime); }
}

@media (max-width: 900px) {
  .tm-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .tm-section { padding: 90px 0 100px; }
  .tm-header  { margin-bottom: 50px; }

  .tm-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
    gap: 20px;
  }

  .tm-avatar-wrap { width: 100px; height: 100px; }
  .tm-socials     { justify-content: center; }
  .tm-bio         { min-height: auto; }
}