@media screen and (max-width: 768px) {
  .footer-area {
    background-size: cover !important;
  }

  .another-service {
    font-size: 40px !important;
/*    margin-left: 10% !important;*/
  }

  .carousel-bg {
    background-size: cover !important;
  }

  .margin-10 {
    margin-top: 60px !important;
  }

  .menu-service {
    margin-top: -200px !important;
    /*        margin-left: 0px !important;*/
  }

  .home-description {
    width: 100% !important;
  }

  .menu-desktop {
    margin-left: 0px !important;
  }

  .carousel-caption {
    top: 25% !important;
  }

  .logoIcon {
    width: 100px !important;
  }

  .col-1-per-7 {
    width: 50% !important;
  }

  .style-welcome {
    top: 0% !important;
  }
}

.carousel-inner.zoomed-out {
  display: flex;
  padding: 0 80px; /* Biar item kiri-kanan kelihatan setengah */
  overflow: visible; /* penting supaya item di luar kontainer tetap terlihat */
}

.carousel-inner.zoomed-out .carousel-item {
  transition: transform 0.5s ease;
}

.icon-large {
  width: 40px;
  height: 40px;
}

.carousel-inner {
  transition: transform 2s ease-in-out;
}
.carousel-item {
  width: 100% !important;
  position: relative !important;
  height: 100vh; /* Menyesuaikan dengan tinggi layar */
  background-size: cover; /* Memastikan gambar sebagai background memenuhi area */
  background-position: center; /* Memastikan gambar terpusat */
  animation: zoomEffect 4s ease-in-out forwards;

  /*baru*/
  /*    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    display: block !important;
    z-index: 1 !important;
    opacity: 1 !important;*/
}

.carousel-item img {
/*  display: none; /* Menyembunyikan gambar biasa */*/
}

@font-face {
  font-family: "Graphik";
  src: url("../fonts/Graphik/Graphik Family/Graphik-Regular-Trial.otf")
    format("opentype");
}

@font-face {
  font-family: "Graphik Thin";
  src: url("../fonts/Graphik/Graphik Family/Graphik-Thin-Trial.otf")
    format("opentype");
}

@font-face {
  font-family: "Graphik Semibold";
  src: url("../fonts/Graphik/Graphik Family/Graphik-Semibold-Trial.otf")
    format("opentype");
}

/* Menambahkan overlay gelap di atas gambar */
.carousel-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Mengatur kontainer teks di atas gambar */
.carousel-caption {
  top: 35%;
  left: 5%;
  color: white;
  text-align: left;
  z-index: 2;
  width: 90% !important;
  transition: opacity 0.5s ease, transform 0.5s ease;
}


html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: "Graphik";
  background-color: #1a1a1a;
}

body::-webkit-scrollbar {
  display: none;
}
.header-index-container{
  position: relative;
}
.header-index {
  z-index: 5 !important;
}

.header-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10; /* Pastikan header berada di atas gambar carousel */
  padding: 20px 50px;
  pointer-events: auto; /* Agar menu bisa diklik */
}

.header-container .d-flex {
  pointer-events: auto; /* Menambahkan interaksi pada elemen-elemen di dalam header */
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0; /* Menyembunyikan elemen */
  pointer-events: auto; /* Membuat area tetap interaktif */
}
.carousel-control-prev {
  top: 45%;
  height: 10%;
}
.home-subtitle {
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.75px;
  font-size: 12px;
}

.home-subtext {
  font-size: 12px;
  letter-spacing: 1.75px;
  line-height: 18px;
  font-weight: 600;
  opacity: 0.6;
}

.vr {
  height: 40px; /* Sesuaikan tinggi garis */
  width: 2px; /* Lebar garis */
  background-color: white; /* Warna garis */
}

.home-title {
  font-size: 50px;
  line-height: 50px;
  font-weight: 600;
  font-family: "Graphik Thin" !important;
}

.home-description {
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
  width: 50%;
}

/* Tombol dasar */
.animated-button {
  position: relative;
  padding: 15px 50px;
  border: 1px solid #fff; /* Border awal berwarna putih */
  background: transparent;
  color: white;
  font-size: 11px;
  line-height: 32px;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden; /* Menghilangkan overflow dari animasi */
  transition: color 0.4s ease; /* Perubahan warna teks saat hover */
}

.animated-button-inverted {
  position: relative;
  padding: 15px 50px;
  border: 1px solid #000;
  background: transparent;
  color: black;
  font-size: 12px;
  line-height: 32px;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden; /* Menghilangkan overflow dari animasi */
  transition: color 0.4s ease; /* Perubahan warna teks saat hover */
}

/* Efek hover pada tombol */
.animated-button:hover {
  color: black; /* Ganti teks jadi hitam */
}

.animated-button-inverted:hover {
  background-color: black;
  color: white; /* Ganti teks jadi hitam */
}

/* Elemen ::before untuk efek latar belakang */
.animated-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* Mulai dari luar kiri tombol */
  width: 100%;
  height: 100%;
  background-color: white; /* Warna latar belakang saat hover */
  transition: transform 0.5s ease; /* Animasi untuk pergerakan latar belakang */
  z-index: -1; /* Pastikan latar belakang berada di bawah teks */
}

.animated-button-inverted::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* Mulai dari luar kiri tombol */
  width: 100%;
  height: 100%;
  background-color: black; /* Warna latar belakang saat hover */
  transition: transform 0.5s ease; /* Animasi untuk pergerakan latar belakang */
  z-index: -1; /* Pastikan latar belakang berada di bawah teks */
}

/* Saat tombol dihover, animasi latar belakang akan bergerak dari kiri ke kanan */
.animated-button:hover::before,
.animated-button-inverted:hover::before {
  transform: translateX(
    100%
  ); /* Menggerakkan latar belakang dari kiri ke kanan */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-1 {
  animation: fadeIn 1s ease-in-out;
}

.fade-in-2 {
  animation: fadeIn 2s ease-in-out;
}

.fade-in-4 {
  animation: fadeIn 4s ease-in-out;
}

@keyframes zoomEffect {
  0% {
    background-size: 100%; /* Ukuran asli gambar */
  }
  100% {
    background-size: 105%; /* Ukuran gambar diperbesar 20% */
  }
}

@keyframes zoomOutEffect {
  0% {
    background-size: 105%; /* Ukuran asli gambar */
  }
  100% {
    background-size: 100%; /* Ukuran gambar diperbesar 20% */
  }
}

/* Overlay when the menu is active */
.overlay {
  visibility: hidden; /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Darken the screen */
  z-index: 1000;
  opacity: 0; /* Start with opacity 0 (transparent) */
  transition: opacity 0.5s ease, visibility 0s 0.5s; /* Fade-in with delay on visibility */
}

/* Active state for menu and overlay */
.overlay.active {
  visibility: visible; /* Make the overlay visible */
  opacity: 1; /* Fade-in by changing opacity to 1 */
  transition: opacity 0.5s ease; /* Fade-in */
}

/* Container style */
.body-container {
  display: grid; /* Enable CSS Grid */
  place-items: center; /* Center both vertically and horizontally */
  height: 100%; /* Set a height for the container */
}

.text-light {
  opacity: 0.5;
}

.text-menu {
  font-family: "Graphik Thin";
  font-size: 26px;
  letter-spacing: 1.75px;
  line-height: 34px;
  font-weight: 600;
  text-align: left;
  animation: slideIn 3s forwards;
}

.text-light:hover {
  opacity: 1;
  cursor: pointer;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(100%); /* Start from the right side */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* End at normal position */
  }
}

.menu-service {
  display: none;
  width: 250px;
  margin-left: 100px;
}
.menu-parent {
  position: relative; /* Posisi relatif untuk memungkinkan pergeseran */
  margin-left: 0; /* Posisi awal */
  transition: margin-left 1s ease; /* Transisi pada properti 'left' */
}
.slide-left {
  margin-left: -150px;
}
.margin-10 {
  margin-top: 30px;
}
.bg-dark {
  background-color: #1b1b1d;
}

.text-shine {
  color: #aaa;
  font-family: "Graphik Thin";
  font-weight: 600;
  letter-spacing: 0.25px;
}

.text-shine-dark {
  color: #000;
  font-family: "Graphik";
  /*    font-weight: bolder;*/
  letter-spacing: 0.5px;
}

h2 {
  font-size: 28px;
}

.form-control {
  border-color: #cccccc;
  border-radius: 2px;
  padding: 13px;
  margin-bottom: 15px;
  font-family: "Graphik";
  font-size: 14px;
}

.footer-area {
  position: relative; /* Membuat elemen ini sebagai konteks untuk pseudo-elemen */
/*  height: 200px;*/
  background-size: cover;
  background-position: center;
  animation: zoomOutEffect 1s ease-in-out forwards;
}

.footer-area::after {
  content: ""; 
  position: absolute; 
  top: 0; left: 0; /* Memastikan overlay dimulai dari sudut kiri atas */
  width: 100%; /* Mengatur lebar overlay sesuai dengan elemen */
  height: 100%; /* Mengatur tinggi overlay sesuai dengan elemen */
  background-color: rgba(0, 0, 0, 0.6); /* Warna gelap dengan transparansi */
  z-index: 0; /* Menempatkan overlay di bawah konten */
}

.img-fluid.another-service {
  width: 85% !important;
}

.another-service {
    width: 100%;
    height: 120px;
    object-fit: contain;
    display: flex;
    z-index: 2;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0px;
    font-size: 40px;
    box-sizing: border-box;
}


.footer-area:hover {
/*  cursor: pointer;*/
  animation: zoomEffect 1s ease-in-out forwards;
}

.active > .page-link,
.btn-brand {
  background-color: #444 !important;
  color: #fff !important;
  border: transparent;
}

.form-control {
  border: 1px solid #aaa !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.category-area {
  overflow-y: scroll;
  height: 200px;
  overscroll-behavior: contain;
  margin-top: -5px;
}

.upload-area {
  width: 100%;
  height: 200px;
  border: 2px dashed #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #555;
}
.upload-area:hover,
.upload-product-area:hover {
  background-color: #f5f5f5;
}
.preview-area {
  display: none;
}

.main-button {
  border-radius: 10px;
  padding: 10px 20px !important;
  background-color: #444 !important;
  color: #fff !important;
  border: transparent;
}

.main-button:hover {
  opacity: 0.9;
}
.hidden-input {
  display: none;
}

.preview-image {
  width: 100%;
  cursor: pointer;
}

.area-clickable:hover {
  cursor: pointer;
}

a.menu-link {
  color: #fff !important;
  text-decoration: none !important;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 1; /* Mulai dengan opacity 0 */
  visibility: visible; /* Mulai dengan preloader tersembunyi */
  transition: opacity 1s ease, visibility 1s ease; /* Efek transisi halus */
}

.preloader-logo {
  width: 230px; /* Sesuaikan ukuran logo */
  opacity: 0; /* Logo dimulai dengan opacity 0 */
  animation: fadeIn 1s forwards, fadeOut 1s forwards 2s; /* Efek fade-in untuk logo */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#containerService {
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: #fff;
}

.carousel-custom {
  position: relative;
  width: 100%;

  margin: 0 auto; /* Membuat carousel berada di tengah */
  overflow: hidden; /* Menyembunyikan item yang keluar dari kontainer */
}

.carousel-inner-custom {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Setiap item mengambil lebar penuh kontainer */
}

.carousel-item-custom {
  width: 100%;
  transition: opacity 1s ease; /* Perubahan efek opacity untuk transisi */
  height: 100vh;
  background-size: cover; /* Memastikan gambar sebagai background memenuhi area */
  background-position: center; /* Memastikan gambar terpusat */
  background-repeat: no-repeat;
  animation: zoomEffect 4s ease-in-out forwards;
}

.menu-desktop {
  margin-left: 600px;
}

.preload-brand {
  font-size: 34px;
  font-weight: bold;
  letter-spacing: 2px;
  white-space: nowrap;
  position: relative;
  background-size: 200% 100%;
  background-position: 100% 0;
/*  animation: revealText 3s ease forwards;*/
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease; /* Efek transisi halus */
}

.icon-box {
  border: none;
  padding: 20px;
  text-align: center;
  margin-bottom: 15px;
/*  border-radius: 5px;*/
/*  background-color: #ffffff;*/
/*  box-shadow: 6px 10px 20px rgba(0, 0, 0, 0.12); */
}

.icon-box i {
  font-size: 32px;
  margin-bottom: 12px;
  color: #007bff;
}

.subheading {
  font-size: 42px;
/*  font-family: 'Graphik Semibold';*/
}

.img-icon {
  width: 70px;
  display: block;
  margin: 0 auto;
  padding-bottom: 10px;
}

.equal-height .icon-box {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefit {
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 600;
/*  font-family: 'Graphik Semibold';*/
}

.logoIcon {
  width: 150px;
}

.icon-box p {
  font-size: 16px;
  font-weight: 300;
}

.col-1-per-7 {
  width: 14.285%;
/*  padding: 100px;*/
}

.style-welcome {
  top: 15% !important;
}

.item-centered {
  display: flex;                   /* Menggunakan flexbox */
  justify-content: center;          /* Memastikan elemen-elemen di tengah secara horizontal */
  align-items: center;              /* Memastikan elemen-elemen di tengah secara vertikal */
  flex-direction: column;           /* Menyusun elemen secara vertikal (gambar di atas teks) */
  text-align: center;               /* Menjaga teks tetap terpusat */
}
