/* Header Styles */
.custom-page-header {
    background-color: #2d2e32;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
  }

  .custom-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }

  .custom-logo {
    height: 50px;
    transition: transform 0.3s;
    z-index: 1002;
  }

  .custom-logo:hover {
    transform: scale(1.05);
  }

  .custom-navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
  }

  .custom-navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.3s;
  }

  .custom-navbar-nav-wrap {
    display: flex;
    transition: all 0.3s ease;
  }

  .custom-navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .custom-nav-item {
    margin-left: 30px;
    position: relative;
  }

  .custom-nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
    position: relative;
    font-size: 16px;
  }

  .custom-nav-link:hover {
    color: #d9534f;
  }

  .custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d9534f;
    transition: width 0.3s;
  }

  .custom-nav-link:hover::after {
    width: 100%;
  }

  .custom-nav-item.active .custom-nav-link {
    color: #d9534f;
  }

  .custom-nav-item.active .custom-nav-link::after {
    width: 100%;
  }

  /* Mobile Overlay Styles */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  /* Responsive Styles */
  @media screen and (max-width: 768px) {
    .custom-navbar {
      padding: 10px 20px;
    }
    
    .custom-logo {
      height: 40px;
    }
    
    .custom-navbar-toggle {
      display: block;
    }

    .custom-navbar-nav-wrap {
      position: fixed;
      top: 0;
      right: -100%;
      width: 280px;
      height: 100vh;
      background-color: #2d2e32;
      flex-direction: column;
      justify-content: flex-start;
      padding-top: 80px;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
      z-index: 1001;
      transition: right 0.3s ease;
    }

    .custom-navbar-nav-wrap.active {
      right: 0;
    }

    .mobile-menu-overlay.active {
      display: block;
    }

    .custom-navbar-nav {
      flex-direction: column;
      width: 100%;
    }

    .custom-nav-item {
      margin: 0;
      width: 100%;
      text-align: left;
      padding: 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .custom-nav-link {
      padding: 15px 25px;
      display: block;
      font-size: 16px;
    }

    /* Hamburger to X animation */
    .custom-navbar-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .custom-navbar-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .custom-navbar-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }
  }

  /* Ensure content is visible below header */
  main {
    padding-top: 20px;
  }

  
/* Modal for enlarged image */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	overflow: auto;
}

.modal-content {
	display: block;
	margin: auto;
	max-width: 90%;
	max-height: 90%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

/* Mobile styles */
@media (max-width: 991px) {
	.carousel-container {
		display: block;
	}

	.thumbnails-wrapper {
		display: none;
	}

	/* Include more images in carousel on mobile */
	.thumbnail-carousel {
		display: flex;
	}
}

/* Zoom container adjustments */
.zoomContainer {
	z-index: 100;
}



.table-container {
	width: 90%;
	max-width: 800px;
	overflow-x: auto;
  }

  table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  th,
  td {
	padding: 12px;
	text-align: left;
	border-bottom: 1px solid #ddd;
  }

  th {
	background-color: #f4f4f4;
  }

  @media (max-width: 600px) {

	th,
	td {
	  display: block;
	  width: 100%;
	  box-sizing: border-box;
	}

	td {
	  position: relative;
	  padding-left: 50%;
	  text-align: right;
	  border: none;
	  border-bottom: 1px solid #ddd;
	}

	td::before {
	  content: attr(data-label);
	  position: absolute;
	  left: 0;
	  width: 50%;
	  padding-left: 10px;
	  font-weight: bold;
	  white-space: nowrap;
	  background-color: #f4f4f4;
	}
  }



  .image-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
  }

  .image-container img {
	width: 100%;
	max-width: 100vw;
	/* Restrict image width to viewport width */
	height: auto;
	/* Maintain aspect ratio */
	object-fit: cover;
  }

  @media (max-width: 768px) {
	.image-container img {
	  width: 100%;
	  max-width: 100%;
	  object-fit: contain;
	  /* Show the whole image without cutting on smaller screens */
	}
  }

  .product-item {
    animation: fadeInLeft 0.5s;
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .card {
    height: 100%;
    text-align: center;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .card-img-top {
    margin-top: 0;
  }
