.highlights-section {
  padding: 70px 0 80px;
  background: #f5f0e8;
  text-align: center;
  border-top: 1px solid #ddd5c0;
}

.highlights-section .section-eyebrow {
  margin-bottom: 8px;
}

.highlights-section .divider-line {
  margin-bottom: 30px;
}
  .mediaTabs-container { max-width: 1200px;
    margin: 0 auto;
       padding: 0 1.5rem;}
/* Tabs */
.tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid #ddd5c0;
  border-radius: 3px;
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 22px;
  cursor: pointer;
  background: #fff;
  color: #777;
  border: none;
  outline: none;
  transition:
    background 0.2s,
    color 0.2s;
  /* font-family: "Lato", sans-serif; */
}

.tab-btn.active {
  background: #003087;
  color: #fff;
}

.tab-btn:hover:not(.active) {
  background: #ede8dc;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 48, 135, 0.12);
}

.gallery-thumb {
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  aspect-ratio: 4/3;
  background: #ede8dc;
  position: relative;
  overflow: hidden;
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-card:hover .gallery-thumb::after {
  opacity: 1;
}

/* Colored placeholder pattern for each card */
.gallery-thumb.c1 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/100049443122222222.png");
  background-size: cover;
  background-position: center;
}

.gallery-thumb.c2 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/1000494703.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery-thumb.c3 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/1000494436.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery-thumb.c4 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/1000494416.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery-thumb.c5 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/1000494429.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery-thumb.c6 {
  background: linear-gradient(135deg, #c8d8e8 0%, #a8c0d8 100%);
  background-image: url("clientlib/css/images/1000490751.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery-caption {
  padding: 14px 16px;
  text-align: left;
  display: none;
}

.gallery-caption h4 {
  /* font-family: "Playfair Display", serif; */
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

.video-card:hover .gallery-thumb img {
  filter: blur(1px);
  transform: scale(1.12);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  padding-left: 5px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.12);
  background: #fff;
}

.gallery-caption {
  padding: 18px;
}

.gallery-caption h4 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.gallery-caption p {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tabs-bar {
    display: grid !important;
    justify-content: normal !important;
    width: 100% !important;
  }
}

/* Video card play button */
.video-card .gallery-thumb {
  position: relative;
}

.video-card .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.video-card:hover .gallery-thumb img {
  transform: scale(1.08);
  filter: brightness(0.75);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #003087;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.15);
  background: #003087;
  color: #fff;
}

/* Small "VIDEO" badge */
.video-card .gallery-thumb::before {
  content: "VIDEO";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 3px;
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.video-modal.open {
  display: flex;
}

.video-modal-content {
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  min-height: 200px;
}

.video-modal-content video {
  width: 100%;
  height: auto;
  max-height: 75vh;
  display: block;
  background: #000;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-modal-content video.ready {
  opacity: 1;
}

.video-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 1;
}

.video-loader.hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-caption h4 {
    font-size: 16px;
  }

  .gallery-caption p {
    font-size: 13px;
  }
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-thumb img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox-img {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 15px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}
.video-modal-close {
  position: fixed;
  top: 20px;
  right: 25px;
  width: 40px;
  height: 40px;
  z-index: 1000000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 50%;

  font-size: 28px;
  line-height: 1;
  cursor: pointer;

  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: #fff;
  color: #000;
}
span.close.video-modal-close {
    position: absolute;
    top: 0;
    color: #fff;
    font-size: 32px;
    right: 0;
    z-index: 999;
    cursor: pointer;
}