/* RESET GAMBAR AGAR RESPONSIF */
img {
  max-width: 100%;
  height: auto;
  /* display: block; */
}

body {
  background-image: url('../assets/atas3.svg');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: 40vmax;
  background-attachment: scroll; /* atau fixed kalau mau nempel */
  min-height: 100%;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}
.our-passion {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}


.meeting_img {
  position: relative;
  z-index: 1; /* Pastikan di depan */
  max-width: 100%;
  height: auto;
}

/* Text + Image di desktop */
@media (min-width: 992px) {
  body {
    line-height: 1.5;
  }
  .our-passion .text-column {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .our-passion .image-column {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
  }
  .ojk-container {
    margin-top: 7rem;
    margin-bottom: 5rem;
  }
  .ojk-container .img-ojk {
    height: 130px;
    width: auto;
  }
  .visi {
    margin-top: 3rem !important;
    text-align: center;
  }
  .visi img {
    margin: 1.5rem auto 0 auto !important;
    max-width: 90%;
  }
  .visi ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
    text-align: left;
  }
  .visi h2 {
    font-weight: 700;
  }
  .visi ul {
    list-style-image: url(../assets/add_task-24px.svg);
  }
}

/* MOBILE RESET (≤767px) */
@media (max-width: 767px) {

  body {
    background-position: top center;
    background-size: 80vmax;
  }

  /* HEADER */
  .header header {
    padding-top: 1rem;
    text-align: center;
  }
  .header header img {
    width: 150px;
    margin: 0 auto;
  }

  /* ARTKU SECTION */
  .artaku {
    margin-top: 2rem !important;
    text-align: center;
  }
  .artaku h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  .artaku .col-md-7,
  .artaku .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .mobile img {
    margin: 1.5rem auto 0 auto !important;
  }

  /* ARTKU SECTION */
  .our-passion {
    flex-direction: column;
    text-align: center;
  }
  .our-passion .text-column,
  .our-passion .image-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* VISI */
  .visi {
    margin-top: 3rem !important;
    text-align: center;
  }
  .visi .col-md-7,
  .visi .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .visi img {
    margin: 1.5rem auto 0 auto !important;
    max-width: 90%;
  }
  .visi ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
    text-align: left;
  }
  .visi h2 {
    font-weight: 700;
  }
  .visi ul {
    list-style-image: url(../assets/add_task-24px.svg);
  }

  /* FITUR */
  /* .fitur {
    margin-top: 3rem !important;
    text-align: center;
  }
  .fitur .fitur-content {
    flex-direction: column;
    margin-top: 1rem;
  }
  .fitur .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .fitur .artaku-mobile {
    width: 80%;
    margin: 0 auto 2rem auto;
  }
  .fitur .logo-fitur .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  } */

  /* OJK */
  .ojk-container {
    margin: 3rem 0 !important;
  }
  .ojk-container .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  .ojk-container .img-ojk {
    height: 80px !important;
  }

  /* FOOTER */
  footer.footer__custom {
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer__custom .col-md-4,
  .footer__custom .col-md-5,
  .footer__custom .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  /* MODAL */
  .modal-content {
    margin: 0 !important;
  }
  .modal-content .modal-body {
    padding: 2rem 1rem;
  }
}

/* TABLET FIX (768px–991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .mobile img,
  .visi img {
    margin: 0 auto !important;
    max-width: 85%;
  }
  .fitur .artaku-mobile {
    width: 70%;
    margin: 0 auto;
  }
}


/* Pastikan body memanjang sesuai konten */
html, body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}

/* Footer fix */
footer.footer__custom {
  background-color: #2da5f1;
  margin-top: 2rem;
  padding: 3rem 1rem;
  width: 100%;
  position: relative;
  bottom: 0;
}

/* Mobile Footer Layout */
@media (max-width: 767px) {
  footer.footer__custom {
    padding: 2rem 1rem;
    text-align: center;
  }
  .footer__custom .col-md-4,
  .footer__custom .col-md-5,
  .footer__custom .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}

/* Pastikan tidak ada elemen yang nutup footer */
.passion,
.visi,
.fitur,
.ojk-container {
  position: relative;
  z-index: 1;
}

