body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f9f6;
  color: #2c3e50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem 1.2rem 1.2rem;
  background: transparent;
}

.logo {
  max-height: 48px;
  width: auto;
  margin: 0;
  display: block;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

footer {
  text-align: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.nav-link:focus {
  background: #e0f2e9;
  color: #2c6e49;
  text-decoration: underline;
}

header {
  background-color: #2c6e49;
  color: #fff;
  padding: 0.5rem 0;
  position: fixed !important ;
  width: 100%;
  z-index: 10 !important;
  height: 80px;
}

.home-bg {
  position: relative;
  background-image: url("clinic.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  width: 100%;
  z-index: 1;
  padding: 2rem 0;
}

.home-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 2;
  pointer-events: none;
}

.home-bg > * {
  position: relative;
  z-index: 3;
}

.mission-bg {
  position: relative;
  background-image: url("clinic.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e0f2e9;
  min-height: 90vh;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
}

.mission-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.mission-content {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.mission-content p {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.mission-statements {
  font-size: 1.35rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

body,
main {
  background: #f5f9f6;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
}

.about-section {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.about-section h2 {
  font-size: 2.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c6e49;
  text-align: center;
  width: 100%;
  display: block;
}

.about-content {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
}

.about-bg {
  background: linear-gradient(
      rgba(245, 249, 246, 0.92),
      rgba(245, 249, 246, 0.92)
    ),
    url("plantgraphic.webp") center center/cover no-repeat fixed;
}

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  padding: 0 1rem;
}

.about-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2.5rem;
  max-width: 900px;
  margin: 3rem auto 2.5rem auto;
}

.about-box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-image-box {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Match height to adjacent text box */
  min-height: 100%;
}

.about-image-box img {
  width: 100%;
  height: 100%;
  max-width: 340px;
  max-height: 340px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44, 110, 73, 0.09);
  border: 1.5px solid #e0f2e9;
  background: #fff;
  display: block;
}

.about-box h2,
.about-box h3 {
  color: #2c6e49;
  margin-top: 0;
  text-align: center;
}

.about-box h3 {
  font-size: 2rem;
  color: #2c6e49;
  margin-bottom: 1rem;
  text-align: center;
}

.about-box p,
.about-content p,
.about-box ul,
.about-box li {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #2c3e50;
}

.about-box ul {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-left: 1.2rem;
  text-align: left;
}

.services-preview,
.about-preview {
  text-align: center;
}

.services-preview .grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.services-preview .grid > div {
  max-width: 250px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-text,
.service-image {
  flex: 1 1 0;
  min-width: 300px;
  max-width: 500px;
}

.service-text {
  background: #f5f9f6;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
  text-align: left;
}

.service-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c6e49;
}

.service-text p {
  font-size: 1.15rem;
  color: #2c3e50;
}

.service-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
}

.service-image img[alt="Comprehensive PT"],
.service-image img[alt="Dry Needling"],
.service-image img[alt="Graston/IASTM"] {
  object-fit: contain;
  background: none;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
  width: 100%;
  height: 260px;
  display: block;
}

.contact-form-embed {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
  background: #fff;
  padding: 1rem 0;
}

.contact-info {
  max-width: 400px;
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
  border: 1.5px solid #e0f2e9;
  text-align: center;
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: #2c6e49;
}

.contact-info a {
  color: #2c6e49;
  text-decoration: none;
  font-weight: 500;
}

.contact-form-link {
  text-align: center;
  margin: 2.5rem 0 2rem 0;
}

.cta-secondary {
  display: inline-block;
  background: #2c6e49;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 12px rgba(44, 110, 73, 0.07);
}

.cta-secondary:hover,
.cta-secondary:focus {
  background: #218c5a;
  color: #fff;
  text-decoration: underline;
}

main > h1,
main > p {
  text-align: center;
}

.contact-bg {
  background: linear-gradient(
      rgba(245, 249, 246, 0.92),
      rgba(245, 249, 246, 0.92)
    ),
    url("plantgraphic1.webp") center center/cover no-repeat fixed;
}

.contact-bg main {
  max-width: 440px;
  margin: 0 auto 2.5rem auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44, 110, 73, 0.09);
  border: 1.5px solid #e0f2e9;
  padding: 2.5rem 2rem;
}

.contact-bg .contact-info {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 2.5rem auto;
}

.about-bg main {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.services-bg main {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

.service-text,
.service-conditions-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(44, 110, 73, 0.09);
  border: 1.5px solid #e0f2e9;
  padding: 2rem 2rem 1.5rem 2rem;
}

.service-conditions-box {
  max-width: 700px;
  margin: 3rem auto 2.5rem auto;
}

.service-conditions-box h2 {
  color: #2c6e49;
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-conditions-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-conditions-box li {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: #2c3e50;
  text-align: left;
}

.service-conditions-box strong {
  color: #2c6e49;
}

body {
}

body.services-bg {
  background: linear-gradient(
      rgba(245, 249, 246, 0.92),
      rgba(245, 249, 246, 0.92)
    ),
    url("plantgraphic.webp") center center/cover no-repeat fixed;
}

.site-title {
  font-family: "script", "Times New Roman", serif;
  font-style: italic;
  font-size: 2.2rem;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 400;
  margin-right: 2.5rem;
  margin-left: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

body.home-bg {
  position: relative;
  background: linear-gradient(
      rgba(245, 249, 246, 0.3),
      rgba(245, 249, 246, 0.92)
    ),
    url("clinic.webp") center center/cover no-repeat fixed;
  padding-top: 0 !important;
}

body.home-bg header.hero {
  position: relative;
  top: 0;
  margin: 0;
  z-index: 10;
}

body.home-bg main {
  padding-top: 0;
}

.mission-box,
.services-preview-box,
.about-preview-box,
.mission-nobox,
.services-preview-nobox,
.about-preview-nobox {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 2.5rem 0;
  max-width: 900px;
  margin: 3rem auto 2.5rem auto;
  text-align: center;
}

.mission-nobox h2,
.services-preview-nobox h2,
.about-preview-nobox h2 {
  color: #2c6e49;
  margin-top: 0;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.mission-nobox p,
.services-preview-nobox p,
.about-preview-nobox p,
.mission-statements,
.services-preview-nobox .grid > div {
  color: #234;
  font-size: 1.15rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
  background: none;
  box-shadow: none;
}

.services-preview-nobox .grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.services-preview-nobox .grid > div {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0.5rem 1rem;
  min-width: 180px;
  max-width: 220px;
  flex: 1 1 180px;
}

.about-preview-nobox p {
  margin-bottom: 1.5rem;
}

/* Center the mission section vertically on the home page, with scroll for the rest */
body.home-bg main {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: flex-start;
  padding-top: 18vh;
  /* Push mission section further down */
  box-sizing: border-box;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 900px;
  margin: 0 auto;
}

.mission-nobox {
  margin-top: 40vh;
  margin-bottom: 8vh;
}

.main-vision {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-vision h1 {
  font-size: 3rem;
  color: #2c6e49;
  font-family: "Georgia", "Times New Roman", handwritten;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
  margin: 0;
}

.service-conditions-box ul.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 2.5rem;
  justify-items: start;
  list-style: disc inside;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
}

@media (max-width: 900px) {
  .service-conditions-box ul.conditions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .service-conditions-box ul.conditions-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove extra side space and make content full width on mobile */
@media (max-width: 700px) {
  body,
  html {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  main,
  .about-section,
  .about-row,
  .about-box,
  .service-row,
  .service-text,
  .service-image,
  .service-conditions-box,
  .mission-nobox,
  .main-vision,
  .services-preview-nobox,
  .about-preview-nobox {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    box-sizing: border-box;
  }

  /* Header: stack title and tabs vertically, center everything */

  .nav-link:hover,
  .nav-link:focus {
    background: #e0f2e9;
    color: #2c6e49 !important;
    text-decoration: underline;
  }

  /* Stack service sections vertically */
  .service-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
    max-width: 100vw !important;
    padding: 1rem 0.5rem !important;
  }

  .service-text,
  .service-image {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* Compress service images for mobile */
  .service-image img {
    width: 90vw !important;
    max-width: 320px !important;
    height: auto !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

.service-text,
.service-image,
.about-box,
.service-conditions-box,
.mission-nobox,
.main-vision,
.services-preview-nobox,
.about-preview-nobox {
  width: 100% !important;
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
  box-sizing: border-box;
}
