/* ── WHO ARE WE — Custom Video Player ────────────────
   Add to mainStyle.css (replaces old .who-are-we-* rules)
─────────────────────────────────────────────────── */

#who-are-we {
  background: linear-gradient(180deg, var(--white, #fff) 0%, var(--light, #f8f9ff) 100%);
}

/* Player wrapper */
.waw-player-wrap {
  position: relative;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9/16;
  box-shadow: 0 24px 60px rgba(82,95,225,0.18);
  cursor: pointer;
  max-width: 420px;
  height: 50%;
}

/* Video element */
.waw-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Gradient overlay */
.waw-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.05) 50%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.3s;
}
.waw-player-wrap.playing .waw-overlay { opacity: 0.5; }

/* Big center play button */
.waw-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  z-index: 2;
}
.waw-play-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.waw-player-wrap:hover .waw-play-circle {
  background: #f86f03;
  border-color: #f86f03;
  transform: scale(1.1);
}
.waw-play-circle svg {
  width: 26px; height: 26px;
  margin-left: 4px;
}
.waw-player-wrap.playing .waw-play-overlay {
  opacity: 0;
  pointer-events: none;
}

/* Controls bar */
.waw-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

/* Buttons */
.waw-btn {
  background: none; border: none;
  cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.15s;
}
.waw-btn:hover { opacity: 1; transform: scale(1.15); }
.waw-btn svg { width: 18px; height: 18px; }
.waw-mute-btn svg,
.waw-fs-btn svg { width: 16px; height: 16px; }

/* Time labels */
.waw-time {
  font-size: 12px;
  font-weight: 600;
  color: #f86f03;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 32px;
}
.waw-duration {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Progress bar */
.waw-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.waw-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #6b78f5, #f86f03);
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.1s linear;
}
.waw-progress input[type=range] {
  position: absolute;
  inset: -8px 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  height: 20px;
}

/* Responsive */
@media (max-width: 600px) {
  .waw-play-circle { width: 56px; height: 56px; }
  .waw-play-circle svg { width: 20px; height: 20px; }
  .waw-controls { padding: 10px 12px; gap: 8px; }
}
