@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@700&family=Montserrat:wght@500&family=Poppins:wght@200;400&family=Smokum&display=swap');

:root {
  --brownbackground: rgb(177, 158, 137);
  --whitetext: rgb(255, 255, 255);
  --lightlightgray: rgba(156, 117, 65, 0.116);
  --myRedButton: rgb(150, 0, 0);
  --myGrayBackground: rgb(255, 255, 255);
  --logoBrown:#90623D;
  --logoGreen: #056D3C;
  --secondaryGreen: #6de4ac;
  --secondaryBrown: #e9c6a9;
}

html {
  scroll-behavior: smooth;
  /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
}

body {
  background-color: white;
  
}

body {
  margin: 0;
}

.social-logos {
  background-color: rgb(168, 120, 57, 0.5);
  display: flex;
  justify-content: right;
  padding: 0.2rem;
}
.social-logos img {
  width: 2rem;
  height: 2rem;
  margin: 0 0.5rem 0 0.5rem;
}

.top-div {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--logoBrown);
  border-bottom: 8px;
  border-bottom-style: solid;
  border-color: var(--logoGreen);

}
.top-div a {
  /* flex-grow: 1; */
  padding: 0.6rem 1.2rem;
  color: white;
  text-decoration: none;
  /* font-family: Calibri, 'Trebuchet MS', sans-serif; */
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  
  
}

.top-div a:hover {
  background-color: var(--logoGreen);
  
}
.logo-main {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem, auto;
}
.logo-main img {
  width: 30%;
  height: 30%;
  margin: 3rem;
}


.logo {
  color: black;
  letter-spacing: .07em;
  /* font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; */
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-stretch: extra-expanded;
  font-size: 4.9rem;
  text-decoration: none;
}

/* Do something with this in the future */
.logo:hover {
  text-decoration: none;
  /* color: var(--whitetext); */

}

/* Do something with this in the future */
.logo:hover {
  text-decoration: none;
  /* color: var(--whitetext); */
}

@keyframes animateLetters {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.aboutus-textbox {
  padding: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-align: center;
  margin: 2.5rem auto 2.5rem auto;
  padding: 1.5rem;
  max-height: 30rem;
  align-items: center;
  background-color: rgb(241, 236, 226);
  padding: 1rem;
}
.aboutus-textbox p {
  max-width: 700px;
  width: 100%;
  margin: 1rem auto;
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.8;
}







.logo-slogan {
  font-family: Brush Script MT, Brush Script Std, Lucida Calligraphy, cursive;
  margin: 0;
  margin-left: 25%;
  font-size: 2.5rem;
}

.slogan-container {
  display: flex;
  font-family: Brush Script MT, Brush Script Std, Lucida Calligraphy, cursive;
background-color: var(--lightlightgray);
  font-size: 2.5rem;
  
}

.slogan-column1 {
  flex-basis: 60%;
  text-align: right;
  animation: animateLetters 2s ease-in-out;
}

.slogan-column2 {
  flex-basis: 38%;
  text-align: right;
}

.bottom-border {
  border-bottom: 5px;
  border-bottom-style: ridge;
}

nav {
  top: 0;
  text-align: center;
  /* font-size: 0.5rem; */
  /* animation: animateLetters 1s ease-in-out; */
}

.logo-slogan {
  font-family:  Brush Script MT, Brush Script Std, Lucida Calligraphy, cursive;
  /* margin: 0; */
  margin-left: 25%;
  font-size: 2.5rem;

}

.bottom-border {
  border-bottom: 5px;
  border-bottom-style: ridge;
  /* color: var(--whitetext); */
}

nav {
 
  display: flexbox;
  /* padding-bottom: 2rem; */
  border: 3px;
  border-color: black;

}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0%;
}

nav li {
  font-size: 1.6rem;
  padding-left: 10px;
  padding-right: 10px;
}

nav a {
  /* color: var(--whitetext); */
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

nav a:active {
  background-color: var(--logoGreen);
}

.center-div {
  justify-content: center;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {

  .logo {
    /* padding-left: 0; */
    font-size: 1.9rem;
    margin-top: 5%;
    margin-bottom: 2%;
    /* margin-left: 3%; */
  }

  .logo-slogan {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10%;
  }
  .slogan-column1 {
    flex-basis: 75%;
  font-size: 1.7rem;
  margin-left: 0%;
  font-weight: bold;
  text-align: center;
  }
  .slogan-column2 {
    flex-basis: 25%;
    text-align: right;
  }
  

  nav li {
    font-size: 0.9rem;
    padding-bottom: 0;
    padding: 0 0.1rem 0 0.1rem;
    font-weight: 500;
  }


}

/*------------------ End title bar -------------------------------*/

/**************** Index.html ******************/
.index-cardbox-1 {

  max-width: 90%;
  display: flex;
  align-items: center;

  border-color: black;
  margin: 0 auto;
  justify-content: center;

}

.index-cardbox-1-imgbox {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border-color: gray;
  border-style: groove;
  background-color: var(--lightlightgray);
  color: black;
  margin: 1rem;

  /* justify-content: center; */
  /* justify-self: center; */

}

.index-cardbox-1-imgbox img {
  /* Clip the image so that it does not go outside the parent element */
  max-width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

  clip-path: fill-box;

}

.index-cardbox-1-textbox {
  /* width: 21%; */
  position: relative;
  top: -14%;
  z-index: 2;

  border-radius: 0;
  border-color: gray;
  border-style: groove;
  background-color: var(--whitetext);
  color: black;
  margin: -4.2rem 1rem 2rem 1rem;

  padding: 1rem;
  /* padding-bottom: -100px; */
  /* font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; */
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: large;
  font-weight: 500;


}

/* Make the first word of the index-cardbox-1-box class, bold. */
.index-cardbox-1-textbox::first-letter {
  font-weight: 800;
  font-size: x-large;
  color: var(--myRedButton);
}

.feature-shadow:hover {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 0 0 5px 3px gray;
  transition: all .2s;
  /* cursor: pointer; */
}
@media (max-width: 768px) {
  /* CSS styles for mobile devices */

  .index-cardbox-1 {
    flex-direction: column;
    /* max-width: 100%; */
    width: 100%;
  }

  .index-cardbox-1-imgbox {
    max-width: 90%;
    /* width: 90%; */
    height: auto;
  }

  .index-cardbox-1-textbox {
    /* position: unset; */
    margin-bottom: -20px;
    top: -50%;
    font-size: 0.7rem;
  }
}

/* -------------cardbox 2---------- */
.index-cardbox-2 {
  margin: 2.5rem auto 2.5rem auto;
  display: flex;
  padding: 1.5rem;
  column-gap: 1.5rem;
  grid-template-columns: 50% 50%;
  width: 75%;
  max-height: 30rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  align-items: center;
  border-radius: 20px;

}

.index-cardbox-2-textbox {
  height: max-content;
  height: fit-content;
  background-color: white;
  border-radius: 8px;
  padding: 1rem;
}
.index-cardbox-2-textbox ol {
  list-style-type: square;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.2rem;
}
.index-cardbox-2 redtext {
  font-style: none;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: large;
  font-weight: 800;
    color: var(--myRedButton);

}

.index-cardbox-2 h1 {
  font-size: 2rem;
  padding: 0;
  margin: 0;
  text-align: center;
  font-weight: bold;
}

.index-cardbox-2 p {
  font-size: 1.2rem;
  padding: 0.5rem 0 0.5rem 0;
  margin: 10px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-decoration: none;
  /* font-weight: 500; */
}

.index-cardbox-2 img {
  padding: 0;
  /* margin: 2rem; */
  width: auto;
  height: auto;
  /* border-style: groove; line must come first */
  border-radius: 10px; /* Add this line to round the corners */
  /* border: white 1px solid; */
}

@media (max-width: 768px) {

  /* CSS styles for mobile devices */
  .index-cardbox-2 {
    flex-direction: column;
    max-height: fit-content;
    width: 90%;
  }

  .index-cardbox-2-textbox {
    padding: 0.1rem;
    font-size: 0.8rem;
  }
  .index-cardbox-2-textbox a{
    font-size: 0.9rem;
    /* margin-left: 0; */
  }
  .index-cardbox-2-textbox li {
    font-size: 0.9rem;
    /* font-family: Georgia, 'Times New Roman', Times, serif;
    */

  }

  .index-cardbox-2 h1 {
    font-size: 1.5rem;
  }

  .index-cardbox-2 p {
    font-size: 0.9rem;
    padding: .1rem;
    /* margin: .1rem; */
  }

  .index-cardbox-2 img {
    width: 100%;
    height: 100%;
  }
  .index-cardbox-2-textbox a {
    font-size: 1.5rem;
    margin-left: 0;
  }
}
/*End*************** index.html ******************/


/* -----------------Galllery.html------------------ */

.gallery-background {
  width: 98%;
  margin: 0 auto 2rem auto;

}

.gallery-background-h1-tab {
  margin: 1rem auto -3px auto;
  width: fit-content;
  padding: 0.5rem 1.5rem;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-color: #000;
  border-style: solid;
  border-width: 3px;
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  font-style: italic;
  font-family: cursive, Georgia, serif;
  position: relative; /* must have pos to use z-index */
  z-index: 3;

}

.gallery-of-photos {
  display: grid;
  border-radius: 10px;
  border: #000 3px solid;
  max-width: 96%;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1rem;
  z-index: 2;
  height: fit-content;
}

.gallery-of-photos img {
  width: 100%;
  /* min-height: 95%; */
  max-height: 95%;

  /* border: black 3px solid; */
  /* border-style: groove; */
  border-radius: 5px;
  /* overflow: hidden; */
  clip: rect(0, 200px, 150px, 0);
}

.gallery-of-photos div {
  background-color: #f0f0f0;
  font-size: 0.95rem;
  /* width: 90%; */
  /* min-height: 90%; */
  
  border: black 3px solid;
  border-style: groove;
  border-radius: 5px;
  /* padding: 0.97rem 0.97rem; */
  padding: 0.5rem;

}
.gallery-of-photos li {
  font-size: 1.2rem;
    /* font-family: Georgia, 'Times New Roman', Times, serif;
    */

}

.our-approach {
  text-align: center;
  border-radius: 10px;
  border: #000 3px solid;
  max-width: 96%;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1rem;
  z-index: 2;
}

.box-container {
  display: flex;
  justify-content: space-between;
}
.our-approach ul{
  list-style-type: none;
}

.box {
  flex: 1;
  margin: 10px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f0f0f0;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
}
/* -----------------End of Galllery.html------------------ */


/**************** FAQ.html ******************/

.faq-body {
  /* width: %; */
  display: grid;
  grid-template-columns: repeat(3, minmax(30%, 28%)); /*reasearch how this should work*/
  background-color:var(--brownbackground);
  margin-bottom: 20px;
}

.set-background {
  color: var(--whitetext);
  background-color: var(--brownbackground);
}

.set-font-color {
  color: var(--whitetext);
}

.faq-box {
  min-width: 40%;
  border-radius: 10px;
  border-color: gray;
  border-style: groove;
  background-color: var(--whitetext);
  color: black;
  margin: 1rem;
  padding: 0.5rem;
}
.faq-box p {
  font-size: 1.1rem;
    /* font-family: Georgia, 'Times New Roman', Times, serif;
    */
}

.faq-box:hover {
  background-color: rgb(223, 224, 224);
}

.faq-body-h1 {
  display: grid;
  /* 3 columns, equal size */
  grid-template-columns: 1fr 1fr 1fr;
  background-color: var(--lightlightgray);
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  padding: 0.5rem, 0, 0.5rem, 0;
}

.faq h2 {
  font-size: x-large;
  margin: 20% 5% 20% 5%;

}

.faq p {
  font-size: 1rem;
  margin: 15%;
}

@media (max-width: 768px) {

  .faq-body {
    display: flex;
    flex-direction: column;
    width: 98%;
    background-size: auto;
  }

  .faq-body-h1 {
    grid-template-columns: 1fr;
    font-size: 0.7rem;
    margin: 0.7rem 0 0 0;
    padding: 0.5rem;
  }
}

/* =========== End FAQ page =================== */

/* ============= ContactUs page ====================*/
.contactus-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.contactus-body img {
  max-width: 50%;
  max-height: 50%;
  border-radius: 10px;
  border-color: black;
  border-style: solid;
  margin: 5% 20%;
}

.contactus-body label {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', Times, serif;
  /* color: var(--redbackground); */
}

.contactus-body label {
  font-size: 1.2rem;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', Times, serif;
  /* color: var(--redbackground); */
}

.contactus-body-form-box {
  margin: 0;
  background-color: rgba(156, 117, 65, 0.116);
  color: black;
  border-radius: 0.8rem;
  border: black 0.2rem solid;
  padding: 1rem;

}

.contactus-body input[type=radio],
input[type=checkbox] {
  padding: 1rem;
  width: 1.5em;
  height: 1.5em;
  /* accent-color: var(--myRedButton); */
}

.contactus-body input[type=text], textarea {
  margin: 0.2rem;
  width: auto;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: large;
  border: #000 1px solid;
}

.contactus-body textarea {
  height: 10rem;
  width: 85%;
  
}

.submit-button {
  color: var(--whitetext);
  background-color: var(--myRedButton);
  font-size: x-large;
  font-weight: 900;
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 1rem;
  border-radius: 50%;
  width: auto;
  height: auto;
  width: auto;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .contactus-body {
    width: 100%;
    padding: 1.5rem, 0, 0, 0;

  }
  .contactus-body img {
display: none;
  }

  .index-cardbox-2-textbox {
    padding: 0.1rem;
    width: 95%;
  }

  .contactus-body-form-box {
    padding: 0%;
  }

  .contactus-body label {
    font-size: 0.9rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }

  .contactus-body input[type=radio],
  input[type=checkbox] {
    padding: 0.5rem;
    width: 1rem;
    height: 1rem;
  }

  .contactus-body input[type=text],
  textarea {
    padding: 0.8rem;
    width: 0.8rem;
    height: 0.1em;
    width: auto;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
  }

}

/*================ Begin Footer =================== */
.footer-all {
  /* padding-top: 5px; */
  background-color: rgba(156, 117, 65, 0.116);
  height: fit-content;
  align-content: center;
  display: grid;
  /* grid-template-columns: 30% 30% 30%; */
  grid-template-columns: 20% 20% 20% 20% 20%;
  /* padding-left: 10%; */
  margin: 0 auto;
}

.footer-all a {
  color: black;
  text-decoration: none;
  font-style: normal;
}

.footer-all a:hover {
  text-decoration: underline;
}

.footer-all ul {
  list-style: none;
  font-size: 1.5rem;
}

@media screen and (max-width: 768px) {
  .footer-all {
    display: flex;
    flex-direction: column;
    width: 85;
  }

  .footer-all ul {
    font-size: 1rem;
  }
}
/*================ --- End Footer =================== */

/*========== Util ===== */
.dot-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.dots {
  height: 1rem;
  width: 1.1rem;
  margin: 0.6rem 0.5rem 0.6rem 0.5rem;
  background-color: var(--whitetext);
  border: var(--myRedButton) 0.5rem solid;
  border-radius: 50%;

}
@media screen and (max-width: 768px) {
  .dots {
    height: 0.5rem;
    width: 0.5rem;
    border-width: 0.2rem;
    margin: 0.5rem 0.5rem 0.5rem 0.5rem;
  }
}
.request-quote-button {
  background-color: black;

  color: var(--whitetext);
  padding: 20px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: cursive, Georgia, serif;
  font-size: 1.2rem;

  border-radius: 100%;
  border-style: solid;
  border-color: gray;
  border-width: 5px;

  position: fixed;
  bottom: 45%;
  right: 3%;
  z-index: 3;
}

.request-quote-button a {
  color: var(--whitetext);
  text-decoration: none;
  font-style: normal;
}
.request-quote-button a:hover {
  text-decoration: underline;
}

.request-quote-button a:hover {
  text-decoration: underline;
}
/* Change the request button for phones */
@media screen and (max-width: 768px) {
  .overlay-quote-button {
    display: none;
  }

  .dot {
    margin: 0 0.5rem 0 0.5rem;
  }

  .dot-parent {
    margin: 0 auto;
    padding: 0;
  }
}


.request-quote-button-animation:hover {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  -webkit-mask: linear-gradient(120deg, #000 25%, #0005, #000 75%) right/250% 100%;
  mask: linear-gradient(120deg, #000 25%, #0005, #000 75%) right/250% 100%;
  animation-timing-function: linear;
  animation-duration: 200ms;
  -webkit-animation-duration: 200ms;
  animation-direction: normal;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-delay: 5ms;
  -webkit-animation-delay: 5ms;
  animation-fill-mode: none;
  animation-play-state: running;
  -webkit-animation-play-state: running;
  -webkit-animation-name: shine;
  animation-name: shine;
}

@keyframes shine {
  100% {
    /* setting up mask position at left side */
    mask-position: left;
    -webkit-mask-position: left
  }

  0% {
    /* setting up mask position at right side */
    mask-position: right;
    -webkit-mask-position: right;

  }
}

@media screen and (max-width: 768px) {
  .request-quote-button-stationary {
    /* display: none; */
    bottom: 5%;
    right: 15%;

  }
}

/* ================= Homepage refresh ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: #20251f;
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: white;
  background: #202020;
  border-radius: 0.25rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible {
  outline: 3px solid #f0b84b;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

.top-div {
  flex-wrap: wrap;
  border-bottom: 0.5rem solid var(--logoGreen);
}

.top-div a {
  display: block;
}

.top-div a:hover,
.top-div a:focus-visible,
.top-div a[aria-current="page"] {
  background-color: var(--logoGreen);
}

.top-div .nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-div .nav-social img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f1ece2 100%);
}

.hero > img {
  width: min(34rem, 80vw);
}

.hero-content {
  max-width: 52rem;
}

.hero h1 {
  margin: 0;
  color: var(--logoGreen);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero p {
  margin: 1rem auto 1.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.primary-button {
  display: inline-block;
  padding: 0.8rem 1.25rem;
  color: white;
  background-color: var(--logoGreen);
  border: 2px solid var(--logoGreen);
  border-radius: 0.4rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-button:hover {
  color: var(--logoGreen);
  background-color: white;
}

.aboutus-textbox {
  max-height: none;
  scroll-margin-top: 5rem;
}

.aboutus-textbox h2,
.index-cardbox-2 h2 {
  margin: 0 0 0.75rem;
  color: #27221d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.25;
  text-align: center;
}

.aboutus-textbox .centered-copy {
  text-align: center;
}

.text-link {
  color: #704000;
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.15em;
}

.external-link::after {
  content: " \2197";
}

.index-cardbox-1 {
  align-items: stretch;
}

.index-cardbox-1-imgbox {
  overflow: hidden;
}

.index-cardbox-1-imgbox > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.index-cardbox-1-textbox {
  margin-bottom: 1rem;
  line-height: 1.55;
}

.section-divider {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-tan {
  background-color: rgba(168, 120, 57, 0.5);
}

.section-cream {
  background-color: var(--lightlightgray);
}

.index-cardbox-2 {
  width: min(75rem, 90%);
  max-height: none;
}

.index-cardbox-2-textbox {
  flex: 1 1 30rem;
}

.index-cardbox-2 ul {
  padding-left: 1.5rem;
  list-style: square;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
}

.index-cardbox-2 li {
  margin-bottom: 1rem;
}

.highlight {
  color: #790000;
}

.split-section > img {
  flex: 1 1 22rem;
  width: min(100%, 32rem);
  object-fit: cover;
}

#servicearea {
  scroll-margin-top: 5rem;
}

.dots-divider {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0 2.5rem;
}

.dots-divider span {
  width: 1.25rem;
  aspect-ratio: 1;
  background: white;
  border: 0.35rem solid var(--myRedButton);
  border-radius: 50%;
}

.request-quote-button {
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.8rem 1.1rem;
  color: white;
  border-width: 3px;
  border-radius: 999px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.request-quote-button:hover {
  text-decoration: underline;
}

.footer-all {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.5rem max(1.25rem, calc((100% - 70rem) / 2));
  background-color: #eee4d5;
}

.footer-all h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.footer-all ul {
  margin: 0;
  font-size: 1rem;
}

.footer-all .copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid #b9aa96;
  text-align: center;
}

@media (max-width: 768px) {
  .site-header {
    position: static;
  }

  .top-div a {
    flex: 1 1 33.333%;
    padding: 0.65rem 0.4rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .hero {
    padding-top: 2rem;
  }

  .index-cardbox-1-textbox {
    top: auto;
    margin: -2rem 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .index-cardbox-2 {
    width: calc(100% - 1.5rem);
    padding: 0.75rem;
  }

  .index-cardbox-2-textbox {
    width: 100%;
    padding: 1rem;
  }

  .index-cardbox-2 ul {
    font-size: 1rem;
  }

  .index-cardbox-2-textbox a {
    font-size: inherit;
  }

  .request-quote-button {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .footer-all {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================= Quote form ================= */
.quote-page {
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  background: #f7f3ec;
}

.quote-intro {
  width: min(48rem, 100%);
  margin: 0 auto 2rem;
  text-align: center;
}

.quote-intro .eyebrow {
  margin: 0;
  color: var(--logoGreen);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-intro h1 {
  margin: 0.25rem 0 0.75rem;
  color: #27221d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
}

.quote-intro p:last-child {
  margin: 0;
  font-size: 1.1rem;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 22rem) minmax(0, 48rem);
  align-items: start;
  justify-content: center;
  gap: 2rem;
}

.quote-assurance {
  position: sticky;
  top: 5.5rem;
  overflow: hidden;
  background: white;
  border: 1px solid #d8cabb;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(42, 35, 28, 0.09);
}

.quote-assurance img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.quote-assurance > div {
  padding: 1.25rem;
}

.quote-assurance h2 {
  margin: 0 0 0.75rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.quote-assurance ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.quote-assurance li {
  margin-bottom: 0.65rem;
}

.quote-form {
  padding: clamp(1rem, 4vw, 2rem);
  background: white;
  border: 1px solid #d8cabb;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1.5rem rgba(42, 35, 28, 0.09);
}

.quote-form fieldset {
  min-width: 0;
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}

.quote-form legend,
.conditional-section h2 {
  width: 100%;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  color: #27221d;
  border-bottom: 2px solid #dfd2c0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.required-note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  text-align: right;
}

.quote-form label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 2.8rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  color: #20251f;
  background: white;
  border: 1px solid #70675f;
  border-radius: 0.3rem;
  font: inherit;
}

.quote-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--logoGreen);
  outline: 3px solid rgba(5, 109, 60, 0.22);
  outline-offset: 1px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.full-width {
  grid-column: 1 / -1;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-control {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b9aa96;
  border-radius: 0.35rem;
}

.choice-control:focus-within {
  border-color: var(--logoGreen);
  outline: 3px solid rgba(5, 109, 60, 0.22);
}

.quote-form .choice-control input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0 0.65rem 0 0;
  accent-color: var(--logoGreen);
}

.quote-form .choice-control label {
  margin: 0;
}

.field-help,
.character-count,
.privacy-note {
  color: #554e47;
  font-size: 0.9rem;
}

.field-help {
  margin: -0.5rem 0 0.75rem;
}

.character-count {
  margin: 0.25rem 0 0;
  text-align: right;
}

.conditional-field {
  margin-top: 1rem;
}

.conditional-section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f7f3ec;
  border-left: 4px solid var(--logoGreen);
  border-radius: 0.25rem;
}

[hidden] {
  display: none !important;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 1rem 0 0;
  font-weight: 700;
}

.form-message-error {
  margin-bottom: 1rem;
  padding: 1rem;
  color: #671414;
  background: #fff0f0;
  border: 2px solid #a52b2b;
  border-radius: 0.35rem;
}

.form-message-error ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.privacy-note {
  max-width: 42rem;
}

.quote-form .submit-button {
  min-width: 12rem;
  padding: 0.8rem 1.25rem;
  color: white;
  background: var(--logoGreen);
  border: 2px solid var(--logoGreen);
  border-radius: 0.4rem;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1rem;
}

.quote-form .submit-button:hover:not(:disabled) {
  color: var(--logoGreen);
  background: white;
}

.quote-form .submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 850px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-assurance {
    position: static;
    display: grid;
    grid-template-columns: minmax(12rem, 0.8fr) 1.2fr;
  }
}

@media (max-width: 600px) {
  .quote-page {
    padding-inline: 0.75rem;
  }

  .quote-assurance,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .quote-assurance img {
    max-height: 15rem;
  }

  .quote-form .submit-button {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .request-quote-button-stationary {
    /* display: none; */
    bottom: 5%;
    right: 15%;
  }
}

/* Payment page */
.payment-page {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1rem 3rem 1rem;
  line-height: 1.6;
  color: #333;
}

.payment-page h1 {
  text-align: center;
}

.payment-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.payment-section {
  border: 1px solid var(--secondaryBrown);
  border-top: 0.35rem solid var(--logoGreen);
  border-radius: 0.5rem;
  background-color: #fff;
  padding: 1rem 1.25rem 1.25rem;
  margin-bottom: 1.75rem;
}

.payment-section > h3:first-child {
  margin-top: 0;
}

.payment-page input,
.payment-page canvas {
  width: 90%;
  padding: 0.625rem;
  margin-bottom: 0.625rem;
  border: 0.0625rem solid #ddd;
  border-radius: 0.25rem;
}

#signature-pad {
  border: 0.1rem solid #000;
  background-color: #f9f9f9;
}

.payment-page button {
  color: white;
  background-color: var(--logoGreen);
  border: 2px solid var(--logoGreen);
  padding: 0.625rem 1.25rem;
  border-radius: 0.4rem;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.payment-page button:hover:not(:disabled) {
  color: var(--logoGreen);
  background-color: white;
}

.payment-page button:disabled {
  background-color: #bdc3c7;
  border-color: #bdc3c7;
  color: white;
  cursor: not-allowed;
}

.payment-page .submit-button {
  width: auto;
  height: auto;
  min-width: 12rem;
  padding: 0.8rem 1.25rem;
  color: white;
  background-color: var(--logoGreen);
  border-radius: 0.4rem;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.payment-page .submit-button:disabled {
  background-color: #bdc3c7;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.9375rem;
  border-radius: 0.3125rem;
  transition: all 0.3s ease;
  border: 0.125rem solid transparent;
  background-color: #f9f9f9;
}

.payment-option input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.9375rem;
}

.payment-option p {
  margin: 0;
  flex: 1;
}

.payment-option.selected {
  background-color: rgba(5, 109, 60, 0.08);
  border-color: var(--logoGreen);
}

.payment-page .form-group {
  margin-bottom: 0.5rem;
  margin-right: auto;
}

.payment-page label {
  display: block;
  margin-bottom: 0.3125rem;
  font-weight: bold;
}

.payment-page .agreement {
  background-color: #f8f8f8;
  border: 0.0625rem solid #ddd;
  padding: 0.9375rem;
  margin-bottom: 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.payment-page .checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.payment-page .checkbox-group input[type="checkbox"] {
  width: 2rem;
  margin-right: 0.625rem;
  transform: scale(2);
}
