/* Services Page Styles */

/* Services Hero Section */
.services-hero-section {
  padding: 80px 0 50px;
  background-color: #f8f9fa;
}

.services-hero-section .pbmit-title {
  margin-bottom: 20px;
  font-size: 42px;
  font-weight: 700;
}

.services-hero-section p {
  max-width: 800px;
  margin: 0 auto;
  color: #666;
  font-size: 18px;
}

/* Services Grid Section */
.services-grid-section {
  padding: 50px 0;
}

.service-card {
  border: 1px solid #eaeaea;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-image {
  height: 100%;
  overflow: hidden;
}

.service-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.service-description {
  font-size: 15px;
  color: #666;
  flex-grow: 1;
  margin-bottom: 15px;
}

/* Service Detail Sections */
.service-detail-section {
  padding: 70px 0;
}

.service-detail-section:nth-child(odd) {
  background-color: #f8f9fa;
}

.service-detail-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-content {
  padding: 20px;
}

.service-detail-content h2 {
  color: #2e8b57;
  margin-bottom: 20px;
  font-weight: 700;
}

.service-detail-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Gallery Section Styles */
.pbmit-gallery-section {
  padding: 70px 0;
  background-color: #f8f9fa;
}

.pbmit-gallery-tabs {
  max-width: 1100px;
  margin: 0 auto;
}

.pbmit-gallery-tabs .nav-tabs {
  border: none;
  justify-content: center;
  margin-bottom: 30px;
}

.pbmit-gallery-tabs .nav-link {
  color: #333;
  font-weight: 600;
  padding: 10px 25px;
  border: none;
  border-radius: 30px;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.pbmit-gallery-tabs .nav-link.active,
.pbmit-gallery-tabs .nav-link:hover {
  background-color: #2e8b57;
  color: #fff;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

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

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icons {
  display: flex;
  gap: 15px;
}

.gallery-icons a {
  width: 45px;
  height: 45px;
  background-color: #2e8b57;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-icons a {
  transform: translateY(0);
  opacity: 1;
}

.gallery-icons a:hover {
  background-color: white;
  color: #ff5e14;
}

/* Video Items */
.video-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.video-thumbnail {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.video-thumbnail img,
.video-thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: #2e8b57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-icon:hover {
  background-color: #ff5e14;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
  padding: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* Upload Button Styles */
.upload-container {
  margin: 20px 0;
}

.upload-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ff5e14;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 94, 20, 0.3);
}

.upload-btn:hover {
  background-color: #e04b00;
  transform: translateY(-3px);
}

.upload-btn i {
  margin-right: 8px;
}

.file-input {
  display: none;
}

/* Modal Styles */
.modal-fullscreen-md-down {
  max-width: 90vw;
}

.image-container,
.video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 15px;
}

.modal-image,
.video-container video {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Modal Responsive Adjustments */
@media (max-width: 768px) {
  .modal-fullscreen-md-down {
    max-width: 100vw;
    margin: 0;
  }

  .image-container,
  .video-container {
    padding: 10px;
  }

  .modal-image,
  .video-container video {
    max-height: 80vh;
  }
}

.service-features {
  margin: 30px 0;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.service-feature-icon {
  color: #ff5e14;
  margin-right: 15px;
  font-size: 20px;
}

.service-feature-text {
  font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .services-hero-section .pbmit-title {
    font-size: 36px;
  }

  .service-title {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .services-hero-section {
    padding: 60px 0 30px;
  }

  .services-hero-section .pbmit-title {
    font-size: 30px;
  }

  .service-card {
    margin-bottom: 30px;
  }

  .service-image {
    height: 200px;
  }

  .service-detail-section {
    padding: 50px 0;
  }

  .service-detail-image {
    margin-bottom: 30px;
  }
}
