body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}
.logo {
    max-width: 180px;
    margin-bottom: 1rem;
}
.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin: 0.2rem 0;
}
.hero .tagline {
    color: #f7f7f7;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: #3A7858;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}
.btn:hover {
    background: #2D5E44;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.services {
    background: #f7f8f7;
}
.services h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 2rem;
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.card h3 {
    margin-top: 0;
    color: #17573C;
}
.card p {
    font-weight: bold;
    margin: 0.5rem 0 0.8rem 0;
}
.card ul {
    list-style-type: disc;
    padding-left: 1.2rem;
}
.card li {
    margin-bottom: 0.5rem;
}

/* Limited availability note styling */
.limited {
    font-style: italic;
    color: #17573C;
    margin-top: 0.5rem;
}

.gallery {
    background: #fff;
}
.gallery h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 1.5rem;
}
.carousel {
    position: relative;
    /* Increase gallery width to make photos longer */
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slides img {
    width: 100%;
    flex-shrink: 0;
}
.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}
.controls span {
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    user-select: none;
}

.why-us {
    background: #f7f8f7;
    padding-bottom: 3rem;
}
.why-us h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 1.5rem;
}
.why-us ul {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 1.2rem;
}
.why-us li {
    margin-bottom: 0.6rem;
}

.contact {
    background: #fff;
    padding-bottom: 3rem;
}
.contact h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 1rem;
}
.contact p {
    text-align: center;
    margin: 0.4rem 0;
}
.contact a {
    color: #3A7858;
}

/* Map section styling */
.map {
    background: #f7f8f7;
    padding-bottom: 3rem;
}
.map h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 1rem;
}
.map iframe {
    border: 0;
    border-radius: 8px;
}

/* Intake form styling */
.intake-form {
    background: #fff;
    padding-bottom: 3rem;
}
.intake-form h2 {
    text-align: center;
    color: #17573C;
    margin-bottom: 1rem;
}
.intake-form form {
    max-width: 600px;
    margin: 0 auto;
}
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.form-group label {
    margin-bottom: 0.4rem;
    color: #17573C;
}
.form-group input,
.form-group textarea {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.form-group textarea {
    resize: vertical;
}

/* style for select dropdown in intake form */
.form-group select {
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.intake-form button {
    display: block;
    margin: 1rem auto;
    padding: 0.8rem 1.6rem;
    background: #3A7858;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
.intake-form button:hover {
    background: #2D5E44;
}

footer {
    background: #17573C;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}
/* --- Carousel layout & images --- */
.carousel { 
  position: relative;           /* anchor for absolute controls */
  overflow: hidden;             /* keeps arrows inside rounded img */
}
.carousel .slides img{
  width: 100%;
  display: block;
  border-radius: 12px;          /* matches your card look */
}

/* --- Centered navigation controls --- */
.carousel .controls{
  position: absolute;
  top: 50%;                     /* vertically center across carousel */
  left: 0;
  right: 0;
  transform: translateY(-50%);  /* true centering */
  display: flex;
  justify-content: space-between;
  padding: 0 4px;              /* inset from edges so not clipped */
  pointer-events: none;         /* let only buttons catch clicks */
  z-index: 2;
}
.carousel .controls .prev,
.carousel .controls .next{
  pointer-events: auto;
  font-size: 2rem;
  color: #fff;
  background: rgba(0,0,0,.45);
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}
/* --- Fix gallery arrow centering --- */
section.gallery .carousel .controls .prev,
section.gallery .carousel .controls .next {
  position: absolute;
  top: 50%;                  /* dead center */
  transform: translateY(-50%);
  pointer-events: auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

section.gallery .carousel .controls .prev { left: 20px; }
section.gallery .carousel .controls .next { right: 20px; }

/* --- Button group spacing for stacked buttons --- */
.button-group {
  margin: 10px 0;      /* adds spacing between the buttons */
  text-align: center;  /* centers them under the hero section */
}
