body {
  padding: 2rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1080;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

.btn-primary {
  background-color: #485268;
  border: none;
  color: #fff;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #2c3b50;
}

/* Optional tweaks for offcanvas */

.offcanvas {
  background-color: #fdfdfd;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
  z-index: 1080;
}

.offcanvas-header {
  border-bottom: 1px solid #e0e0e0;
}

.offcanvas-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #485268;
}

.offcanvas-body {
  font-size: 1rem;
  color: #333;
}

/* Reuse from cap modal */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.modal-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #057ff8;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

#Donations .col-md-4 {
  max-width: 30%;
}

#Donations .col {
  flex: 1;
}

.glow-bg-gold {
  background: radial-gradient(circle at center, #b69f8b40 30%, #485268 80%);
}

.glow-box {
  background: radial-gradient(circle at center, #b69f8baa 0%, #485268 85%);
  border: 1.5px solid #b69f8b;
  border-radius: 16px;
  box-shadow: 0 0 14px #b69f8b80, 0 0 6px #b69f8b40 inset;
}

.glow-box {
  background: radial-gradient(circle at center, #b69f8baa 0%, #485268 85%);
  border-radius: 16px;
  border: 1.5px solid #ccd1d5;
  box-shadow: 0 0 14px #b69f8b80, 0 0 6px #b69f8b40 inset;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker-content span {
  display: inline-block;
  font-size: 0.95rem;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.ticker-container {
  background: radial-gradient(circle at center, #b69f8baa 0%, #485268 85%);
  border: 1.5px solid #b69f8b;
  box-shadow: 0 0 14px #b69f8b80, 0 0 6px #b69f8b40 inset;
  border-radius: 30px 30px 0 0;
  height: 55px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-content {
  animation: scrollTicker 30s linear infinite;
  white-space: nowrap;
  display: inline-flex;
  gap: 2rem;
}

.ticker-container:hover .ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.ticker-item:hover {
  color: #b69f8b;
  text-decoration: underline;
}

.video-thoughts {
  background: #f9f9fc;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 20px;
  font-family: sans-serif;
}

.video-thoughts h3 {
  color: #485268;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.video-block {
  background: #fff;
  border: 1px solid #ddd;
  padding: 0.75rem;
  margin-bottom: 10px;
  border-radius: 6px;
}

.video-block a {
  display: inline-block;
  margin-top: 5px;
  color: #fff;
  background-color: #485268;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
}

.video-block a:hover {
  background-color: #b69f8b;
}

.fade-image {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-image.active {
  opacity: 1;
  z-index: 1;
}

/* Ensure the top nav has a lower z-index */

.container.py-2 {
  position: relative;
  z-index: 10;
}

/* Ensure the offcanvas menu appears above */

.offcanvas {
  z-index: 1050 !important;
}

.hover-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: auto;
  padding: 30px 20px;
  text-align: center;
}

.hover-item {
  position: relative;
  display: inline-block;
  padding: 12px 18px;
  background: #485268;
  color: white;
  border-radius: 12px;
  font-weight: bold;
  cursor: default;
  transition: background 0.3s ease;
}

.hover-item:hover {
  background: #60708c;
}

/* Tooltip */

.hover-item::after {
  content: attr(data-tooltip);
  visibility: hidden;
  opacity: 0;
  width: 350px;
  background-color: #222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.875rem;
  line-height: 1.3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hover-item:hover::after {
  visibility: visible;
  opacity: 1;
}

#learn-more-footer {
  padding: 20px 10px;
  background-color: #e9ecef;
  font-size: 0.85rem;
}

.footer-hover-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-hover {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  background: #485268;
  color: #fff;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
  transition: background 0.3s ease;
  width: 127px;
}

.footer-hover:hover {
  background: #60708c;
}

/* Tooltip (reused style, smaller) */

.footer-hover::after {
  content: attr(data-tooltip);
  visibility: hidden;
  opacity: 0;
  background-color: #222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.75rem;
  line-height: 1.3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
  min-width: 250px;
  max-width: 400px;
}

.footer-hover:hover::after {
  visibility: visible;
  opacity: 1;
}

#learn-more-footer {
  padding: 20px 10px;
  background-color: #e9ecef;
  font-size: 0.85rem;
}

.footer-hover-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.footer-hover {
  position: relative;
  display: inline-block;
  padding: 6px 10px;
  background: #485268;
  color: #fff;
  border-radius: 8px;
  cursor: default;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.footer-hover:hover {
  background: #60708c;
}

/* Tooltip (reused style, smaller) */

.footer-hover::after {
  content: attr(data-tooltip);
  visibility: hidden;
  opacity: 0;
  width: 400px;
  background-color: #222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.75rem;
  line-height: 1.3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.footer-hover:hover::after {
  visibility: visible;
  opacity: 1;
}

.footer-hover::after, .hover-item::after {
  content: attr(data-tooltip);
  visibility: hidden;
  opacity: 0;
  max-width: 400px;
  background-color: #222;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px 14px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
}

