root {
  --primary: rgb(59, 130, 246);
  --bg: #010101;
  --box-shadow: 0 0.5rem 1rem rgba(255, 255, 255, 0.1);
  --border: 0.1rem solid rgba(255, 255, 255, 0.2);
  --white: #fff;
  --bg-card: rgba(255, 255, 255, 0.1);
  --gray: #808080;
  --header-height: 3.5rem;
  --font-regular: 400;
  --font-semi-bold: 600;
  --z-tooltip: 10;
  --z-fixed: 100;
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.form-form-container{
  margin-top: 100px;
}
.team-section-service {
  position: relative;
  padding: 1rem 14%;
  background-color: var(--primary);
  margin-top: 100px;
}

.team-section-service h1 {
  text-align: center;
  font-size: 3rem;
  margin: 0 0 2rem;
  color: var(--white);
  text-transform: capitalize;
  letter-spacing: 0.1rem;
}

.team-section-service .our-team {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: space-evenly;
  gap: 2rem;
}

.team-section-service .our-team .team {
  position: relative;
  width: 200px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  border-radius: 0.625rem;
  overflow: hidden;
  background-color: var(--white);
}

.team-section-service .our-team .team:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease-in-out;
  transform: scale(1.03);
}

.team-section-service .our-team .team img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Menjamin gambar mengisi area tanpa distorsi */
}

.team-section-service .our-team .team .team-role {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
}

.team-section-service .our-team .team .info {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  top: 3rem;
  width: 90%;
  color: var(--white);
  text-align: center;
  padding: 0.6rem;
  border-radius: 5px;
  display: none;
}
.div{
  margin-top: 300px;
}

.team-section-service .our-team .team:hover .info {
  display: block;
  transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 1366px) {
  .team-section-service .our-team {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .team-section-service .our-team {
    grid-template-columns: repeat(2, 1fr); /* Membagi dua gambar per baris di tablet */
    gap: 1.5rem; /* Menyesuaikan jarak antar gambar di layar tablet */
  }

  .team-section-service .our-team .team {
    width: 180px; /* Menyesuaikan lebar gambar di tablet */
    height: 260px; /* Menyesuaikan tinggi gambar di tablet */
  }
}

@media screen and (max-width: 450px) {
  .team-section-service .our-team {
    grid-template-columns: repeat(2, 1fr); /* Membagi menjadi dua gambar per baris */
    gap: 1rem; /* Menambahkan jarak antar gambar */
    justify-items: center; /* Memusatkan gambar secara horizontal */
    align-items: center; /* Memusatkan gambar secara vertikal */
  }

  .team-section-service .our-team .team {
    width: 150px; /* Menyesuaikan lebar gambar agar lebih sesuai di layar kecil */
    height: 220px; /* Menyesuaikan tinggi gambar */
  }

  .team-section-service {
    padding: 1rem 5%; /* Mengurangi padding di sisi layar pada perangkat mobile agar lebih responsif */
  }
}

