/* =========================================================
   MODERN CSS RESET (2025)
   Inspired by Andy Bell / Josh Comeau
   ========================================================= */

/* 1. Use a more intuitive box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Allow percentage-based heights */
html {
  height: 100%;
  overflow-x: hidden;
}

/* 4. Improve text rendering */
body {
  height: 100%;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: system-ui, sans-serif;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  background-color: #ffffff;
  color: #181717;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Create a root stacking context */
#root,
#__next {
  isolation: isolate;
}

/* 9. Remove built-in form typography quirks */
button {
  background: none;
  border: none;
}

/* 10. Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* End of RESET */

/* =======================================================================
   THEME VARIABLES — SINGLE SOURCE OF TRUTH
   ======================================================================= */

/* -------------------------------------------------
   DEFAULT = LIGHT THEME
   ------------------------------------------------- */
:root {
  --body-bg: #ffffff;
  --header-background: #f0f0f0; /* slightly darker */

  --page-bg: #ffffff;
  --section-bg: #ffffff;

  /* TYPOGRAPHY */
  --heading-color: #1a1a1a; /* headers */
  --serving-heading: rgb(30, 9, 9);
  --body-text: #181717; /* paragraphs */
  --small-text: #353333; /* descriptions, meta */

  /* Footer Backgrounds */
  --footer-bg: #f9f9f9;
  --footer-text: #111;
  --footer-heading: #111;
  --footer-subtext: #201e1e;
  --footer-link: #111;
  --footer-link-hover: #201e1e;
  --footer-border: rgba(0, 0, 0, 0.1);

  /* UI */
  --submit-button: rgb(9, 44, 9);
  --submit-button-text: #fff;

  /* FORM SURFACE */
  --form-bg: #ffffff;
  --form-text: var(--body-text);
  --form-heading: var(--heading-color);
  --form-border: #cccccc;
  --form-input-bg: #fafafa;

  /* FORM ACCENT */
  --form-accent: #36363d;
  --form-accent-soft: rgba(87, 79, 210, 0.15);

  /* ERRORS & SUCCESS */
  --error-bg: #ffe0e0;
  --error-border: #f5c2c2;
  --error-text: #a00;

  --success-bg: #e6f9ed;
  --success-border: #bde5c8;
  --success-text: #2d8a4e;

  /* SHADOWS */
  --form-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

  /* LOADER */
  --loader-bg: rgba(255, 255, 255, 0.85);
  --loader-spinner: #574fd2;
  --loader-spinner-track: #ddd;
}

.overlay h1,
.overlay p {
  color: var(--body-text);
}

.meta,
.description {
  color: var(--small-text);
}
html {
  font-size: 16px; /* accessible root size */
}

main {
  width: 100%;
}
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}
/* ------------  fully responsive typography system  START  --------------------- */

h1 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-size: clamp(1.3rem, 2vw + 0.9rem, 2rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

p {
  color: var(--body-text);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

small {
  color: var(--small-text);
  font-size: clamp(0.8rem, 0.3vw + 0.7rem, 0.9rem);
  line-height: 1.4;
}
/* ------------  fully responsive typography system  END  --------------------- */
.italic {
  font-style: italic;
}
.red {
  color: red;
}
.center {
  margin: auto;
  text-align: center;
}

/* =========================================================
   LAYOUT SYSTEM
   ========================================================= */

:root {
  /* --section-padding: clamp(2.5rem, 6vw, 5rem); */
  --gap: clamp(1rem, 3vw, 2.5rem);
  --radius: 0.75rem;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.page-content {
  max-width: 800px;
  padding: 2em;
  margin: auto;
}

/* Vertical rhythm */
.flow > * + * {
  margin-top: 1.25rem;
}

body {
  font-family: system-ui, sans-serif;
  margin: 0;
  line-height: 1.6;
}
/* =========================================================
   HERO
   ========================================================= */
.hero {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 1rem;
  background-color: #ffffff;
}

.hero img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 460px; /* or whatever your design prefers */
  height: auto;
  border-radius: var(--radius);
  padding-top: 10px;
}

.hero-accent {
  display: none; /* decorative, optional later */
}
/* =========================================================
   WHY SECTION (angled background)
   ========================================================= */
.why {
  padding: 1em 0 6em 0;
  background-color: rgb(207, 206, 206);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
  height: auto; /* Ensures the section takes at least the full viewport height */
  position: relative;
  z-index: 1;
}

.why h1 {
  text-align: center;
  margin-bottom: 1rem;
}
/* Content wrapper: centered, max-width */
.why-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em 1.5em;
  z-index: 400;
}

/* Two-column layout on larger screens */
@media (min-width: 700px) {
  .why {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  }
  .grid-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap, 2rem);
    padding-top: 1em;
    align-items: start;
  }
}
@media (min-width: 900px) {
  .why {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
  }
}
/* =========================================================
  MEET DON SECTION
   ========================================================= */

.content header {
  margin-bottom: 1.5rem;
}
/* Base hidden state */
.slide-left,
.slide-right {
  opacity: 0;
  transform: translateX(0); /* will override per class */
  transition:
    opacity 2s ease,
    transform 2s ease;
}

/* Image: start left */
.slide-left {
  transform: translateX(-60px);
}

/* Text: start right */
.slide-right {
  transform: translateX(60px);
}

/* When visible */
.in-view {
  opacity: 1;
  transform: translateX(0);
}

.about {
  max-width: 1100px;
  margin: auto;
  padding: 2em;
}
.about h2 {
  margin-bottom: 2rem;
}
/* Mobile first: stack image above text */
.about-grid {
  display: grid;
  gap: 2rem;
}

/* Larger screens: image left, text right */
@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
    align-items: center;
  }
}

.about-grid img {
   max-width: 400px;
   height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.flow p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* =========================================================
   SERVICES
   ========================================================= */
.background-grey {
  background-color: rgb(207, 206, 206);
}
.services {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: auto;
}
.services h3 {
  padding-top: 2em;
  padding-bottom: 1em;
  text-align: center;
}
.services h4 {
  font-family: "Brush Script MT", cursive;
  font-size: 18px;
  text-align: center;
  border: 2px solid #000;
  border-radius: 50%;
  padding: 9px;
  margin: auto;
  width: 220px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}

.card {
  background: var(--bg-light);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.card h4 {
  margin-bottom: 0.75rem;
}
/* =========================================================
   CRAFTSMAN
   ========================================================= */

.craftsman_section {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: auto;
  padding: 2em 1em;
}
.checkmark small {
  font-size: 12px;
}
.craftsman_section h4 {
  text-align: center;
  margin: 2em auto 1em auto;
}
.craftsman_section p {
  margin-bottom: 2em;
}
.craftsman_section ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.craftsman_section li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  font-size: 1em;
}

.craftsman_section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--form-accent);
  font-weight: bold;
}
@media screen and (min-width: 760px) {
  #craftsman {
    max-width: 900px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 80px;
    gap: 1em;
  }
  .check_ul {
    font-size: 1em;
    list-style-type: none;
  }
  #craftsman li {
    align-self: start;
    margin-top: 0;
    margin-bottom: 1em;
  }
}
/* =========================================================
   TESTIMONIALS
   ========================================================= */

.mySlides {
  text-align: center;
}

.author {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--small-text);
}

.dot-container {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* ------------------- Testimony Section Start ------------------ */
/* Slideshow container mobile-first design */
.slideshow-container {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)),
    url(../images/testimony_400w.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
  z-index: 1;
}

/* Make sure each slide is positioned in the same spot */
.mySlides {
  display: none; /* Hide all slides by default */
  position: absolute; /* Stack slides on top of each other */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0 20px;
  z-index: 200;
}
.prev,
.next {
  z-index: 300; /* <-- Add this */
}

/* Slide Title */
.mySlides h5 {
  padding: 2em;
  display: block;
  margin: auto;
  font-size: 1.2rem;
  color: white;
  font-style: italic;
}

/* Style for quotes */
blockquote {
  max-width: 310px;
  display: block;
  margin: auto;
  margin-top: 5em;
  font-style: italic;
  color: white;
}

/* Next and Previous buttons */
.prev,
.next {
  display: none; /* Hide arrows on small screens */
}

/* On larger screens, show the next and previous buttons */
@media screen and (min-width: 500px) {
  .prev,
  .next {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: #888;
    background-color: #333;
    font-weight: bold;
    font-size: 40px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
    margin-top: -30px;
  }

  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }

  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
  }
}

/* Slideshow container for larger screens */
@media screen and (min-width: 800px) {
  .slideshow-container {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)),
      url(../images/testimony_1200w_height.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .slideshow-container h5 {
    padding: 1em;
  }

  blockquote {
    max-width: 600px;
    margin-top: 1em;
  }
}

/* Further breakpoints for even larger screens */
@media screen and (min-width: 1300px) {
  .slideshow-container {
    height: 500px;
  }

  blockquote {
    width: 550px;
  }
}

@media screen and (min-width: 1800px) {
  .slideshow-container {
    height: 600px;
  }
}

@media screen and (min-width: 2000px) {
  .slideshow-container {
    height: 700px;
  }
}

@media screen and (min-width: 2200px) {
  .slideshow-container {
    height: 800px;
  }
}

/* Dot container and styling */
.dot-container {
  margin-top: -5px;
  text-align: center;
  padding: 15px;
  background: #ddd;
}

/* Dot styles */
.dot {
  cursor: pointer;
  height: 25px;
  width: 25px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* Active dot styles */
.dot-container .active,
.dot:hover {
  background-color: #717171;
}

/* Author styling */
.author {
  color: cornflowerblue;
}

/* ------------------- Testimony Section End ------------------ */

/* =========================================================
   FAQ
   ========================================================= */

.faq {
  max-width: 800px;
  margin: auto;
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  font-family: "Segoe UI", sans-serif;
}

.faq h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Accordion block */
.faq details {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 1rem;
  padding: 1rem;
  min-height: 48px; /* recommended minimum */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.faq details[open] {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Question summary */
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  text-align: left;
  background-color: #eee;
  color: #444;
  height: 68px; /* touch target size */
  padding: 1rem; /* comfortable tap area */
  font-size: 1rem;
   /* Add margin-bottom for space between consecutive elements */
  margin-bottom: 8px; /* Ensures enough spacing between summary elements */

  /* Border and visual styling for clarity */
  border: 1px solid #ccc; /* Optional: Adds a subtle border to make it visually clearer */
  border-radius: 4px; /* Rounded corners for a modern look */
  
  /* Visual improvements */
  transition: background-color 0.2s ease; /* Smooth background transition */
}


.faq summary:hover {
  background-color: #ddd; /* Change background color on hover */
}
/* Remove default marker */
.faq summary::marker {
  display: none;
}
.faq summary:focus {
  background-color: #ccc; /* Background color change on focus for better accessibility */
  outline: 3px solid #005fcc; /* Clear outline for keyboard navigation */
}
/* Plus icon when closed */
.faq summary::after {
  content: "\002B";
  color: #444;
  font-weight: bold;
  float: right;
  padding-right: 1em;
  margin-left: 5px;
  transition: color 0.3s ease;
}

/* Minus icon when open */
.faq details[open] summary::after {
  content: "\2212";
  color: #444;
}

/* Answer text */
.faq p {
  text-align: left;
  margin: 0.5rem 0;
  line-height: 1.6;
  color: #555;
  margin-bottom: 10px;
}

/* Address styling */
.faq .address {
  font-style: italic;
  color: #333;
}
/* Container for the sliding content */
/* Container for the sliding content */
.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.45s ease;
}

/* When <details> is open, animate the content */
.faq details[open] .faq-content {
  opacity: 1;
  transform: translateY(0);
}
.orderHeader {
  min-height: 20vh;
  margin-top: 5em;
  background: #e5e5e5; /* soft grey */
  display: flex;
  justify-content: center; /* horizontal centering */
  align-items: center; /* vertical centering */
  text-align: center;
  padding: 2rem; /* breathing room on small screens */
}

/* Optional: spacing for the title */
.order_title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 1rem;
  color: #ffffff;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.7),
    1px -1px 2px rgba(0, 0, 0, 0.7),
    -1px 1px 2px rgba(0, 0, 0, 0.7),
    1px 1px 2px rgba(0, 0, 0, 0.7);
}

#contact-orderForm h1 {
  text-align: center;
  margin: 1em auto 2em auto;
  color: #333;
}
.lg_button {
  border: solid 2px black;
  background-color: #a2a2a2;
  padding: 15px;
  text-align: center;
  max-width: 300px;
}

.lg_button a {
  color: white;
}
.lg_button:hover {
  background-color: #1b1919;
}
.lg_button a:hover {
  color: white;
}

.order_intro {
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 2em;
}
.order_intro p {
  max-width: 400px;
  margin: auto;
}
.flex-container {
  display: flex;
  flex-direction: row;
  padding: 2em;
  margin: auto;
  justify-content: center;
}
.flex-item-left {
  display: block;
}

.flex-item-right {
  display: block;
  margin-left: 2em;
}
@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
  .flex-item-left {
    max-width: 300px;
    align-items: center;
    margin: 1em auto;
  }
  .flex-item-right {
    max-width: 300px;
    align-items: center;
    margin: 1em auto !important;
  }
}

/* =========================
   CONTACT SECTION
   ========================= */

#book {
  width: 100vw; /* full viewport width */
  margin: 0;
  padding: 0;
  background-image:
    linear-gradient(rgba(255, 253, 253, 0.6), rgba(248, 246, 246, 0.9)),
    url(../images/unsplash-image-KVVjmb3IIL8.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#contact {
  max-width: 1200px;
  margin: 2em auto;
  padding: 2em 1em 6em 1em;
}

#contact-mainForm h1 {
  text-align: center;
  margin: 4em auto 2em auto;
  color: #333;
}
/* 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,
.contact-info {
  width: 100%;
}

/* Optional: style the contact info box */
.contact-info {
  padding: 1rem 1rem;
  color: #222;
  font-family: Garamond, serif;
  font-weight: 400;
  line-height: 1.4rem;
}

/* Two-column layout on larger screens */
@media (min-width: 850px) {
  .contact-layout {
    position: relative;
  }

  .contact-layout::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(66.66%); /* 2fr / (2fr + 1fr) */
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3em;
    align-items: stretch; /* <-- This makes both columns equal height */
  }

  .contact-info {
    border-left: 1px solid rgba(0, 0, 0, 0.2); /* vertical divider */
    max-width: 385px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
}

.contact-info h3 {
  margin: 0 auto 1rem auto;
  font-size: 1.5rem;
  text-align: center;
  color: #333;
}

.contact-info p {
  max-width: 385px;
  color: #121111;
  font-size: 18px;
  padding-top: 1em;
  padding-bottom: 1em;
  font-style: italic;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.contact-list strong {
  font-weight: 600;
  margin-right: 0.25rem;
}

.contact-list a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* 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;
}
