.height-3 {
  min-height: 660px !important;
  margin-top: 24px;
}
.s-minsters-two-col-wrap {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
.s-minsters-two-col-1 {
  flex: 1;
}
.s-minsters-two-col-2 {
  width: 330px;
  padding-left: 20px;
}

.minsters-two-col-wrap {
  display: flex;
  width: 100%;
}
.minsters-two-col-1 {
  flex: 1;
}
.minsters-two-col-2 {
  width: 330px;
  padding-left: 20px;
}
.gallery-container {
  display: flex;
  gap: 30px;
}

.thumbnail-list {
  width: 100%;
  height: 480px;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: scrollUp 30s linear infinite;
}

.thumbnail {
  cursor: pointer;
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail img {
  width: 100%;
  display: block;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 2px solid #ec6d01;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.thumbnail-list:hover .scroll-inner {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.featured {
  width: 96%;
  height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #000;
}

.featured img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  max-width: 100% !important;
}

.popup-content {
  position: relative;
  margin: auto;
  background: #000;
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
}

.popup-content iframe {
  width: 100%;
  height: 500px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ff5555;
}
@media screen and (max-width: 767px) {
  .minsters-two-col-wrap {
    width: 100%;
    flex-wrap: wrap;
  }
  .minsters-two-col-1 {
    flex: inherit;
    width: 100%;
  }
  .minsters-two-col-2 {
    width: 100%;
    padding-left: 0px;
    margin-top: 20px;
  }
  .s-minsters-two-col-wrap {
    width: 100%;
    flex-wrap: wrap;
  }
  .s-minsters-two-col-1 {
    flex: inherit;
    width: 100%;
  }
  .s-minsters-two-col-2 {
    width: 100%;
    padding-left: 0px;
    margin-top: 20px;
  }
}

.minsters-sec-1 {
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center center;
  will-change: transform;
}

.minsters-sec-1:hover {
  transform: scale(1.03);
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.small-btn {
  text-align: center;
  display: block;
  border-radius: 7px;
  border: 1px solid #fff;
  justify-content: center;
  padding: 3px 10px;
  width: fit-content;
  margin: 0px auto;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  background: #ec6d01;
  margin: 10px 0px 5px 0pxx;
}
