.slider-heading {
  position: absolute;
  top: clamp(25px, 5vh, 60px);
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  z-index: 10;
  font-family: "Gilda Display", serif;
  font-weight: 400;
  font-size: clamp(18px, 4vh, 32px);
  background: linear-gradient(
    270deg,
    #be9644 0.01%,
    #aa803c 15.01%,
    #f3dc87 43.01%,
    #fbefac 59.01%,
    #f3dc87 73.01%,
    #aa803c 93.01%,
    #c49d47 100.01%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
}

.gallery-carousel-section {
  position: relative;
  height: calc(100vh - 70px);
  overflow: hidden;
}

.gallery-carousel-section-bdlb {
  position: relative;
  height: 90vh !important;
}

.submit {
  margin-top: 25px;
}

.carousel {
  width: 100%;
  height: 100%;
  perspective: 1500px;
  transform-style: preserve-3d;
  opacity: 0;
  transition: opacity 0.25s linear;
  overflow: hidden;
}

.carousel.ready {
  opacity: 1;
}

.slide {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  width: 280px;
  height: 453px;
  overflow: hidden;
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.2);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.corner {
  position: absolute;
  width: 110px;
  height: 110px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 5;
}

.corner-top-left {
  top: clamp(15px, 3vh, 48px);
  left: clamp(15px, 3vw, 24px);
  border-top: 3px solid #be9644;
  border-left: 3px solid #be9644;
}

.corner-top-right {
  top: clamp(15px, 3vh, 48px);
  right: clamp(15px, 3vw, 24px);
  border-top: 3px solid #be9644;
  border-right: 3px solid #be9644;
}

.corner-bottom-left {
  bottom: clamp(15px, 3vh, 48px);
  left: clamp(15px, 3vw, 24px);
  border-bottom: 3px solid #be9644;
  border-left: 3px solid #be9644;
}

.corner-bottom-right {
  bottom: clamp(15px, 3vh, 48px);
  right: clamp(15px, 3vw, 24px);
  border-bottom: 3px solid #be9644;
  border-right: 3px solid #be9644;
}

.gallery-description {
  position: absolute;
  bottom: clamp(15px, 3vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 1325px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(14px, 2.3vh, 24px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  text-align: center;
  color: #ffffff;
  z-index: 10;
}

/* ==========================================
           📱 RESPONSIVE MEDIA QUERIES
           ========================================== */

@media (max-width: 1600px) and (max-height: 800px) {
  .gallery-carousel-section {
    height: 98vh;
  }

  .corner {
    width: 80px;
    height: 80px;
  }

  .slider-heading {
    top: 20px;
    font-size: 28px;
  }

  .gallery-description {
    bottom: 20px;
    font-size: 18px;
    width: 90%;
  }
}

@media (max-width: 840px) and (max-height: 1200px) {
  .gallery-carousel-section {
    height: 55vh !important;
  }

  .slider-heading {
    top: 15px;
    font-size: 24px;
  }

  .gallery-description {
    bottom: 15px;
    font-size: 14px;
    width: 95%;
  }

  .slide {
    width: 220px;
    height: 350px;
  }

  .corner {
    width: 35px;
    height: 45px;
  }
}

@media (max-width: 1280px) and (max-height: 700px) {
  .gallery-carousel-section {
    height: 110vh;
  }

  .gallery-carousel-section-bdlb {
    height: 100vh !important;
  }

  .slider-heading {
    top: 30px;
    font-size: 26px;
  }

  .gallery-description {
    bottom: 30px;
    font-size: 16px;
    width: 90%;
  }
}

@media (max-width: 1280px) and (max-height: 600px) {
  .gallery-carousel-section {
    height: 100vh;
  }

  .gallery-carousel-section-bdlb {
    height: 90vh !important;
  }

  .slide {
    width: 235px;
    height: 350px;
  }

  .slider-heading {
    top: 25px;
    font-size: 22px;
  }

  .gallery-description {
    bottom: 25px;
    font-size: 14px;
    width: 80%;
  }

  .corner {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 1120px) {
  .slider-heading {
    font-size: 28px;
  }

  .gallery-description {
    font-size: 18px;
    width: 90%;
  }
}

/* For Tablets */
@media (max-width: 1024px) {
  .slide {
    width: 230px;
    height: 330px;
    top: auto;
  }

  .gallery-carousel-section {
    position: relative;
    height: 60vh;
  }

  .carousel {
    height: 430px;
  }

  .slider-heading {
    font-size: 26px;
    top: 30px;
  }

  .gallery-description {
    font-size: 16px;
    bottom: 30px;
    width: 85%;
  }

  .corner {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 991px) and (max-height: 1048px) {
  .gallery-carousel-section {
    height: auto;
  }

  .corner {
    width: 70px;
    height: 70px;
  }

  .slide {
    width: 200px;
    height: 285px;
  }

  .slider-heading {
    top: 40px;
    font-size: 22px;
  }

  .gallery-description {
    bottom: 40px;
    font-size: 14px;
    width: 80%;
  }
}

@media (max-width: 821px) and (max-height: 1048px) {
  .slide {
    width: 200px;
    height: 285px;
    top: auto;
  }
}

@media (max-width: 768px) {
  .carousel {
    height: 420px;
  }

  .corner {
    width: 40px;
    height: 50px;
  }

  .slider-heading {
    top: 20px;
    font-size: 24px;
  }

  .gallery-description {
    bottom: 35px;
    font-size: 14px;
    width: 85%;
  }
}

@media (max-width: 576px) {
  .slider-heading {
    top: 35px;
    font-size: 16px;
  }

  .slide {
    width: 120px;
    height: 180px;
  }

  .gallery-carousel-section {
    height: 50vh !important;
  }

  .gallery-carousel-section-bdlb {
    height: 50vh !important;
  }

  .carousel {
    height: 300px;
    perspective: 1000px;
  }

  .gallery-description {
    font-size: 12px;
    bottom: 30px;
    width: 80%;
  }

  .corner {
    width: 50px;
    height: 50px;
  }
}
