/* Background & Title Styling */
.award-section {
  background: linear-gradient(180deg, #033674 0%, #01214a 100%);
  position: relative;
  overflow: hidden;
}

.section-title {
  letter-spacing: 2px;
  font-size: 1.5rem;
}

.title-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c59b27, #f3e08c);
  border-radius: 2px;
  margin-top: 8px;
}

/* Card Styling */
.award-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.award-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(212, 175, 55, 0.5);
}

/* Badge Laurel Effect (Emas) */
.laurel-wreath {
  border: 2px dashed #d4af37;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.award-inner-text .sub-heading {
  font-size: 0.6rem;
  color: #d4af37;
  display: block;
  letter-spacing: 1px;
}

.award-title {
  font-size: 0.75rem;
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Banner Ribbon Emas */
.ribbon-banner {
  background: linear-gradient(90deg, #b8860b, #e6ca65, #b8860b);
  color: #000;
  font-size: 0.55rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: -10px;
  display: inline-block;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Card Text Details */
.award-desc {
  color: #d0dceb;
  font-size: 0.7rem;
  line-height: 1.3;
}

.award-category {
  color: #8ab4f8;
  font-size: 0.6rem;
  letter-spacing: 0.5px;
}

/* Custom Navigation Arrow Buttons */
.custom-nav {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border-radius: 50%;
  top: 45%;
  opacity: 0.9;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel-control-prev.custom-nav {
  left: -15px;
}

.carousel-control-next.custom-nav {
  right: -15px;
}

.carousel-control-prev-icon-custom,
.carousel-control-next-icon-custom {
  color: #033674;
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 36px;
}

.custom-nav:hover {
  background-color: #d4af37;
}

.custom-nav:hover .carousel-control-prev-icon-custom,
.custom-nav:hover .carousel-control-next-icon-custom {
  color: #ffffff;
}

/* Carousel Indicators (Dots) */
.custom-indicators {
  position: relative;
  margin-top: 25px;
  margin-bottom: 0;
}

.custom-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0 4px;
}

.custom-indicators .active {
  background-color: #d4af37;
  width: 10px;
  height: 10px;
}
.award-img {
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.award-card:hover .award-img {
  transform: scale(1.05);
}
/* Container Pembungkus Gambar */
.img-wrapper {
  height: 75px; /* Tentukan tinggi seragam kartu di sini */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

/* OPSI A: Gambar pas di tengah tanpa terpotong (Recomended untuk Sertifikat/Piagam) */
.award-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Gambar dipaksa pas tanpa terpotong */
  transition: transform 0.3s ease;
}

/* 
   OPSI B: Jika ingin gambar benar-benar memenuhi seluruh area (Crop Otomatis)
   Ubah object-fit menjadi cover:
   .award-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
   }
*/

.award-card:hover .award-img {
  transform: scale(1.05);
}