/* ===== Homepage Custom Styles ===== */

/* General layout */



body.page-template-homepage-template {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fdfdfd;
  line-height: 1.6;
}

body.page-template-homepage-template .container {
  max-width: 100%;
}

.site-content {
	display: block !important;
}

/* ===== Slider ===== */
/* Slider background with soft green base */
.slider {
  position: relative;
  height: 100vh;
  background: #d8f3dc; /* soft green */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Position canvas behind text */
#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  z-index: 1; /* keep content above particles */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}


.slide.active {
  opacity: 1;
}

.slide h1 {
  font-size: 2.2rem;
  color: #2a6a6a;
  margin-bottom: 10px;
}

.slide p {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 20px;
}

.slide a {
  background: #2a6a6a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.slide a:hover {
  background: #1f4c4c;
}

/* ===== Intro Section ===== */
.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 60px 0;
  padding: 0 20em;
}

.profile-pic {
  width: 150px;          /* you can use % or rem for responsiveness */
  aspect-ratio: 1 / 1;   /* ensures square container */
  border-radius: 50%;    /* makes it circular */
  overflow: hidden;      /* hides image overflow */
  margin-right: 1em;
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* keeps image proportional while filling */
  display: block;        /* removes extra whitespace */
}


.intro .text {
  flex: 1;
}

.intro h2 {
  font-size: 2rem;
  color: #2a6a6a;
}

.intro p {
  margin: 15px 0;
}

.intro .link {
      background: #2a6a6a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.intro .link:hover {
  color: #1f4c4c;
  border-color: #1f4c4c;
}

/* ===== Therapies Grid ===== */
#therapies {
  padding: 4rem 2rem;
  background: #fffef1; /* soft background */
  text-align: center;
}

#therapies h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2a6a6a; /* calming green */
}

/* Grid with equal-height cards */
#therapies .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch; /* make all cards the same height */
}

/* Card styling */
/* Make entire card clickable */

/* --- Therapies Grid Section --- */
#therapies {
  padding: 6rem 2rem;
  text-align: center;
  background-color: #e8f5f2;
}

#therapies h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #2a4d43;
  margin-bottom: 3rem;
}

/* --- Grid Layout --- */
#therapies .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

/* --- Card Styling --- */
#therapies .card {
  background: #c4e3e5;
  padding: 2rem;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#therapies .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* --- Icon --- */
#therapies .therapy-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  object-fit: contain;
}

/* --- Text --- */
#therapies .card h3 {
  font-weight: 600;
  color: #2a4d43;
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
}

#therapies .card p {
  color: #51796b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  max-width: 85%;
}

/* --- Subtle Hover Motion for Calmness --- */
#therapies .card:hover .therapy-icon {
  transform: scale(1.05);
  transition: transform 0.4s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  #therapies .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  #therapies .grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Testimonials ===== */
.testimonials {
  padding: 60px 0;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #2a6a6a;
}

.testimonial {
  display: none;
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  color: #444;
}

.testimonial.active {
  display: block;
}

.testimonial cite {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #2a6a6a;
}

/* ===== Contact Form ===== */
/* --- Contact Form Custom Styling --- */

#contact {
	max-width: 100%;
	background: #e0f4f4;
	padding-bottom: 2em;
}

div.wpforms-container-full, div.wpforms-container-full *{
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
}





/* ===== Responsive ===== */
@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
	padding: 0 2em;    	
  }

  .intro img {
    margin: 0 0 20px 0;
  }

  .slide h1 {
    font-size: 1.6rem;
  }

  .slide p {
    font-size: 1rem;
  }
  .intro {
	 padding: 0 2em;
  }
}
