/* =========================
   PARTNER & TIM – ISOLATED
========================= */

#tim {
  background: #020617; /* konsisten dengan tema gelap */
}

/* Card */
#tim .team-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
}

#tim .team-card:hover {
  transform: translateY(-6px);
}

/* Foto */
#tim .team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Body */
#tim .card-body {
  padding: 22px;
}

/* NAMA (FIX TOTAL) */
#tim .team-name {
  color: #0b1d3a;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Jabatan */
#tim .team-role {
  color: #c9a227;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Deskripsi */
#tim .team-desc {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================
   PARTNER & TIM – FINAL GRID
========================= */

#tim {
  background: #020617;
}

/* Grid spacing */
#tim .row {
  row-gap: 32px;
}

/* Card */
#tim .team-card {
  height: 100%;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

#tim .team-card:hover {
  transform: translateY(-8px);
}

/* Image */
#tim .team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Body */
#tim .card-body {
  padding: 22px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Name */
#tim .team-name {
  color: #0b1d3a;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* Role */
#tim .team-role {
  color: #c9a227;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
}

/* Description */
#tim .team-desc {
  color: #444;
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  #tim .team-img {
    height: 240px;
  }
}

@media (max-width: 575px) {
  #tim .team-img {
    height: 220px;
  }
}
/* =========================
   DESKTOP ALIGN FIX
========================= */

@media (min-width: 1200px) {
  #tim .row {
    display: flex;
    justify-content: center;
  }

  #tim .col-lg-4 {
    display: flex;
  }

  #tim .team-card {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  #tim .row {
    gap: 32px;
  }
}

/* =========================
   FIX TOTAL PARTNER GRID
========================= */

#tim .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#tim .col-lg-4 {
  display: flex;
}

#tim .team-card {
  width: 100%;
  overflow: hidden; /* PENTING */
  border-radius: 18px;
  background: #ffffff;
}

/* FIX FOTO */
#tim .team-img {
  height: 260px;
  object-fit: cover;
  display: block;
}

/* BODY CARD */
#tim .card-body {
  padding: 22px 20px 26px;
}

/* NAMA */
#tim h5 {
  color: #0b1d3a !important;
  font-weight: 700;
  margin-bottom: 6px;
}

/* JABATAN */
#tim .team-role {
  color: #c9a227 !important;
  font-size: 14px;
  margin-bottom: 12px;
}

/* DESKRIPSI */
#tim .team-desc {
  color: #444 !important;
  font-size: 14px;
  line-height: 1.6;
}
/* =========================
   FORCE GRID PARTNER & TIM
========================= */

#tim .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card full tinggi */
#tim .team-card {
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

/* Gambar konsisten */
#tim .team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Text */
#tim h5 {
  color: #0b1d3a !important;
  font-weight: 700;
}

#tim .team-role {
  color: #c9a227 !important;
  font-size: 14px;
  margin-bottom: 10px;
}

#tim .team-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */
@media (max-width: 991px) {
  #tim .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  #tim .row {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   PARTNER & TIM GRID
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card */
.team-card {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  height: 100%;
}

/* Image */
.team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Text */
.team-card h5 {
  color: #0b1d3a;
  font-weight: 700;
}

.team-role {
  color: #c9a227;
  font-size: 14px;
  margin-bottom: 8px;
}

.team-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   MANAGING PARTNER (TOP CENTER)
================================ */

.managing-wrapper {
  display: flex;
  justify-content: center;
}

.team-card.managing {
  max-width: 420px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.managing-img {
  height: 320px;
}

/* ===============================
   PARTNER GRID
================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card Umum */
.team-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
}

.team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Text */
.team-card h4,
.team-card h5 {
  color: #0b1d3a;
  font-weight: 700;
}

.team-role {
  color: #c9a227;
  font-size: 14px;
  margin-bottom: 8px;
}

.team-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .managing-img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card.managing {
    max-width: 100%;
  }
}
/* =========================
   PROFIL PERUSAHAAN - PUTIH
========================= */

#tentang,
#tentang p,
#tentang h1,
#tentang h2,
#tentang h3,
#tentang h4,
#tentang h5,
#tentang h6 {
  color: #ffffff !important;
}

/* Judul section */
#tentang .section-title {
  color: #ffffff !important;
}

/* =========================
   PARTNER & TIM - JUDUL PUTIH
========================= */

#tim .section-title {
  color: #ffffff !important;
}
#tentang p {
  color: #CBD5E1 !important;
}
/* =========================
   PROFIL PERUSAHAAN - FIX PUTIH
========================= */

/* Paksa semua judul section Profil jadi putih */
.section-title {
  color: #ffffff !important;
}

/* Kalau judulnya pakai h2 tanpa class */
section h2 {
  color: #ffffff !important;
}

/* Paragraf profil perusahaan */
section p {
  color: #CBD5E1;
}
