.imagegallery img {
    cursor: pointer;
}
html {
  scroll-behavior: smooth;
}

.hidden {
    display: none;
}

#navbar16 li {
    text-align: center;
}
   .album-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.gallery-section {
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  text-align: center;
}

h1.text-center {
  margin-bottom: 30px;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the items */
  gap: 20px;
  max-width: 1200px; /* Limit the gallery width */
}

.album {
  position: relative;
  width: 300px;
  background-color: #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album:hover {
  transform: scale(1.05);
}

.album-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #ddd;
}

.album-info {
  padding: 15px;
  background-color: #fff;
  text-align: center;
}

.album-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.album-description {
  font-size: 16px;
  color: #777;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
  padding: 10px;
}



#large-image-container {
    height: 80vh;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.modal-large-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
}

.modal-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  overflow-x: auto;
}

.modal-gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-gallery img:hover {
  transform: scale(1.1);
}

.modal-controls {
  position: absolute;
bottom: 14vh;
  left: 50%;
  transform: translateX(-50%);
}

.prev-btn, .next-btn {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 10px;
}

.prev-btn:hover, .next-btn:hover {
  background-color: #444;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  color: white;

  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}



@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column;
    align-items: center;
  }

  .album {
    width: 100%;
    margin-bottom: 20px;
  }

  .modal-large-image {
    max-width: 100%;
    max-height: 70vh;
  }



  .modal-gallery img {
    width: 60px;
    height: 60px;
  }

  .prev-btn, .next-btn {
    padding: 8px 16px;
  }


}






/* Modal container to cover the full screen */
.modal {
  display: none; /* Hide modal by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

.modal-content {
    position: relative;
    max-width: 100%;
    max-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #121212;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
}

/* The large image inside the modal */
.modal-content img.large-image {
  width: 100%; /* Make the image take up the full width */
  max-height: calc(80vh - 50px); /* Ensure the image does not overflow and leaves room for thumbnails */
  object-fit: contain; /* Maintain aspect ratio while scaling */
  margin-bottom: 10px;
}

/* Thumbnail container */
.thumbnail-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto; /* Allow horizontal scrolling for thumbnails */
  padding: 10px;
  background-color: #f8f8f8;
  width: 100%;
  border-top: 1px solid #ddd;
}

/* Thumbnails */
.thumbnail-container img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

/* Thumbnails hover effect */
.thumbnail-container img:hover {
  transform: scale(1.1);
}

/* Close button style */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #3b3b3b;
  color: white;
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.close:hover {
  background-color: red;
}

.modal-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
padding: 10px;
}
/* Ensure nothing is selectable in the modal */
* {
  user-select: none; /* Prevent any text or image selection */
}


/* Scanlines Effect */
.scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Make sure scanlines don't interfere with clicking */
  background: repeating-linear-gradient(
    0deg,
    rgba(50, 70, 50, 0.6),
    rgba(50, 70, 50, 0.6) 2px,
    rgba(0, 20, 0, 0.6) 2px,
    rgba(0, 20, 0, 0.6) 4px
  );
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.read-more-btn {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.read-more-btn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}


.hidden {
  display: none; /* Ensure the content is completely hidden when not active */
}

.expanded-section {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.expanded-section.active {
  opacity: 1;
  max-height: 500px; /* Adjust as needed for your content */
}

 .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .card-img-top {
    max-height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #ffa800;
  }

  .card-title {
    font-weight: 700;
    font-size: 1.25rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
  /* General Styling */
  .bg-info {
    background-color: #17a2b8 !important;
  }

  .text-white h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .slide-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.8s ease;
  }

  .slide-in.visible-slide {
    opacity: 1;
    transform: translateY(0);
  }
/* Initial hidden state */
.hidden-slide {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

/* Visible state with animation */
.visible-slide {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Styling for the FAQ card titles */
.faq-card-title {
  background-color: #f4f4f4; /* Light background */
  color: #333; /* Dark text color */
  padding: 10px 15px; /* Add padding to make it look more polished */
  border-radius: 5px; /* Rounded corners */
  font-size: 1.25rem; /* Slightly larger text for emphasis */
  font-weight: 600; /* Bold text for importance */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for a modern feel */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition on hover */
}

.faq-card-title:hover {
  background-color: #e0e0e0; /* Darker shade of the light background on hover */
  color: #000; /* Darker text color on hover for contrast */
}
/* General Form Styling */
form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form Field Styling */
.form-group {
  margin-bottom: 20px;
}

input.form-control, select.form-control, textarea.form-control {
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input.form-control:focus, select.form-control:focus, textarea.form-control:focus {
  border-color: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
  outline: none;
}

textarea.form-control {
  resize: vertical;
}

small.form-text {
  font-size: 0.85rem;
}

/* Submit Button */
#submit-btn {
  border-radius: 6px;
  padding: 12px 25px;
  font-size: 1.1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#submit-btn:hover {
  background-color: #45a049;
}

.form-footer {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}
#service-type{
height:3rem
}
/* Responsive Design */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 15px;
  }
  #submit-btn {
    width: 100%;
  }
}
/* Option Styling */
#service-type option {
  background-color: #fff;
  color: #333;
  padding: 10px;
}

/* Optional: Customize the placeholder style when the "Select" option is visible */
#service-type option:first-child {
  color: #999;
}