/* ---------- Global Reset ---------- */
* {
  box-sizing: border-box;
}

:root{
  --brand-red: #e61d25;
  --brand-red-rgb: 230,29,37;
}

/* Center header logo to match homepage */
.site-header .logo,
.logo {
  text-align: center;
}
.site-header .logo img,
.logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Match the compact responsive page banner used on solution pages. */
.pages_banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Keep shared header navigation typography consistent across pages. */
.menu .navbar-nav .nav-link,
.menu .dropdown-menu .dropdown-item {
  font-family: 'Poppins', Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: #ffffff; /* page background changed to white */
  color: #222; /* default page text color for readability */
  overflow-x: hidden;
  height: 100%;
}

/* ---------- Entrance Animation ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Cinematic Container ---------- */
.video-container {
  max-width: 1250px;
  margin: 40px auto;
  padding: 20px; /* reduced so video is visually larger */
  background: rgba(20, 20, 20, 0.92);     /* keep dark card */
  border-radius: 14px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.7),
    0 0 8px rgba(255, 255, 255, 0.12);   /* subtle rim glow */
  backdrop-filter: blur(3px);
  color: #ffffff; /* keep text readable inside the dark container */
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: black;
}

.video-wrapper img,
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: none;
}

.video-wrapper.playing img,
.video-wrapper.playing .play-button {
  display: none;
}

/* ---------- Play Button ---------- */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.play-button::after {
  content: '';
  position: absolute;
  left: 22px;
  top: 16px;
  width: 0;
  height: 0;
  border-left: 20px solid var(--brand-red);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

/* ---------- Crisp, shake-free lift ---------- */
.video-wrapper {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, box-shadow;
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.2);
}

/* ---------- Typography & Glow ---------- */
.text-content {
  margin-top: 24px;
  text-align: left;
}

.text-content h1,
.text-content h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

.text-content p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #ccc;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Subtle white glow animation on header text */
.glow-header h1,
.glow-header p {
  animation: subtleGlow 3.5s ease-in-out infinite;
}
@keyframes subtleGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50%      { text-shadow: 0 0 4px rgba(255, 255, 255, 0.35); }
}

/* Video section: reduce & make heading responsive */
.video-container .glow-header h3 {
  font-size: clamp(16px, 1.6vw, 20px); /* small but responsive */
  line-height: 1.2;
  margin: 0 0 6px 0;
  font-weight: 600;
}

/* ---------- Accent Links ---------- */
.accent-link {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Glowing CTA Button ---------- */
.glowing-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 24px;
  background: var(--brand-red);
  color: #ffffff;
  border: 2px solid var(--brand-red);
  border-radius: 5px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 5px #ffffff, 0 0 10px var(--brand-red);
  transition: all 0.3s ease;
}

.glowing-button:hover {
  background: #ffffff;
  color: var(--brand-red);
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 40px #ffffff;
}

/* Force non-hover visibility */
.video-container .text-content .glowing-button,
.text-content .glowing-button {
  background: var(--brand-red) !important;
  color: #ffffff !important;
}

/* Smaller CTA on tablets / phones */
@media (max-width: 768px) {
  /* mobile: remove the dark card so the video visually expands (desktop remains unchanged) */
  .video-container {
    background: transparent;
    padding: 0;              /* allow the video to use full container width */
    box-shadow: none;
    margin: 30px auto;
  }

  .video-wrapper {
    border-radius: 8px;      /* keep rounded video corners */
    margin: 0;               /* let video span full width inside the container */
  }

  /* keep dark card for the text area only */
  .video-container .text-content {
    background: rgba(8, 8, 8, 0.92); /* dark card for text */
    padding: 18px 16px;
    margin-top: 12px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    color: #fff;
  }

  .video-container .text-content .glow-header h3 {
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
  }

  .video-container .text-content p {
    color: #ddd;
  }

  .video-container .text-content .glowing-button {
    margin-top: 12px;
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    border-color: var(--brand-red);
  }

  .glowing-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* =============================================================
   FAQ SECTION — Blend Sports About Page
   Matches Poppins typography, brand red accents, and spacing
   consistent with the rest of the about page content.
   ============================================================= */

/* FAQ section heading — "Frequently Asked Questions" */
.faq-block,
h2 + .faq-block {
  margin-top: 0;
}

/* FAQ section H2 heading above the block */
.faq-block ~ h2,
h2:has(+ .faq-block),
.faq-section-heading {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: #222;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* Individual FAQ item wrapper */
.faq-block > div {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

.faq-block > div:first-child {
  border-top: 1px solid #e0e0e0;
}

/* FAQ question — H3 */
.faq-block h3 {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  color: #222;
  margin: 0 0 8px 0;
  line-height: 1.4;
  letter-spacing: 0.3px;
}

/* FAQ answer — paragraph */
.faq-block p {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #444;
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0.2px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .faq-block > div {
    padding: 14px 0;
  }

  .faq-block h3 {
    font-size: 0.95rem;
  }

  .faq-block p {
    font-size: 0.9rem;
  }
}
