/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
}

/* Hero Section */


/* Gallery Section */
#gal-card {
  text-align: center;
  padding: 40px;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.gallery-card {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.gallery-card:hover {
  transform: scale(1.05);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide additional images initially */
.hidden {
  display: none;
}

/* Load More Button */
#loadMore {
  display: block;
  margin: 20px auto;
  padding: 12px 20px;
  background-color: #EA7B26;
  color: white;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

#loadMore:hover {
  background-color: #0056b3;
}

/* Modal Styles */
#imageModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

#imageModal .modal-content {
  max-width: 90%;
  max-height: 80%;
  margin: 5% auto;
  display: block;
  border-radius: 10px;
}

#imageModal .close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}

#imageModal .close:hover {
  color: red;
}
.hidden {
  display: none; /* Hides extra images */
}


/* close buttion   */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* close buttion  end */



/* videos section  */
/* Video Section */
#videos {
  text-align: center;
  padding: 50px 20px;
  background: #f9f9f9;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* Video Container */
.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Video Cards */
.video-card {
  position: relative;
  width: 320px;  /* Fixed width */
  height: 200px; /* Fixed height */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.3);
}

/* Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

/* Video Styling */
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures videos cover the entire area without distortion */
  border-radius: 12px;
  transition: filter 0.3s ease-in-out;
}

.video-card:hover video {
  filter: brightness(0.7);
}

/* Caption Styling */
.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Show caption on hover */
.video-card:hover .video-caption {
  opacity: 1;
  transform: translateY(0);
}

/* load  */
/* Load More Button */
#loadMoreVideos {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

#loadMoreVideos:hover {
  background-color: #0056b3;
}

/* Hide videos initially */
.hidden {
  display: none;
}


/* videos section end */