*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Lora', serif;
}

/* Color variables for the green palette */
:root {
  --mustard: #D2A679;       /* Mustard color from image */
  --darker-green: #0B2A1D;  /* Darker green from image */
  --dark-green: #0F3823;    /* Darkest green from image */
  --medium-green: #397B30;  /* Medium green from image */
  --light-green: #8AAB48;   /* Light green/olive from image */
  --cream: #F5EFD9;         /* Cream/beige from image */
  --brown-text: #4a3f35;    /* Original brown text color */
  --accent-brown: #a78c73;  /* Original accent brown */
}

html, body {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
}

body {
  background-color: #ffffff;
  line-height: 1.6;
  color: var(--brown-text);
  font-size: 17px;
   min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 500; /* Set default font weight */
  font-family: 'Lora', serif; /* Ensure Lora is applied globally */
}

.wrapper {
  display: flex;
  flex-direction: column;
  
  flex: 1 0 auto;
}
main.content {
  flex: none;
}



/* ===== HEADER STYLES ===== */
.header {
  height: 80px;
  background-color: var(--dark-green);
  padding: 0px 40px 0px 20px;
  display: flex;
  font-weight: bold;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  justify-content: space-between;
  position: relative;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  padding: 5px 0;
  
}

.logo-text {
  font-size: 24px;
  color: #f2f2f2;
  font-weight: 700;
  margin-left: 10px;
}

.logo a {
  display: block;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

/* Overlay effect for sidebar */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 900;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Desktop Navigation */
.dropdown {
  background-color: transparent;
  display: flex;
  margin-left: auto;
  justify-content: flex-end;
}

.dropdown ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 40px;
  padding: 0;
  margin: 0;
}

.dropdown .nav-item {
  position: relative;
  white-space: nowrap;
}

.dropdown .nav-item > a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight:500;
  transition: color 0.3s ease;
  padding: 10px 0;
  white-space: nowrap;
  display: inline-block;
}

.dropdown .nav-item > a:hover {
  color: var(--mustard);
}

/* Dropdown menu styles to match Accordion styling */
.dropdown .inner-nav {
  display: block;
  position: absolute;
  background-color: var(--cream);
  border-left: 4px solid var(--light-green);
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 1000;
  top: 100%;
  left: 0;
  padding: 0;
  margin-top: 18px;
  border-radius: 4px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.3s ease-out, opacity 0.3s ease, transform 0.3s ease;
}

.dropdown .nav-item.clicked .inner-nav {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.dropdown .inner-nav li {
  padding: 0;
  transition: background-color 0.2s ease;
  opacity: 0;
  border-bottom: 1px solid #e6ddd1;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

.dropdown .nav-item.clicked .inner-nav li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.dropdown .inner-nav li:last-child {
  border-bottom: none;
}

.dropdown .inner-nav li a {
  color: var(--brown-text);
  text-decoration: none;
  display: block;
  font-size: 1.1em;
  font-family: 'Lora', serif;
  width: 100%;
  padding: 15px;
  transition: color 0.3s ease;
}

.dropdown .inner-nav li:hover {
  background-color: var(--light-green);
}

.dropdown .inner-nav li a:hover {
  color: #ffffff;
}

/* Navigation Toggle */
.nav-toggle {
  display: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  width: 25px;
  height: 25px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar Styles - Matching Dropdown */
.sidebar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 200vh;
  background-color: var(--dark-green);
  border-left: 4px solid var(--light-green);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0px 0px 0px 0px;
}

.sidebar li {
  padding: 20px 0px ;
  border-bottom: 1px solid #ffffff;
  transition: background-color 0.2s ease;
  position: relative;
}

.sidebar li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
  font-family: 'Lora', serif;
  transition: color 0.3s ease;
}

.sidebar li a:hover {
  color:var(--light-green);
}

.sidebar .nav-item {
  position: relative;
}

/* Nested Sidebar Menu Mimicking Dropdown */
.sidebar .inner-nav {
  max-height: 0;
  padding-top: 20px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.sidebar.active 
{
  padding-top: 50px;
}


.sidebar .nav-item.clicked .inner-nav {
  max-height: 500px;
}

/* Inner-nav li styling for cream background and black text */
.sidebar .inner-nav li {
  padding: 10px 5px 10px 5px;
  border-bottom: 2px solid var(--light-green);
  transition: background-color 0.2s ease;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  background-color: #f9f5eb;
}

.sidebar .nav-item.clicked .inner-nav li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Text color for inner nav links */
.sidebar .inner-nav li a {
  color: #343434;
  text-decoration: none;
  font-size: .8em;
  font-family: 'Lora', serif;
  transition: color 0.3s ease;
}

/* Hover states for inner nav items */
.sidebar .inner-nav li:hover {
  background-color: var(--light-green);
}

.sidebar .inner-nav li:hover a {
  color: #ffffff;
}

/* ===== PAGE CONTENT STYLES ===== */
/* Welcome Banner */
.welcome-banner {
  max-width: 100%;
  background-color: var(--light-green);
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #e6ddd1;
}

.welcome-banner h2 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 2.5em;
}

.welcome-banner p {
  color: #ffffff;
  line-height: 1.8;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
.main-content {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px 20px;
  
}

.main-content h2 {
  color: var(--brown-text);
  margin-bottom: 20px;
  font-size: 16px;
  border-bottom: 3px solid var(--accent-brown);
  padding-bottom: 30px;
}

.main-content p {
  color: #000000;
  line-height: 1.7;
  font-size: 14px;
}

/* Make play therapy card span full width so content fits side-by-side */
.play-card {
  flex: 1 1 100%;
}

/* Fix layout and image size */
.play-card .service-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

/* Keep consistent height and avoid image from blowing up */
.play-card .play-service-image {
  width: 200px;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Services Section */
.services-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-card {
  background-color: var(--cream);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  height: auto;
  width: 100%;
  margin: 0;
  border-left: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-left: 4px solid var(--medium-green);
}

.service-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  color: var(--brown-text);
  margin-bottom: 15px;
  font-size: 1.5em;
  text-align: left;
}

.service-card p {
  color: var(--brown-text);
  line-height: 1.6;
  font-size: 15px;
}

.service-image-container {
  flex: 0 0 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

/* Play Therapy Special Case */
.play-therapy .service-content p:not(:last-child) {
  margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
  background-color: var(--medium-green);
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  margin: 0 0 0 0;
  font-weight: bold; 
}

.cta-section h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background-color: var(--dark-green);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 25px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--light-green);
}

/* ===== New Mustard CTA Section Styling ===== */
.cta-section.cta-mustard {
  padding: 0px 100px 0px 0px;
  background-color: #fbe786;
  color: #343434; /* Dark text for contrast on mustard */
  padding: 30px 20px;
  margin-top: 0px;
}

.cta-section.cta-mustard h3 {
  color: #343434; /* Explicitly set for h3 if needed */
}

.cta-section.cta-mustard p {
  color: #343434; /* Explicitly set for p if needed */
  /* If --dark-green is too dark, try --brown-text or a custom dark color */
}


.cta-section.cta-mustard .cta-button {
  background-color: var(--brown-text); /* Dark brown button */
  color: #ffffff; /* White text on button */
}

.cta-section.cta-mustard .cta-button:hover {
  background-color: var(--light-green); /* A slightly lighter green for hover, or another contrasting color */
  color: #ffffff;
}
.cta-section.cta-mustard.green{
  padding-top: 10px ;
  padding-right: 10px;
  padding-bottom: 30px;
  background-color: var(--medium-green); /* Use medium green for the green button */
  color: #ffffff; /* White text on button */
}
.cta-section.cta-mustard.green .cta-button {
  margin-right: 30px;
}
.cta-section.cta-mustard.green .cta-content-container h3,
.cta-section.cta-mustard.green .cta-content-container p {
  background-color: var(--medium-green);
  color: #ffffff;

}
.cta-section.cta-mustard.thank-you {
  padding: 0px 100px 0px 0px;
  background-color: #fbe786;
  padding: 30px 20px;
  padding-top: 20px;  
}
.welcome-banner {
  /* Existing styles */
  margin-bottom: 0; /* Override any existing bottom margin */
}

/* green button for the contact form */
/* ===== CONTACT SECTION STYLES ===== */
.contact-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0px 20px;
}

.contact-container {
  margin-bottom: 40px;
}

.section-title {
  color: var(--brown-text);
  margin-bottom: 20px;
  font-size: 2.0em;
  border-bottom: 3px solid var(--accent-brown);
  padding-bottom: 15px;
  text-align: center;
}

.section-description {
  color: var(--brown-text);
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.contact-info {
  flex: 1 1 400px;
  background-color: var(--cream);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-left: 4px solid var(--light-green);
}

.contact-form-container {
  flex: 1 1 400px;
  background-color: var(--cream);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  border-left: 4px solid var(--light-green);
}

.contact-subtitle {
  color: var(--brown-text);
  margin-bottom: 15px;
  font-size: 1.5em;
  border-bottom: 1px solid #e6ddd1;
  padding-bottom: 10px;
}

.contact-details {
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 15px;
}

.contact-label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--brown-text);
}

.contact-text {
  display: block;
  color: var(--brown-text);
}

.contact-link {
  
  color: var(--medium-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--dark-green);
}

.hours-section, .emergency-section {
  margin-top: 30px;
}

.hours-text, .emergency-text {
  color: var(--brown-text);
  line-height: 1.7;
  margin-bottom: 10px;
}

.emergency-section {
  margin-top: 30px;
  background-color: var(--cream);
}

.emergency-text {
  font-size: 14px;
  background-color: rgba(138, 171, 72, 0.1); /* Light green with opacity */
  padding: 10px;
  border-radius: 4px;
}

.form-description {
  margin-bottom: 20px;
  color: var(--brown-text);
}

.form-button-container {
  text-align: left;
  margin: 25px 0;
}

.form-open-button {
  display: inline-block;
  background-color: var(--medium-green);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.form-open-button:hover {
  background-color: var(--dark-green);
}

.privacy-note {
  font-size: 13px;
  color: var(--brown-text);
  font-style: italic;
  margin-top: 20px;
  line-height: 1.6;
}

/* Location Section Styles */
.location-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.location-container {
  margin-bottom: 40px;
}

.map-container {
  width: 100%;
  height: 400px;
  background-color: #f9f5f0;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.location-subtitle {
  color: var(--brown-text);
  margin-bottom: 15px;
  font-size: 1.3em;
}

.directions-text {
  color: var(--brown-text);
  line-height: 1.7;
}

/* What to expect section */
.what-to-expect-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 0 20px;
}

.what-to-expect {
  background-color: var(--cream);
  border-left: 4px solid var(--light-green);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.what-to-expect h2 {
  color: var(--brown-text);
  margin-bottom: 20px;
  font-size: 2.0em;
  border-bottom: 3px solid var(--accent-brown);
  padding-bottom: 15px;
}

.what-to-expect p {
  color: var(--brown-text);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 15px;
}

.what-to-expect p:last-child {
  margin-bottom: 0;
}

/* About me section styles */
.about-me-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* About me content section */
.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-me-section {
  background-color: var(--cream);
  border-left: 4px solid var(--light-green);
  margin: 30px auto;
  width: 100%;
  max-width: calc(1800px / 2); /* Half of the max content width */
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden; /* Clear floated elements */
}

/* FIX: Ensure consistent header font size on the About page */
.about-me-section h2 {
  color: var(--brown-text);
  font-size: 2em;
  margin-bottom: 20px;
  padding-bottom: 15px;
  margin-top: 0;
}

/* Therapist image styles*/
.therapist-image {
  float: right;
  margin: 110px 0 20px 30px; 
  text-align: center;
  width: 300px;
}

.therapist-photo {
  max-width: 300px;
  height: auto;
  border-radius: 111px; /* add  rounding to match the box */
}

.rounded-image {
  border-radius: 50%;
  max-width: 200px;
  height: auto;
}

/* Therapist bio text styles */
.therapist-bio {
  border-top: var(--accent-brown) 3px solid;
  padding-top: 10px;
}

.therapist-bio p {
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: justify; /* Optional: makes text look cleaner when wrapping */
}

/* Clear float after the section */
.about-me-section::after {
  content: "";
  display: table;
  clear: both;
}

/* FAQ Page Specific Styles */
.faq-page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 20px;
}

.faq-section {
  margin-bottom: 60px;
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h3 {
  color: var(--dark-green);
  font-size: 1.4em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-green);
}

/* Accordion styling enhancements */
.accordion {
  padding: 20px;
  background-color: var(--cream);
  border-left: 4px solid var(--light-green);
  max-width: 1200px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #e6ddd1;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.accordion-item.active {
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  background-color: #f9f8f6;
}

.accordion-item.active .accordion-header {
  background-color: var(--medium-green);
  color: white;
}

.accordion-item.active .accordion-header:hover {
  background-color: var(--dark-green);
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.1em;
  font-family: 'Lora', serif;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 1em;
  gap: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  color: var(--brown-text);
}

.accordion-header:hover {
  background: var(--light-green);
  color: white;
}

.accordion-header i {
  color: var(--accent-brown);
  min-width: 20px;
}

.accordion-header i.fas:not(.fa-chevron-down) {
  margin-right: 0.5em;
}

.accordion-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--accent-brown);
}

.accordion-arrow i {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9em;
}

.accordion-header i:first-child {
  display: none;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

/* FIX: Ensure accordion body is properly displayed when active */
.accordion-body {
  padding: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
  background-color: #fafafa;
  will-change: height;
  transform: translateZ(0);
}

.accordion-item.active .accordion-body {
  padding: 15px 15px 20px 45px;
  height: auto;
  display: block;
}

.accordion-body p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--brown-text);
}

.accordion-body ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.accordion-body li {
  margin-bottom: 5px;
  color: var(--brown-text);
}

/* Fade-in effect for accordion content */
.accordion-body > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: 0.1s;
}

.accordion-item.active .accordion-body > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background-color: var(--dark-green);
    color: #ffffff;
    width: 100%;
    margin-top: auto; /* Push to bottom if needed */
    flex-shrink: 0; /* Prevents footer from shrinking */
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px 10px 10px;
  
    box-sizing: border-box;
}


/* Footer columns - maintaining your original structure */

.footer-contact, .footer-nav, .footer-hours, .footer-logo {
    flex: 1 1 auto;
    min-width: 200px;
    margin: 20px 0px 0px 20px;
}
.mentaya-badge{
  
  flex: 1 1 auto;
    min-width: 200px;
    margin: 0px 40px 40px 40px;
  }

/* Ensure this media query comes AFTER the default styles */
@media screen and (max-width: 900px) {
  .mentaya-badge {
    /* Keep these if they are still relevant for the badge itself,
       though flex: 1 1 auto might be more appropriate on the parent
       if you want the badge to take up full available width.
       For simple centering, you might not need flex: 1 1 auto directly on the badge. */
    /* flex: 1 1 auto; */
    /* min-width: 200px; */

    /* The key to centering a flex item horizontally while applying margins */
    margin-left: auto;  /* Push left as much as possible */
    margin-right: auto; /* Push right as much as possible */
    margin-top: 20px;   /* Your desired top margin */
    margin-bottom: 20px; /* Your desired bottom margin */

    /* Remove padding-left if you want consistent horizontal centering,
       otherwise it will offset the center */
    padding-left: 0; /* Or adjust as needed */

    /* Ensure display: block if margin: auto is used without it being a direct flex child,
       but here, with flexbox, auto margins handle centering.
       If it's directly in footer-container (flex), display: flex; on badge
       is for its *internal* content, not for centering the badge itself. */
    /* If you want the text inside the badge centered, keep text-align: center */
    text-align: center;
    /* If the badge content needs to be flexed for internal centering, keep these: */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  /* Apply the desired margin specifically for screens <= 900px */
  .footer-contact, .footer-nav, .footer-hours, .footer-logo{
     margin-left: 0px; /* This should now override the default 40px */
    /* If you want to reset top/right/bottom margins, you can explicitly set them here too */
    /* Example: margin: 20px 0 0 100px; */
  }

  /* No need to re-declare flex and min-width unless they change */
  /* If they do change, declare them here as needed. */
  /* .footer-info, .footer-nav, .footer-hours, .footer-logo {
    flex: 1 1 auto;
    min-width: 200px;
  } */

  .footer-container {
    flex-direction: column;
  }

  /* Other media query specific rules */
  .nav-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
  }
  .sidebar {
    display: block;
  }
  .dropdown {
    display: none;
  }
  .cta-section.cta-mustard.green.about .cta-button {
    padding: 20px 36px;
  }
  .cta-section.cta-mustard.green.about .cta-button:hover {
    background-color: var(--dark-green);
  }
}

/* Your 800px-880px media query should come after the 900px one if there are overlaps and you want it to take precedence in that specific range */
@media screen and (min-width: 800px) and (max-width: 880px) {
  
}

/* ... (rest of your CSS) ... */

.footer-info {
    flex: 1 1 300px;
}

.footer-logo {
    display: block;
    text-align: center;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

.footer-contact {
    padding-left: 0px;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--mustard);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-hours{
  float:right;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-nav {
    padding-left: 0px;
    flex: 1 1 150px;
}

.footer-nav h4, .footer-hours h4, .footer-contact h4 {
    color: var(--mustard);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: var(--mustard);
}

.footer-hours {
    flex: 1 1 250px;
}

.footer-hours p {
    margin-bottom: 5px;
    font-size: 14px;
}

/* Fixed footer bottom styles */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--darker-green);
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom small {
    font-size: 12px;
    opacity: 0.8;
}

@media screen and (max-width: 750px) {
  /* Restore the general font-size for body on smaller screens */
  body {
    font-size: 15px; /* Adjusted slightly from 14px for better readability */
  }

  .dropdown {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
  }

  .sidebar {
    display: block;
  }

  .header {
    padding: 0 15px;
  }

  .logo-img {
    max-height: 50px;
  }
  .logo-text {
    font-size: 18px; /* Slightly increased for better readability */
  }

  .welcome-banner {
    padding: 40px 15px;
  }

  .welcome-banner h2 {
    font-size: 2em;
  }

  .main-content {
    margin: 30px auto;
  }

  .main-content h2 {
    font-size: 1.5em;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-info,
  .footer-nav,
  .footer-hours {
    flex: 1 1 100%;
    text-align: center; /* Adjust margin for stacked elements */
  }

  .footer-logo {
    display: block;
    text-align: center;
    margin: 0 auto 20px auto; /* Center logo and add bottom margin */
  }

  .cta-section {
    padding: 40px 15px;
  }

  .contact-content {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-container {
    flex: 1 1 100%;
  }

  .section-title {
    font-size: 1.8em;
  }

  .contact-subtitle {
    font-size: 1.3em;
  }

  .map-container {
    height: 300px;
  }

  .what-to-expect {
    width: 90%; /* Match the width of 1 service card on mobile */
    margin: 15px auto;
    display: block;
  }
}

/* Responsive Styles for Service Cards - specifically for screens up to 900px */
@media screen and (max-width: 900px) {
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }

  .service-card h3 {
    color: #4a3f35;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
  }

  .service-card p {
    color: #4a3f35;
    line-height: 1.6;
    font-size: 14px;
  }

  .service-card p em {
    font-style: italic;
    color: #a78c73;
  }

  .services-container {
    flex-direction: column;
  }

  /* Service card styles for mobile */
  .service-image {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Add a maximum height to prevent very tall images */
    object-fit: contain; /* Or 'cover' if you prefer cropping */
    display: block;
    margin-bottom: 15px; /* Add some space below the image */
    padding: 0px; /* Add padding to the image */
  }

  .service-image-container {
    max-height: none; /* Allow container to adjust to image height */
    overflow: hidden; /* In case object-fit: cover is used */
  }
  .service-image.individual-icon {
    rotate: -90deg; /* Rotate the individual icon */
    max-width: auto; /* Limit the size of the individual icon */
  }

  .service-card {
    padding: 20px;
    margin: 15px auto;
    width: 90%;
    display: flex; /* Enable flexbox for content alignment */
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center items horizontally */
  }

  .service-icon {
    font-size: 1.8em;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 1150px) {
  
  .footer-hours {
    flex: 1 1 10px;
    float: none;
    text-align: center;
  }
  .footer-nav { 
    flex: 1 1 10px;
    text-align: center;
  }
  .footer-info {
    flex: 1 1 10px;
    text-align: center;
  }
  .footer-logo
  {
    display:none; /* Hide logo on smaller screens where space is limited */
    text-align: center;
  }
}

@media screen and (max-width: 337px) {
  .logo-img {
    display: none; /* Hide logo image */
  }

  .logo-text {
    font-size: 16px; /* Adjusted slightly for better balance */
    padding-right: 20px; /* Remove padding if logo is hidden */
  }

  /* Ensure header elements don't overlap when logo is hidden */
  .header {
    justify-content: center; /* Center content when logo is hidden */
    padding: 0 10px; /* Reduce padding to save space */
  }
  .nav-toggle {
    right: 10px; /* Adjust toggle position if header padding changes */
  }
}
.invert-on-dark {
  filter: invert(0%); /* No inversion */
}

/* Dark mode style */
@media (prefers-color-scheme: dark) {
  body  {
    background-color:#ffffff; /* normal background color */
    color: var(--brown-text); /* Keep original text color */
  }
  /* No other changes needed here to maintain the same look, 
     as other elements inherit their colors or have explicit definitions */
  .nav-toggle span{
    background-color: #f2f2f2; /* Ensure nav toggle lines are visible on dark header */
  }

  
  .footer-logo {
    margin: 0 auto 20px auto;
  }
  .faq-category h3 {
    color: var(--dark-green); /* Ensure FAQ category headers are visible */
  }
}

/* Contact Form Styles */
.contact-form {
  width: 100%;
  font-family: 'Lora', serif;
}

.form-group {
  margin-bottom: 20px;
}

.form-group p {
  color: var(--brown-text);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.required {
  color: var(--medium-green);
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e6ddd1;
  border-radius: 4px;
  background-color: #ffffff;
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--brown-text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--light-green);
  box-shadow: 0 0 0 2px rgba(138, 171, 72, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-button-container {
  margin-top: 25px;
}

.contact-form .cta-button {
  background-color: var(--medium-green);
  color: #ffffff;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.contact-form .cta-button:hover {
  background-color: var(--dark-green);
}

/* Form validation styling */
.contact-form input:invalid,
.contact-form textarea:invalid {
  border-color: var(--light-green);
}

.contact-form input:focus:invalid,
.contact-form textarea:focus:invalid {
  box-shadow: 0 0 0 2px rgba(230, 126, 126, 0.2);
}

/* Responsive styles */
@media screen and (max-width:500px) {
  .cta-section.cta-mustard.green.about .cta-button {
    margin-left: 20px;
  }

  .cta-section.contact-container a:hover {
    background-color: var(--dark-green);
  }
}
@media screen and (max-width: 750px) {
  .footer-container{
    padding-right: 20px;
  }
  .form-group p {
    font-size: 14px;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }
  
  .contact-form .cta-button {
    width: 100%;
    font-size: 15px;
    padding: 12px 20px;
  }
}
body.thankyou-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure full viewport height */
}

body.thankyou-page .wrapper {
    flex: 1; /* Allow it to grow and take up space */
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.thankyou-page main.content {
    flex: none; /* Do not grow */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.thankyou-page main.content .welcome-banner.thank-you {
    margin-bottom: 0 !important;
    padding-bottom: 50px !important;
}
  
body.thankyou-page .cta-section {
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

body.thankyou-page .cta-section.cta-mustard.thank-you {
    margin-top: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.thankyou-page .cta-section.cta-mustard.thank-you .cta-content-container {
    margin-bottom: 20px; /* Add space under the button container */
}