@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/********** Template CSS **********/
:root {
  --primary: #cfa936;
  --hover: #e8c04b;
  --secondary: #fe8800;
  --light: #f5f5f5;
  --dark: #14141f;
  --black: #000;
  --stabilo1: rgba(255, 255, 0, 0.3);
  --stabilo2: rgba(255, 215, 0, 0.2);
  --architects-font: 'Architects Daughter', cursive;
  --poppins-font: 'Poppins', sans-serif;
}

/* CSS untuk memastikan warna ikon hitam */
.svg-icon path {
  fill: white !important; /* Menetapkan warna hitam pada ikon */
  outline: none;
  border: none;
}

.stabilo1 {
  background-color: var(--stabilo1);
  padding: 0 4px;
}

.stabilo2 {
  background-color: var(--stabilo2);
  padding: 0 4px;
}

/* If you want to apply it only within a specific section (like Contact section) */
.container-xxl {
  font-family: var(--architects-font); /* Replace with your desired font */
  font-size: 1.2rem;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 700 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.text-gold {
  color: #d7b04a;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 0px;
}

.logo {
  width: 80px; /* Ganti dengan ukuran yang diinginkan */
  height: auto; /* Menjaga rasio aspek logo */
  margin-left: 80px;
  image-rendering: auto;
  display: block;
}

@keyframes glow {
  0% {
    text-shadow: 0 0 0px #ffd700;
  }
  50% {
    text-shadow: 0 0 20px #ffd700;
  }
  100% {
    text-shadow: 0 0 30px #ffd700;
  }
}

.glowing-text {
  animation: glow 1.5s ease-in-out infinite;
  color: var(--hover);
}

.shine-text {
  font-family: var(--poppins-font);
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(
    120deg,
    #000 20%,
    #555 40%,
    #fff 50%,
    #555 60%,
    #000 80%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine-move 2.5s linear infinite;
}

@keyframes shine-move {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.text-architects {
  font-family: var(--architects-font);
  font-size: 1.5rem;
}

.text-poppins {
  font-family: var(--poppins-font);
  font-size: 1.5rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 9%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header.active {
  background-color: rgba(0, 0, 0, 0.8); /* semi-transparent dark */
  backdrop-filter: blur(10px); /* blur efek kaca */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* shadow halus */
  border-bottom: 2px solid var(--primary); /* hilangkan garis jika masih muncul */
}

.header .logo {
  margin-right: auto;
  color: #10221b;
}

.header .logo img {
  max-height: 80px;
}

.header .navbar a {
  margin-left: 1.3rem;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  margin-top: 0;
  font-weight: bold;
}

.header .navbar .active {
  color: var(--primary);
  position: relative;
}

.header .navbar .active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Ketebalan garis bawah */
  background-color: var(--primary); /* Warna garis bawah */
  transform: scaleX(0); /* Memulai dari lebar 0 */
  transform-origin: bottom right;
  transition: transform 0.3s ease-out; /* Animasi halus */
}

.header .navbar .active:hover::after,
.header .navbar .active.active::after {
  transform: scaleX(1); /* Mengisi lebar penuh saat aktif atau hover */
  transform-origin: bottom left; /* Garis bawah muncul dari kiri ke kanan */
}

.header .navbar a:hover,
.header .navbar .active-link {
  color: var(--hover) !important;
}

.header .navbar #nav-close {
  font-size: 5rem;
  cursor: pointer;
  color: #10221b;
  display: none;
}

.header .icons a,
.header .icons div {
  font-size: 2.5rem;
  margin-left: 2rem;
  cursor: pointer;
  color: #10221b;
}

.header .icons a:hover,
.header .icons div:hover {
  color: var(--hover);
}

.header #menu-btn {
  display: none;
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-family: var(--poppins-font);
}

.section-title::before {
  position: absolute;
  content: '';
  width: calc(100% + 80px);
  height: 2px;
  top: 4px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: '';
  width: calc(100% + 120px);
  height: 2px;
  bottom: 5px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** Home ***/
.hero-header {
  background:
    linear-gradient(rgba(20, 20, 31, 0.7), rgba(20, 20, 31, 0.7)),
    url(../img/banner/artboard-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Menghilangkan padding dan memastikan carousel mengisi penuh layar */
.hero-header-1 {
  height: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Gambar carousel diatur untuk mengisi penuh dan responsif */
.carousel-image {
  height: auto; /* Mengisi penuh tinggi layar */
}

.carousel-item img {
  object-fit: contain;
  height: auto;
}

.word {
  position: relative;
  width: 100vw;
  min-height: 130vh; /* agar background lanjut ke bawah */
  background: transparent;
  display: grid;
  place-content: center;
  color: white; /* lebih cocok karena ada overlay */
  font-family: var(--architects-font);
  overflow: hidden;
  margin: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding: 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
  z-index: 1;
}

.word,
.services {
  background: transparent;
}

.section-default {
  background-color: white;
  color: black;
}

.parallax-container {
  background-image: url('../img/kabah1.jpg'); /* ganti path sesuai public folder */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 80%; /* ⬅️ Fokus ke bawah gambar */
  color: white;
  position: relative;
  overflow: hidden;
}

.parallax-container::before {
  content: '';
  position: fixed;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.4); atau pakai gradient */
  z-index: -1;
}

.word-content {
  min-height: 100vh;
  display: grid;
  place-content: center;
  position: relative;
  z-index: 2;
}

.inside-word {
  position: relative;
  z-index: 2;
  background-color: transparent;
}

.word > * {
  position: relative;
  z-index: 2;
}

.word::after {
  content: '';
  width: 100%;
  height: 30vh;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  opacity: 0.8; /* gunakan nilai 0-1, bukan 80% */
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
}

/* Overlay hitam */
.word::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* overlay hitam semi-transparan */
  z-index: 0;
}

.word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animasi keyframes */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.word h3 {
  font-size: 4em;
  padding: 0 60px;
  color: white;
  text-align: center;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.word.fade-in h3 {
  opacity: 1;
}

.word p {
  font-size: 1.5em;
  margin-top: 40px;
}

/* Pastikan konten tetap di atas overlay */
.word h3,
.word p {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Saat bagian .word terlihat di layar */
.word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.word.fade-in h3,
.word.fade-in p {
  opacity: 1;
}

.transparent-bg {
  background-color: transparent !important;
}

/*** Rating Card Home***/
.rating-card {
  display: flex;
  align-items: stretch;
  justify-content: center;
  perspective: 1500px; /* Memberikan kedalaman 3D */
  padding: 2rem;
  transition: transform 0.5s ease-in-out;
}

.rating-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8); /* overlay hitam semi-transparan */
  z-index: 0;
}

.rating-card .image {
  width: 100%;
  max-width: 300px;
  height: auto;
  animation: rotateYAnimation 7s ease-in-out infinite;
}

.rating-card .image img {
  width: 100%;
  height: 100%; /* Menyesuaikan tinggi gambar dengan kontainer */
  object-fit: cover; /* Menjaga agar gambar tetap proporsional dan tidak terdistorsi */
  border-bottom: 8px solid var(--primary);
  border-right: 8px solid var(--primary);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.rating-card .content {
  width: 300px;
  height: auto; /* Menghilangkan batasan tinggi agar teks bisa membungkus */
  padding: 1.5rem;
  border-radius: 15px;
  background-color: #fff;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease-in-out;
  overflow: hidden; /* Memastikan teks bisa meluap tanpa terpotong */
  position: relative; /* Untuk menempatkan garis dengan absolute positioning */
  border-right: 8px solid var(--primary); /* Garis di sebelah kanan untuk menandakan ketebalan */
  border-bottom: 8px solid var(--primary);
  animation: rotateYAnimation 7s ease-in-out infinite;
}

@keyframes rotateYAnimation {
  0% {
    transform: rotateY(-10deg); /* Rotasi awal */
  }
  50% {
    transform: rotateY(6deg); /* Rotasi ke kanan */
  }
  100% {
    transform: rotateY(-10deg); /* Kembali ke rotasi awal */
  }
}

.rating-card .content:before {
  content: '';
  position: absolute;
  right: -8px; /* Menempatkan garis di sebelah kanan */
  top: 0;
  bottom: 0;
  width: 8px;
  background-color: var(--primary); /* Warna garis menandakan ketebalan */
}

.rating-card:hover .image {
  transform: rotateY(0deg); /* Efek ketika hover untuk memberi kedalaman */
}

.rating-card:hover .content {
  transform: rotateY(0deg); /* Efek ketika hover untuk memberi kedalaman */
}

.rating-card h3 {
  font-family: var(--poppins-font);
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--primary);
  text-overflow: ellipsis; /* Membatasi teks jika terlalu panjang */
  white-space: normal; /* Mengizinkan teks membungkus jika terlalu panjang */
  overflow: visible; /* Menjaga agar teks tidak terpotong */
}

.rating-card p {
  font-family: var(--architects-font);
  font-size: 1.2rem;
  color: #333;
  line-height: 1.5;
  text-overflow: ellipsis; /* Membatasi teks jika terlalu panjang */
  white-space: normal; /* Mengizinkan teks membungkus jika terlalu panjang */
  overflow: visible; /* Menjaga agar teks tidak terpotong */
  word-wrap: break-word; /* Menjaga kata tetap dibungkus jika terlalu panjang */
}

.btn-rating {
  font-family: var(--architects-font);
  background-color: var(--primary);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease-in-out;
  animation: pulse 1.5s ease-in-out infinite;
}

.btn-rating:hover {
  background-color: var(--primary);
  transform: scale(1.05); /* Efek memperbesar tombol saat hover */
}

.pulsing {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1); /* Ukuran awal */
    box-shadow: 0 0 0px rgba(167, 141, 29, 0.7);
  }
  50% {
    transform: scale(1.1); /* Membesarkan ukuran tombol */
    box-shadow: 0 0 20px rgba(218, 192, 80, 0.8); /* Menambahkan bayangan */
  }
  100% {
    transform: scale(1); /* Kembali ke ukuran semula */
    box-shadow: 0 0 0px rgba(167, 141, 29, 0.9);
  }
}

/*** PackageCard Home ***/
.package-card {
  width: 100vw;
  height: 100vh;
  display: grid;
  place-content: center;
}

.package-card .contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.package-card .package-card-content h3 {
  font-size: 4em;
  text-align: center;
  font-family: var(--poppins-font);
  color: var(--primary);
  position: relative;
  -webkit-text-stroke: 3px #000; /* Adds the outline in the primary color */
  text-shadow: none; /* Removes any text shadow */
}

.package-card .package-card-content h1 {
  font-size: 15em;
  font-family: var(--poppins-font);
  text-align: center;
  color: white;
  letter-spacing: 5px;
  position: absolute;
  -webkit-text-stroke: 5px var(--primary); /* Adds the outline in the primary color */
  text-shadow: none; /* Removes any text shadow */
}

.package-card button.package-card-button {
  position: relative;
  margin: 50px auto;
  background-color: var(--primary);
  color: white;
  border: none;
  outline: none;
  font-size: 1.3rem;
  padding: 1rem 3rem;
  cursor: pointer;
  border-radius: 15px;
  box-shadow: 0 0 20px var(--secondary);
  transition: 0.5s ease-in;
  font-family: var(--architects-font);
}

.package-card button.package-card-button:hover {
  box-shadow: 0 0 5px var(--secondary);
}

/*** Service ***/
.service-item {
  border: 2px solid white;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.5s;
}

.service-item:hover {
  background: var(--primary);
}

.service-item * {
  transition: 0.5s;
}

.service-item:hover * {
  color: var(--light) !important;
}

.service-item h5 {
  text-align: center;
}

.icon-box {
  height: 5.5rem;
  width: 5.5rem;
  line-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 0.5rem;
  color: #fff;
  background: var(--hover);
  margin: 0 auto 1.5rem auto;
  transition: transform 0.3s ease;
}

.service-item:hover .icon-box {
  transform: translateY(-10px);
}

.service-desc {
  max-height: 4.5em; /* sekitar 3 baris */
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.4s ease;
}

.service-desc.expanded {
  max-height: 1000px;
}

.read-more-btn {
  border: 1px solid white;
  background-color: transparent;
  color: white;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background-color: black;
  color: white;
}

/*** Next di Home ***/

/*** About ***/
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #d7b04a;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 3;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: #000;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-label-box {
  background-color: var(--hover);
  color: black;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 10px;
}

.video-label-overlay {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 215, 0, 0.9); /* gold semi-transparan */
  color: black;
  padding: 8px 16px;
  font-size: 1.1rem;
  border-radius: 8px;
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  pointer-events: none; /* biar tetap bisa klik thumbnail */
}

.clients .slide {
  text-align: center;
}

.clients .slide img {
  height: 12rem;
  object-fit: contain;
  transition: all 0.3s ease-in-out;
  padding: 0.5rem;
  max-width: 100%;
}

.clients .slide img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item:hover {
  transform: translateY(-5px);
}

.team-item .btn {
  background: #ffffff;
  color: var(--primary);
  border-radius: 20px;
  border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.team-item .overflow-hidden img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-item .text-center.p-4 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ig-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}

.ig-header {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
}

.ig-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.ig-image {
  width: 100%;
  object-fit: cover;
  height: 200px;
}

.ig-caption {
  padding: 0.5rem;
  font-size: 18px !important;
}

/*** Paket Perjalanan ***/
.package-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.package-item img {
  transition: 0.5s;
}

.package-item:hover img {
  transform: scale(1.1);
}

.badge.bg-primary {
  font-size: 0.9rem; /* Ukuran font lebih besar */
  padding: 10px 15px; /* Memperbesar padding untuk badge */
  border-radius: 30px;
}

.pricing-card {
  background-color: #fff;
  border: 1px solid #e2e2e2;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  min-height: 500px; /* Menjaga card tetap memiliki tinggi minimal yang konsisten */
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  position: relative;
}

.pricing-header .exclusive {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 2.5rem; /* Sesuaikan ukuran font */
  color: #000; /* Warna default teks */
  background: linear-gradient(
    120deg,
    #ffcc00 20%,
    /* Warna gold */ #ff9900 40%,
    /* Warna gold ke oranye */ #fff 50%,
    /* Transisi ke putih untuk efek shimmer */ #ff9900 60%,
    /* Warna gold ke oranye */ #ffcc00 90% /* Warna gold */
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shine-move 2.5s linear infinite;
}

@keyframes shine-move {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.pricing-header img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.pricing-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay hitam dengan transparansi */
  border-radius: 8px;
  z-index: 1; /* Pastikan overlay berada di bawah teks */
}

.pricing-header h3,
.pricing-header p {
  position: absolute;
  z-index: 2; /* Teks berada di atas overlay */
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Memberikan bayangan pada teks untuk membuatnya lebih terlihat */
}

.pricing-header h3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  width: 100%; /* Pastikan teks menyesuaikan lebar */
  text-align: center; /* Memastikan teks rata tengah */
}

.pricing-header p {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  width: 100%; /* Pastikan teks menyesuaikan lebar */
  text-align: center; /* Memastikan teks rata tengah */
}

.pricing-features {
  padding: 20px;
}

.feature-item {
  text-align: center;
  flex: 1;
  margin-bottom: 20px;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary);
}

.feature-item p {
  font-size: 1rem;
  color: #333;
  margin-top: 10px;
}

.feature-item-exclude {
  text-align: center;
  flex: 1;
  margin-bottom: 20px;
}

.feature-item-exclude i {
  font-size: 2rem;
  color: rgb(165, 37, 37);
}

.feature-item-exclude p {
  font-size: 1rem;
  color: #333;
  margin-top: 10px;
}

.contact-button {
  background-color: var(--primary); /* Tombol warna biru */
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
}

.contact-button:hover {
  background-color: var(--primary); /* Warna biru lebih gelap saat hover */
}

.contact-button i {
  font-size: 16px;
}

a {
  text-decoration: none;
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  font-family: var(--architects-font);
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary {
  color: var(--primary); /* Warna teks putih */
  border: 1px solid var(--primary); /* Border biru */
  text-decoration: none;
  font-weight: bold;
}

.btn-outline-primary-konversi {
  color: #ffff; /* Warna teks putih */
  border: 1px solid var(--primary); /* Border biru */
  background-color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

.btn-outline-primary-exclude {
  color: #ffff; /* Warna teks putih */
  border: 1px solid var(--primary); /* Border biru */
  background-color: rgb(165, 37, 37);
  text-decoration: none;
  font-weight: bold;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
}

.btn-outline-primary-konversi:hover {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
}

/* Paket Perjalanan Umrah */

/* Artikel */
main {
  padding: 64px 0;
}

#top-post {
  margin-top: -96px;
}

#top-post .wrapper {
  padding: 20px;
  background: #ffff;
  display: flex;
  grid-gap: 20px;
  flex-wrap: wrap;
  font-family: var(--architects-font);
}

#top-post .left,
#top-post .right {
  flex: 1 1 400px;
}

#top-post .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#top-post .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#top-post .right .time {
  color: var(--dark-grey);
  font-size: 14px;
  margin-bottom: 1rem;
}

#top-post .right .link-post {
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

#top-post .right .link-post:hover {
  color: var(--primary);
}
#top-post .right .link-post:active {
  color: var(--primary);
}

.profile img {
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  object-fit: cover; /* Ensures the image fits within the circle */
  border-radius: 50%; /* Makes the image round */
  border: 2px solid #fff; /* Optional: Adds a white border around the image */
}

.profile {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  margin-bottom: 8px;
}

#top-post .right .profile {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  margin-bottom: 8px;
}

#top-post .right .profile .name {
  font-weight: 500;
  color: #000;
}

#top-post .right > p {
  margin-bottom: 1rem;
}

main .categories {
  display: flex;
  align-items: center;
  grid-gap: 4px;
  overflow-x: auto;
  margin-bottom: 36px;
  list-style-type: none;
}

main .categories a {
  color: var(--black);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--hover);
  padding: 8px 16px;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

main .categories a:hover,
main .categories a.active {
  border: 1px solid var(--primary);
  text-decoration: none;
  background-color: var(--primary);
  color: #fff !important;
}

main .categories a.active {
  color: var(--primary);
}

main .content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 20px;
  align-items: flex-start;
}

main .content .left {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 20px;
  grid-row: 40px;
}

main .content .left .post > img {
  width: 100%;
  height: 100%;
  margin-bottom: 1rem;
}

main .content .left .post {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff; /* Optional: background color for each post */
  padding: 20px; /* Padding for each post */
  border-radius: 8px; /* Rounded corners for posts */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow for posts */
  margin-bottom: 20px;
}

main .content .left .post .time {
  color: #888;
  font-size: 14px;
  margin-bottom: 8px;
}

main .content .left .post .link-post {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

main .content .left .post .link-post:hover {
  color: var(--primary);
}

main .content .left .post .link-post:active {
  color: var(--secondary);
}

main .content .left .post .profile {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  margin-top: auto;
}

main .content .left .post .profile .name {
  font-weight: 500;
  color: var(--black);
}

main .content .left .post > p {
  margin-bottom: 1rem;
}

main .content .left .post .category {
  padding: 8px 14px;
  background: var(--primary);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

main .content .right {
  position: sticky;
  top: 72px;
}

main .content .right .sub-title {
  font-size: 20px;
  color: var(--black);
  font-weight: 500;
  margin-bottom: 1rem;
}

main .content .right > * {
  margin-bottom: 28px;
}

main .content .right form input {
  width: 100%;
  outline: none;
  border: 1px solid #888;
  padding: 8px 14px;
}

main .content .right .social-link {
  display: flex;
  align-items: center;
  grid-gap: 8px;
  list-style-type: none;
}

main .content .right .social-link a {
  font-size: 20px;
  color: var(--black);
  transition: all 0.3s ease;
}

main .content .right .social-link a:hover {
  color: var(--primary);
}

main .content .right .posts .post-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: nowrap;
}

main .content .right .posts .post-item .image-wrapper {
  width: 80px; /* Set a fixed width for the image */
  height: 80px; /* Set a fixed height for the image */
  overflow: hidden; /* Prevents the image from overflowing */
  flex-shrink: 0;
}

main .content .right .posts a {
  display: flex;
  grid-gap: 1rem;
  align-items: flex-start;
  color: var(--black);
  font-weight: 500;
  transition: all 0.3s ease;
}

main .content .right .posts a:hover {
  color: var(--primary);
}

main .content .right .posts a:active {
  color: var(--primary);
}

main .content .right .posts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main .content .right .posts span {
  margin-left: 10px;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

main .content .right .posts li {
  list-style-type: none;
}

/* Baca Selengkapnya */
.post-detail {
  padding: 20px;
}

.post {
  font-family: var(--architects-font);
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--stabilo2);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: black;
  font-size: 20px;
}

.profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.name {
  font-weight: bold;
  color: #333;
}

.post-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-weight: normal;
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
  font-family: var(--architects-font);
}

.footer .copyright a {
  color: var(--light);
  font-family: var(--architects-font);
  font-size: 1.1rem;
  text-decoration: none;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.square-image {
  width: 100%;
  height: 80px; /* Tentukan tinggi gambar, misalnya 200px */
  object-fit: cover; /* Menjaga proporsi gambar agar tidak terdistorsi */
}

/* Ikon warna putih secara default */
.svg-icon .icon-path {
  fill: white;
  transition: fill 0.3s ease; /* Menambahkan transisi yang halus */
}

/* Warna ikon berubah menjadi var(--primary) pada kondisi normal */
.svg-icon {
  fill: var(--primary); /* Menetapkan warna default */
}

/* Efek hover - memastikan warna berubah */
.svg-icon:hover .icon-path {
  fill: var(--primary);
}

/* Responsive max-width: 768px */
@media (max-width: 840px) {

   .header .navbar a {
    font-size: .9rem;
  }
  
  .header .logo img {
    position: absolute;
    max-height: 60px;
    margin-top: 10px;
    display: inline;
    left: 30px;
    top: 0;
    float: left;
  }

  /* Penting untuk ukuran gambar caraousel */
  .hero-header-1 {
    height: auto; /* Sesuaikan tinggi agar lebih fleksibel */
  }

 .carousel-image {
    height: auto; /* Mengurangi tinggi gambar carousel */
  }

  .carousel-item img {
    object-fit: contain; /* Sesuaikan gambar agar tidak terpotong */
    height: auto;
  }

  .word h3 {
    font-size: 2em;
    padding: 0 20px;
  }

  .word p {
    font-size: 1.5em;
  }

  .rating-card {
    display: flex;
    justify-content: center;
    perspective: 1500px; /* Memberikan kedalaman 3D */
    padding-bottom: 2rem;
    transition: transform 0.5s ease-in-out;
  }

  .rating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8); /* overlay hitam semi-transparan */
    z-index: 0;
  }

  .rating-card .content {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .rating-card h3 {
    font-size: 1.4rem;
  }

  .rating-card p {
    font-size: 1rem;
  }

  .btn-rating {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
  }

  .package-card .package-card-content h3 {
    font-size: 4em;
  }

  .package-card .package-card-content h1 {
    font-size: 9.5em;
  }

  .package-card button.package-card-button {
    font-size: 2rem;
    padding: 2rem 3rem;
  }

  #top-post .wrapper {
    flex-direction: column; /* Stack items vertically */
  }

  #top-post .left,
  #top-post .right {
    flex: 1 1 100%; /* Full width for both sections */
  }

  #top-post .right .link-post {
    font-size: 20px; /* Slightly smaller font size */
  }

  #top-post .right .time {
    font-size: 12px; /* Slightly smaller font size */
  }

  main .content {
    grid-template-columns: 1fr; /* Single column layout */
  }

  main .content .left {
    grid-template-columns: repeat(
      auto-fit,
      minmax(280px, 1fr)
    ); /* Responsive grid */
  }

  main .categories {
    display: block; /* Stack categories vertically */
    margin-bottom: 20px;
  }

  main .categories a {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  main .content .right {
    position: relative;
    top: 0;
  }

  main .content .right form input {
    padding: 12px 20px; /* Bigger padding for small screens */
  }

  main .content .right .social-link {
    justify-content: center; /* Center social icons */
  }

  .post {
    padding: 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-image {
    width: 40px;
    height: 40px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .name {
    font-size: 1rem;
  }

  p {
    font-size: 0.95rem;
  }

  button {
    width: 100%;
    padding: 12px;
  }
}

/* Responsif untuk layar di bawah 576px (untuk mobile lebih kecil) */
@media (max-width: 576px) {
  .header #menu-btn {
    display: inline-block;
    font-size: 1.5rem;
    margin-right: 1rem;
  }

  .header {
    background-color: rgba(0, 0, 0, 0.8); /* semi-transparent dark */
    backdrop-filter: blur(10px); /* blur efek kaca */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* shadow halus */
    border-bottom: 2px solid var(--primary); /* hilangkan garis jika masih muncul */
  }

  .header .navbar {
    display: none; /* Navbar will be hidden */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    flex-direction: column;
  }

  .header .navbar.active {
    display: flex; /* Navbar is shown when it's active */
    left: 0;
    font-size: 3rem;
  }

  .header .navbar a {
    font-size: 1.5rem;
    margin: 4px;
  }

  .header .icons div {
    color: var(--primary);
  }

  .header .navbar #nav-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--primary);
  }

  .header .logo img {
    position: absolute;
    max-height: 50px;
    margin: 0;
    left: 40px;
    top: 0;
    bottom: 0;
    float: left;
  }

  .hero-header-1 {
    height: auto; /* Sesuaikan tinggi agar lebih fleksibel */
  }

  .header .navbar a {
    font-size: 1.2rem;
  }

  .container-fluid {
    margin-top: 4rem; /* Menambahkan section di menu*/
  }

  .carousel-image {
    height: auto; /* Mengurangi tinggi gambar carousel */
  }

  .carousel-item img {
    object-fit: contain; /* Sesuaikan gambar agar tidak terpotong */
    height: auto;
  }

  .carousel-indicators {
    margin-top: 10px;
  }

  .carousel-indicators li {
    width: 10px; /* Ukuran indikator lebih kecil untuk mobile */
    height: 10px; /* Ukuran indikator lebih kecil untuk mobile */
    border-radius: 50%; /* Membuat indikator berbentuk lingkaran */
    background-color: rgba(
      255,
      255,
      255,
      0.7
    ); /* Memberi warna latar belakang dengan transparansi */
  }

  .carousel-indicators .active {
    background-color: #fff; /* Warna indikator aktif */
  }

  .word h3 {
    font-size: 2rem; /* Menyesuaikan ukuran font pada layar kecil */
    padding: 0 20px;
  }

  /* Penting */
  .word {
    opacity: 1 !important; /* Pastikan opacity 1 di layar kecil */
    transform: translateY(
      0
    ) !important; /* Menghilangkan efek Y translate jika di layar kecil */
  }

  /* penting */
  .word-content {
    min-height: 100vh;
    display: grid;
    place-content: center;
    position: relative;
    z-index: 2;
  }

  /* penting */
  .word h3,
  .word p {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  #top-post .wrapper {
    padding: 15px; /* Reduce padding */
  }

  #top-post .right .link-post {
    font-size: 18px; /* Smaller font size for the title */
  }

  #top-post .right .time {
    font-size: 11px; /* Smaller time text */
  }

  #top-post .left img {
    width: 100%; /* Ensure the image fits */
    height: 200px; /* Set a fixed height for smaller screens */
  }

  .pricing-card {
    min-height: 450px; /* Menyesuaikan tinggi card untuk layar kecil */
  }

  .pricing-features {
    display: block;
  }

  .pricing-header h3 {
    font-size: 1.5rem;
  }

  .pricing-header p {
    font-size: 1rem;
  }

  .feature-item {
    margin-bottom: 10px;
  }

  .rating-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    perspective: 1500px; /* Memberikan kedalaman 3D */
    padding: 2rem;
    transition: transform 0.5s ease-in-out;
  }

  .rating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8); /* overlay hitam semi-transparan */
    z-index: 0;
  }

  .rating-card {
    display: flex;
    flex-direction: column;
  }

  .rating-card .image {
    display: none;
  }

  .rating-card .content {
    padding: 1.5rem;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-in-out;
    position: relative; /* Untuk menempatkan garis dengan absolute positioning */
    border-right: 8px solid var(--primary); /* Garis di sebelah kanan untuk menandakan ketebalan */
    border-bottom: 8px solid var(--primary);
    animation: rotateYAnimation 7s ease-in-out infinite;
  }

  @keyframes rotateYAnimation {
    0% {
      transform: rotateY(-10deg); /* Rotasi awal */
    }
    50% {
      transform: rotateY(6deg); /* Rotasi ke kanan */
    }
    100% {
      transform: rotateY(-10deg); /* Kembali ke rotasi awal */
    }
  }

  .rating-card .content:before {
    content: '';
    position: absolute;
    right: -8px; /* Menempatkan garis di sebelah kanan */
    top: 0;
    bottom: 0;
    width: 8px;
    background-color: var(--primary); /* Warna garis menandakan ketebalan */
  }

  .btn-rating {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }

  .package-card {
    background-color: #fefefe;
  }
  .package-card .package-card-content h3 {
    font-size: 2.5em;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .package-card .package-card-content h1 {
    font-size: 5em;
    text-align: center;
    margin-top: 20%;
  }

  .package-card button.package-card-button {
    font-size: 1.2rem;
    padding: 1.5rem 1.8rem;
  }

  /* Tentang Kami */
  .judul {
    font-size: 24px;
  }

  .sub-text {
    font-size: 18px;
  }

  main .categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 20px;
    margin: 10px;
  }

  main .categories a {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  main .content .left {
    grid-template-columns: 1fr; /* Single column layout */
  }

  main .content .left .post > img {
    height: 200px; /* Reduce image height */
  }

  main .content .right {
    position: relative;
    top: 0;
    margin-top: 20px;
  }

  main .content .right .sub-title {
    font-size: 18px; /* Slightly smaller subtitle */
  }

  main .content .right .posts a {
    font-size: 14px; /* Smaller post titles */
  }

  main .content .right form input {
    padding: 10px 15px; /* Adjust input field padding */
  }

  .post {
    padding: 10px;
  }

  h2 {
    font-size: 1.25rem;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-image {
    width: 35px;
    height: 35px;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .name {
    font-size: 0.9rem;
  }

  p {
    font-size: 0.9rem;
  }

  button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }
}
