/* =========================
   DESKTOP (DEFAULT)
========================= */
.award-section {
  padding: 6rem 2rem;
  background-color: #f5f7fa;
  display: flex;
  justify-content: center;
}

.award-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.award-header {
  width: 100%;
}

.award-title {
  font-family: "PlayfairDisplay", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 52px;
  margin-bottom: 1rem;
}

.award-title span {
  font-family: "PlayfairDisplay", serif;
  color: #1f3b73;
  font-weight: 600;
  font-style: inherit;
}

.award-description {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  color: #0b1427;
  max-width: 1360px;
  margin-bottom: 3rem;
}

.awards-hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  /* modern mobile-safe viewport */
  overflow: hidden;
}

.awards-hero-parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video-specific fixes */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
}

/* Image inside picture */
.image-bg,
.image-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

/* =========================
   Awards Group
========================= */

.award-section {
  padding: 6rem 2rem;
  background-color: #f5f7fa;
  display: flex;
  justify-content: center;
}

.award-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1600px;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.award-header {
  width: 100%;
}

.award-title {
  font-family: "PlayfairDisplay", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 52px;
  margin-bottom: 1rem;
}

.award-title span {
  font-family: "PlayfairDisplay", serif;
  color: #1f3b73;
  font-weight: 600;
  font-style: inherit;
}

.award-description {
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  color: #0b1427;
  max-width: 1360px;
  margin-bottom: 3rem;
}
.awards-tabs {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 15px;
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 18px;
  border-radius: 4px;
  font-weight: 600;
  color: #0b1427;
}

.tab-btn.active {
  background: #1f3b73;
  color: #fff;
  border-color: #1f3b73;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.award-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.award-item {
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.award-item img {
  max-width: 100%;
  height: auto;
}

.award-image-wrapper {
  width: 100%;
  max-width: 480px;
  height: 400px;
  background-color: #dfe3e8;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
}

.award-image-wrapper img {
  width: 200px;
}

.detail-award-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 20px;
}

.award-header-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.award-header-detail h3 {
  font-family: "PlayfairDisplay", sans-serif;
  font-size: 32px;
  color: #0b1427;
  font-weight: 600;
}

.award-header-detail p,
.award-year {
  font-size: 24px;
  font-weight: 800;
  color: #1f3b73;
  text-wrap: balance;
}

.awardee-details {
  font-size: 18px;
  font-weight: 200;
}

/* =========================
   TABLET (≤ 1024px)
========================= */
@media (max-width: 1024px) {
  .awards-hero-section {
    height: 75vh;
  }

  /* Disable heavy parallax for tablet GPUs */
  .awards-hero-parallax {
    transform: none !important;
  }

  .awards-header h1 {
    font-size: 2.4rem;
  }

  .tab-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .awards-section {
    padding: 60px 40px;
  }

  .award-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .award-item {
    width: 100%;
  }
}

/* =========================
   MOBILE (≤ 768px)
========================= */
@media (max-width: 768px) {
  .awards-hero-section {
    height: 450px;
  }

  .awards-hero-parallax {
    transform: none !important;
  }

  .awards-header h1 {
    font-size: 1.9rem;
  }

  .hero-bg-video,
  .hero-image {
    height: 100%;
  }

  .awards-section {
    padding: 40px 20px;
  }

  .tab-buttons {
    justify-content: center;
  }

  .tab-btn {
    font-size: 16px;
    padding: 8px 12px;
  }

  .award-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .award-item {
    align-items: center;
    text-align: center;
  }
}
