/* Temporary for development stage, recommend to copy these CSS code to frontend.css when production */
section[data-module="our-gallery-slider"] {}
section[data-module="our-gallery-slider"] .slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

section[data-module="our-gallery-slider"] .swiper-slide.swiper-slide-active {
  padding: 20px 20px 70px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Style for gallery images */
section[data-module="our-gallery-slider"] img {
  border-radius: 20px;
  transition: all 0.3s ease;
  cursor: none; /* Hide default cursor */
}
/* Custom text cursor */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);

  background-color: #fff;
}

/* Circular text animation */
.custom-cursor span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: rotateText 10s linear infinite;
  
}

.custom-cursor span p {
  position: absolute;
  width: 10px;
  height: 10px;
  text-align: center;
  transform-origin: center;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  color: #EAC606;
  font-family: "Raleway";
}

/* Keyframes for circular rotation */
@keyframes rotateText {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

section[data-module="our-gallery-slider"] img:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); /* Shadow effect on hover */
  transform: translateY(-10px); /* Moves image 20px up */
}

section[data-module="our-gallery-slider"] .item-row {
    display: flex;
    justify-content: space-between;
	gap: 20px;
}
section[data-module="our-gallery-slider"] .item {
    text-align: left;
    width: calc(20% - 10px); /* Adjust for 5 items in a row */
    margin: 5px;
    padding-bottom: 20px;
    transition: background-color 0.3s ease, border-radius 0.3s ease, color 0.3s ease;
}

section[data-module="our-gallery-slider"] .item:hover {
    background-color: #001F3F;
    border-radius: 20px;
}

section[data-module="our-gallery-slider"] .swiper-pagination {
      text-align: center;
	  color: #fff;
	  font-size: 16px;
	  border-bottom: 2px solid #fff;
	  border-left: 2px solid #fff;
	  border-right: 2px solid #fff;
	  padding-bottom: 7px;
	  box-sizing: border-box;
	  margin: 0px 0 0 665px;
	  width: 5%;
	  border-bottom-left-radius: 10px;
  	  border-bottom-right-radius: 10px;
}
section[data-module="our-gallery-slider"] .swiper-button-prev,
section[data-module="our-gallery-slider"] .swiper-button-next {
  background-image: none !important;
}
section[data-module="our-gallery-slider"] .swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
    cursor: pointer;
}
section[data-module="our-gallery-slider"] .swiper-button-prev {
    left: -50px;
	color:  #FFD700;
}
section[data-module="our-gallery-slider"] .swiper-button-prev:hover {
	color: #fff;
}
section[data-module="our-gallery-slider"] .swiper-button-next {
    right: -50px;
	color:  #FFD700;
}
section[data-module="our-gallery-slider"] .swiper-button-next:hover {
    color: #fff;
}


/* Typical laptop screen size*/
@media (max-width: 1400px) {
    section[data-module="our-gallery-slider"] .slider-container {
        max-width: 100%;
        padding: 0 20px;
    }

    section[data-module="our-gallery-slider"] .swiper-slide.swiper-slide-active {
        padding: 15px 40px 50px 40px;
    }

    section[data-module="our-gallery-slider"] .item {
        width: calc(25% - 10px); /* Adjust to 4 items in a row */
    }

    section[data-module="our-gallery-slider"] .swiper-pagination {
        width: 7%;
    	margin: 0 auto;
		left: 50%;
		transform: translateX(-50%);
		position: absolute;
    }

    section[data-module="our-gallery-slider"] .swiper-button-prev {
        left: 15px;
    }

    section[data-module="our-gallery-slider"] .swiper-button-next {
        right: 15px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 980px) {
	
}

/* Mobile screen size - landscape view */
@media (max-width: 767px) {
   
}

/* Mobile screen size */
@media (max-width: 480px) {
  section[data-module="our-gallery-slider"] .slider-container {
    padding: 0 10px; /* Reduce padding for smaller screens */
  }

  section[data-module="our-gallery-slider"] .swiper-slide.swiper-slide-active {
    padding: 10px 10px 30px 10px; /* Reduce padding */
    gap: 10px; /* Reduce spacing between elements */
  }

  section[data-module="our-gallery-slider"] .item-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 10px; /* Adjust gap for spacing */
  }

  section[data-module="our-gallery-slider"] .item {
    width: 100%; /* Make sure items fill the grid */
    text-align: center;
  }

  section[data-module="our-gallery-slider"] .swiper-pagination {
    width: 15%; /* Increase width for better touch interaction */
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    font-size: 14px; /* Slightly smaller font size */
    padding-bottom: 5px;
	  bottom: 0px;
  }

  section[data-module="our-gallery-slider"] .swiper-button-prev,
  section[data-module="our-gallery-slider"] .swiper-button-next {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  section[data-module="our-gallery-slider"] .swiper-button-prev {
    display: none;
  }

  section[data-module="our-gallery-slider"] .swiper-button-next {
    display: none;
  }
  
  section[data-module="our-gallery-slider"] img {
    width: 100%; /* Ensure images are responsive */
    height: auto;
  }

  section[data-module="our-gallery-slider"] img:hover {
    transform: none; /* Disable hover effects on mobile */
    box-shadow: none;
  }

  /* Hide custom cursor on mobile */
  .custom-cursor {
    display: none;
  }
}

