* {
    font-family: "Poppins", sans-serif;
}


.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.582)) ,url("/assets/img/background2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
}

.hero-logo {
  max-width: 240px;
}

/* TENTANG KAMI */
.about-main h6 {
    font-size: 24px;
}

.about-main h2 {
    font-size: 50px;
    line-height: 1.3;
}

.about-main p {
    font-size: 16px;
    line-height: 1.8;
}

.about-img-wrapper {
  position: relative;
  display: inline-block;
  width: 500px;
}

.about-img-wrapper .layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.about-img-wrapper .base {
  position: relative;
  z-index: 1;
}

.about-img-wrapper .talent {
  z-index: 3;
  transition: transform 0.45s ease;
}

.about-img-wrapper::before {
  content: "";
  position: absolute;
  inset: -100px;

  background-image: url("/assets/img/background-talent1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 62%;

  z-index: 2;

  opacity: 0;
  transform: scale(0.85);

  transition:
    transform 0.6s cubic-bezier(.2,.8,.2,1),
    opacity 0.3s ease;
}

.about-img-wrapper:hover::before {
  opacity: 0.85;
  transform: scale(1.15);
}

.about-img-wrapper:hover .talent {
  transform: translateY(-6px);
}

.about .row .col:nth-child(1){
    background-color: #222;
}

/* ===============================
   ABOUT – PLATFORM E-PURCHASING
================================ */

.about-platform {
    padding-left: 9%;
    padding-right: 9%;
    margin-top: 0;
    padding-top: 0;
}

/* BARIS LOGO */
.about-platform-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;  
  padding-bottom: 6px;
}

/* ITEM */
.about-platform-row a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* LOGO */
.about-platform-row img {
  max-height: 45px;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.3s ease;
}

.about-main .text-muted {
    font-size: 16px;
    line-height: 1.9;
    color: #000000;   
    font-weight: 400;
    margin-bottom: 1.5rem;
    max-width: 560px; 
}

.about-platform-row a:hover img {
  opacity: 5;
  transform: translateY(-2px);
}

/* Container Utama */
.about-platform-full-width {
    width: 100%;
    background-color: #ffffff;
    padding: 8px 0 16px 0; 
    margin-top: 0; 
}

.about-main .about-platform-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

/* BARIS LOGO */
.about-platform-row {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    gap: 20px;
    flex-wrap: wrap; 
}

/* ITEM & LOGO */
.about-platform-row a {
    flex: 0 1 auto; 
    display: flex;
    justify-content: center;
}

.about-platform-row img {
    max-height: 60px;  
    max-width: 180px;  
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0); 
    transition: all 0.3s ease;
}

.about-platform-row img:hover {
    transform: scale(1.1);
}


.projects {
  padding: 60px 0;
}

/* GRID 2 KOLOM */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2rem;   
}

/* CARD DROPDOWN */
.projects-group {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 1.5rem;
}

/* BUTTON */
.projects-toggle {
  width: 100%;
  padding: 14px 18px;
  background: #f3f3f3;
  border: none;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.projects-toggle::after {
  content: "▾";
  position: absolute;
  right: 18px;
  transition: transform .3s ease;
}

/* ACTIVE */
.projects-group.active .projects-toggle::after {
  transform: rotate(180deg);
}

/* LIST */
.projects-list {
  list-style: none;
  margin: 0;
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.projects-group.active .projects-list {
  max-height: 500px;
  padding-bottom: 14px;
}

.projects-list li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.projects-list .view-more {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.projects-list .view-more a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
}

.projects-list .view-more a:hover {
  text-decoration: underline;
}



/* wrapper list */
.instansi-wrapper {
  max-height: 220px; 
  overflow: hidden;
  transition: max-height 0.6s ease;
}

/* kondisi expand */
.instansi-wrapper.show {
  max-height: 2000px;
}

/* list */
.instansi-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 3;
  column-gap: 40px;
  text-align: center;
}

.instansi-list li {
  padding: 6px 0;
  opacity: 0;
  transform: translateY(-10px);
}

/* aktif saat scroll */
.instansi-list li.animate {
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(0.05s * var(--i));
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* animasi delay biar turun satu-satu */
.instansi-list li:nth-child(n) {
  animation-delay: calc(0.05s * var(--i));
}

.services img {
  width: 100%;
  max-width: 80%;
  height: auto;        
  object-fit: contain;   
}

.services h5 {
    line-height: 1.8;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.services i {
    color: green;
    font-size: 25px;
}

.services .container {
  padding-left: 16px;
  padding-right: 16px;
}

.slider-section{
  width: 100%;
  max-width: 100%; 
  margin: auto;
  padding: 80px 0;
}

.swiper{
  width: 100%;
  padding: 40px 0;
}

.swiper-slide{
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.swiper-button-prev,
.swiper-button-next{
  color: #000000 !important;
  /* background: white; */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 30px;
  font-weight: bold;
}

.swiper-slide {
  transition: 0.3s ease;
  transform: scale(0.9);
  opacity: 0.5;
}

/* slide tengah */
.swiper-slide-active {
  transform: scale(1.12);
  opacity: 1;
  z-index: 10;
}

/* kiri kanan */
.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.98);
  opacity: 0.8;
}

.swiper-slide img{
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.galeri-title {
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
}

/* .galeri-title::after {
  content: "";
  width: 100px;
  height: 4px;
  background: #ffc107;
  display: block;
  margin: 10px auto 0;
} */




.faq {
  padding-top: 80px;
}

.faq .accordion {
  --bs-accordion-bg: #e9edc9 ;
}

.faq .accordion .accordion-button:focus {
  box-shadow: none;
}




/* mobile */
@media screen and (max-width: 1200px) {
    .services img {
        width: 220px;
    }
}

@media screen and (min-width: 820px) and (max-width: 920px) {

  /* =====================
     HERO
  ===================== */
  .hero-logo {
    max-width: 180px; /* ⬅️ perbesar dikit */
  }

  .hero-title {
    font-size: 38px;
    line-height: 1.25;
  }

  /* =====================
     ABOUT
  ===================== */
  
  .about-main h6 {
    font-size: 20px;
  }

  .about-main h2 {
    font-size: 40px;
    line-height: 1.25;
  }

  .about-main p,
  .about-main .text-muted {
    font-size: 17px;
    line-height: 1.8;
    max-width: 800px; 
  }
  
  .about-img-wrapper {
    width: 360px; /* ⬅️ lebih gede dari mobile */
  }

  /* =====================
     PLATFORM E-PURCHASING
  ===================== */

  .about-platform-row {
    display: grid; /* ⬅️ PAKSA GRID */
    grid-template-columns: repeat(3, 1fr); /* ⬅️ 3 KOLOM */
    gap: 24px;
    justify-items: center;
  }

  .about-platform-row a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .about-platform-row img {
    max-width: 180px;
    max-height: 70px;
  }

  /* =====================
     PROJECTS GRID
  ===================== */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr); /* tetap 2 kolom */
    gap: 2rem;
  }

  /* =====================
     SERVICES
  ===================== */
  .services img {
    max-width: 260px;
  }

  .services h5 {
    font-size: 18px;
  }

}

@media screen and (max-width: 475px) {
    .services h5 {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
  .about-platform-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
    
  .swiper-button-prev,
  .swiper-button-next{
    color: #ffffff !important;
  }

  .about-img-wrapper::before {
    inset: -65px; /* dari -100px jadi kecil */
  }

  .hero-logo {
    max-width: 180px;
  }

  .galeri-title {
    font-size: 38px;
  }

  .swiper-slide{
    height: 260px;
  }

  .platform-item {
    padding: 10px;        
  }

  .platform-item img {
    max-width: 100px;     
    max-height: 36px;
  }
  
  .instansi-list {
    columns: 2;
    font-size: 12px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .about-platform-row {
    grid-template-columns: repeat(1, 1fr); 
    gap: 1.4rem;
  }

  /* struktur */
  .about-main .row {
    margin-bottom: 0;
  }

  .about-img-wrapper {
    max-width: 260px; 
    margin: 14px auto 10px;
  }
  
  .about-main {
    padding-top: 6px !important;
    padding-bottom: 5px !important;
  }

  .about-img-wrapper::before {
    opacity: 0.85;
    transform: scale(1);
    display: block;
    transition: none !important;
  }

  /* TALENT TETAP POSISI NORMAL */
  .about-img-wrapper .talent {
    transform: none !important;
    transition: none !important;
  }

  /* NONAKTIFKAN HOVER EFFECT */
  .about-img-wrapper:hover::before,
  .about-img-wrapper:hover .talent {
    transform: none;
  }

  .about-main .col {
    padding-top: 0;
    margin-top: 12px;
    text-align: justify;
  }

  .about-main h6 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .about-main h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .about-main .text-muted {
    font-size: 15px;
    margin: 0;
    text-align: justify;
    text-align-last: left;
  }



}
