/*=====================
  Hero Slider
 ======================= */
.hero-slider-area {
  position: relative;
}

/* .hero-slider-area::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 293px;
  backdrop-filter: blur(47px);
  -webkit-backdrop-filter: blur(47px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, #040000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #040000 50%, #040000 100%);
  z-index: 4;
  pointer-events: none;
} */

.hero-slider-area::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 293px;
  background: linear-gradient(180deg, rgba(4, 0, 0, 0) 0%, #040000 100%);
  z-index: 3;
  pointer-events: none;
}

.hero-slider-thumb-wrapper .swiper-slide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.hero-slider .swiper-slide {
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero-slider-img {
  width: 100%;
  height: 100vh !important;
  object-fit: cover;
  object-position: center bottom;
}

.hero-slider-thumb-wrapper {
  position: absolute;
  bottom: 0px;
  right: 0;
  left: 0;
  padding: 0 15px;
  width: 100%;
  margin: auto;
  z-index: 4;
}

.hero-slider-thumb .swiper-wrapper {
  justify-content: center;
  padding: 5px 0;
}

.hero-slider-thumb-wrapper .swiper-slide {
  max-width: 100px;
  height: 60px;
  position: relative;
  cursor: pointer;
}

/* slider thumb active */
.hero-slider-btn-wrap {
  display: inline-block;
}

/* Yellow Corner Borders */
.hero-slider-btn-wrap span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: #fff;
  border-style: solid;
  opacity: 0;
  transition: all 0.3s;
}

/* Top Left */
.hero-slider-btn-wrap span:nth-child(1) {
  top: 0px;
  left: 0px;
  border-width: 1px 0 0 1px;
}

/* Top Right */
.hero-slider-btn-wrap span:nth-child(2) {
  top: 0px;
  right: 0px;
  border-width: 1px 1px 0 0;
}

/* Bottom Left */
.hero-slider-btn-wrap span:nth-child(3) {
  bottom: 0px;
  left: 0px;
  border-width: 0 0 1px 1px;
}

/* Bottom Right */
.hero-slider-btn-wrap span:nth-child(4) {
  bottom: 0px;
  right: 0px;
  border-width: 0 1px 1px 0;
}

.hero-slider-thumb .swiper-slide-thumb-active .hero-slider-btn-wrap span {
  opacity: 1;
}

.hero-slider-thumb .swiper-slide:hover .hero-slider-btn-wrap span {
  opacity: 1;
}

/* =======================
   Horizontal Slider
   ========================*/
.vertical-slider-area {
  position: relative;
  width: 100%;
}

.vertical-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.vertical-slider .vs-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.vertical-slider .vs-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.highlt-overlay::after,
.vertical-slider .vs-slide::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 515px;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 2;
  pointer-events: none;
}

.highlt-overlay {
  position: relative;
}

.vertical-slider .vs-slide a {
  display: block;
  width: 100%;
  height: 100vh;
}

.vertical-slider-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vertical-slider-content img {
  width: 100%;
  height: 100vh !important;
  object-fit: cover;
  display: block;
}

.vertical-pagination {
  position: fixed;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.vertical-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  margin-bottom: 10px;
  position: relative;
  opacity: 1;
}

/* Yellow Corner Borders */
.vertical-pagination .vertical-slider-btn-wrap span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: rgba(252, 250, 19, 1);
  border-style: solid;
  opacity: 0;
  transition: all 0.3s;
}

/* Top Left */
.vertical-pagination .vertical-slider-btn-wrap span:nth-child(1) {
  top: -3px;
  left: -3px;
  border-width: 1px 0 0 1px;
}

/* Top Right */
.vertical-pagination .vertical-slider-btn-wrap span:nth-child(2) {
  top: -3px;
  right: -3px;
  border-width: 1px 1px 0 0;
}

/* Bottom Left */
.vertical-pagination .vertical-slider-btn-wrap span:nth-child(3) {
  bottom: -3px;
  left: -3px;
  border-width: 0 0 1px 1px;
}

/* Bottom Right */
.vertical-pagination .vertical-slider-btn-wrap span:nth-child(4) {
  bottom: -3px;
  right: -3px;
  border-width: 0 1px 1px 0;
}

.vertical-pagination .swiper-pagination-bullet-active .vertical-slider-btn-wrap span,
.vertical-pagination .swiper-pagination-bullet:hover .vertical-slider-btn-wrap span {
  opacity: 1;
}

.vertical-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/* =======================
   Portfolio tab area
   ======================== */

/* Header Section */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.portfolio-tab-area {
  position: relative;
}

/* .portfolio-tab-area::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 515px;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 2;
  pointer-events: none;
} */

/* Tabs Navigation (Images / Videos) */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-btn {
  border: 1px solid #FFFFFF66;
  background-color: #FFFFFF66;
  color: #fff;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  transition: all .3s ease;
}

.tab-btn:hover {
  border-color: #FCFA13;
  color: #000;
  background-color: #FCFA13;
}

.tab-btn.active {
  background-color: #FCFA13;
  color: #000;
  border-color: #FCFA13;
}

/* Tab Panes (only the .active pane is visible) */
.content-area .tab-content {
  display: none;
}

.content-area .tab-content.active {
  display: block;
}

/* AJAX states */
.portfolio-tab-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 0;
  color: #fff;
  font-size: 16px;
}

.portfolio-tab-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FCFA13;
  border-radius: 50%;
  animation: highlt-spin 0.8s linear infinite;
}

@keyframes highlt-spin {
  to {
    transform: rotate(360deg);
  }
}

.portfolio-error,
.portfolio-empty {
  text-align: center;
  color: #fff;
  padding: 40px 0;
  font-size: 16px;
}

.portfolio-error {
  color: #ff6b6b;
}

/* Content Area */
.tab-single-section {
  margin-bottom: 120px;
}

.tab-single-section:last-child {
  margin-bottom: 0;
}

.tab-single-section h2.section-title {
  font-size: 46px;
  font-weight: 400;
  margin-bottom: 26px;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
}

.portfolio-image-item-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Image tab — hover scale + title slide-up */
.portfolio-image-item-wrap .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-image-thumb {
  overflow: hidden;
}

.portfolio-image-item-wrap .portfolio-item:hover .portfolio-image-thumb img {
  transform: scale(1.05);
}

.portfolio-image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  transform: translateY(100%);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.portfolio-image-item-wrap .portfolio-item:hover .portfolio-image-overlay {
  transform: translateY(0);
}

.portfolio-image-title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
  text-align: center;
}

/* Load More button (per category) */
.load-more-wrap {
  position: relative;
  display: inline-block;
}

.load-more-wrap span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #fff;
  border-style: solid;
  opacity: 0;
  transition: all 0.3s;
}

/* Top-left corner */
.load-more-wrap span:nth-child(1) {
  top: -4px;
  left: -4px;
  border-width: 1px 0 0 1px;
}

/* Top-right corner */
.load-more-wrap span:nth-child(2) {
  top: -4px;
  right: -4px;
  border-width: 1px 1px 0 0;
}

/* Bottom-left corner */
.load-more-wrap span:nth-child(3) {
  bottom: -4px;
  left: -4px;
  border-width: 0 0 1px 1px;
}

/* Bottom-right corner */
.load-more-wrap span:nth-child(4) {
  bottom: -4px;
  right: -4px;
  border-width: 0 1px 1px 0;
}

/* === Show corners on hover === */
.load-more-wrap:hover span {
  opacity: 1;
}

/* === Button itself === */
.portfolio-load-more {
  padding: 14px 18px;
  background: #FCFA13;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #050000;
  font-family: inter, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  transition: 0.3s ease;
}

.portfolio-load-more .portfolio-load-more-label{
  position: static;
  color: #000;
  opacity: 1;
  height: auto;
  width: auto;
  border:none;
  background:transparent;
}


/* Video Specific Styles */
.portfolio-video-item-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.portfolio-item iframe,
.portfolio-item video {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.portfolio-video-title {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-transform: capitalize;
  color: #fff;
  padding-top: 7px;
}

@media (max-width: 1199px) {
  .tab-single-section h2.section-title {
    font-size: 40px;
  }

  .tab-single-section {
    margin-bottom: 100px;
  }


}

@media (max-width: 991px) {

  .portfolio-image-item-wrap,
  .portfolio-video-item-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-single-section {
    margin-bottom: 90px;
  }
}

@media (max-width: 575px) {

  .portfolio-image-item-wrap,
  .portfolio-video-item-wrap {
    grid-template-columns: 1fr;
  }


  .tab-single-section {
    margin-bottom: 70px;
  }


  .tab-single-section h2.section-title {
    margin-bottom: 20px;
    font-size: 36px;
  }

}

/* ================================================
   Portfolio Image Lightbox
   ================================================ */
.hlt-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hlt-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

body.hlt-lightbox-open {
  overflow: hidden;
}

.hlt-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.hlt-lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: 700px;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.hlt-lightbox-close,
.hlt-lightbox-prev,
.hlt-lightbox-next {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s ease;
  z-index: 100000;
}

.hlt-lightbox-close:hover,
.hlt-lightbox-prev:hover,
.hlt-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hlt-lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  border-radius: 50%;
}

.hlt-lightbox-prev,
.hlt-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 42px;
  border-radius: 4px;
}

.hlt-lightbox-prev {
   left: 100px; 
  }
.hlt-lightbox-next { 
  right: 100px; 
}

.portfolio-item[data-gallery-src] {
  cursor: pointer;
}

@media (max-width: 575px) {
  .hlt-lightbox-prev { left: 8px; }
  .hlt-lightbox-next { right: 8px; }
  .hlt-lightbox-prev,
  .hlt-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 32px;
  }
}