/* start section video */
.gallery-video {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 30px;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: blur(8px);
}

.overlay-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 0;
}

.btn-selengkapnya {
    display: inline-block;
    background-color: transparent;
    color: #006eff;
    padding: 10px 20px;
    border-radius: 0.375rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-selengkapnya:hover {
  background-color: #e0e0e0;
}

/* Button Styles */
.video-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 0, 0, 0.938);
  color: white;
  border: none;
  padding: 15px 25px;
  font-size: 24px;
  border-radius: 50px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Play button style */
.play-button {
  display: block;
}

/* Pause button style */
.pause-button {
  display: none;
}

.video-control:hover {
  opacity: 1;
}

/* end section video */

/* Gallery and Activities Sections */
.gallery-section,
.activities-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  font-family: sans-serif;
}

.gallery-top,
.activities-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-header,
.activities-header {
  flex: 1;
  min-width: 280px;
}

.gallery-subtitle,
.activities-subtitle {
  color: #d3d3d3;
  font-weight: bold;
}

.subtitle-line {
  height: 2px;
  width: 100%;
  max-width: 700px;
  background-color: #d3d3d3;
  margin-bottom: 1rem;
}

.gallery-title,
.activities-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.gallery-description,
.activities-description {
  margin-bottom: 1rem;
  color: #555;
}

.gallery-link,
.activities-link {
  color: #2f4eb1;
  font-weight: bold;
  text-decoration: underline;
}

.gallery-main-image,
.activities-main-image {
  flex: 1;
  max-width: 400px;
}

.gallery-grid,
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 30px;
}

.gallery-item,
.activities-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img,
.activities-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Caption Styles */
.caption-top {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.75rem 1rem;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  color: white;
}

.caption-title {
  font-size: 0.9rem;
  margin: 0;
}

.caption-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
}

.caption-subtitle {
  font-weight: bold;
  margin: 0;
}

.caption-event {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {

  /* Tablet styles */
  .gallery-video {
    height: 400px;
  }

  .gallery-title,
  .activities-title {
    font-size: 1.6rem;
  }

  .gallery-description,
  .activities-description {
    font-size: 0.95rem;
  }

  .video-control {
    padding: 12px 20px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {

  /* Small tablet styles */
  
  .gallery-top{
    flex-direction: column;
  }
  
  .activities-top {
    flex-direction: column-reverse;
  }

  .gallery-main-image,
  .activities-main-image {
    max-width: 100%;
  }

  .gallery-grid,
  .activities-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .caption-title {
    font-size: 0.8rem;
  }

  .caption-subtitle {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {

  /* Mobile styles */
  .gallery-video {
    height: 300px;
    margin-top: 20px;
  }

  .gallery-section,
  .activities-section {
    padding: 1.5rem;
  }

  .gallery-title,
  .activities-title {
    font-size: 1.4rem;
  }

  .gallery-subtitle,
  .activities-subtitle {
    font-size: 0.9rem;
  }

  .gallery-grid,
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .video-control {
    padding: 10px 16px;
    font-size: 18px;
  }

  .caption-top,
  .caption-bottom {
    padding: 0.5rem;
  }

  .caption-title {
    font-size: 0.75rem;
  }

  .caption-subtitle {
    font-size: 0.85rem;
  }

  .caption-event {
    font-size: 0.7rem;
  }
}

@media (max-width: 360px) {

  /* Small mobile devices */
  .gallery-video {
    height: 250px;
  }

  .gallery-section,
  .activities-section {
    padding: 1rem;
  }

  .video-control {
    padding: 8px 14px;
    font-size: 16px;
  }
}

/* end section gallery and activities */



/* start section awards */
.awards-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-awards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-subtitle {
  display: inline-block;
  /* color: #2f4eb1; */
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  color: #1a237e;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.divider-line {
  width: 50px;
  height: 2px;
  background-color: #2f4eb1;
  margin: 0 10px;
}

.divider-icon {
  color: #2f4eb1;
  font-size: 20px;
}

.section-description {
  color: #949BB8;
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  text-align: center;
}

/* Awards Container - Two Equal Columns */
.awards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Creates exactly 2 equal columns */
  gap: 30px;
}

.award-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.award-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.award-card:hover .award-image img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.award-card:hover .image-overlay {
  opacity: 1;
}

.view-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f4eb1;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #2f4eb1;
  color: #fff;
}

.award-content {
  padding: 20px;
}

.award-title {
  color: #1a237e;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.award-year {
  display: inline-block;
  background: #e8eaf6;
  color: #2f4eb1;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.award-description {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }

  .section-description {
    font-size: 16px;
  }

  .awards-container {
    grid-template-columns: 1fr;
  }

  .award-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .awards-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 14px;
  }
}

/* end section awards */