/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}
.card {
  width: 360px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card-front {
  padding: 30px 25px;
  text-align: center;
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #e0e0e0;
  margin-bottom: 15px;
}
h1 {
  font-size: 26px;
  color: #222;
  margin-bottom: 5px;
}
.title {
  font-size: 16px;
  color: #555;
  margin-bottom: 3px;
}
.company {
  font-size: 15px;
  color: #777;
  margin-bottom: 20px;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #444;
}
.contact span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact i {
  color: #0f2027;
}
.social {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.social a:nth-child(1) {
  background: #1877f2; /* Facebook */
}
.social a:nth-child(2) {
  background: #e4405f; /* Instagram */
}
.social a:hover {
  filter: brightness(1.15);
}

/* Responsif kecil */
@media (max-width: 400px) {
  .card {
    width: 90%;
  }
}