@font-face {
  font-family: 'Trajan Pro';
  src: url(../fonts/TrajanPro-Bold.otf) format('opentype'),
    url(../fonts/TrajanPro-Regular.ttf) format('opentype');
  font-weight: normal;
  font-style: normal;
}



.offering-section {
  position: relative;
  width: 100%;
  height: 700px;
  opacity: 1;
  border-width: 1px;
  border: 1px solid #FFFFFF;
  margin: 0 auto;
  /* background-image: linear-gradient(to right, rgba(0,0,0,0.5), transparent 70%), 
                    url('../Images/home/gradient.png');
  background-size: cover;
  background-position: center; */
  /* top: -210px; */
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) -47%,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.5) 49%,
      rgba(255, 255, 255, 0) 100%);

}

.offering-bg-img {
  width: 100%;
  height: 1353px;
  object-fit: cover;
  display: block;
  border: 1px solid #fff;
}

.offering-container {
  position: absolute;
  width: 100%;
  height: 154px;
  opacity: 1;
  top: 90px;
  /* left: 127px; */
  gap: 18px;
  /* margin-top: 50px; */
}

.offering-container h2 {
  opacity: 1;
  font-family: 'Denton Test';
  font-weight: 420;
  font-style: normal;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  white-space: nowrap;
  margin-bottom: 30px;
}




.offering-container h2::before,
.offering-container h2::after {
  content: "";
  /* position: absolute; */
  top: 50%;
  width: 100px;
  margin: 0 15px;

  border-bottom: 2px solid #fff;
  /* solid line style */
  transform: translateY(-50%);
}

.offering-container p {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400px;
  font-style: normal;
  font-size: 19px;
  line-height: 37px;
  letter-spacing: 0%;
  text-align: center;
  width: 1267;
  height: 74;
  opacity: 1;
  margin: 10px;
  color: #FFFFFF;
  padding: 0 40px;
}


.offers-wrapper {
  /* width: 723px;
height: 208px; */
  opacity: 1;
  /* top: 190px;
left: 277px; */
  gap: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  flex-wrap: wrap
}

.offer {
  position: relative;
  /* for absolute inside */
  /* width: 240px; adjust as needed */
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  /* use flexbox */
  justify-content: center;
  /* center horizontally */
  align-items: center;
  /* center vertically */
  opacity: 0;
  transform: translateY(50px);
  width: 240px;
  /* fixed width */
  height: 240px;
  /* fixed height */
}

.offer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
  transform: rotate(90deg);
  /* border: none; */
  display: block;
}



.offer-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.offer-icon {
  width: 60px;
  /* consistent icon size */
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

/* .offer-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  color: #fff;
} */

.offer-box p {
  width: auto;
  height: auto;
  opacity: 1;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-style: normal;
  /* font-size: 13.80px; */
  line-height: 18px;
  letter-spacing: 0%;
  /* text-align: center; */
  /* overflow: hidden; */
  position: relative;
  /* transform:rotate(45deg); */
  /* padding-top: 5px; */
  color: #777777;

  margin: 0;
  font-size: 15px;
  /* text-shadow: 0 0 5px rgba(0,0,0,0.7); improves readability */

}



.gadient2 {
  position: absolute;
  width: 100%;
  height: 250px;
  /* opacity: 1; */
  /* border-width: 1px; */
  /* top: 278px; */
  /* left: -52px; */
  margin: 0 auto;
  overflow: hidden;
  /* background: #000; */
  z-index: 2;

}

.gradient-img2 {
  width: 100%;
  /* make image take full container width */
  height: 100%;
  /* stretch vertically */
  object-fit: cover;
  /* cover without distortion */
  display: block;
}

/* KEYFRAMES */
@keyframes diveInFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInBottom {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ANIMATE WHEN VISIBLE */
.offering-section.animate .offering-container h2 {
  animation: diveInFromTop 1s forwards;
  animation-delay: 0.2s;
}

.offering-section.animate .offering-container p {
  animation: diveInFromTop 1s forwards;
  animation-delay: 0.4s;
}

.offering-section.animate .offer:nth-child(1) {
  animation: slideInLeft 1s forwards;
  animation-delay: 0.6s;
}

.offering-section.animate .offer:nth-child(2) {
  animation: slideInBottom 1s forwards;
  animation-delay: 0.8s;
}

.offering-section.animate .offer:nth-child(3) {
  animation: slideInRight 1s forwards;
  animation-delay: 1s;
}

/* OPTIONAL: Hover effect on offer image */
/* .offer:hover .offer-bg {
  transform: scale(1.05);
  border-radius: inherit;
} */

.offer:hover .offer-icon {
  transform: scale(1.2);
}


/* mobile responsive ui */

@media screen and (max-width: 992px) {

  .offering-section {
    height: auto;
    padding: 60px 0;
  }

  .offering-container {
  position: absolute;
  width: 100%;
  height: 154px;
  opacity: 1;
  top: 120px;
  /* left: 127px; */
  gap: 18px;
  /* margin-top: 50px; */
}

  .offering-container h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .offering-container h2::before,
  .offering-container h2::after {
    width:60px;
    border-bottom: 2px solid #fff;
  }

  .offering-container p {
    font-size: 17px;
    line-height: 30px;
    padding: 0 30px;
  }

  .offers-wrapper {
    gap: 20px;
    padding: 20px 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .scape-video { border:20px solid #fff; }
  .offer {
    width: 190px;
    height: 190px;
    border-radius: 10px;
  }

  .offer-bg {
    transform: none;
    object-fit: cover;
  }

  .offer-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
  }

  .offer-box p {
    font-size: 14px;
    line-height: 18px;
  }

   .scape-video video {
    object-fit: cover;
    height: 100vh;
  }

  .scape-video::after {
    background: rgba(0, 0, 0, 0.5); /* darker overlay for mobile readability */
  }
}
@media screen and (max-width: 768px) {

  .offering-section {
    height: 100%;
    padding: 0px 0px;
  }

    .offering-container {
top:40px;
  }

  .offering-container h2 {
    font-size:28px;
    margin-bottom: 20px;
    gap: 10px;
  }

  .offering-container h2::before,
  .offering-container h2::after {
    width: 60px;
    border-bottom: 1.5px solid #fff;
  }

  .offering-container p {
    font-size: 16px;
    line-height: 28px;
    padding: 0 20px;
  }

  .offers-wrapper {
    height:auto;
    width: 100%;
    gap: 10px;
    padding: 20px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .offer {
    width: 124px;
    height: 124px;
    border-radius: 8px;
  }

  .offer-bg {
    transform: none;
    object-fit: cover;
  }

  .offer-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 8px;
  }

  .offer-box p {
    font-size: 10px;
    line-height: 10px;
  }

}

/* ======== VERY SMALL SCREENS (Phones <480px) ======== */


@media screen and (max-width: 580px) {

  .offering-section {
     height: 100%;
    padding: 20px 0;
  }

  /* .offering-bg-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid #fff;
} */

  .offering-container {
    top:98px;
  }


  .offering-container h2 {
    margin-bottom: 15px;
    gap: 10px;
    line-height: 10%;
  }

  .offering-container h2::before,
  .offering-container h2::after {
    width: 40px;
    border-bottom: 1.5px solid #fff;
  }

  .offering-container p {
    margin-top: 10px;
    font-size: 10px;
    line-height: 15px;
    padding: 0 20px;
  }

 .offers-wrapper {
    height:auto;
    width: 100%;
    gap: 10px;
    padding: 20px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .offer {
    width: 90px;
    height: 90px;
    border-radius: 8px;
  }

 .offer-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
  }


  .offer-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
  }

  .offer-box p {
    font-size: 8px;
    line-height: 10px;
    top:-10px;
  }

}


@media screen and (max-width: 480px) {
  .offering-section {
    height: auto;
    padding: 15px 0;
  }

    .offering-container {
  top:70px
}

  .offering-container h2 {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 100%;
  }

  .offering-container h2::before,
  .offering-container h2::after {
    width: 30px;
    border-bottom: 1.2px solid #fff;
    margin:0px;
  }

  .offering-container p {
    margin-top: 6px;
    font-size: 9px;
    line-height: 13px;
    padding: 0 15px;
  }

  .offers-wrapper {
    gap: 8px;
    padding: 15px 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .offer {
    width: 80px;
    height: 80px;
    border-radius: 6px;
  }

  .offer-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .offer-icon {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
  }

  .offer-box p {
    font-size: 7.5px;
    line-height: 9px;
    top: -8px;
  }
}
