.section-wrap {
  padding: 50px 0;
  z-index: 2;
}

.text-content {
  color: #333; 
  line-height: 1.6;
  z-index: 2;
}

.text-content h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: bold;
  z-index: 2;
}

.page-title.text-center {
  position: relative; /* Make it a positioned element */
  margin-top: 0%;
}

.page-title.text-center::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
}

.page-title.text-center h1, 
.page-title.text-center p {
  position: relative; /* Ensure the text appears above the overlay */
  z-index: 2;
}

.page-title__subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #F8F4E8;
  margin-bottom: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.page-title.text-center, /* Main Headboard */
.footer {
  border-radius: 16px;
  border: 5px solid #CAA86B;
  z-index: 2;
}

.footer {
  background-image: url('img/footer/1.jpg');
  background-size: cover; /* Ensures the image stretches to cover the entire area */
  background-position: center; /* Keeps the image centered */
  background-repeat: no-repeat; /* Prevents the image from repeating */
}

.text-content p {
  margin-bottom: 15px;
  z-index: 2;
}

.text-content h5 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
  z-index: 2;
}

.our-story-list {
  margin-left: 20px;
  margin-bottom: 20px;
  z-index: 2;
}

.our-story-list li {
  margin-bottom: 10px;
  list-style-type: disc;
  z-index: 2;
}

.page-title.bg-dark-overlay.text-center {
    border-radius: 16px;
    border: 5px solid #CAA86B;
    z-index: 2;
}

.footer {
    border-radius: 16px;
    border: 5px solid #CAA86B;
    z-index: 2;
}

.nav__menu > li > a {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    color: #527351;
    font-size: 18px;
    padding: 0 17px;
    line-height: 95px;
    display: block;
    position: relative;
    z-index: 9999; /* Ensure it's above other content */
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .our-story-text  {
    font-size: 16px;
    margin-right: 5%;
    margin-left: 5%;
  }
  .our-story-text-main {
    margin-right: 5%;
    margin-left: 5%;
    margin-top: 20%;
  }
  .our-story-text {
    margin-right: 5%;
    margin-left: 5%;
  }
  .our-story-list {
    margin-right: 5%;
    margin-left: 5%;
    margin-bottom: 2%;
  }
  .our-story-text-footer {
    margin-right: 5%;
    margin-left: 5%;
  }
}

.our-story-text h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  z-index: 2;
}
.our-story-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  z-index: 2;
}

.our-story-text-head {
  color: #7C7C7C;

  padding-bottom: 5%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

@media screen and (min-width: 320px) and (max-width: 768px) {
.our-story-text-head {
  color: #7C7C7C;
  margin-right: 5%;
  margin-left: 5%;
  padding-bottom: 5%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Soft shadow */
}
}

.our-story-text-main {
  color: #7C7C7C;
  margin-top: 10%;
  z-index: 2;
}

.our-story-text {
  margin-top: 10%;
}

.our-story-text-footer {
  color: #7C7C7C;
  z-index: 2;
  font-size: 38px;
  margin-top: 20%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.highlight {
  color: #CAA86B;
  z-index: 2;
}

.our-story-text-head {
  margin-top: 10%;
  z-index: 2;
}

.text-center-our-story {
  margin-top: 10%;
  z-index: 2;
}

.footer {
    padding: 0% 0; 
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.btn.btn--lg.btn--color.btn--button {
  display: inline-block; /* Ensures flexibility in layout */
  background-color: #577652; /* Shared background color */
  color: #CAA86B; /* Text color from the second rule */
  padding: 5px 20px; /* Padding from the first rule */
  border-radius: 16px; /* Higher border-radius from the first rule */
  font-size: 18px; /* Shared font size */
  font-weight: bold; /* Shared font weight */
  text-align: center; /* Shared text alignment */
  text-decoration: none; /* Remove underline */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.2); /* Soft shadow */
  transition: all 0.3s ease; /* Shared transition */
  z-index: 2; /* From the second rule */
  margin-left: auto; /* Center-align horizontally */
  margin-right: auto; /* Center-align horizontally */
  display: block; /* Full-width button to center in its container */
  margin-top: 20%;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(248, 244, 232, 0.25);
  z-index: -1;
}

.image-content {
  padding-top: 10%; 
}

.page-title__title {
  color: #F8F4E8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1.2); /* Soft shadow */
  -webkit-text-stroke: 2px #CAA86B;
}

.page-title.bg-dark-overlay.text-center {
  border-radius: 16px;
  border: 5px solid #CAA86B;
}

.footer {
  border-radius: 16px;
  border: 5px solid #CAA86B;
}

.nav__menu > li > a {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  color: #527351;
  font-size: 18px;
  padding: 0 17px;
  line-height: 95px;
  display: block;
  position: relative;
  z-index: 9999; /* Ensure it's above other content */
}

.map {
  border-radius: 16px;
  margin-top: 10%;
  margin-bottom: 10%;
}


.contact__title {
  color: #7C7C7C;
  font-size: 34px;
}

.footer {
  padding: 0% 0; /* Adjust the padding to control height */
  background-size: cover; /* Ensures the background image fits properly */
  background-repeat: no-repeat;
  background-position: center;
}

.footer__bottom {
  padding: 0% 0; /* Adjust padding for the bottom section */
}

/*-------------------------------------------------------*/
/* Hamburger Nav */
/*-------------------------------------------------------*/
@media (max-width: 1024px) {
  .nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* Ensure it's above other content */
  }

  body {
    padding-top: 60px; /* Adjust this value to match the height of your nav */
  }
}

@media (min-width: 769px) {
  .nav {
    position: relative; /* Reset to default for desktop */
    z-index: 9999; /* Ensure it's above other content */
  }

  body {
    padding-top: 0; /* Remove padding for desktop */
  }
}

.nav__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.nav__menu > li {
  padding: 10px 0; /* Space between items */
  position: relative; /* Needed for pseudo-element positioning */
}

.nav__menu > li > a {
  color: #527351;
  text-decoration: none;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: block;
  padding-bottom: 5px; /* Add space between text and line */
}

.nav__menu > li::after {
  content: "";
  display: block;
  height: 1px;
  background-color: #527351; 
  margin-top: 15px; 
  width: 100%;
}

/* Adjust phone number alignment */
.nav__phone--mobile {
  text-align: center; /* Center-align the phone number */
  margin-top: 20px; /* Add some space above the phone number */
}

.nav__phone--mobile .nav__phone-number {
  font-size: 18px;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 10%;
}

/* Adjust spacing for desktop */
@media (min-width: 992px) {
  .nav__menu > li {
      display: inline-block;
      margin-right: 15px; /* Space between desktop menu items */
  }

  .nav__menu > li::after {
      display: none; /* Remove lines for desktop */
  }
}
/*-------------------------------------------------------*/
/* Partners*/
/*-------------------------------------------------------*/
.text-center-partners {
  text-align: center;
  margin-top: 5%;
  margin-bottom: 5%;
  }
/*-------------------------------------------------------*/
/* Footer */
/*-------------------------------------------------------*/
.footer__phone,
.footer__phone a {
  color: #1F1F1F; /* Set the desired color */
  text-decoration: none; /* Optional: Remove underline for links */
}

.footer__phone a:hover {
  text-decoration: underline; /* Optional: Add underline on hover */
}

@media (min-width: 768px) {
  .footer .widget_nav_menu {
    display: none; /* Hide footer buttons on desktop */
  }
}

.footer {
  border-radius: 16px;
  border: 5px solid #CAA86B;
}

.footer .row {
  margin-left: 0; /* Adjust the row's left margin */
}

.footer .col-lg-3 {
  padding-right: 5px; /* Decrease space on the right of the logo */
}

.footer .col-lg-2 {
  padding-left: 5px; /* Decrease space on the left of the buttons */
}

.footer .widget_nav_menu {
  margin-left: -5px; /* Fine-tune spacing for the menu */
}

.footer__bottom {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
}

.footer__bottom p {
  font-size: 14px;
  text-align: right;
}

.widget_nav_menu .active a {
  color: #C29D64; 
  font-weight: bold; 
}

@media screen and (max-width: 1060px) {
  footer.footer.rounded-section {
    padding: 20px; 
    margin: 0 20px 20px; 
    box-sizing: border-box; 

  }

  footer.footer.rounded-section p,
  footer.footer.rounded-section a {
    font-size: 16px; 
    text-align: center; 
  }
}

.footer__phone-text {
  font-size: 18px;
  color: #1f1f1f;
  font-weight: bold;
}

.footer__phone-number {
  font-size: 18px !important;
  color: #caa86b !important;
  font-weight: bold !important;
}

.widget.widget_nav_menu {
  font-family: "Barlow", sans-serif; 
  font-weight: 700;
  color: #527351;
  font-size: 18px;
}
/*-------------------------------------------------------*/
/* Parallax */
/*-------------------------------------------------------*/

.our-story-watercolor-1 {
    position: absolute;
    top: 30%; 
    left: -10%;
    width: 400%;
    height: auto;
    aspect-ratio: 16 / 9; 
    background-image: url('/img/our-story/our-story-watercolor01.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0%;
  }
  
  
  
  @media screen and (min-width: 320px) and (max-width: 768px) {
    .our-story-watercolor-1 {
      position: absolute;
      top: 5%; 
      left: -20%;
      width: 500%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor01.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -2;
      opacity: 50%;
    }
  }
  
  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .our-story-watercolor-1 {
      position: absolute;
      top: 70%; 
      left: -20%;
      width: 200%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor01.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -2;
      opacity: 50%;
    }
  }
/*-------------------------------------------------------*/
  .our-story-watercolor-2 {
    position: absolute;
    top: 60%; 
    left: -20%;
    width: 500%;
    height: auto;
    aspect-ratio: 16 / 9; 
    background-image: url('/img/our-story/our-story-watercolor02.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -5;
    opacity: 50%;
  }
  
  @media screen and (min-width: 320px) and (max-width: 768px) {
    .our-story-watercolor-2 {
      position: absolute;
      top: 80%; 
      left: -80%;
      width: 1000%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor02.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -5;
      opacity: 50%;
    }
  }
  
  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .our-story-watercolor-2 {
      position: absolute;
      top: 50%; 
      left: -90%;
      width: 1000%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor02.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -5;
      opacity: 50%;
    }
  }
/*-------------------------------------------------------*/
  .our-story-watercolor-3 {
    position: absolute;
    top: 9%; 
    left: 0%;
    width: 200%;
    height: auto;
    aspect-ratio: 16 / 9; 
    background-image: url('/img/our-story/our-story-watercolor03.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -4;
    opacity: 0%;
  }
  
  
  
  @media screen and (min-width: 320px) and (max-width: 768px) {
    .our-story-watercolor-3 {
      position: absolute;
      top: 90%; 
      left: -80%;
      width: 600%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor03.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -4;
      opacity: 0%;
    }
  }
  
  @media screen and (min-width: 769px) and (max-width: 1024px) {
    .our-story-watercolor-3 {
      position: absolute;
      top: 65%; 
      left: 70%;
      width: 200%;
      height: auto;
      aspect-ratio: 16 / 9; 
      background-image: url('/img/our-story/our-story-watercolor03.png');
      background-size: contain;
      background-repeat: no-repeat;
      z-index: -4;
    opacity: 0%;
    }
  }