
.team-logo {
  position: absolute;
  top: -60px;
  left: 100px;
  width: 150px;
}



.core-gallery-body {
  background-color: #0a1a2f;
  color: white;
  font-family: 'Arial', sans-serif;
}

.core-gallery-section {
  padding: 80px 20px;
}

.core-gallery-title {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 50px;
  color: white;
}



.core-img {
  border: 4px solid #c58a6a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  width: 100%;
  height: 100%;
  /* max-height: 300px; */
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}

.core-img:hover {
  transform: scale(1.05);
}




.lightbox-modal {
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10000;
  padding: 10px;
  transition: color 0.2s;
}

.lightbox-arrow:hover {
  color: #ffcc00;
}

.lightbox-arrow.left {
  left: 30px;
}

.lightbox-arrow.right {
  right: 30px;
}




/* ========== RESPONSIVE DESIGN FOR GALLERY PAGE ========== */

@media (max-width: 576px) {
  .team-logo {
    position: relative;
    top: 0;
    left: 0;
    width: 100px;
    display: block;
    margin: 0 auto 10px auto;
  }

  .core-gallery-title {
    font-size: 24px;
    text-align: center;
  }

  .core-gallery-section {
    padding: 40px 10px;
  }

  .core-gallery-grid {
    padding: 0 5px;
  }

  .core-img {
  border: 4px solid #c58a6a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  width: 100%;
  height: 250px; /* set a fixed height */
  max-height: 100%;
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  border-radius: 10px;
}

  .lightbox-arrow {
    font-size: 36px;
    padding: 5px;
  }

  .lightbox-close {
    font-size: 30px;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 768px) {
  .core-gallery-title {
    font-size: 32px;
  }

  .core-img {
    height: auto;
    width: 100%;
  }

  .core-gallery-grid {
    row-gap: 20px;
  }
}

