:root {
  --main-green: #16a085;
  --dark-green: #0e7b68;
  --light-green: #eafaf5;
  --white: #ffffff;
}

#peserta-detail {
  background: var(--light-green);
  padding: 60px 0;
}

.profile-card {
  display: flex;
  flex-wrap: wrap;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-left {
  flex: 0 0 30%;
  max-width: 30%;
  background: linear-gradient(135deg, var(--main-green), var(--dark-green));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.profile-left img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

.profile-right {
  flex: 0 0 70%;
  max-width: 70%;
  padding: 50px 40px;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  border-radius: 0 20px 20px 0;
}

.profile-right h2 {
  color: var(--dark-green);
  font-weight: 700;
  margin-bottom: 5px;
}

.profile-right h4 {
  color: #555;
  font-weight: 500;
  margin-bottom: 20px;
}

.profile-right p {
  margin-bottom: 12px;
  color: #555;
}

.badge-status {
  padding: 6px 18px;
  border-radius: 25px;
  background: #198754;
  color: #fff;
  font-size: 0.85rem;
  margin-left: 10px;
}

.info-card {
  background: var(--light-green);
  border-radius: 1rem;
  padding: 20px;
  margin-top: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.info-icon {
  font-size: 1.5rem;
  color: var(--main-green);
  margin-bottom: 8px;
}

.qr-card {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: #f9fff9;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.qr-card img {
  max-width: 150px;
  padding: 8px;
  background: #fff;
  border: 2px solid #198754;
  border-radius: 10px;
}

.btn-green {
  background: var(--main-green);
  color: #fff;
  border: none;
  padding: 10px 25px;
  transition: background 0.3s, transform 0.3s;
}

.btn-green:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .profile-left,
  .profile-right {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    border-radius: 1.2rem;
  }

  .profile-left {
    padding: 30px 20px;
  }

  .profile-left img {
    width: 140px;
    height: 140px;
  }

  .profile-right {
    padding: 30px 20px;
    margin-top: 20px;
  }
}
body {
  background-color: #f8f9fa;
}

#news {
  padding: 60px 0;
}

#news .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

#news .section-title p {
  color: #6c757d;
  margin-bottom: 5px;
}

.news-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  min-height: 56px;
}

.news-content p {
  flex: 1;
  color: #555;
  margin-bottom: 15px;
}

.news-link {
  text-decoration: none;
  color: #198754;
  font-weight: 500;
}

.news-link i {
  transition: transform 0.2s ease;
}

.news-link:hover i {
  transform: translateX(3px);
}
