.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 360px;
    text-align: center;
}

.youtube-btn{
  color:white;
}

@media only screen and (min-width: 768px) {
    .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 720px;
        height: 405px;
    }
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* Controls wrapper */
.swiper-controls {
  position: absolute;
  width: 100% !important; /* Limit to viewport width */
  scrollbar-width: none; /* hide scrollbar (Firefox) */
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
}

.swiper-pagination {  
  display: flex !important;
  width: 87% !important; /* Limit to viewport width */
  overflow-x: auto; /* allow scroll */
  align-items: center;
  justify-content: center; /* align from left */
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 14px 18px;
  bottom: 0 !important;
}

/* hide scrollbar (Chrome) */
.swiper-pagination::-webkit-scrollbar {
  display: none;
}

/* Bullets */
.swiper-pagination-bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}

/* Play/Pause Button */
.swiper-playpause {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.swiper-playpause:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Blue circle with plus icon */
.pill-btn .icon-circle {
  background-color: #0d6efd; /* Bootstrap primary blue */
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-btn .icon-circle i {
  font-size: 16px;
  color: white;
}

/* --- Modal Backdrop --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --- Modal Box --- */
.modal {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.active .modal {
  transform: translateY(0);
}

.modal h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.modal h1, .modal h2, .modal h3, .modal h4, .modal h5, .modal h6{
  color: #111 !important;
}

.modal .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}
.modal .close-btn:hover {
  color: #000;
}