/* Shared background styles */
.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--bg-image);
}

/* Shared overlay styles */
.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color, rgba(30, 15, 30, 0.9));
  z-index: 1;
}

.my-bg-color {
  background-color: var(--overlay-color, rgba(30, 15, 30));
}

/* Container styles */
.section-bg .container {
  position: relative;
  z-index: 2;
}

/* Specific section styles */
.section1 {
  --bg-image: url("../images/bg1.webp");
}

.section3 {
  --bg-image: url("../images/services_bg.webp");
  /* --overlay-color: rgba(30, 115, 30, 0.7); */
}

.section5 {
  --bg-image: url("../images/price_table_bg.webp");
}

.section7 {
  --bg-image: url("../images/alexander-andrews-A3DPhhAL6Zg-unsplash2.webp");
}

.my_form_item {
  margin: 1rem;
}

.form-floating > label {
  color: #333;
}

.my_text_area {
  height: 150px;
}

.form_processing {
  opacity: 0.5;
  pointer-events: none;
}

.hide_spinner {
  display: none;
}

.undecorated_links {
  text-decoration: none;
}

.golden_link_hover:hover {
  /* text-decoration: underline; */
  color: #fbde00;
}

.golden_link:hover {
  text-decoration: underline;
}

.golden_link {
  color: #fbde00;
}

/*
Ah — that’s a common issue!
When you use a fixed-top navbar, clicking an anchor link like #about scrolls the page so the target element is hidden underneath the navbar.
Use CSS scroll-margin-top (modern, simple)
*/
section {
  scroll-margin-top: 80px; /* adjust to your navbar height */
}

pre.code-block {
  width: 90%;
  margin: 0 auto;
  white-space: pre-wrap;
  /* Preserves formatting but allows wrapping */
  word-wrap: break-word;
  /* Breaks long words */
  overflow-wrap: break-word;
  /* Modern alternative to word-wrap */
  padding: 20px;
}

/* Basic pre styling with max width and wrapping */
pre.json-output {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.4;
  overflow-x: auto;
  /* Horizontal scroll if needed */
}

.grecaptcha-badge {
/*
  left: 20px !important;
  right: auto !important;
*/
  opacity: 0.2 !important;
  /*transition: opacity 1s ease;*/
  bottom: 200px !important; /* Move it up from the bottom */
  z-index: 100 !important; /* Make sure it's above other elements */
}

.grecaptcha-badge:hover {
  opacity: 1 !important;
  /*transition: opacity 3s ease;*/
}




