.banner_sec {
  position: relative;
  background: #fff;
  padding: 50px 0;
  overflow: hidden;
  height: 100vh;
}

.banner_sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  /* clip-path: polygon(0 0, 70% 0, 50% 100%, 0% 100%); */
  clip-path: polygon(0 0, 30% 0, 85% 100%, 0% 100%);
  z-index: 1;
}

.banner_sec .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  color: #fff;
}

.banner_sec .nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  color: #fff;
  cursor: pointer;
}

.banner_sec .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 100px;
  position: relative;
  z-index: 2;
}

.banner_sec .hero-text {
  width: 65%;
  color: #fff;
}

.banner_sec .hero-text h1 {
  font-size: 45px;
  margin-bottom: 20px;
  font-weight: 500;
  font-family: "Playfair Display", serif;
    background: linear-gradient(90deg, #ffffff, #f9cf97, #ffe365);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 
.banner_sec .hero-text button {
  margin-top: 20px;
  padding: 12px 30px;
  background: #ffffff;
  color: #00333f;
  border: none;
  cursor: pointer;
} */

.banner_sec .hero-slider {
  width: 80%;
  position: relative;
}

.banner_sec .slides {
  position: relative;
  overflow: hidden;
  border: 20px solid #fff;
  height: 550px;
}

.banner_sec .slides:after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
    background: linear-gradient(90deg, rgb(41 40 40) 0%, rgb(0 0 0 / 9%) 15%, rgba(255, 255, 255, 0) 100%);
  z-index: 5;
}

/* .banner_sec .slide-item::after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0000003d;
} */

.banner_sec .slide-item {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.banner_sec .slide-item.active {
  z-index: 2;
}

.banner_sec .slice {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.banner_sec .slice-img {
  position: absolute;
  top: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

.banner_sec .tx {
  position: relative;

}

.banner_sec .tx .FS-TX {
    /* background: linear-gradient(90deg, rgb(255 255 255) 0%, rgb(255 255 255) 50%, rgb(242 232 146) 100%); */
    background: linear-gradient(90deg, rgb(255 230 118) -13%, rgb(255 255 255) 71%, rgba(237, 221, 83, 1) 100%);
  position: absolute;
  top: -91px;
  left: -54px;
  z-index: 6;
  width: 201px;
  padding: 12px 10px;
}

.banner_sec .tx .FS-TX h1 {
  display: inline-block;
  font-size: 16px;
  color: #00333f;
  font-family: "Playfair Display", serif !important;
}

.banner_sec .tx .FS-TX span {
  color: #e28200;
}

.banner_sec .tx .se-tx {
    background: linear-gradient(90deg, rgb(255 255 255) 0%, rgb(255 255 255) 50%, rgb(242 232 146) 100%);
  position: absolute;
  top: -499px;
  left: -160px;
  width: 237px;
  z-index: 6;
  padding: 18px 10px;
}

.banner_sec .tx .se-tx h1 {
  display: inline-block;
  font-size: 18px;
  color: #00333f;
  font-weight: 500;
  font-family: "Playfair Display", serif !important;
  word-spacing: 10px;
}

.banner_sec .tx .se-tx span {
  color: #e28200;
}

.banner_sec .controls {
  position: absolute;
  bottom: -60px;
  right: 0;
}

.banner_sec .controls button {
  padding: 10px 15px;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.banner_sec #next {
background: #ffda31;
    color: #000000;
}

.banner_sec #prev {
  background: #000000;
  color: #fff;
}

.banner_sec .hero-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  /* clip-path: polygon(0 0, 70% 0, 50% 100%, 0% 100%); */
  clip-path: polygon(0 0, 32% 0, 51% 100%, 0% 100%);
  /* background-image: url(../images/banner-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
}

/* .banner_sec .hero-shape::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: #000000;

  z-index: 2;
} */
.banner_sec .hero-shape::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.781),
            rgba(0, 0, 0, 0.788)
        ),
        url("../images/banner-bg.jpg");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;

    z-index: 2;
}
.banner_sec .hero-shape video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner_sec .hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.banner_sec .hero-slider {
  position: relative;
}

.banner_sec .dot {
  position: absolute;
  width: 115px;
  height: 80px;
  background-image: radial-gradient(#e9c595 2px, transparent 2px);
  background-size: 12px 12px;
  opacity: 0.6;
  z-index: 6;
}

.banner_sec .top-dot {
  top: 35px;
  left: 80%;
}

.banner_sec .bottom-dot {
  left: 310px;
  bottom: 190px;
}

.banner_sec .dot.active {
  background: #fff;
  transform: scale(1.4);
}

.banner_sec .banner_fontbtn {
  margin-top: 20px;
  border: none;
  display: block;
  position: relative;
  padding: 0.7em 2.4em;
  font-size: 18px;
  background: transparent;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  color:#ffda31;
  z-index: 1;
  font-family: inherit;
  font-weight: 500;
}

.banner_sec .banner_fontbtn:hover {
  color: #000000;
}

.banner_fontbtn span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: -1;
     border: 4px solid #ffda31;
}

.banner_fontbtn:focus-visible {
  color: #2be5e2 !important;
}

.banner_fontbtn span::before {
  content: "";
  display: block;
  position: absolute;
  width: 8%;
  height: 500%;
  background: #000000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-60deg);
  transition: all 0.3s;
}

.banner_fontbtn:hover span::before {
  transform: translate(-50%, -50%) rotate(-90deg);
  width: 100%;
  background: #fff;
}

.banner_fontbtn:hover {
  color: #001e63;
}

.banner_fontbtn:active span::before {
  background: var(--base-white);
}

.shape_div {
  position: absolute;
  left: 46%;
  top: 104px;
}
/* .shape_div:after{
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;
  background-color: red;
  width: 50px;
  height: 2px;
} */
.shape_div h2 {
  font-size: 28px;
  font-family: "Playfair Display", serif;
  word-spacing: 10px;
}
.shape_div h2 {
    background: linear-gradient(90deg, #100f11, #b46a08, #c8a600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*************************************/
/********* responsive start ***********/
/*************************************/

@media (min-width:1200px) and (max-width:1399px) {
  .banner_sec .slides {
    height: 400px;
  }

  .banner_sec .tx .se-tx h1 {
    font-size: 16px;
  }

  .banner_sec .tx .FS-TX h1 {
    font-size: 16px;
  }

  .banner_sec .tx .se-tx {
    top: -358px;
    left: -102px;
    width: 201px;
    padding: 11px 10px;
  }

  .banner_sec .hero-text h1 {
    font-size: 32px;

  }

  .banner_sec .bottom-dot {
    left: 310px;
    bottom: 80px;
  }

  .shape_div h2 {
      font-size: 22px;
  }
  .shape_div {

      top: 111px;
  }
}

@media (min-width:1200px) and (max-width:1399px) and (min-height:700px) and (max-height:900px) {
  .banner_sec .hero-text h1 {
    font-size: 45px;
  }

  .banner_sec .slides {
    height: 521px;
  }

  .banner_sec .tx .se-tx {
    top: -446px;
    left: -102px;
    width: 228px;
    padding: 11px 10px;
  }
}

@media (min-width:1400px) and (max-width:1500px) {
  .banner_sec .slides {
    height: 469px;
  }

  .banner_sec .bottom-dot {
    bottom: 80px;
  }

  .banner_sec .tx .se-tx {
    top: -420px;
    left: -140px;
    width: 215px;
    /*z-index: 3;*/
    padding: 11px 10px;
  }
}


@media (min-width:1700px) and (max-width:1900px) {
  .banner_sec .slides {
    height: 605px;
  }
}

@media (min-width:1901px) and (max-width:3000px) {
  .banner_sec .hero-content {
    margin-top: 163px;
  }

  .banner_sec .slides {
    height: 637px;
  }

  .banner_sec .hero-text h1 {
    font-size: 62px;
  }

  .banner_sec .tx .se-tx {
    top: -539px;
    left: -160px;
    width: 251px;
    padding: 22px 10px;
  }

  .banner_sec .tx .se-tx h1 {
    font-size: 20px;
  }

  .banner_sec .tx .se-tx span {
    font-size: 25px;
  }

  .banner_sec .tx .FS-TX {
    top: -143px;
    left: -54px;
    width: 233px;
    padding: 22px 10px;
  }

  .banner_sec .tx .FS-TX h1 {
    font-size: 20px;
  }

  .banner_sec .tx .FS-TX span {
    font-size: 25px;
  }

  .banner_sec .hero-text p {
    font-size: 25px;
  }

  .banner_sec .hero-text button {
    padding: 16px 52px;
    font-size: 22px;
    font-weight: bold;
  }

  .banner_sec .top-dot {
    top: 73px;
  }
  .shape_div {
      top: 154px;
  }

}

/*************************************/
/*********mobile responsive start ***********/
/*************************************/

@media (max-width: 576px) {
  .banner_sec {
    padding: 60px 15px;
    min-height: auto;
  }

  .banner_sec .hero-content {
    flex-direction: column;
    margin-top: 25px;
    gap: 30px;
    text-align: center;
  }

  .banner_sec .hero-text {
    width: 100%;
  }

  .banner_sec .hero-text h1 {
    font-size: 26px;
    line-height: 1.4;
  }

  .banner_sec .hero-text p {
    font-size: 14px;
  }

  .banner_sec .hero-text button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .banner_sec .hero-slider {
    width: 100%;
  }

  .banner_sec .slides {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border: 10px solid #fff;
  }

  .banner_sec .controls {
    position: relative;
    bottom: 0;
    margin-top: 15px;
    text-align: center;
  }

  .banner_sec::before {
    clip-path: none;
  }

  .banner_sec .hero-shape {
    clip-path: none;
  }

  .banner_sec .dot {
    display: none;
  }

  .banner_sec .tx .FS-TX {
    top: -250px;
    left: -54px;
    width: 201px;
    padding: 10px 10px;
  }

  .banner_sec .tx .se-tx {
    top: -32px;
    left: 133px;
    width: 206px;
    padding: 9px 10px;
  }

  .banner_sec .hero-text button {
    margin-bottom: 10px;
  }
}

@media (max-width: 990px) {
  .banner_sec .controls {
    margin-top: 45px;
  }

  .banner_sec .tx .se-tx {
    left: 133px;
  }
}

@media (min-width:320px) and (max-width:370px) {
  .banner_sec .tx .FS-TX {
    top: -239px;
  }
}

@media (min-width:371px) and (max-width:400px) {
  .banner_sec .tx .FS-TX {
    top: -261px;
  }
}

@media (min-width:401px) and (max-width:550px) {
  .banner_sec .tx .FS-TX {
    top: -280px;
  }
}


/* =========================
   HERO TITLE ANIMATION
========================= */

.banner_sec .hero-title {
    animation: heroTitleIn 1s ease-out both;
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.shape_div h2 {
    animation: demoText 2s ease-in-out infinite;
}

@keyframes demoText {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}