.relative {
  position: relative;
  z-index: 2;
}
.title-main h1,
.title-main h2 {
  font-weight: 700;
  text-transform: uppercase;
}
.title-main h1 {
  font-size: 2.25rem;
}
.title-main h2 {
  font-size: 2rem;
}
.page-instruct {
  background-color: #f7f7f7;
}
/* Banner */
.banner-page {
  height: 30.625rem;
}
.banner-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.banner-page .container h1 {
  color: #fff;
  text-align: center;
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a6000 0%, #0b8343 100%);
  mix-blend-mode: soft-light;
}

/* Intro */
.intro-instruct {
  margin-top: -5rem;
  padding-bottom: 2.56rem;
}
.intro-instruct .title-main h2 {
  font-size: 2rem;
  color: var(--theme-color);
  padding-bottom: 1.44rem;
  margin-bottom: 2.62rem;
  border-bottom: 1px solid #d0d0d0;
}
.intro-content {
  padding: 3rem;
  border-radius: 0.625rem;
  background: #fff;
}
.instruct-content{
  margin-bottom:3rem
}
.list-item .item {
  display: grid;
  grid-template-columns: 1fr 50rem;
  gap: 1.56rem;
}
.list-item .item:nth-child(n + 2) {
  padding-top: 1.69rem;
  margin-top: 0.313rem;
  border-top: 1px solid #d0d0d0;
}
.list-item .item .title {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 700;
}
@media screen and (max-width: 767.98px) {
  .title-main h1,
  .title-main h2 {
    font-size: 1.5rem !important;
  }
  .banner-page {
    height: 20rem;
  }
  .banner-page .section-bg {
    background-size: cover;
  }
  .intro-instruct .container {
    max-width: 100%;
  }
  .intro-instruct .title-main h2 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
  .intro-content {
    padding: 1.625rem 0.875rem 2.625rem;
  }
  .intro-instruct {
    margin-top: -3.25rem;
  }
  .list-item .item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1rem;
  }
  .list-item .item .desc p {
    font-size: 0.9375rem;
  }
}

/* Instruct Images Slider */
.instruct-images {
  margin: 3rem auto;
  max-width: 50.0000rem;
}

.instruct-slider-main {
  border-radius: 0.625rem;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.instruct-slider-main .swiper-slide {
  width: 100%;
}
.instruct-slider-main .swiper-slide a{
  
width: 100%;
  
display: block;
}
.instruct-slider-main .swiper-slide img{
  object-fit:contain
}
.instruct-slider-main .image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.instruct-slider-main .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instruct-slider-main .image-wrapper:hover img {
  transform: scale(1.05);
}

/* Navigation Buttons */
.instruct-slider-main .swiper-button-next,
.instruct-slider-main .swiper-button-prev {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--theme-color);
  font-weight: 700;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.instruct-slider-main .swiper-button-next::after,
.instruct-slider-main .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 900;
}

.instruct-slider-main .swiper-button-next:hover,
.instruct-slider-main .swiper-button-prev:hover {
  background: var(--theme-color);
  color: white;
  transform: scale(1.1);
}

/* Thumbnails Slider */
.instruct-slider-thumbs {
  overflow: hidden;
}

.instruct-slider-thumbs .swiper-slide {
  width: auto !important;
  margin-right: 0.75rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.instruct-slider-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.instruct-slider-thumbs .thumb-wrapper {
  width: 6.25rem;
  height: 4.375rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.125rem solid transparent;
  transition: border-color 0.3s ease;
}

.instruct-slider-thumbs .swiper-slide-thumb-active .thumb-wrapper {
  border-color: var(--theme-color);
}

.instruct-slider-thumbs .thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.instruct-video{
  display: flex;
  justify-content: center;
}
/* FancyBox Custom Styles */
.fancybox__container {
  --fancybox-bg: rgba(0, 0, 0, 0.8);
}

.fancybox__caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1rem;
  font-size: 0.875rem;
}

@media screen and (max-width: 767.98px) {
  .instruct-images {
    margin-top: 2rem;
  }
  
  .instruct-slider-main .swiper-slide {
    height: 18.75rem;
  }
  
  .instruct-slider-main .swiper-button-next,
  .instruct-slider-main .swiper-button-prev {
    width: 2rem;
    height: 2rem;
  }
  
  .instruct-slider-main .swiper-button-next::after,
  .instruct-slider-main .swiper-button-prev::after {
    font-size: 0.75rem;
  }
  
  .instruct-slider-thumbs .thumb-wrapper {
    width: 4.375rem;
    height: 3.125rem;
  }
  
  .instruct-slider-thumbs .swiper-slide {
    margin-right: 0.5rem;
  }
}
