body {
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: transparent !important;
  transition: all 0.3s;
}

.logo-img {
  max-width: 100px;
  padding: 5px;
}

.navbar.scrolled {
  background-color: #054C93 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled img {
  background-color: white !important;
  border-radius: 50px;
  padding: 5px;
}

/* Hero Parallax */
.parallax-section {
  background: url('../img/LGO\ hj-02.png') no-repeat center center;
  background-size: cover; /* Pastikan rasio terjaga */
  height: 100vh; /* Tinggi setinggi layar */
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-position: center center; /* Selalu di tengah */
}

/* Overlay untuk kontras teks */
.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* Fix untuk mobile (iOS/Android) */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll; /* Menghindari bug parallax di mobile */
    background-position: center center;
  }
}

/* Client Section */
.client-logo {
  /* filter: grayscale(100%); */
  opacity: 0.7;
  transition: all 0.3s;
  max-width: 75px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.client-logo:hover {
  /* filter: grayscale(0) drop-shadow(0 0 10px #ffffff); */
  opacity: 1;
}


/* Counter */
.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #0d6efd;
}


/* Perbaikan khusus iOS */
@supports (-webkit-touch-callout: none) {
  .parallax-section {
    height: -webkit-fill-available;
  }
}


/* ================================= v2 ================================ */

/* Testimonial Section */
.testimonial-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.rating {
  color: #ffc107; /* Warna kuning untuk bintang */
  font-size: 1.2rem;
}



/* ==================================== v3 ================================= */

/* Portfolio Section */
.portfolio-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-card img {
  transition: transform 0.5s;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

/* Filter Button */
.filter-btn.active {
  background-color: #0d6efd;
  color: white !important;
}

/* Modal */
.modal-tech li {
  margin-bottom: 8px;
}

/* ============================ v4 ======================================== */


/* Services Section */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  background: linear-gradient(to bottom, #FF064D, #054C93);
  min-height: 200px;
}

.service-card-img {
  border-radius: 10px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: #0d6efd;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.2);
  color: #ff6b6b; /* Warna saat hover */
}

.service-card ul {
  list-style-type: none;
}

.service-card ul li::before {
  content: "•";
  color: #0d6efd;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* .service-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); 
} */


/* ============================== v5 ======================================= */

/* Section Konsultasi */
#konsultasi {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

/* Modal Konsultasi */
#konsultasiModal .modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#konsultasiModal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

#konsultasiModal .modal-title {
  font-weight: 600;
}

/* =================================== v6 =================================== */

/* CTA Section */
#cta {
  background: linear-gradient(135deg, #0d6efd 0%, #212529 100%);
  position: relative;
}

/* Efik tombol */
#cta .btn-primary {
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

#cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.6);
}

#cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
}

/* ================================= v7 ==================================== */

/* Contact Section */
#contact .card {
  border-radius: 10px;
  transition: transform 0.3s;
}

#contact .card:hover {
  transform: translateY(-5px);
}

/* Icon Kontak */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Google Maps */
.ratio iframe {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ========================================================================= */

@media only screen and (max-width: 767px) {

  /* Hero Parallax */
  .parallax-section {
    background: url('../img/LGO\ hj-02.png') no-repeat center center;
    background-size: contain; /* Pastikan rasio terjaga */
    height: 100vh; /* Tinggi setinggi layar */
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center center; /* Selalu di tengah */
  }

  .service-card {
    border-radius: 0px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .service-card-img {
    border-radius: 0px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}