.ceramic-boards-products {
  margin-top: 20px;
  padding: 30px 30px;

  font-family: Arial, sans-serif;
}

.ceramic-boards-products h1.heading {
  text-align: center;
  font-size: 36px;
  color: #003b7a;
  margin-bottom: 40px;
  font-weight: bold;
}

.ceramic-boards-products .product-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
}

.ceramic-boards-products .product-image-left,
.ceramic-boards-products .product-text {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .ceramic-boards-products .product-image-left,
  .ceramic-boards-products .product-text {
    flex: 1 1 48%;
  }
}

.ceramic-boards-products .product-image-left img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

.ceramic-boards-products .thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.ceramic-boards-products .thumbnail-gallery img {
  width: 110px;
  height: 100px;
  object-fit: contain;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: 0.3s ease;
}

.ceramic-boards-products .thumbnail-gallery img:hover {
  border-color: #007bff;
}

.ceramic-boards-products .product-text h2 {
  font-size: 24px;
  font-weight: bold;
  color: #222;
}

.ceramic-boards-products .product-text h4 {
  margin-top: 20px;
  font-weight: 600;
  color: #333;
}

.ceramic-boards-products .product-text p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
}

/* Fullscreen Modal */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.fullscreen-modal img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

.fullscreen-modal .close-icon {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* 
display boards css */
.display-boards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
  margin: 30px 20%;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #f0f0f0;
}

.product-card h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #333;
}

.arrow {
  font-size: 24px;
  margin-bottom: 15px;
  color: #007bff;
  animation: slide 1.5s infinite;
}

@keyframes slide {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

@media (max-width: 992px) {
  .display-boards {
    margin: 0 10%;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .display-boards {
    grid-template-columns: 1fr;
    margin: 0 5%;
  }
  .ceramic-boards-products h1.heading {
    font-size: 28px;
    margin-bottom: 10px;
  }
}
