body {
  font-family: 'Manrope', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}
/* Custom CSS untuk Parallax */
.parallax-bg {
    background-image: url('../img/photo-1611095790444-1dfa35e37b52.avif'); /* Ganti dengan gambar Anda */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    /* Pastikan ada tinggi yang cukup untuk melihat efek parallax */
    min-height: 500px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay untuk Hero Section agar teks lebih mudah dibaca */
.bg-overlay::before,
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Warna overlay gelap */
    z-index: 1;
}

.bg-overlay > *,
.hero-overlay > * {
    position: relative;
    z-index: 2;
}
.bg-overlay.op-40::before{
    background-color: rgba(0, 0, 0, 0.4); /* Warna overlay lebih transparan */
}
.bg-overlay.op-30::before{
    background-color: rgba(0, 0, 0, 0.3); /* Warna overlay lebih transparan */
}

/* Styling untuk scrollspy (opsional, bisa dikembangkan lebih lanjut) */
.nav-link.active {
    font-weight: bold;
    color: #f59e0b; /* amber Tailwind 600 */
}

/* Untuk smooth scroll fallback di browser lama */
html {
  scroll-behavior: smooth;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
}
.faq-content.open {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem
}
.faq-toggle i {
  transition: transform 0.3s ease;
}
.faq-toggle.active i {
  transform: rotate(180deg);
}
.faq-container .faq-item{
  transition: padding 0.4s ease;
  position: relative;
  overflow: hidden;
}
.faq-container .faq-item.open {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-container .faq-item .faq-bg{
  position: absolute;          /* absolute */
  inset: 0;                    /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;                  /* z-0 */
  visibility: hidden;
  opacity: 0;                /* opacity-20 */
  background-image: linear-gradient(
    to bottom right,           /* bg-gradient-to-br */
    #fde68a,                   /* from-amber-200 */
    #fef9c3,                   /* via-yellow-100 */
    #ffffff                    /* to-white */
  );
  transform: rotate(-25deg) scale(1.2); /* -rotate-45 scale-150 */
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.faq-container .faq-item.open .faq-bg{
  visibility: visible;
  opacity: 0.2;                /* opacity-20 */
  transform: rotate(-10deg) scale(1.5); /* -rotate-45 scale-150 */
}
.service-item {
  background-color: #ffffff;           /* bg-white */
  padding: 2rem;                       /* p-8 */
  border-radius: 0.75rem;              /* rounded-xl */
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1),
              0 4px 6px -4px rgba(0,0,0,0.1); /* shadow-lg */
  border: 1px solid #f3f4f6;           /* border border-gray-100 */
  transition: transform 0.3s ease, 
              box-shadow 0.3s ease;    /* transition-shadow + transition-transform */
  transform: translateY(0);            /* posisi normal */
}

.service-item:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1),
              0 10px 10px -5px rgba(0,0,0,0.1); /* hover:shadow-xl */
  transform: translateY(-0.5rem);      /* hover:-translate-y-2 (naik 8px) */
}
#layanan,
#keunggulan,
#testimoni,
#kontak {
  scroll-margin-top: 60px; /* sesuaikan offset dengan tinggi navbar */
}

.card-article {
  background-color: #ffffff;
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 
              0 1px 2px rgba(0, 0, 0, 0.06); /* shadow-md */
  overflow: hidden;
  transition: box-shadow 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
}

.card-article:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1); /* hover:shadow-lg */
}

/* Responsive: md:flex-row */
@media (min-width: 768px) {
  .card-article {
    flex-direction: row;
  }
}
.card-article .thumb {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .card-article .thumb {
    width: 33.333%; /* md:w-1/3 */
  }
}

.card-article .content {
  padding: 1.5rem; /* p-6 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-article .category {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ef4444; /* merah */
  text-transform: uppercase;
}

.card-article .title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.card-article .title:hover {
  color: #f59e0b; /* biru */
}

.card-article .excerpt {
  color: #4b5563; /* abu-abu */
  margin-bottom: 1rem;
}

.card-article .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280; /* abu2 */
  margin-top: 1rem;
}


.tag-cloud {
  background-color: #ffffff;
  padding: 1.5rem;            /* p-6 */
  border-radius: 0.75rem;     /* rounded-xl */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 
              0 1px 2px rgba(0, 0, 0, 0.06);  /* shadow-md */
  transition: all 0.2s ease-in-out;
}
.tag-cloud:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1); /* hover:shadow-lg */
}

.tag-cloud h3 {
  font-size: 1.125rem;  /* text-lg */
  font-weight: 600;     /* font-semibold */
  margin-bottom: 1rem;  /* mb-4 */
}

.tag-cloud .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; /* gap-2 */
}

.tag-cloud .tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;     /* py-1 px-3 */
  font-size: 0.875rem;          /* text-sm */
  background-color: #e5e7eb;    /* gray-200 */
  border-radius: 0.5rem;        /* rounded-lg */
  color: #374151;               /* gray-700 */
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-cloud .tags a:hover {
  background-color: #f59e0b;    /* amber-400 */
  color: #ffffff;
}
