.tab-navigation {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(248, 249, 250, 0.291);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover {
  background: #00808066;
}

.tab-btn.active {background: #008080;
  
  color: white;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-5px);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.grid-item:hover .image-overlay {
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
p.first-letter-cap {
  text-transform: lowercase; /* make the rest lowercase */
}

p.first-letter-cap::first-letter {
  text-transform: uppercase; /* capitalize the first letter */
}
.name_style {
  font-size: 18px; /* Adjusts text size */
  font-weight: 200; /* 400 = normal, 600 = semi-bold, 700 = bold */
  line-height: 1.6; /* Improves readability */
}
.name_style_excom {
  font-size: 16px; /* Adjusts text size */
  font-weight: 200; /* 400 = normal, 600 = semi-bold, 700 = bold */
  line-height: 1.6; /* Improves readability */
}
.name_style_excom_title {
  font-size: 12px; /* Adjusts text size */
  font-weight: 70; /* 400 = normal, 600 = semi-bold, 700 = bold */
  line-height: 1.6; /* Improves readability */
}
