.main-header {
  margin-bottom: 0px !important;
}
.tm-ul > li {
  display: flex;
}
.tm-lbl-key{
  font-weight: bold;
  width: 150px;
  display: inline-block;
}
.tm-lbl-value{
  display: inline-block;
  width: calc(100% - 150px);
}

/* Gallery Styles */

.gallery-container {
  padding: 20px;
}
.masonry-gallery {
  column-count: 3;
  column-gap: 20px;
  margin-top: 30px;
}
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f0f0f0;
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}
.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 15px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  opacity: 0;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Loading Animation */
.gallery-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #122f5d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.open {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  margin: 0 auto;
  position: relative;
}
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}
.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 15px;
  font-size: 1.2rem;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  z-index: 1001;
}
.lightbox-close:hover {
  background: rgba(0,0,0,0.8);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}
.lightbox-button {
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.lightbox-button:hover {
  background: rgba(0,0,0,0.8);
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.gallery-item {
  animation: fadeIn 0.5s ease;
}

/* Filter buttons */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 10px;
}
.filter-btn {
  padding: 8px 16px;
  background: #f0f0f0;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: #122f5d;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}
@media (max-width: 992px) {
  .masonry-gallery {
    column-count: 2;
  }
}
@media (max-width: 768px) {
  .masonry-gallery {
    column-count: 2;
    column-gap: 15px;
  }
  .gallery-item {
    margin-bottom: 15px;
  }
}
@media (max-width: 576px) {
  .masonry-gallery {
    column-count: 1;
  }
  .lightbox-button {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .gallery-filters {
    flex-direction: column;
    align-items: center;
  }
  .filter-btn {
    width: 80%;
    margin-bottom: 5px;
  }
}


/* -------------------------------------------- */


.lightbox-caption {
  display: none;
}