/* Global Styles and Structure */
/* Adding padding to footer */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
  padding: 70px;
}

/* Add subtle drop shadow to navigation */
.ast-desktop .main-header-menu,
.main-navigation {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

/* Logo Resize Reponsive */

/* Responsive logo sizing */
.site-branding .custom-logo {
  max-width: 500px; /* Size for desktop */
  width: 100%; /* Makes it fluid */
}

/* Adjust for medium devices like tablets */
@media screen and (max-width: 921px) {
  .site-branding .custom-logo {
    max-width: 350px;
  }
}

/* Adjust for mobile devices */
@media screen and (max-width: 544px) {
  .site-branding .custom-logo {
    max-width: 250px;
  }
}

/* Global Button Styling */
.button-link,
.wp-block-button__link,
.wp-element-button {
  background-color: #C8B194;
  color: #fff !important;
  padding: 20px 20px !important;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s ease;
  font-weight: 500;
}

.button-link:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
  background-color: #B4B7A1;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Button color variants */
.tan-button {
  background-color: #C8B194;
}

.tan-button:hover {
  background-color: #B4B7A1;
}

.sage-button {
  background-color: #B4B7A1;
}

.sage-button:hover {
  background-color: #C8B194;
}

.pink-button {
  background-color: #E6A8A1;
}

.pink-button:hover {
  background-color: #B4B7A1;
}

/* Common background colors */
.tan-bg {
  background-color: #C8B194;
}

.sage-bg {
  background-color: #B4B7A1;
}

.pink-bg {
  background-color: #D38789;
}

/* Section Headings */
.section-heading,
.michelle-heading,
.services-heading,
.why-choose-section .section-heading {
  text-align: center;
  font-family: 'Dancing Script', cursive;
  color: #6F4040;
  margin: 25px 0;
  font-size: 3em;
}

/* Transparent button styling for colored backgrounds */
.growth-section .wp-block-button__link,
.michelle-content .wp-block-button__link,
.service-content-inner .wp-block-button__link,
.why-choose-section .wp-block-button__link {
  background-color: rgba(255,255,255,0.2) !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  transition: all 0.3s ease !important;
}

.growth-section .wp-block-button__link:hover,
.michelle-content .wp-block-button__link:hover,
.service-content-inner .wp-block-button__link:hover,
.why-choose-section .wp-block-button__link:hover {
  background-color: rgba(255,255,255,0.3) !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-container {
  position: relative;
  background-image: url('https://prickly-pear-therapy.com/wp-content/uploads/2025/02/Cactus-field.png'); 
  background-size: cover;
  background-position: center top;
  background-color: transparent;
  height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  clip-path: url(#wave-hero-bottom);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-bottom: 30px;
}

.hero-heading {
  font-size: 4em;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 #000, 
               4px 4px 8px rgba(0,0,0,0.7);
  color: #fff !important;
  font-weight: bold;
}

.hero-tagline {
  font-size: 1.8em;
  font-family: 'Lato', sans-serif;
  margin-bottom: 30px;
  text-shadow: 1px 1px 0 #000, 
               2px 2px 4px rgba(0,0,0,0.6);
  background-color: rgba(0, 0, 0, 0.25);
  padding: 8px 15px;
  border-radius: 4px;
  display: inline-block;
  color: #fff !important;
  font-weight: 500;
  max-width: 90%;
}

.hero-container h1,
.hero-container p {
  color: #fff !important;
}

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.5em;
    padding: 6px 12px;
  }
  
  .hero-heading {
    font-size: 3.5em;
  }
}

@media (max-width: 480px) {
  .hero-tagline {
    font-size: 1.3em;
    padding: 5px 10px;
  }
  
  .hero-heading {
    font-size: 3em;
  }
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 80%;
  margin: -80px auto 40px;
  position: relative;
  z-index: 3;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-card-heading {
  color: #333;
  font-family: 'Lato', sans-serif;
  margin-bottom: 15px;
}

.service-card-text {
  color: #666;
  margin-bottom: 20px;
}

.service-card-image {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

/* Service card specific button styling */
.service-card:nth-child(1) .button-link {
  background-color: #C8B194;
}

.service-card:nth-child(1) .button-link:hover {
  background-color: #B4B7A1;
}

.service-card:nth-child(2) .button-link {
  background-color: #B4B7A1;
}

.service-card:nth-child(2) .button-link:hover {
  background-color: #C8B194;
}

.service-card:nth-child(3) .button-link {
  background-color: #E6A8A1;
}

.service-card:nth-child(3) .button-link:hover {
  background-color: #B4B7A1;
}

/* Growth Takes Time Section */
.growth-section {
  position: relative;
  background-color: #D6949A;
  padding: 70px 0 30px;
  color: #fff;
  overflow: hidden;
  margin-top: -140px;
  margin-bottom: -10px;
  z-index: 1;
  clip-path: url(#wave-growth-top);
  border-radius: 0 0 10px 10px;
}

.growth-section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://prickly-pear-therapy.com/wp-content/uploads/2025/02/Untitled-design-14.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

.growth-container {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.growth-heading-container {
  padding-right: 20px;
}

.growth-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2em;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.growth-content-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.growth-text {
  font-family: 'Lato', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Adjustments */
@media screen and (max-width: 1024px) {
  .growth-grid {
    gap: 30px;
  }
  
  .growth-heading {
    font-size: 2.8em;
  }
}

@media screen and (max-width: 767px) {
  .growth-section {
    margin-top: -70px;
    padding: 60px 0 30px;
  }
  
  .growth-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .growth-container {
    width: 90%;
    padding-top: 40px;
  }
  
  .growth-heading-container {
    padding-right: 0;
    text-align: center;
  }
  
  .growth-heading {
    font-size: 2.3em !important;
  }
  
  .growth-content-container {
    align-items: center;
    text-align: center;
  }
  
  /* Reduce the wave effect's intensity on mobile */
  .growth-section-overlay {
    opacity: 0.15;
    background-position: top center;
    background-size: 250% auto;
  }
}

@media screen and (max-width: 480px) {
  .growth-heading {
    font-size: 2em !important;
  }
  
  .growth-text {
    font-size: 1em;
  }
  
  .growth-section {
    margin-top: -50px;
  }
}

/* Single column layout for Meet Michelle section */
.michelle-section {
    background: url('https://prickly-pear-therapy.com/wp-content/uploads/2025/03/prickly-pear-pattern.png') repeat;
    background-size: 500px;
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.michelle-single-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.michelle-image-container {
    margin-bottom: 30px;
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
}

.michelle-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.michelle-content {
    width: 100%;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.michelle-name {
    margin-bottom: 20px;
    text-align: center;
}

.michelle-bio {
    margin-bottom: 20px;
    line-height: 1.7;
    text-align: left;
}

/* Button styling for specifically the Michelle section */
.michelle-content .wp-block-button {
    display: inline-block;
    margin: 10px 10px;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    .michelle-content .wp-block-button {
        display: block;
        margin: 10px auto;
    }
}

/* Therapy Services Section */
.services-section {
  padding: 30px 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 30px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.service-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  height: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-content {
  height: 100%;
}

.service-content-inner {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.service-title {
  color: #fff;
  margin-bottom: 20px;
  font-family: 'Dancing Script', cursive;
  font-size: 2.6em;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.service-description {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Why Choose Us Section */
.why-choose-section {
  position: relative;
  padding: 30px 0 40px;
  margin: 30px auto 30px;
  width: 80%;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

.why-choose-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://prickly-pear-therapy.com/wp-content/uploads/2025/02/Untitled-design-5.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.why-choose-container {
  position: relative;
  z-index: 2;
  width: 90%;
  margin: 0 auto;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 40% 55%;
  gap: 5%;
  margin-bottom: 30px;
  align-items: start;
}

.why-column {
  display: flex;
  flex-direction: column;
}

.left-column {
  padding-right: 20px;
  padding-top: 15px;
}

.why-main-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2em;
  color: #6F4040;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.why-text {
  font-family: 'Lato', sans-serif;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}

.feature-boxes {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-box {
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-heading {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6em;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.feature-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  line-height: 1.5;
  padding: 5px 0 5px 25px;
  position: relative;
  color: #fff;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

.centered-button-container {
  text-align: center;
  margin-top: 20px;
}

.cta-section {
  background-color: #f8f0f0;
  border-radius: 8px;
  padding: 40px;
  margin: 60px auto;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0dfdf;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-heading {
  font-family: 'Muli', sans-serif;
  color: #8d5b5b;
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-text {
  color: #666666;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: 'Muli', sans-serif;
}

.cta-button.primary {
  background-color: #e4a2a2;
  color: white;
  box-shadow: 0 2px 4px rgba(228, 162, 162, 0.3);
}

.cta-button.primary:hover {
  background-color: #d88a8a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(228, 162, 162, 0.4);
}

.cta-button.secondary {
  background-color: #b9c2a9;
  color: white;
  box-shadow: 0 2px 4px rgba(185, 194, 169, 0.3);
}

.cta-button.secondary:hover {
  background-color: #a8b196;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(185, 194, 169, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 30px 20px;
  }
  
  .cta-heading {
    font-size: 24px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    width: 100%;
  }

/* Section Divider Styling */
.section-divider {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto; 
}

/* Divider */
.cactus-divider {
  text-align: center;
  margin: 30px 0 30px !important;
  padding: 0 !important;
  clear: both;
  position: relative;
  z-index: 1;
  line-height: 0;
}

.cactus-divider img {
  max-width: 80%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Fix spacing between headings and dividers */
.section-heading + .cactus-divider,
.michelle-heading + .cactus-divider,
.services-heading + .cactus-divider {
  margin-top: 15px !important;
}

/* Fix spacing after dividers before sections */
.cactus-divider + section,
.cactus-divider + div {
  margin-top: 15px !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
  }
  
  .growth-container,
  .michelle-grid,
  .services-grid,
  .why-choose-section {
    width: 90%;
  }
  
  .growth-grid {
    gap: 30px;
  }
  
  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .left-column {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .hero-container {
    height: 50vh;
  }
  
  .hero-heading {
    font-size: 3em;
  }
  
  .hero-tagline {
    font-size: 1.5em;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
    width: 95%;
    margin: -60px auto 40px;
  }
  
  .growth-section {
    padding-top: 100px;
    margin-top: -70px;
    margin-bottom: -20px;
  }
  
  .growth-container {
    padding-top: 60px;
  }
  
  .growth-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .growth-heading,
  .michelle-name,
  .service-title,
  .why-main-heading {
    font-size: 2.8em;
    text-align: center;
  }
  
  .growth-heading-container {
    padding-right: 0;
  }
  
  .growth-content-container,
  .why-text,
  .why-main-heading {
    text-align: center;
  }
  
  .growth-section .wp-block-button {
    margin: 0 auto;
  }
  
  .michelle-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-image,
  .service-content {
    height: auto;
  }
  
  .service-content-inner {
    padding: 25px;
    text-align: center;
  }
  
  .services-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .services-grid > div:nth-child(1) { order: 1; }
  .services-grid > div:nth-child(2) { order: 2; }
  .services-grid > div:nth-child(3) { order: 3; }
  .services-grid > div:nth-child(4) { order: 4; }
  .services-grid > div:nth-child(5) { order: 5; }
  .services-grid > div:nth-child(6) { order: 6; }
  
  /* Adjust divider spacing for mobile */
  .cactus-divider {
    margin: 25px 0 25px !important;
  }
  
  .cactus-divider img {
    max-width: 95%;
  }
}

/* Fix for small mobile devices */
@media (max-width: 480px) {
  .hero-heading {
    font-size: 2.5em;
  }
  
  .hero-tagline {
    font-size: 1.2em;
  }
  
  .section-heading,
  .growth-heading,
  .michelle-name,
  .service-title,
  .why-main-heading {
    font-size: 2.2em;
  }
  
  .service-cards {
    margin-top: -40px;
  }
  
  .growth-section {
    margin-top: -50px;
    padding-top: 70px;
  }
  
  .feature-box {
    padding: 15px;
  }
  
  .feature-heading {
    font-size: 1.4em;
  }
  
  /* Further adjust divider spacing for small mobile */
  .cactus-divider {
    margin: 20px 0 20px !important;
  }
}