* {
  font-family: 'Poppins', sans-serif;
}

body{
  margin: 0;
}

.malahayati-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #0e2564, #7c91cd);
  color: #333;
}

.title {
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
}

.profile img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: 0.3s;
}

.profile img:hover {
  transform: scale(1.08);
}

.julukan {
  color: white;
  margin-top: 10px;
  font-weight: bold;
}

/* CARD */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  width: 250px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
}

.card h3 {
  color: #0e2564;
}

h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

/* TIMELINE */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto;
  padding-left: 20px;
  border-left: 3px solid #0e2564;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s forwards;
}
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }

.timeline-item .dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: #0a2d8e;
  border-radius: 50%;
}

.timeline-item .content {
  background: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.timeline-item .content:hover {
  transform: translateX(5px);
}

.timeline-item h4 {
  margin-bottom: 1px;
  color: #0e2564;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: linear-gradient(45deg, #041543, #123186);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(9, 47, 109, 0.7);
  background: linear-gradient(45deg, #091e5a, #2a58e4);
}

.btn:active {
  transform: scale(0.95);
}

.detail {
  max-width: 600px;
  margin: 20px auto;
  display: none;
  animation: fadeIn 0.5s ease-in-out;
  color: white;
}
