/* ============================================ */
/* LEADERSHIP SPOTLIGHT SECTION - CONDITIONAL ANIMATION */
/* Only moves when image height > container height, stops when at top */
/* ============================================ */

/* Base spotlight styles - YOUR EXISTING CSS (unchanged) */
.spotlight-section {
  background-color: #345477;
  color: white;
}

.leadership-spotlight {
  background: linear-gradient(135deg, #0a2540 0%, #1a3a5c 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}

.spotlight-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.spotlight-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.spotlight-image:hover img {
  transform: scale(1.02);
}

/* Animation - Slides from top to bottom and back */
@keyframes slideTopToBottom {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(calc(100% - 100%));
  }
  50% {
    transform: translateY(calc(100% - 0px));
  }
  75% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

/* Apply animation only when image height > container height */
/* Using JavaScript approach - add class dynamically */
.spotlight-image.animate img {
  animation: slideTopToBottom 6s ease-in-out infinite;
}

/* Staggered delays for each spotlight that needs animation */
.leadership-spotlight:nth-child(1) .spotlight-image.animate img { animation-delay: 0s; }
.leadership-spotlight:nth-child(2) .spotlight-image.animate img { animation-delay: 1.5s; }
.leadership-spotlight:nth-child(3) .spotlight-image.animate img { animation-delay: 3s; }
.leadership-spotlight:nth-child(4) .spotlight-image.animate img { animation-delay: 4.5s; }
.leadership-spotlight:nth-child(5) .spotlight-image.animate img { animation-delay: 1s; }
.leadership-spotlight:nth-child(6) .spotlight-image.animate img { animation-delay: 2.5s; }

/* Pause animation on hover */
.spotlight-image.animate:hover img {
  animation-play-state: paused;
}

.spotlight-image .image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.8rem;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.spotlight-content {
  padding: 2.5rem;
  color: white;
}

.spotlight-content .leader-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--zim-gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.spotlight-content .leader-name {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.spotlight-content .leader-subtitle {
  font-size: 1rem;
  color: var(--zim-gold);
  margin-bottom: 1.25rem;
  font-weight: 500;
  border-left: 3px solid var(--zim-gold);
  padding-left: 1rem;
}

.spotlight-content .leader-message {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}

.spotlight-content .leader-message p {
  margin-bottom: 1rem;
}

.spotlight-content .quote-mark {
  font-size: 3rem;
  color: var(--zim-gold);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Multiple spotlights container */
.spotlights-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ============================================ */
/* RESPONSIVE: IMAGE ABOVE TEXT ON MOBILE/TABLET - YOUR EXISTING CSS (UNCHANGED) */
/* ============================================ */
@media (max-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .spotlight-image {
    grid-row: 1;
    min-height: 320px;
  }
  
  .spotlight-content {
    grid-row: 2;
    padding: 2rem;
  }
  
  .spotlight-content .leader-name {
    font-size: 1.5rem;
  }
  
  /* Disable animation on mobile for better performance */
  .spotlight-image.animate img {
    animation: none;
  }
}

@media (max-width: 768px) {
  .spotlight-image {
    min-height: 280px;
  }
  
  .spotlight-content {
    padding: 1.5rem;
  }
  
  .spotlight-content .leader-name {
    font-size: 1.3rem;
  }
  
  .spotlight-content .leader-subtitle {
    font-size: 0.9rem;
  }
  
  .spotlight-content .leader-message {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .spotlight-image {
    min-height: 240px;
  }
  
  .spotlight-content {
    padding: 1.25rem;
  }
  
  .spotlight-content .leader-name {
    font-size: 1.2rem;
  }
  
  .spotlight-content .leader-title {
    font-size: 0.7rem;
  }
  
  .spotlight-content .leader-subtitle {
    font-size: 0.8rem;
    padding-left: 0.75rem;
  }
  
  .spotlight-content .quote-mark {
    font-size: 2rem;
  }
}


/* ============================================ */
/* VIDEO SPOTLIGHT SECTION - DR. LLOYD BAHERA */
/* ============================================ */

.video-spotlight-section {
  background: linear-gradient(135deg, #f8fafc 0%, #fef9f0 100%);
}

.video-spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-video-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,0.15));
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 0;
}

.featured-video-wrapper {
  position: relative;
  background: #000;
  min-height: 400px;
}

.video-player-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.video-player-container video,
.video-player-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.featured-video-info {
  padding: 2rem;
  background: linear-gradient(135deg, var(--zim-deep-blue, #0a2540), var(--zim-charcoal, #1a1a1a));
  color: white;
}

.speaker-badge {
  display: inline-block;
  background: var(--zim-gold, #f5a623);
  color: var(--zim-charcoal, #1a1a1a);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.speaker-badge i {
  margin-right: 0.3rem;
}

.featured-video-info h3 {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.3rem;
}

.speaker-title {
  color: var(--zim-gold, #f5a623);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.video-description {
  margin: 1rem 0;
}

.video-description p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.video-stats {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.video-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.video-stats i {
  color: var(--zim-gold, #f5a623);
}

/* Additional Videos Section */
.additional-videos-section {
  margin-top: 3rem;
}

.additional-videos-title {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  color: var(--zim-deep-blue, #0a2540);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.additional-videos-title i {
  color: var(--zim-crimson, #cc0f0f);
}

.additional-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-card-mini {
  display: flex;
  gap: 1rem;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
}

.video-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 5px 20px rgba(0,0,0,0.1));
}

.video-thumb-mini {
  position: relative;
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
}

.video-thumb-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card-mini:hover .video-thumb-mini img {
  transform: scale(1.05);
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  background: rgba(245, 166, 35, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-icon-overlay i {
  color: white;
  font-size: 0.9rem;
  margin-left: 2px;
}

.video-card-mini:hover .play-icon-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--zim-crimson, #cc0f0f);
}

.video-info-mini {
  padding: 0.8rem 1rem 0.8rem 0;
  flex: 1;
}

.video-info-mini h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--zim-deep-blue, #0a2540);
}

.video-info-mini p {
  font-size: 0.7rem;
  color: var(--zim-gold, #f5a623);
  margin-bottom: 0.25rem;
}

.video-info-mini span {
  font-size: 0.65rem;
  color: var(--text-secondary, #666);
}

/* Responsive */
@media (max-width: 900px) {
  .featured-video-card {
    grid-template-columns: 1fr;
  }
  
  .featured-video-wrapper {
    min-height: 300px;
  }
  
  .video-player-container video,
  .video-player-container iframe {
    min-height: 300px;
  }
  
  .featured-video-info {
    padding: 1.5rem;
  }
  
  .featured-video-info h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .additional-videos-grid {
    grid-template-columns: 1fr;
  }
  
  .video-card-mini {
    max-width: 100%;
  }
  
  .featured-video-wrapper {
    min-height: 250px;
  }
  
  .video-player-container video,
  .video-player-container iframe {
    min-height: 250px;
  }
  
  .video-description p {
    font-size: 0.8rem;
  }
}



