/* === Modal Overlay === */
.cemetery-custom-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cemetery-custom-modal.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* === Modal Content Box === */
.cemetery-modal-content {
  position: relative;
  background-color: #fff;
  color: #333;
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* === Modal Heading === */
.cemetery-modal-content h3 {
  margin-top: 0;
  font-size: 24px;
  color: #343d46;
}

/* === Modal Close Button === */
.cemetery-modal-content .cemetery-close {
  position: absolute;
  top: 12px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.cemetery-modal-content .cemetery-close:hover {
  color: #343d46;
}

.cemetery-modal-subtitle {
  font-size: 18px;
  margin-top: -10px;
  color: #65737e;
  font-style: italic;
}

.cemetery-modal-lead {
  font-weight: 500;
  color: #343d46;
  margin-bottom: 20px;
}

.alert-box {
  background: #eef4ff;
  border-left: 5px solid #343d46;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  color: #343d46;
}

.alert-box ul {
  margin: 10px 0;
  padding-left: 20px;
}

.fee-table {
  overflow-x: auto;
  margin: 20px 0;
}

.fee-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.fee-table th,
.fee-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

.fee-table th {
  background-color: #343d46;
  color: white;
}

.cemetery-modal-footer {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #343d46;
}
.contact-link {
  font-weight: 600;
  color: #343d46;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #65737e;
}
.contact-details {
  background: #eef4ff;
  border-left: 5px solid #343d46;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 15px;
  color: #343d46;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.contact-details i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
  color: #343d46;
}

.contact-details strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-details a {
  color: #343d46;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #65737e;
}

.accordion {
  margin-top: 20px;
}

.accordion-item {
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: #f4f7fa;
  border-left: 5px solid #343d46;
  font-family: "Lora", sans-serif;
}

.accordion-button {
  background: #eef4ff;
  color: #343d46;
  cursor: pointer;
  padding: 15px 20px;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s ease;
  position: relative;
}

.accordion-button::after {
  background-image: none !important;
  content: "\25BC";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-button.active::after {
  transform: rotate(180deg);
}

.accordion-button:hover {
  background-color: #f4f7fa;
}

.accordion-content {
  display: none;
  padding: 15px 20px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
