/* WEBSITE-LOADER CSS  */

/* LOADER OVERLAY */
.my-gym-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* HIDE */
.my-gym-loader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* TEXT */
.my-gym-loader-text {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 3px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* GRADIENT TEXT FOR ALL LETTERS */
.my-gym-loader-text span {
  opacity: 0;
  transform: translateY(50px) scale(0.8);
  animation: my-gym-loader-pop 0.6s forwards;

  background: linear-gradient(90deg, #085095, #D72631);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  animation-name: my-gym-loader-pop, my-gym-loader-gradient;
  animation-duration: 0.6s, 2s;
  animation-fill-mode: forwards, infinite;
  animation-timing-function: ease, linear;
}

/* KEEP SPACES VISIBLE */
.my-gym-loader-text span.space {
  background: none;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: 10px;
}

/* DELAYS */
.my-gym-loader-text span:nth-child(1) {
  animation-delay: 0.1s, 0s;
}

.my-gym-loader-text span:nth-child(2) {
  animation-delay: 0.2s, 0s;
}

.my-gym-loader-text span:nth-child(3) {
  animation-delay: 0.3s, 0s;
}

.my-gym-loader-text span:nth-child(4) {
  animation-delay: 0.4s, 0s;
}

.my-gym-loader-text span:nth-child(5) {
  animation-delay: 0.5s, 0s;
}

.my-gym-loader-text span:nth-child(6) {
  animation-delay: 0.6s, 0s;
}

.my-gym-loader-text span:nth-child(7) {
  animation-delay: 0.7s, 0s;
}

.my-gym-loader-text span:nth-child(8) {
  animation-delay: 0.8s, 0s;
}

.my-gym-loader-text span:nth-child(9) {
  animation-delay: 0.9s, 0s;
}

.my-gym-loader-text span:nth-child(10) {
  animation-delay: 1s, 0s;
}

/* POP ANIMATION */
@keyframes my-gym-loader-pop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* GRADIENT MOVE ANIMATION */
@keyframes my-gym-loader-gradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* LOADING BAR */
.my-gym-loader-bar {
  width: 140px;
  height: 4px;
  margin-top: 20px;
  background: linear-gradient(90deg, #085095, #D72631);
  border-radius: 10px;
  animation: my-gym-loader-loading 1.5s infinite;
}

/* BAR ANIMATION */
@keyframes my-gym-loader-loading {
  0% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }

  100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
}

/* MOBILE */
@media only screen and (max-width: 767px) {
  .my-gym-loader-text {
    font-size: 28px;
    letter-spacing: 2px;
    gap: 4px;
  }

  .my-gym-loader-overlay img {
    width: 140px !important;
    height: 140px !important;
  }

  .my-gym-loader-bar {
    width: 100px;
  }
}

/* WEBSITE-LOADER CSS  */


/* message show  */

/* MESSAGE CONTAINER */
.my-message-container {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 75%;
  text-align: center;

}

/* MESSAGE BOX */
.my-message-box {
  background: linear-gradient(45deg, #085095, #D72631);
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeSlideDown 0.5s ease;
  text-align: center;
}

/* ANIMATION */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* message show  */

/* gallery.html  */

.gallery-t-box {
  text-align: center;
  margin: 3rem auto;
}

.gallery-t-box h1 {
  color: #085095;
  font-weight: 700;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  /* position: sticky; */
  top: 0;
}

.gallery-header button {
  background: none;
  border: none;
  /* margin: 0 20px; */
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
  padding: 8px 25px;
  border: 1px solid #444;
  background: white;
  color: #050000;
  cursor: pointer;
  border-radius: 30px;
}

.gallery-header button.active,
.gallery-header button:hover {
  background: #085095;
  color: white;


}

.gallery {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
  gap: 50px;
  min-height: 50vh;
}

.gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Video wrapper with play button overlay */
.video-wrapper {
  position: relative;
  display: inline-block;
}

.video-wrapper video {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.video-wrapper:hover video {
  transform: scale(1.05);
}

.video-wrapper::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.equipment-card {
  width: 280px;
  height: 365px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  cursor: pointer;
}

.equipment-card:hover {
  transform: translateY(-5px);
}

.equipment-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.equipment-card .info {
  padding: 15px;
}

.equipment-card .info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: black;
  font-weight: 600;
}

.equipment-card .info p {
  margin: 0;
  font-size: 14px;
  color: #55555598;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}


.lightbox-content img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
}

.lightbox-content video {
  /* max-width: 100%;
  max-height: 75%;
  border-radius: 8px; */
  width: 100%;
    max-width: 900px;
    border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {

  .gallery-header button {
    background: none;
    border: none;
    /* margin: 0 20px; */
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    padding: 8px 15px;
    border: 1px solid #444;
    background: transparent;
    color: #060606;
    cursor: pointer;
    /* border-radius: 30px; */
  }

  .gallery-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    /* position: sticky; */
    top: 0;
  }
}

/* gallery.html  */

/* Results.html  */

.review-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.7);
  display: none;

  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 9999;
}

.review-overlay.active {
  display: flex;
}

.review-overlay-content {
  background: linear-gradient(185deg, #fff, #a5fffd);
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.review-overlay-content img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #007bff;
  margin-bottom: 10px;
  object-fit: cover;
}

.close-btn {
  position: sticky;
  top: 0;
  right: 0;
  float: right;
  font-size: 15px;
  cursor: pointer;
  background: #fff;

  z-index: 10;

}

.close-btn:hover {
  font-size: 16px;


}

#overlayMessage {
  margin-top: 10px;
  line-height: 1.6;


  word-break: break-word;
}

.review-overlay-content::-webkit-scrollbar {
  width: 6px;
}

.review-overlay-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

@keyframes fadeIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Results.html  */


/* event_details.html  */

.event-detail-wrapper {
  max-width: 850px;
  margin: 60px auto 30px;
  padding: 0 20px;
}

.event-detail-card {
  display: flex;
  gap: 30px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.event-detail-card:hover {
  transform: translateY(-4px);
}

.event-detail-image {
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-dts-title{
  color: #085095;
    font-weight: 700;
    margin: 7rem 0 1rem 0;
}

.event-detail-image img {
  width: 300px;
  height: 100%;
  object-fit: cover;
}

.event-detail-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.event-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  width: fit-content;
}

.event-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.event-meta p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.event-meta i {
  margin-right: 8px;
  color: #e63946;
}

.event-description {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 768px) {
  .event-detail-card {
    flex-direction: column;
  }

  .event-detail-image {
    height: 250px;
  }

  .event-title {
    font-size: 22px;
  }
}


/* event_details.html  */