/* Alata di-self-host (OFL, dari Google Fonts) supaya tidak ada origin luar
   yang memblokir render. unicode-range bikin latin-ext cuma diunduh kalau
   memang ada karakternya di halaman. */
@font-face {
  font-family: "Alata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/alata-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Alata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/alata-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html {
  scroll-padding-top: 63px;
  scroll-behavior: smooth;
}

body {
  /*background-color: #acef0a; */
  min-height: 100vh;
  font-family: "alata";
}

footer {
  margin-top: auto;
}

.container-fluid {
  margin: 0;
  padding: 0;
}

.hero-container {
  margin-top: 40px;
  width: auto;
  margin-top: 3.75rem;
}

.hero-image {
  width: 100%;
  /* Mengatur lebar gambar 100% dari elemen induk */
  background-size: cover;
  /* Menyesuaikan ukuran gambar agar memenuhi elemen */
  background-position: center;
  /* Memposisikan gambar di tengah */
}


/* Navbar with Embos */
.navbar {
  width: 100%;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link.active {
  color: #000;
  background-color: #fff;
  text-shadow: none;
  padding: 0.5rem;
}

.navbar .nav-link {
  color: #fff;
  /* Warna teks putih */
  text-shadow: -2px -2px 3px rgba(0, 0, 0, 0.7), 2px 2px 3px rgba(0, 0, 0, 0.7);
  /* Mempertebal embos hitam */
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: #D3495B;
  /* Teks menjadi hitam saat hover */
  text-shadow: none;
  /* Hilangkan embos saat hover */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-collapse {
  max-width: 100%;
  overflow-x: hidden;
  padding: 1rem;
}

.text-content-lapor {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #fff;
}

.accordion-button:hover{
  color:#D3495B;
}

.accordion-item {
  margin-top: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  /* Optional: Rounds the corners */
  margin-left: 5%;
  margin-right: 5%;
}



/* FNFT Primary Button */
.btn-fnft-primary {
  background-color: #acef0a;
  color: #090de8;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 700;
  /* sama seperti fw-bold */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.btn-fnft-primary:hover {
  background-color: #D3495B;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.lapor-button {
  background-color: #090de8;
  /* Dark blue background */
  color: #89ef00;
  border: none;
  padding: 3px 50px;
  font-size: 2.5rem;
  cursor: pointer;
  margin-bottom: 50px;
}

.lapor-button:hover {
  background-color: #D3495B;
  color: #fff;
}


.btn-fnft-primary-lg {
  background-color: #acef0a;
  border: none;
  color: #090de8;
  padding: 3px 32px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-bottom: 32px;
}

.btn-fnft-primary-lg:hover {
  background-color: #D3495B;
  color: #fff;
}


.logo-fnft {
  max-width: 45%;
  height: auto;
  display: block;
  margin: auto;
}

.logo-fnft:hover {
  transform: scale(1.2);
  transform-origin: center center;
  transition: transform 0.5s ease-in-out;
}

.partners-logo img {
  max-width: 7rem;
  max-height: 5rem;
  display: block;
  margin: 0 auto;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.partners-logo-lg img {
  max-width: 9rem;
  max-height: 7rem;
  display: block;
  margin: 0 auto;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.partners-logo:hover {
  transform: scale(1.2);
  transform-origin: center center;
  transition: transform 0.5s ease-in-out;
}

.partners-logo-lg:hover {
  transform: scale(1.2);
  transform-origin: center center;
  transition: transform 0.5s ease-in-out;
}

.shadow {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

.card {
  background-color: #090de8;
  border: none;
}

.card-title {
  color: white;
}

.card-text {
  color: lightgray;
}

.card-img-top {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
}

.publikasi-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.publikasi-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25) !important;
}

.kabar-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border-radius: 6px;
}

.kabar-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #1d23af;
  border-radius: 50%;
  border: 100px;
}

.carousel-control-prev {
  left: -80px;
}

.carousel-control-next {
  right: -80px;
}

br.mobile-hidden {
  display: none;
}

.lapor-image {
  width: 30%;
  max-width: 200px;
  height: auto;
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* `xs` returns only a ruleset and no media query */
/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (min-width: 575.98px) {
  .text-content-lapor {
    width: 80%;
  }

  .logo-fnft {
    max-width: 25%;
    height: auto;
    display: block;
    margin: auto;
  }

  .typeform-container.show {
    max-width: 90%;
    max-height: 70%;
  }

  br.mobile-hidden {
    display: none;
  }
}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (min-width: 767.98px) {
  .navbar {
    height: 3.75rem;
  }

  .text-content-lapor {
    width: 80%;
  }

  .logo-fnft {
    max-width: 25%;
    height: auto;
    display: block;
    margin: auto;
  }

  .typeform-container.show {
    max-width: 80%;
    min-height: 100%;
  }

  .ps-md-10 {
    padding-left: 10;
    /* Menonaktifkan padding di perangkat mobile */
  }

  .lapor-image {
    max-width: 250px;
  }

  br.mobile-hidden {
    display: inline;
  }
}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (min-width: 991.98px) {
  .text-content-lapor {
    width: 50%;
  }

  .logo-fnft {
    max-width: 25%;
    height: auto;
    display: block;
    margin: auto;
  }

  .vh-lg-100 {
    height: 100vh;
  }

  .typeform-container.show {
    max-width: 60%;
    max-height: 50%;
  }

  .lapor-image {
    max-width: 300px;
  }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (min-width: 1199.98px) {
  .text-content-lapor {
    width: 60%;
  }

  .logo-fnft {
    max-width: 25%;
    height: auto;
    display: block;
    margin: auto;
  }
}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (min-width: 1399.98px) {
  .text-content-lapor {
    width: 50%;
  }

  .logo-fnft {
    max-width: 25%;
    height: auto;
    display: block;
    margin: auto;
  }
}