.spotlight-video-section {
  background:#008ed6;
}

.spotlight-video-section.alt-color {
  background:white;
}



.spotlight-content-container {
  padding: 80px 20px;
    border-radius: 10px;
  background:#008ed6;
}

.spotlight-video-section.alt-color .spotlight-content-container {
  background:#eee;
}



.spotlight-inner-wrap {
    display: flex;
    align-items: center;
    max-width:1440px;
    margin:0 auto;
    height: calc(100vh + 123px);
    gap:60px;
}

.spotlight-inner-wrap.reversed {
  flex-direction:row-reverse;
}

.spotlight-video-container {
  aspect-ratio: 16 / 9;
    border-radius: 10px;
    margin: 0 auto;
    max-height: 434px;
    max-width: 765px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.spotlight-video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* ensures thumbnail covers container */
}

.spotlight-video-thumbnail {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.spotlight-video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.content-video-section .button-wrap {
  text-align:center;
  margin-top:20px;
}

.spotlight-btn {
    background-color: #00a8e6;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 168, 230, .3);
    color: #fff;
    display: inline-block;
    font-family: Century Gothic Bold;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 6px 28px;
    text-transform: none;
    transition: all .3s ease;
}

.spotlight-btn:hover {
    background-color: #08c;
    box-shadow: 0 6px 20px rgba(0, 168, 230, .4);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.spotlight-play-button {
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    height: 80px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all .3s ease;
    width: 80px;
  align-items: center;
    display: flex;
    justify-content: center;
}

.spotlight-play-button:after {
    border-bottom: 12px solid transparent;
    border-left: 20px solid #008ed6;
    border-top: 12px solid transparent;
    content: "";
    height: 0;
    margin-left: 5px;
    width: 0;
}

.spotlight-arrow-button.arrow:after {
    content: "\f061";
    border: none;
    color: #008ed6;
    font-size: 40px;
    width: unset;
    height: unset;
    line-height: 1;
    margin: 0;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

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

.spotlight-arrow-button:hover:after {
    transform: translateX(3px);
}

.spotlight-video-thumbnail {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    overflow: hidden;
}

.spotlight-video-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px; /* Slightly larger than container */
    padding: 4px;
    background: transparent; /* Will be animated via JavaScript */
    pointer-events: none;
    z-index: 1;
}

.spotlight-content-container h2 {
    font-family: 'Bebas Kai';
    font-size: 60px;
    color:white;
    font-weight:300;
}

.spotlight-video-section.alt-color .spotlight-content-container h2 {
  color:#008ed6;
}


.spotlight-content-container p {
    font-family: 'Century Gothic';
}

.spotlight-container {
  position: relative;
  min-height: 100px; /* Set a minimum height to prevent layout shift */
}

.spotlight-paragraph {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
  position: absolute;
  width: 100%;
  top: 0; /* Position at top of container, not top of viewport */
  left: 0;
  color:white !important;
}

.spotlight-paragraph.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.spotlight-video-section.alt-color .spotlight-paragraph  {
  color:#008ed6 !important;
}


.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1; /* Behind all content */
    transition: none; /* Let GSAP handle all transitions */
}

.bg-layer-1 {
    z-index: -1;
}

.bg-layer-2 {
    z-index: -2;
}

.spotlight-video-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}

.spotlight-video-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media(min-width:1101px) {
  .spotlight-content-container {
    max-width:50%;
  }
}

@media(max-width:1100px) {
  .spotlight-inner-wrap {
    flex-direction:column;
    height:100%;
    padding: 0 20px 60px;
    gap:0;
  }
  
  .spotlight-video-section.alt-color .spotlight-inner-wrap {
    padding: 20px; 20px 60px;
  }
  
  .spotlight-content-container {
    padding:20px;
  }
  
  .spotlight-paragraph {
    position:relative;
    transform:none;
    opacity:1;
  }
  
  .spotlight-video-thumbnail img {
    width:100%;
  }
  .spotlight-inner-wrap.reversed {
  flex-direction:column;
}
  
}