/* Intro Video + Stats Section (French Theme, Clean & Unique) */
.intro-video-stats-section {
  position: relative;
  padding: 80px 0 60px 0;
  min-height: 60vh;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafc; /* Simpler base background for the section */
}
/* Remove the ::before and ::after from section as background is moved */
.intro-video-stats-section::before,
.intro-video-stats-section::after {
  content: none;
}

.intro-video-stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: linear-gradient(120deg, #b2f1e6 0%, #fff6c1 50%, #ffd1e6 100%);
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  padding: 40px 32px;
  overflow: hidden;
}

/* NEW: Repeating pattern for the container */
.intro-video-stats-container::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg width="150" height="150" viewBox="0 0 150 150" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="75" cy="75" r="5" fill="%23c9e3ed" fill-opacity="0.6"/></svg>') repeat;
  opacity: 0.8;
  z-index: -1; /* Behind content */
  pointer-events: none;
}

/* NEW: Faint French-inspired larger SVG watermark for the container */
.intro-video-stats-container::after {
  content: '';
  position: absolute;
  left: 10%; /* Positioned off-center for dynamism */
  bottom: -20%; /* Off-screen start for subtle animation */
  width: 400px;
  height: 400px;
  background: url('data:image/svg+xml;utf8,<svg width="400" height="400" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M200 0L180 200L220 200L200 0Z" fill="%23a0c4d3" fill-opacity="0.08"/><rect x="190" y="200" width="20" height="180" rx="10" fill="%23a0c4d3" fill-opacity="0.08"/><circle cx="200" cy="20" r="15" fill="%23a0c4d3" fill-opacity="0.08"/><circle cx="180" cy="40" r="8" fill="%23a0c4d3" fill-opacity="0.08"/><circle cx="220" cy="40" r="8" fill="%23a0c4d3" fill-opacity="0.08"/></svg>') no-repeat center center;
  background-size: contain;
  opacity: 0.7;
  z-index: -1; /* Behind content */
  pointer-events: none;
  animation: floatUp 15s ease-in-out infinite alternate;
}
@keyframes floatUp {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-50px) scale(1.05); opacity: 0.8; }
}

@media (max-width: 992px) {
  .intro-video-stats-container {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    padding: 32px 20px; /* Adjust padding for smaller screens */
  }
}

.intro-video-frame {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transition: box-shadow 0.3s;
}
.intro-video-frame iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: 32px;
  display: block;
}
.intro-video-frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8px;
  border-radius: 0 0 32px 32px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  animation: borderGlow 2s linear infinite alternate;
  z-index: 3;
}
@keyframes borderGlow {
  0% { filter: blur(0px) brightness(1); }
  100% { filter: blur(2px) brightness(1.2); }
}

.intro-stats-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .intro-stats-list { align-items: center; }
}
.intro-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 18px 32px 18px 18px;
  width: 100%;
  max-width: 340px; /* Slightly increased for longer text */
  height: 90px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.intro-stat-card:hover {
  box-shadow: 0 6px 32px rgba(0,123,255,0.18);
  transform: translateY(-6px) scale(1.03);
}
.intro-stat-card .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e3e6f3 0%, #f8fafc 100%);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  margin-right: 0;
  transition: background 0.3s, color 0.3s;
}
.intro-stat-card:hover .icon {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
}
/* New: Styles for the text wrapper */
.intro-stat-card .text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}
.intro-stat-card .number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
  letter-spacing: 1px;
  transition: color 0.2s;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap; /* Ensure text stays on one line */
}
.intro-stat-card .label {
  font-size: 1.05rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  padding-left: 0;
  line-height: 1.1;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .intro-video-stats-section { padding: 40px 0 20px 0; }
  .intro-video-frame iframe { height: 260px; }
  .intro-stat-card { max-width: 90%;
    padding: 14px 10px 14px 10px; }
}
@media (max-width: 480px) {
  .intro-video-frame iframe { height: 180px; }
  .intro-stat-card { max-width: 95%; }
} 