/* NEW ABOUT */
.new-about {
  background: linear-gradient(to bottom, #d1bfce 10%, #ffffff 100%);
  min-height: 550px;
  display: block;
  margin-top: auto;
  padding-top: 0px;
}

.new-about .cnt-priority {
  padding-top: 35px;
}

.new-about .cnt-priority .clm-prio {
  margin: 0;
  padding: 0;
}

.new-about .stats-item {
  padding: 10px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  gap: 0;
  transition: transform 0.3s ease;
}

.new-about .stats-item:hover {
  transform: scale(1.2);
}

.new-about .stats-item .img-wrapper {
  position: relative;
  width: 100%;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.new-about .stats-item .img-wrapper:hover .icon-image {
  transform: scale(1.4);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.new-about .stats-item .img-wrapper .icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.new-about .stats-item .img-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  background: linear-gradient(
    to bottom,
    rgba(128, 0, 128, 0.8),
    rgba(243, 130, 234, 0.4)
  );
  pointer-events: none;
  z-index: 1;
}

.new-about .cnt-priority .clm-prio .stats-item p {
  position: relative;
  z-index: 2;
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  color: #fff;
  font-weight: 700;
  margin-top: -30px;
}

.new-about .cnt-priority .clm-prio .stats-item p:hover {
  font-weight: 800;
  cursor: pointer;
  color: #521648;
}

.new-about .cnt-about {
  margin-top: 70px;
  position: relative;
}

.new-about .cnt-about h2 {
  color: white;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  font-style: italic;
}

.new-about .cnt-about .styled-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16 / 9;
}

.new-about .cnt-about .styled-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.4),
    rgba(218, 155, 243, 0.4),
    rgba(128, 0, 128, 0.8)
  );
  pointer-events: none;
  z-index: 1;
}
.new-about .cnt-about .styled-box .bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.6);
}

.new-about .cnt-about .styled-box .styled-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  color: white;
  text-align: center;
  z-index: 2;
  padding: 0 clamp(4px, 2vw, 12px);
}

.new-about .cnt-about .styled-box .styled-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.new-about .cnt-about .btn-send-rfq {
  display: inline-block;
  color: #fff;
  border-radius: 15px;
  font-weight: 500;
  padding: 3px 10px;
  font-size: 14px;
  border: 2px solid #fff;
}

.new-about .cnt-about .btn-send-rfq:hover {
  background-color: #662e6a;
  color: #fff;
}

.new-about .cnt-about h3 {
  font-size: 40px;
  font-weight: 500;
  margin: 0;

  position: relative;
  display: inline-block;
  z-index: 1;
}

.new-about .cnt-about h3::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: orange;
  z-index: -1;
  display: block;
}

.new-about .cnt-about .about-desc {
  line-height: 1.8;
}

.new-about .cnt-about .btn-about-rm {
  border-radius: 15px;
  font-weight: 500;
  padding: 3px 10px;
  font-size: 14px;
}

.new-about .cnt-about .btn-about-rm:hover {
  background-color: #9d558b;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.new-about .cnt-about .btn-about-rm:hover a {
  color: #fff;
}

/* nw */
.new-about .cnt-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.new-about .cnt-tagline img {
  width: 80px;
  height: auto;
  display: inline-block;
  color: #3e3e3e;
}

.new-about .cnt-tagline .tagline {
  font-size: 20px;
  display: inline-block;
  font-family: Arial, sans-serif;
  color: #3e3e3e;
  font-style: italic;
  line-height: 1;
  align-items: center;
  font-weight: 700;
  margin: 0;
}

/* PRO-SER */
.pro-ser {
  background: linear-gradient(90deg, #521648, #bd31a2);
  min-height: 500px;
  display: block;
  margin: 0 auto;
}

.pro-ser h3 {
  text-align: center;
  font-weight: 600;
  color: white;
  font-size: 24;
  opacity: 0;
}

.pro-ser .dots {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.dot {
  width: 35px;
  height: 35px;
  background-color: #d798c0;
  border-radius: 50%;
}

/* Container Utama */
.pro-ser .service-item {
  position: relative;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.2);
  height: 300px;
  overflow: hidden;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  border-radius: 20px;
}

/* Posisi Default Gambar */
.pro-ser .service-item .icon img {
  top: 80px;
  padding-top: 30px;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

/* Posisi Teks Default */
.pro-ser .service-item h3 {
  position: absolute;
  width: 80%;
  top: 265px;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 2;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Efek Hover */
.pro-ser .service-item:hover .icon img {
  transform: scale(1.1);
  cursor: pointer;
}

.pro-ser .service-item h3:hover {
  transform: translate(-50%, -50%);
  cursor: pointer;
  color: salmon;
}

/* NEWS */
.news {
  background: white;
  min-height: 500px;
  display: block;
  margin: 0 auto;
}

.news .ctm-section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.news .ctm-section-title h2 {
  font-size: 28px;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #602255;
}

.news .news-item {
  padding: 20px;
  background: linear-gradient(90deg, #521648, #bd31a2);
  height: 100%;
  width: 100%;
  height: 200px;
  border-radius: 20px;
}

.news .news-item:hover {
  border: 1px solid rgb(73, 2, 55);
  background: linear-gradient(90deg, #ffffff, #f075f0);
  cursor: pointer;
}

.news .news-item:hover .img-title h3 button {
  color: rgb(73, 2, 55);
}

.news .news-item:hover .icon i {
  color: rgb(73, 2, 55);
}

.news .news-item .img-title {
  display: flex;
  gap: 20px;
}

.news .news-item i {
  flex-shrink: 0;
  color: white;
  font-size: 30px;
}

.news .news-item h3 button {
  color: white;
  font-size: 1.2rem;
  text-decoration: none !important;
  text-align: left !important;
  border: none;
  background: none !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  padding: 0 !important;
}

.news .news-item .news-image {
  flex-shrink: 0;
}

.news .news-item .news-image img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  /* margin-top: -55px; */
  border: 3px solid white;
}

/* PARTNER */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner {
  background: white;
  min-height: 250px;
  display: block;
  margin: 0 auto;
}

.partner .ctm-section-title {
  text-align: center;
  position: relative;
}

.partner .ctm-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #602255;
}

.partner .logos-1,
.partner .logos-2,
.partner .logos-3,
.partner .logos-4 {
  overflow: hidden;
  padding: 10px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.partner .logos-1:before,
.partner .logos-1:after,
.partner .logos-2:before,
.partner .logos-2:after,
.partner .logos-3:before,
.partner .logos-3:after,
.partner .logos-4:before,
.partner .logos-4:after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 50px;
  padding: 0 10px;
  content: "";
  z-index: 2;
}

.partner .logos-1:before,
.partner .logos-2:before,
.partner .logos-3:before,
.partner .logos-4:before {
  left: 0;
}

.partner .logos-1:after,
.partner .logos-2:after,
.partner .logos-3:after,
.partner .logos-4:after {
  right: 0;
}

.partner .logos-1:hover .logos-slide-1,
.partner .logos-2:hover .logos-slide-2,
.partner .logos-3:hover .logos-slide-3,
.partner .logos-4:hover .logos-slide-4 {
  animation-play-state: paused;
}

.partner .logos-slide-1,
.partner .logos-slide-2,
.partner .logos-slide-3,
.partner .logos-slide-4 {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.partner .logos-slide-2 img,
.partner .logos-slide-3 img {
  height: 70px;
  margin: 10px 20px;
}

.partner .logos-slide-1 img,
.partner .logos-slide-4 img {
  height: 70px;
  margin: 10px 20px;
}

/* PROJECT */
.project {
  background: linear-gradient(rgba(128, 0, 128, 0.7), rgba(253, 162, 253, 0.5)),
    url("/assets/website/img/bg-section/bg-project.webp");
  display: block;
  margin: 0 auto;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 20px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Efek zoom gambar */
.card-img-container {
  overflow: hidden;
  border-radius: 20px;
}

.card-img-container img {
  transition: transform 0.4s ease;
}

.project-card:hover .card-img-container img {
  transform: scale(1.1);
}

.card-img-container {
  position: relative;
  overflow: hidden;
}

/* Gambar */
.card-img-container img {
  transition: transform 0.4s ease;
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* Overlay gradasi gelap */
.card-img-container .overlay {
  border-radius: 20px;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.9) 100%
  );
  transition: opacity 0.4s ease;
}

/* Hover: zoom gambar + hilangkan gradasi */
.project-card:hover .card-img-container img {
  transform: scale(1.1);
}

.project-card:hover .card-img-container .overlay {
  opacity: 0;
}

.project-title {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  font-weight: 400;
}

.project-title:hover {
  color: black;
}

/* CUSTOMER */
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.customer {
  background: white;
  min-height: 250px;
  display: block;
  margin: 0 auto;
}

.customer .ctm-section-title {
  text-align: center;
  position: relative;
}

.customer .ctm-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #602255;
}

.customer .cust-1,
.customer .cust-2 {
  overflow: hidden;
  padding: 20px 0;
  background: #fff;
  white-space: nowrap;
  position: relative;
}

.customer .cust-1:before,
.customer .cust-1:after,
.customer .cust-2:before,
.customer .cust-2:after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 50px;
  padding: 0 10px;
  content: "";
  z-index: 2;
}

.customer .cust-1:before,
.customer .cust-2:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff);
}

.customer .cust-1:after,
.customer .cust-2:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}

.customer .cust-1:hover .cust-slide-1,
.customer .cust-2:hover .cust-slide-2 {
  animation-play-state: paused;
}

.customer .cust-slide-1,
.customer .cust-slide-2 {
  display: inline-block;
  animation: 30s slide infinite linear;
}

.customer .cust-slide-1 img,
.customer .cust-slide-2 img {
  height: 70px;
  margin: 10px 20px;
}

/* GALLERY */
.gallery {
  background: linear-gradient(rgba(128, 0, 128, 0.7), rgba(128, 0, 128, 0.5)),
    url("/assets/website/img/bg-section/bg-gallery.webp");
  display: block;
  margin: 0 auto;
}

.gallery h1,
.project h1 {
  font-size: 32px;
  font-family: Arial, sans-serif;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.gallery .ctm-section-title,
.project .ctm-section-title {
  text-align: center;
  position: relative;
}

.gallery .ctm-section-title h2,
.project .ctm-section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: white;
}

/* Kontainer galeri */
.gallery .container-gall {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 450px;
}

/* Gaya untuk setiap item dalam galeri */
.gallery .container-gall .gallery-item {
  position: absolute;
  transition: transform 0.3s ease-in-out;
}

/* Tata letak gambar */
.gallery .container-gall .gallery-item:nth-child(1) {
  top: 100px;
  left: 180px;
  z-index: 3;
}

.gallery .container-gall .gallery-item:nth-child(2) {
  top: 50px;
  left: 450px;
  z-index: 2;
}

.gallery .container-gall .gallery-item:nth-child(3) {
  top: 200px;
  left: 450px;
  z-index: 6;
}

.gallery .container-gall .gallery-item:nth-child(4) {
  top: 290px;
  left: 350px;
  z-index: 2;
}

.gallery .container-gall .gallery-item:nth-child(5) {
  top: 280px;
  left: 600px;
  z-index: 1;
}

.gallery .container-gall .gallery-item:nth-child(6) {
  top: 100px;
  left: 650px;
  z-index: 3;
}

.gallery .container-gall .gallery-item img {
  width: 300px;
  height: auto;
  border: 10px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, border 0.3s ease-in-out; /* Animasi untuk hover */
}

.gallery .container-gall .gallery-item img:hover {
  transform: scale(1.05);
  z-index: 4;
  border: 10px solid;
  border-image-source: linear-gradient(90deg, #521648, #bd31a2);
  border-image-slice: 1;
}

/* Untuk tampilan mobile (layar lebih kecil dari 768px) */
@media screen and (max-width: 768px) {
  .gallery {
    min-height: 1400px;
  }

  .gallery .container-gall .gallery-item {
    position: static;
    margin: 10px auto;
    display: block;
    transform: none;
    width: 90%;
    max-width: 300px;
  }

  .gallery .container-gall {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* CERTIFICATE */
.certificates {
  background: white;
  display: block;
  margin: 0 auto;
  max-width: 1200px;
}

/* new */
.certificates .certi {
  overflow: hidden;
  padding: 20px 0;
  background: #fff;
  white-space: nowrap;
  position: relative;
}

.certificates .certi:hover .certi-slide-1 {
  animation-play-state: paused;
}

.certificates .certi-slide-1 {
  display: inline-block;
  animation: 10s slide infinite linear;
}

.certificates .certi-slide-1 img {
  height: 280px;
  margin: 10px 20px;
}

/* Media Queries untuk Mobile */
@media screen and (max-width: 768px) {
  .certificates .container-certificates {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
  }

  .certificates .container-certificates .certificate-item {
    max-width: 90%;
    margin: 0 auto 20px;
    flex: none;
  }

  .certificates .container-certificates .certificate-item:nth-child(2) img {
    transform: scale(1);
  }
}
