.contact_title {
  font-size: 2.5rem;
  margin: 4rem auto 1rem auto;
  max-width: 400px;
  text-align: center;
}
/* Layout wrapper */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2em auto;
  padding: 2rem 1rem;
}
.contact-layout h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Contact form and info share consistent spacing */
.contact-form
 {
  width: 100%;
}


/* Two-column layout on larger screens */
@media (min-width: 850px) {
  .contact-layout {
    position: relative;
  }

  .contact-layout {
    gap: 3em;
    align-items: stretch; /* <-- This makes both columns equal height */
  }

}

/* Form container */
.contact-form form {
  display: block;
  width: 100%;
}
.hidden {
  display: none;
}
/* ----------------------------------------------------
   CHECKBOXES
---------------------------------------------------- */
/* Newsletter checkbox alignment */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--body-text);
}
input[type="checkbox"] {
  margin-right: 0.5rem;
}
.checkbox-row input[type="checkbox"] {
  position: relative;
  top: -4px; /* adjust as needed: try 1px–3px */
}

label[for="newsletter"] {
  color: var(--body-text);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Grid layout for inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1em;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}
.form-footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: center;
}

.form-footer-row .newsletter,
.form-footer-row .recaptcha {
  flex: 1 1 300px;
}

/* Input and textarea styling */
input,
textarea {
  width: 90%;
  padding: 0.75rem;
  border: 2px solid #a2a2a2;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  margin: auto;
}
textarea {
  resize: vertical;
  min-height: 220px;
}
@media (min-width: 700px) {
  textarea {
    width: 95%;
  }
}
@media (max-width: 468px) {
  .form-footer-row {
    flex-direction: column;
    gap: 1rem;
  }
}
input:focus,
textarea:focus {
  border-color: #0077cc;
  outline: none;
  background-color: #f9f9f9;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Error styling */
.input-error {
  border-color: red;
  background-color: #ffecec;
}

.err-msg {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Newsletter row */
.form-grid .checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0;
}

/* Checkbox itself */
.checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #0077cc; /* optional: theme color */
}

/* Label wraps and fills remaining space */
.checkbox label {
  flex: 1;
  font-weight: 500;
  line-height: 1.4;
}

/* Submit button */
.submit-btn {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #005fa3;
}

.shears {
  margin: auto;
  margin-top: 2em;
  padding: 2em 2em 0 2em;
  display: block;
  width: 100%;
  height: 266px;
  color: white;
  background-image: url(../images/shears_300w_193h_transparent.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  text-align: center;
  color: white;
}
/* ===============================
   FOOTER BASE
   =============================== */
/* =============================== FOOTER BASE =============================== */

.site-footer {
  position: relative;
  color: #fff;
  padding-top: 120px;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: #333;
  mask: radial-gradient(50% 100% at 50% -88%, #0000 calc(100% - 5px), #000);
  z-index: 1;
  pointer-events: none;
}
/* =============================== CURVED TOP =============================== */

.footer-curve {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 100;
  pointer-events: none;
}

/* =============================== SCISSORS ANIMATION =============================== */

.scissors {
  position: absolute;
  filter: drop-shadow(0 0 2px #333);
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  z-index: 2000;
  pointer-events: none;

  /* Use the exact SVG curve */
  offset-path: path("M0 0 C250 120 750 120 1500 60");
  offset-distance: 0%;
  offset-rotate: auto;
  offset-anchor: 50% 50%;

  transform: translate(-24px, -24px);
}
@keyframes cut-path {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}

.scissors svg {
  width: 100%;
  height: 100%;
}

.scissors line {
  transform-origin: 26px 32px;
  animation: blade-cut 0.35s ease-in-out infinite;
}

.scissors line:nth-of-type(2) {
  animation-delay: 0.175s;
}

@keyframes blade-cut {
  0% {
    transform: rotate(8deg);
  }
  50% {
    transform: rotate(-8deg);
  }
  100% {
    transform: rotate(8deg);
  }
}
/* =============================== SCISSORS ROW =============================== */
.scissors-row {
  position: fixed; /* not absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 999999; /* guaranteed above everything */
  pointer-events: none;
}
.scissor-auto:nth-child(1) {
  animation-delay: 0s;
}
.scissor-auto:nth-child(2) {
  animation-delay: -1s;
}
.scissor-auto:nth-child(3) {
  animation-delay: -2s;
}
.scissor-auto:nth-child(4) {
  animation-delay: -3s;
}
/* =============================== FOOTER CONTENT =============================== */

.footer-content {
  max-width: 1100px;
  margin-inline: auto;
  display: grid;
  padding: 1em;
  position: relative;
  z-index: 3;
}
.footer-content h1,
.footer-content h2,
.footer-content h3,
.footer-content p,
.footer-bottom p {
  color: white;
}
.footer-content h6 {
  margin-top: 3em;
}
.footer-left,
.footer-center,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-left h6 {
  margin-bottom: 0.5rem;
}
.footer-right p {
  margin: 0;
}
@media (min-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-center {
    align-items: center;
  }
  .footer-right {
    padding-left: 6em;
  }
}

/* =============================== TEXT STYLES =============================== */

.footer-title {
  font-size: 1rem;
  font-weight: 700;
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-text-small {
  font-size: 0.85rem;
}

.footer-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-link:hover {
  color: #aaa;
  text-decoration: underline;
}

/* =============================== BOTTOM BAR =============================== */

.footer-bottom {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #777;
  text-align: center;
  font-size: 0.875rem;
  position: relative;
  z-index: 3;
}
.footer-bottom p {
  font-size: 0.9rem;
  font-style: italic;
}
/* =============================== ACCESSIBILITY =============================== */

@media (prefers-reduced-motion: reduce) {
  .scissors {
    animation: none;
  }

  .scissors line {
    animation: none;
  }
}

/* =============================== RESPONSIVE =============================== */

@media (max-width: 600px) {
  .scissors {
    width: 36px;
    height: 36px;
  }
}

.thank-you-card {
  margin-top: 8em;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}
.thank-you-card h1 {
  font-size: 2.5rem;
  margin: 6rem auto;
}
.main_contact {
  margin-top: 12em !important;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
}
.contact_form h1 {
  font-size: 2.5rem;
  margin: 2rem auto 1rem auto;
  max-width: 400px;
}
/* ----------------------------------------------------
   LOADER OVERLAY (shared)
---------------------------------------------------- */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 27, 27, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  border: 6px solid #393333;
  border-top-color: #007bff; /* spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-size: 1.1rem;
  color: #333;
}

