  <!-- Linking SwiperJS script -->

.slider-wrapper {
  overflow: hidden;
}
		
 .homeactivity-card {
  height: 400px;
  width: 300px;
  background-color: #c3c3c3;
  border-radius: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  display: flex;
  flex-direction: column; /* Allows content to stack vertically */
  overflow: hidden; /* Ensures no overflow of content */
}
 .homeactivity-card:hover {
  background-color: #ea8a01;
}
.image-container {
  position: relative; /* Allows absolute positioning of overlay */
  width: 100%;
  height: 90%;
  overflow: hidden; /* Ensures no overflow of content */
  border-radius: 40px;
}
.activity-image {
  width: 100%;
  height: 90%;
  object-fit: cover; /* Ensures the image covers the area proportionally */
  border-radius: 40px;
}
.image-container img {
  width: 100%;
  height: 90%;
  object-fit: cover; /* Ensures the image covers the area proportionally */
  border-radius: 40px;
}
.homeactivity-card .activity-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 10px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.homeactivity-card .activity-title {
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  color: #333333;
  padding: 5px 10px;
}

.homeactivity-card .activity-hover-title {
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  color: #333333;
  padding: 5px 10px;
  display: none;
}
.homeactivity-card:hover .activity-title {
  display: none; /* Hide the original title */
}
.homeactivity-card:hover .activity-hover-title {
  display: block; /* Show the hover title */
  color: #fff;
}
.overlay-container {
  position: absolute; /* Position relative to the image-container */
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  border-radius: 40px;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Semi-transparent black overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth fade-in effect */
  z-index: 1; /* Ensures the overlay appears above the image */
}

.overlay-container .activity-overlay-title {
  font-weight: 600;
  text-align: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.overlay-container .overlay-description {
  width: 80%;
  font-size: 14px;
  color: #fff;
  text-align: center;
}

.activity-card:hover .overlay-container {
  opacity: 1; /* Show overlay on hover */
}
.slider-wrapper .swiper-pagination-bullet {
  background: #fff;
  height: 13px;
  width: 13px;
  opacity: 0.5;
}

.slider-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
}

.slider-wrapper .swiper-slide-button {
  color: #fff;
  margin-top: -55px;
  transition: 0.2s ease;
}

.slider-buttons {
	z-index:9999;
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-buttons div {
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  transition: color 0.3s;
}

.slider-buttons div img{
  width: 40px;
  height:40px;
}

.slider-wrapper .swiper-slide-button:hover {
  color: #4658ff;
}

@media (max-width: 968px) {
	 .homeactivity-card {
			height: 300px;
			width: 200px;
	}
}

@media (max-width: 768px) {
  .slider-wrapper {
    margin: 0 10px 40px;
  }

  .slider-wrapper .swiper-slide-button {
    display: none;
  }
	
	 .homeactivity-card {
			height: 300px;
			width: 200px;
	}
}

@media (max-width: 480px) {
	 .homeactivity-card {
			height: 300px;
			width: 200px;
	}
}