button {
  cursor: pointer !important;
}
.popup .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: white; /* Text color */
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  /* Background Image Settings */
  background: url('https://bethelcustombrick.com/gallery/misc/btn-brick-background.jpg') no-repeat center center;
  background-size: cover; /* Scales the image to cover the button */
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover effects */
/* Overlay */
  background-blend-mode: overlay; /* Blends overlay with background image */
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for contrast */
  /* Shadow Effect */
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); /* Adds a subtle shadow */
}
/* Hover Effect */
.popup .btn:hover {
  transform: scale(1.05); /* Slightly enlarges button */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Adds a deeper shadow */
}
#show2PopupBtn {
  display: none; /* Hides the button */
}
/* Popup container styles */
.bcb-popup {
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: #C7EBFD;
  /* background-size: cover; */
  border: 2px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bcb-popup-content {
  padding: 20px;
  text-align: center;
/*  background: rgba(0, 0, 0, 0.6); */
}
.bcb-popup img {
  max-width: 100%;
  height: auto;
  margin: 10px 0;
}
.bcb-popup h2 {
  margin: 0;
  font-size: 1.5em;
  color: #333;
}
.bcb-popup p {
  margin: 10px 0;
  color: #666;
}
.bcb-popup .btn2bcb {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 15px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.bcb-popup .btn2bcb:hover {
  background-color: #0056b3;
}
/* Close button */
.bcb-close-btn {
  position: absolute;
  top: -14px;
  right: 0;
  background: transparent;
  border: none;
  font-size: 2.5em;
  color: #0BACEA;
  font-weight: 600;
}
.bcb-close-btn:hover {
  color: #000;
}
/* Animation classes */
.hidden {
  display: none;
}
.show2 {
  display: block;
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Being Responsable */ 
@media (max-width: 360px) {
.bcb-popup {
  padding:20px;
  top: 5%;
  width: 95%;
  max-height: 85vh;
  margin-top: 0;
}
.bcb-popup-content {
  padding: 12px;
  top: 5%;
  width: 95%;
  max-height: 85vh;
  margin-top: 0;
}
}
@media (max-height: 768px) {
  .popup {
    max-height: 80vh; /* Smaller height on shorter screens */
    overflow-y: auto; /* Scroll if needed */
  }

  .popup-content {
    padding: 15px; /* Smaller padding for compact spacing */
  }

  .popup .btn {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
.btn-close {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: #333; /* Dark grey button */
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-close:hover {
  background-color: #555; /* Slightly lighter on hover */
}