/* === RESET & GLOBAL === */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* === SECTION TITLE === */
.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #3f1f91;
  margin-top: 60px;
  margin-bottom: 10px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #00c896;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 40px;
}

/* === CARD SLIDER (UNIT TYPE) === */
.slider-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
}

.card {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  text-align: center;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #97e5e8;
}

.card p {
  color: #666;
  font-size: 0.95rem;
}

/* === OVERLAY BUTTON (Lihat Detail) === */
.overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(63, 31, 145, 0.9);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.card:hover .overlay-btn {
  opacity: 1;
}

/* Tampil terus di HP */
@media (max-width: 768px) {
  .overlay-btn {
    opacity: 1;
  }
}

/* === CARD TITLE === */
.card-title {
  text-align: center;
  background: #3f1f91;
  color: white;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
}

/* === SLIDER BUTTONS === */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3f1f91;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: #2b1567;
}

.prev { left: 10px; }
.next { right: 10px; }

/* === FASILITAS SLIDER === */
.fasilitas-slider {
  position: relative;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fasilitas-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.fasilitas-slide {
  min-width: 100%;
  position: relative;
}

.fasilitas-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.fasilitas-caption {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
  background: rgba(63, 31, 145, 0.8);
  color: white;
  padding: 10px;
  font-weight: 500;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Tombol overlay 360° */
.view360-btn, .fasilitas-view360-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(63,31,145,0.9);
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.slide:hover .view360-btn,
.fasilitas-slide:hover .fasilitas-view360-btn {
  opacity: 1;
}

@media (max-width: 768px) {
  .view360-btn,
  .fasilitas-view360-btn {
    opacity: 1;
  }
  .fasilitas-slide img { height: 260px; }
  .fasilitas-caption { font-size: 0.9rem; padding: 8px; }
}

/* Tombol navigasi fasilitas */
.fasilitas-slider .fasilitas-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(63, 31, 145, 0.8);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 5;
}

.fasilitas-slider .fasilitas-slider-btn:hover {
  background: #2b1567;
}

.fasilitas-slider .fasilitas-prev { left: 10px; }
.fasilitas-slider .fasilitas-next { right: 10px; }

/* === MODAL === */
.modal, .fasilitas-modal {
  display: none;
  position: fixed;
  z-index: 10;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content, .fasilitas-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
}

.close, .fasilitas-close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover, .fasilitas-close:hover { color: #000; }

/* === GOOGLE MAPS === */
.map-container {
  text-align: center;
  margin: 40px auto;
}

.map-container iframe {
  width: 90%;
  max-width: 900px;
  height: 400px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* === TIM KAMI === */
.team-section {
  text-align: center;
  padding: 60px 20px;
}

.team-title {
  font-size: 2rem;
  font-weight: 700;
  color: #3f1f91;
  margin-bottom: 10px;
}

.team-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

/* === TEAM GRID FIX === */

/* Hapus duplikasi */
.team-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  justify-items: center;
}

/* Perbaikan kartu */
.team-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: .25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* === FOTO TEAM — SERAGAM DAN RAPI === */
.team-card img {
  width: 100%;
  height: 220px;          /* tinggi seragam */
  object-fit: contain;    /* foto tidak terpotong */
  background: #fff;       /* aman untuk PNG transparan */
  padding: 10px;
  box-sizing: border-box;
}

.team-info {
  padding: 15px 10px 20px;
}

.team-info h3 {
  font-size: 1.05rem;
  color: #3f1f91;
  margin-bottom: 4px;
}

.team-info p {
  font-size: 0.88rem;
  color: #777;
  margin: 0;
}

/* Dropdown Button */
.team-dropdown-btn {
  width: 100%;
  background: #3f1f91;
  color: #fff;
  padding: 14px 18px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  margin: 25px 0 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-dropdown-btn svg {
  width: 20px;
  height: 20px;
  transition: transform .3s;
}

.team-dropdown-btn.active svg {
  transform: rotate(180deg);
}

/* Dropdown content */
.team-dropdown-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
}

/* Keep existing design: grid tetap */

/* === RESPONSIVE === */

/* Tablet: 4 kolom */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Smartphone: 2 kolom */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* === FADE-IN ANIMATION === */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  animation: fadeInUp 0.8s ease forwards;
}


/* === BUTTON 360° === */
.btn-360 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #3f1f91;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 30px;
  margin-top: 15px;
  transition: background 0.3s ease;
  font-weight: 500;
}

.btn-360:hover {
  background: #2b1567;
}

.btn-360 svg {
  width: 20px;
  height: 20px;
  fill: white;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* --- SLIDER --- */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* --- SETIAP SLIDE --- */
.slide {
  position: relative;
  width: 100%;
  display: none;
  text-align: center;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- GAMBAR SLIDE --- */
.slide img {
  width: 100%;
  height: auto; /* supaya proporsional */
  display: block;
}

/* --- TEKS DI ATAS GAMBAR --- */
.text-overlay {
  position: absolute;
  top: 50%; /* posisi default di desktop */
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  z-index: 10;
  width: 80%;
  max-width: 700px;
}

.text-overlay h2 {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.text-overlay a {
  display: inline-block;
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 28px);
  background-color: #4d6b3c;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  transition: background 0.3s;
}

.text-overlay a:hover {
  background-color: #3b532d;
}

/* --- RESPONSIVE SAFE AREA --- */
@media (max-width: 768px) {
  /* Geser teks ke bawah agar tidak nabrak navbar */

}

@media (max-width: 480px) {
  .text-overlay {
    width: 90%;
  }
.slider {
    padding-top: 100px; /* tinggi navbar + jarak aman */
  }
}

/* --- SECTION --- */
.bci-section {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fc;
  color: #333;
}

.bci-section-title {
  font-size: 2em;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.bci-section-subtitle {
  color: #777;
  margin-bottom: 50px;
}

/* --- PROJECT GRID --- */
.bci-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- CARD --- */
.bci-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bci-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.bci-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bci-card:hover .bci-card-img {
  transform: scale(1.1);
}

/* --- OVERLAY --- */
.bci-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: white;
  text-align: left;
}

.bci-card-title {
  margin: 0;
  font-size: 1.25em;
  font-weight: 600;
  color: #f7eddf;
}

.bci-card-link {
  color: #ffae42;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.bci-card-link:hover {
  color: #ffd17a;
}

/* Tombol Go to Top */
#bciToTopBtn {
  display: none; /* sembunyi default */
  position: fixed;
  bottom: 100px; /* lebih tinggi dari tombol WA */
  right: 20px;
  z-index: 9999;
  font-size: 18px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover */
#bciToTopBtn:hover {
  background-color: #0056b3;
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
  #bciToTopBtn {
    bottom: 140px; /* geser lebih tinggi jika WA button ada */
    right: 15px;
    padding: 8px 12px;
    font-size: 16px;
  }
}

/* ==========================================
   UNI-TENTANG KAMI (CLASS UNIK)
   Anti CLS + Clean + Responsive
   ========================================== */

.uni-tentangkami-wrap {
  width: 100%;
  min-height: 360px; /* cegah shifting */
  padding: 32px 0;
  overflow: hidden;
}

.uni-tentangkami-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.uni-tentangkami-cols {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

/* ------------------ LEFT ------------------ */
.uni-tentangkami-left {
  flex: 1 1 500px;
}

.uni-tentangkami-title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.uni-tentangkami-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.uni-tentangkami-buttons {
  display: flex;
  gap: 12px;
}

.uni-tentangkami-btn {
  border: 2px solid #000;
  padding: 8px 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}

.uni-tentangkami-btn:hover {
  background: #000;
  color: #fff;
}

/* ------------------ RIGHT (IMAGE) ------------------ */
.uni-tentangkami-right {
  flex: 0 0 300px;
}

.uni-tentangkami-imgwrap {
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: block;
}

.uni-tentangkami-imgwrap img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ------------------ RESPONSIVE ------------------ */
@media (max-width: 768px) {
  .uni-tentangkami-cols {
    flex-direction: column;
    text-align: center;
  }
  .uni-tentangkami-left {
    order: 1;
  }
  .uni-tentangkami-right {
    order: 2;
  }
  .uni-tentangkami-buttons {
    justify-content: center;
  }
}

.btn-wa {
  display: inline-block;
  background: #25D366;
  color: white;
  font-weight: 500;
  padding: 10px 18px;
  margin: 8px 4px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-wa:hover {
  background: #1ebe57;
}

  .video-card {
    max-width: 960px;
    margin: 36px auto;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 40px rgba(12,20,40,0.15);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
    transition: transform .28s ease, box-shadow .28s ease;
  }

  .video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(12,20,40,0.18);
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2.39 / 1;
    background: #000;
  }

  .video-wrapper iframe {
    position: relative;
    z-index: 2; /* pastikan iframe di atas overlay */
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1; /* di bawah iframe */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.18));
    pointer-events: none; /* tetap aman */
  }

  .play-pill {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.25);
    transition: transform .22s ease, background .22s ease;
  }

  .video-card:hover .play-pill {
    transform: scale(1.06);
    background: rgba(255,255,255,0.14);
  }

  .play-pill svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45));
  }

  .video-meta {
    padding: 14px 18px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.01));
  }

  .video-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
  }

  .video-cta {
    font-size: 0.95rem;
    color: #ff8a00;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,138,0,0.08);
    background: rgba(255,138,0,0.04);
    transition: background .18s ease, transform .12s ease;
  }

  .video-cta:hover {
    transform: translateY(-2px);
    background: rgba(255,138,0,0.09);
  }

  @media (max-width: 520px) {
    .play-pill { width: 60px; height: 60px; }
    .play-pill svg { width: 22px; height: 22px; }
    .video-meta { padding: 10px 12px; }
    .video-title { font-size: .95rem; }
  }

/* === MAP SECTION (BCI Unique Namespace) === */
.bci-map-container {
  position: relative;
}

.bci-map-btn-360 {
  position: absolute;
  top: 15px;
  right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #00c896;
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
  z-index: 5;
  cursor: pointer;
  border: none;
}

.bci-map-btn-360:hover {
  background: #00b07c;
  transform: translateY(-2px);
}

.bci-map-btn-360 svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.bci-map-placeholder {
  width: 100%;
  height: 350px;
  background: #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 18px;
  border-radius: 10px;
}
