/* ============ Base Styles ============ */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f6f8;
  color: #222;
}

.program-container {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #d6cff5;
  border-radius: 12px;
}

.program-header {
  text-align: center;
  padding: 10px 10px;
}

.session {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  margin: 15px 0;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);

  transition: 0.2s ease-in-out;
  cursor: pointer; /* Optional for more interactivity */
}

/* Shake on hover */
.session:hover {
  animation: shake 0.2s ease-in-out;
}

/* Keyframe animation */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}


.session h3 {
  margin: 0;
  font-size: 20px;
  color: #0a0000;
}

.time {
  color: #e27b23;
  font-weight: bold;
  white-space: nowrap;
}

.speaker-name {
  font-weight: bold;
  font-size: 18px;
  white-space: nowrap;
}

.speaker-img {
  width: 130px;
  height: 130px;
  border-radius: 15px;
  object-fit: cover;
  
}

.details {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  width: 100%;
  overflow: hidden;
}



.topic {
  flex: 1;
  font-size: 18px;
  color: #333;
  text-align: left;
  min-width: 120px;
}

.sticky-title {
  position: sticky;
  top: 0;
  width: 100%;
  background: #222; /* You can change this color */
  color: #e2086e;
  text-align: center;
  padding: 8px 0;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 4px;
  z-index: 999;
  text-transform: uppercase;
}


/* ============ Popup for Live Speaker ============ */
.live-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #e27b23;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.4s ease;
}

.live-popup img {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  object-fit: cover;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.program-footer {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #444;
}

/* ============ Responsive ============ */
@media (max-width: 600px) {
  .details{
    flex-direction: column;
    align-items: flex-start;
  }
  
  .speaker-img {
    width: 70px;
    height: 70px;
  }

  .details h3 {
    font-size: 17px;
  }

  .details p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .program-header h1 {
    font-size: 22px;
  }

  .session {
    padding: 12px;
    gap: 10px;
  }

  .speaker-img {
    width: 70px;
    height: 70px;
  }

  .time {
    font-size: 13px;
  }

  .details h3 {
    font-size: 16px;
  }
}
