body {
  background: #040D12;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.product-title {
  font-size: 42px;
  /* font-weight: 600px; */
}
.title-line {
  width: 60px;
  height: 3px;
  background: #5C8374;  
  margin-top: 10px;
}

.product-description {
  max-width: 800px;
  line-height: 1.7;
  color: #ffffff;
  text-align: justify; 
}

/* Thumbnail styling */
.thumb{
  width: 100%;
  border: 2px solid rgba(94, 94, 94, 0.356);
  padding: 10px;
  cursor: pointer;
  transition: 0.3s;
  background: #1e1e1e;
}

.thumb:hover {
  border: 2px solid #5C8374;
}

.thumb.active {
  border: 2px solid white;
}

/* Main image box */
.main-image-box {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid #040D12;
  padding: 30px;
  background: #1e1e1e;
  text-align: center;
}

.main-image-box:hover{
border: 2px solid #5C8374;
 
}
.main-image-box img {
  max-height: 400px;
  object-fit: contain;
  width: 100%;
  transition: transform 0.2s ease;
}

.main-image-box.zoomed img {
  transform: scale(2);   /* Zoom level */
}
/* Buttons */
.custom-btn {
  border: 1px solid #5c8374;
  background-color: #1e1e1e;
  color: #fff;
  padding: 12px;
  transition: 0.3s;
}

.custom-btn:hover {
  background: #5c8374;
  color: #040D12;
}

/* Tabs */
.custom-tabs .nav-link {
  background: transparent;
  color: #ffffff;
  border: 1px solid #183D3D;
  margin-right: 8px;
  padding: 10px 20px;
  transition: 0.3s;
}

.custom-tabs .nav-link.active {
  background: #5c8374;
  color: #ffffff;
  border-color: #5c8374;
}

.custom-tabs .nav-link:hover {
  background: #5c8374;
  color:#ffffff;
}

/* Section Title */
.section-title {
  background: #1a1a1a;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 20px;
  border-left: 6px solid #5c8374;
  margin-bottom: 20px;
}

.section-text {
  color: #ffffff;
  line-height: 1.7;
  text-align: justify; 
}

/* Table */
.custom-table {
  color: #fff; 
  border: 1px solid #183D3D;
}

.custom-table td {
  border: 1px solid #183D3D;
  padding: 12px;
  background-color: #040D12;
  vertical-align: middle;
  color: white;
}
.custom-table tr:nth-child(even) {
  background: #040D12;
}

.category {
  font-weight: 600;
  background: #0f0f0f;
}

/* Tab Content */
.tab-content-box {
  display: none;
}

.active-tab {
  display: block;
}
.overview-image {
  background: #040D12;
  padding: 20px;
  text-align: center;
  border: 1px solid #183D3D;
}

.overview-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.info-section {
  background: #000;
  color: #fff;
}

.section-heading {
  font-size: 32px;
  font-weight: 600;
}

.section-para {
  color: #ccc;
  line-height: 1.7;
  font-size: 16px;
  text-align: justify; 
}

.info-img {
  max-height: 400px;
  object-fit: contain;
  transition: 0.4s ease;
}

.info-img:hover {
  transform: scale(1.05);
}
  /* .application-block {
  padding: 60px 0;
} */

.animated-divider {
  margin: 20px 0 40px 0;
}
  .animated-divider {
    width: 100%;
    height: 2px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}
 
.animated-divider::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        #5C8374,   
        transparent
    );
    animation: moveLine 2s linear infinite;
}
.gallery-box {
  background: #040D12;
  padding: 15px;
  border: 1px solid #222;
  text-align: center;
  transition: 0.4s ease;
}

.gallery-img {
  max-height: 200px;
  object-fit: contain;
  transition: 0.4s ease;
}

.gallery-box:hover {
  border: 1px solid #1fa51f;
  transform: translateY(-5px);
}

.gallery-box:hover .gallery-img {
  transform: scale(1.05);
}
.related-products {
  background: #040D12;
}

.product-card {
  cursor: pointer;
}

.image-wrapper {
  position: relative;
  background: #040D12;
  padding: 20px;
  overflow: hidden;
}

.image-wrapper img {
  transition: 0.4s ease;
}

/* Hover Green Circle */
.hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 70px;
  height: 70px;
  background: #5c8374;
  color: #040D12;
  font-size: 28px;
  text-align: center;
  line-height: 70px;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.4s ease;
}

/* Dark overlay */
.image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: 0.4s ease;
}

/* Hover Effects */
.image-wrapper:hover img {
  transform: scale(1.05);
}

.image-wrapper:hover::after {
  opacity: 1;
}

.image-wrapper:hover .hover-icon {
  transform: translate(-50%, -50%) scale(1);
}

/* Product title */
.description {
  color: #ccc;
  font-size: 15px;
  line-height: 1.5;
}


@keyframes moveLine {
    0% {
        left: -50%;
    }
    100% {
        left: 100%;
    }
}
/* Section */
.product-section {
  background: linear-gradient(to bottom, #040D12, #040D12);
  color: #fff;
}

/* Title */
.section-title {
  font-weight: 600;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: #5c8374;
  margin: 10px auto 0;
}

/* Product Slider */
.product-slider {
  scroll-behavior: smooth;
}

/* Card */
.related_products_end {
  display: block;
  text-decoration: none;
  color: #fff;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  margin: 0 10px;
}

.related_products_end img {
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

/* Hover Effects */
.related_products_end:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, #123030, #183D3D, #5C8374);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.related_products_end:hover img {
  transform: scale(1.05);
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #183D3D;
  border: none;
  color: #fff;
  font-size: 28px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: none;
  transition: 0.3s;
}

.slider-btn:hover {
  background: #5C8374;
}

.left-btn {
  left: -20px;
}

.types{

    max-width:80%;

}
.right-btn {
  right: -20px;
}
.carousel-item img {
      max-height: 300px;
      object-fit: contain;
      margin: auto;
    }
    .product-name {
      text-align: center;
      margin-top: 10px;
      font-weight: 500;
    }
    .carousel-control-prev,
    .carousel-control-next {
      width: 5%;
    }
/* Responsive Adjustments */
@media (max-width: 768px) {
  .slider-btn {
    display: block;
  }
}


/* ---------- Responsive Breakpoints ---------- */

/* 992px */
@media (max-width: 992px) {
  .slider-btn {
    display: block;
  }
  .product-title {
    font-size: 32px;
  }
  .section-title {
    font-size: 18px;
  }
  .section-heading {
    font-size: 26px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .thumbnail-wrapper {
    justify-content: center;
  }

  .thumb {
    width: 30%;
  }

  .main-image-box img {
    max-height: 300px;
  }
  
  .custom-tabs {
    flex-wrap: wrap;
  }

  .custom-tabs .nav-link {
    margin-bottom: 10px;
  }

  .custom-table td {
    font-size: 14px;
  }
    .overview-image {
    padding: 15px;
  }
  .section-heading {
    font-size: 22px;
  }

  .section-para {
    font-size: 14px;
  }

  .info-img {
    max-height: 300px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .product-title {
    font-size: 24px;
  }

  .thumb {
    width: 30%;
  }

  .custom-btn {
    width: 100% !important;
  }
    .custom-tabs .nav-link {
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 16px;
  }

  .custom-table td {
    font-size: 12px;
    padding: 8px;
  }
    .overview-image {
    padding: 10px;
  }
  .section-heading {
    font-size: 20px;
  }

  .section-para {
    font-size: 13px;
  }

}
