
.team-logo {
  position: absolute;
  top: -70px;
  left: 80px;
  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;
  /* margin-top: 50px; */
  color: white;
}

.core-gallery-title-2 {
  text-align: center;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 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);
}

.core-card {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.core-card:hover {
  transform: scale(1.03);
}

.core-img {
  width: 100%;
  display: block;
}

.core-name {
  background-color: #000;      /* Black background */
  color: #fff;                 /* White text */
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 18px;
  border: 4px solid #c58a6a;
}

.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;
}



.core-gallery-role {
  background: #000;
  color: #fff;
  padding: 5px;
  margin-top: 2px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  /* letter-spacing: 3px; */
  border: #c58a6a 4px solid;
  text-transform: uppercase;
}






/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 992px) {
  .core-gallery-title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .core-name {
    font-size: 16px;
    padding: 8px;
  }

  .core-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .team-logo {
    top: -40px;
    left: 20px;
    width: 120px;
  }

  .core-gallery-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
  }

  .core-img {
    height: auto;
    max-height: 300px;
  }

  .core-name {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .core-gallery-grid {
    padding: 0 10px;
  }

  .core-card {
    width: 100%;
  }
}


@media (max-width: 576px) {
  .core-gallery-section {
    padding: 40px 10px;
  }

   .team-logo {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin: 0 auto 10px auto;
  }

  .core-gallery-title {
    text-align: center;
    font-size: 22px;
  }

  .core-name {
    font-size: 12px;
    padding: 6px;
  }

  .lightbox-arrow {
    font-size: 40px;
    padding: 5px;
  }

  .lightbox-close {
    font-size: 30px;
    top: 20px;
    right: 20px;
  }
}
