

.image-con {
  position: relative;
}
.rounded {
  opacity: 1;
  display: block;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.overlay {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.image-con:hover .rounded {
  opacity: 0.3;
}
.image-con:hover .overlay {
  opacity: 1;
}
.text {
  color: rgb(255, 255, 255);
  font-size: 16px;
  padding: 16px 32px;
}
.service-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
        
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.service-title {
  position: relative;
  display: inline-block;
}
.service-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: #4f46e5;
  transition: width 0.3s ease;
}
.service-card:hover .service-title::after {
  width: 100%;
}
.textku {
  color: rgb(255, 255, 255);
  text-indent: 30px;
}
.modal {
  display: flex;
  position: fixed;
  z-index: 50;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  overflow: auto;
}
.modal-content {
  background-color: #020f22;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 530px;
  overflow-y: auto;
  border-radius: 10px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal {
  display: none;
  opacity: 0;
  transition: none; /* Nonaktifkan CSS transition */
}

.modal-content {
  opacity: 0; /* Awalnya tersembunyi untuk GSAP */
}

/* Opsional: Efek overlay */
.modal::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}
/* Memastikan teks tetap visible setelah animasi */
.modal.show h2,
.modal.show p {
  opacity: 1 !important;
  visibility: visible !important;
}


