.about-section {
  padding: 60px 20px;
  max-width: 1300px;
  margin: auto;
  box-sizing: border-box;
}

.parent {
  display: grid;
  grid-template-columns: 300px 300px 1fr; /* kiri, tengah, kanan fleksibel */
  grid-template-rows: repeat(6, auto);
  grid-gap: 20px;
  align-items: start;
}

/* div1 tetap di baris 1-4 */
.div1 {
  grid-area: 1 / 1 / 5 / 2;
}

/* div2 dan div3 diturunkan ke baris ke-2 dan ke-3 */
.div2 {
  grid-area: 3 / 2 / 4 / 3;
}

.div3 {
  grid-area: 4 / 2 / 5 / 3;
}

/* Konten teks */
.about-content {
  grid-area: 1 / 3 / 5 / 5;
  padding-left: 20px;
  align-self: center; /* Ubah dari start ke center */
}

/* Style gambar */
.about-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.image.card {
  height: 100%;
  width: 100%;
  background-color: orange;
  overflow: hidden;
  display: block; /* atau flex dengan 1 child img */
}

.image.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}


.div1, .div2, .div3 {
  height: auto;
}

.div1 {
  height: 400px;
}

.div2 {
  height: 180px;
}

.div3 {
  height: 400px;
}

.div1 .card,
.div2 .card,
.div3 .card {
  height: 100%;
  width: 100%;
  display: block;               /* gunakan block agar tidak ada perilaku flex */
  background-color: orange;    /* << tampilan warna oranye untuk lihat ukuran */
  overflow: hidden;
  position: relative;
  outline: 3px solid orange;
}

.div1 .card img,
.div2 .card img,
.div3 .card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.div1 .image.card,
.div2 .image.card,
.div3 .image.card {
  border: 4px solid red; /* Ubah ketebalan sesuai kebutuhan */
  box-sizing: border-box; /* Penting agar border tidak 'keluar' dari ukuran */
}

/* Konten teks */
.section-subtitle {
  font-family: 'Great Vibes', cursive;
  font-size: 2.2rem;
  color: orange;
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
  line-height: 1.2;
  position: relative;
  margin-left: 15px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px; /* lebih rapat ke deskripsi */
  line-height: 1.6; /* diperkecil */
}

.section-description {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 0px;
  max-width: 600px;     /* Batasi lebarnya */
  text-align: left;     /* Jika ingin rata kiri */
}

.about-content > * {
  margin-top: 0;
  margin-bottom: 4px;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .div2 .card,
  .div3 .card {
    width: 100%;
    aspect-ratio: unset;
    height: auto;
  }
}

.team-section {
  background-color: #f99f1b;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.team-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.team-header p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: white;
  max-width: 850px;     /* batasi lebar paragraf */
  margin: 0 auto;       /* agar tetap di tengah */
}
/* Grid team */

.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.column {
  flex: 0 0 300px;
  margin: 15px;
}

.card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 300px;
}

.card:hover {
  transform: translateY(-5px);
}

.team-img {
  background-color: #f99f1b;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-grow: 1;
  flex: 1;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Pastikan gambar isi penuh tanpa distorsi */
}

.container {
  padding: 16px;
}

.container h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #333;
}

/* Responsif */
@media screen and (max-width: 768px) {
  .column {
    flex: 0 0 100%;
  }
}

.image.card, .image.card img {
  box-sizing: border-box;
}

.about-img-card {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.div1 .about-img-card,
.div2 .about-img-card,
.div3 .about-img-card {
  height: 100%;
  width: 100%;
  display: block;
  background-color: orange; /* Warna untuk melihat ukuran card */
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.div1 .about-img-card img,
.div2 .about-img-card img,
.div3 .about-img-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}
