.bentley-slide-container {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', sans-serif;
}

.bentley-slide-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
}

/* Default mobile: img behaves like normal */
.bentley-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Blur overlay (bottom gradient) */
.bentley-gradient-overlay {
  position: absolute;
  inset: 0; /* ganti bottom + width + height */
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(3,206,247,0.6) 0%,   /* atas gelap */
    rgba(3,206,247,0.25) 35%,
    rgba(3,206,247,0.25) 65%,
    rgba(3,206,247,0.6) 100%  /* bawah gelap */
  );
}

/* Caption area */
.bentley-caption {
  background: #000;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bentley-caption-left {
  flex: 1;
}

.bentley-caption-right a {
  min-width: 160px;
  z-index: 1000000;
}

.bentley-caption h2 {
  font-size: 1rem;
  width:160px;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.bentley-caption p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.bentley-caption .btn {
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* === Desktop override === */
@media (min-width: 768px) {
  .bentley-slide-image {
    height: 100vh;
  }

  .bentley-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .bentley-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 2rem;
  }

  .bentley-caption-right {
    text-align: right;
  }
}

/* HERO TEXT (TENGAH GAMBAR) */
.bentley-hero-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
  padding: 0 1rem;
  z-index: 5;
}

/* Judul besar */
.bentley-hero-text h1{
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

/* Deskripsi */
.bentley-hero-text p{
  opacity: .9;
  margin-top: 10px;
}

/* Mobile */
.bentley-hero-text h1{
  font-size: clamp(1.6rem, 6vw, 2.5rem);
}

.bentley-hero-text p{
  font-size: clamp(0.9rem, 3.5vw, 1.2rem);
}

/* Desktop */
@media (min-width: 768px){
  .bentley-hero-text h1{
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }

  .bentley-hero-text p{
    font-size: clamp(1rem, 1.4vw, 1.3rem);
  }
}

/* === Mobile improvement: tombol sejajar === */
@media (max-width: 767.98px) {
  .bentley-caption-right {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px; /* jarak antar tombol */
  }

  .bentley-caption-right a {
    min-width: unset;
    flex: 1;
    text-align: center;
  }

  .bentley-caption h2 {
    width:100%;
  }

  .bentley-caption {
    text-align: center;
  }

  .bentley-caption-left {
    width: 100%;
  }
  .bentley-hero-text p{
    display:none;
  }
  .bentley-hero-text h1{
    margin-top:-150px;
  }
}



.hero-sectionx {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 50px;
  overflow: hidden;
}

.overlay-cardx {
  max-width: 450px;
  background: rgba(3,206,247, 0.5);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(3,206,247, 0.37);
}

.small-titlex {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
}

.main-titlex {
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin: 0 0 20px 0;
}

.descriptionx {
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  margin-bottom: 30px;
}

.explore-buttonx {
  background-color: #043961;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s ease;
}

.explore-buttonx:hover {
  background-color: #043961;
}

@media (max-width: 992px) {
  .hero-sectionx {
    height: 80vh;
    padding: 40px;
  }

  .overlay-cardx {
    max-width: 400px;
    padding: 30px;
  }

  .main-titlex {
    font-size: 30px;
  }

  .descriptionx {
    font-size: 15px;
  }

  .explore-buttonx {
    padding: 10px 20px;
    font-size: 15px;
  }
}

/* Smartphone landscape & portrait (max-width: 768px) */
@media (max-width: 768px) {
  .hero-sectionx {
    height: auto;
    padding: 30px 20px;
    justify-content: center;
  }

  .overlay-cardx {
    max-width: 100%;
    padding: 25px;
  }

  .small-titlex {
    font-size: 13px;
  }

  .main-titlex {
    font-size: 24px;
    line-height: 1.3;
  }

  .descriptionx {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .explore-buttonx {
    padding: 10px 18px;
    font-size: 14px;
  }
}

/* HP kecil (max-width: 480px) */
@media (max-width: 480px) {
  .hero-sectionx {
    height: auto;
    padding: 20px 15px;
  }

  .overlay-cardx {
    padding: 20px;
    border-radius: 8px;
  }

  .small-titlex {
    font-size: 12px;
  }

  .main-titlex {
    font-size: 20px;
  }

  .descriptionx {
    font-size: 13px;
    line-height: 1.4;
  }

  .explore-buttonx {
    padding: 8px 16px;
    font-size: 13px;
  }
}
