.video-section {
  padding: 60px 20px;
}

.video-wrapper-title {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.video-title {
  font-size: 2rem;
  font-weight: bold;
  color: #0F294A;
  margin-bottom: 30px;
}

.video-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  max-width: 100%; /* Allow the wrapper to expand as much as needed */
}

.video-container {
  position: relative;
  width: 100%;
  max-width: none; /* ⬅️ Allow full width */
  padding: 0 20px;
   display: flex;
  justify-content: center;
  align-items: center;  /
}

.video-box {
  position: relative;
  width: 1200px;
  aspect-ratio: 2 / 1; /* Ensures width is double the height */
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width:1200px;
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-toggle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  padding: 0;
  border: none;
  background: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.video-toggle-button img {
  width: 100%;
  height: 100%;
}

.video-toggle-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-fallback {
  color: #555;
  font-size: 1.2rem;
  text-align: center;
  margin-top: 20px;
}
