/* ----------- GLOBAL STYLES -----------*/
:root {
  --color-1: #f8f9fa; /* light gray */
  --color-2: #f5fafa; /* pale turquoise */
  --color-3: #5f9ea0; /* medium turquoise */
  --color-4: #397a7c; /* dark turquoise */
  --color-5: #b78034; /* button normal */
  --color-6: #8a5a3f; /* button hover */
  --color-7: #ffffff; /* white */
  --color-8: #333333; /* dark gray */
}

body {
  background-color: var(--color-7);
}

/* Global link styles */
a {
  color: var(--color-4); /* aqua */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: var(--color-3); /* slightly different aqua */
  text-decoration: underline;
}

/* Button styles */
.btn-standard {
  background-color: var(--color-5);
  color: white;
  border: none;
  border-radius: 999px; /* pill shape */
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

/* Additional rules to isolate link behavior inside buttons */
.btn-standard,
.btn-standard:link,
.btn-standard:visited {
  color: white;
  text-decoration: none;
}

.btn-standard:hover,
.btn-standard:focus {
  background-color: var(--color-6); /* darker on hover */
  color: white;
  text-decoration: none;
}

.phone-link {
  color: var(--color-3);
  font-weight: 600;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

/* ----------- NAVBAR ----------- */
.navbar {
  background-color: var(--color-4); 
  padding: 5px 60px;
}

.navbar-brand, .nav-link {
  color: white !important; 
}

nav a.active {
  font-weight: bold;
  color: var(--color-8);
}

@media (max-width: 991.98px) {
  .navbar-nav {
    margin-bottom: 1rem;
  }
}

/* ----------- HERO SECTION -----------*/
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 700px; /* original image height */
  object-fit: cover;
  display: block;
}

.hero-text-overlay {
  z-index: 2;
  padding: 1rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: 400;
  font-family: 'Amaranth', serif;
  font-style: normal;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* ----------- INTRO SECTION -----------*/
.intro-section {
  background-color: var(--color-3); 
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.intro-section p {
  font-weight: 400;
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 800px;
}

.intro-container {
  max-width: 800px;
  margin: 0 auto;
}

/* ----------- SERVICES SECTION -----------*/
.services-section {
  padding: 60px 20px;
  background-color: var(--color-2);
  text-align: center;
}

.section-title {
  font-weight: 400;
  font-family: 'Amaranth', serif;
  font-style: normal;
  font-size: 3rem;
  color: var(--color-4);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--color-7);
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--color-4);
  font-family: 'Amaranth', serif;
  font-style: normal;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--color-8);
  font-size: 1.1rem;
  line-height: 1.6;
}

.service-icon {
  color: var(--color-5);
  margin-bottom: 15px;
}

.service-icon {
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.service-card:hover .service-icon {
  animation: pulse 0.6s ease-in-out;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------- THERAPIST SECTION ----------- */
.therapist-section {
  padding: 30px 30px;
  background-color: var(--color-7);
  text-align: center;
  color: var(--color-8);
}

.therapist-section h2 {
  font-weight: 400;
  font-family: 'Amaranth', serif;
  font-style: normal;
  font-size: 3rem;
  color: var(--color-4);
  margin-bottom: 40px;
  margin-top: 40px;
}

.therapist-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #f5fafa;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.therapist-section h3 {
  margin-bottom: 10px;
  color: var(--color-5);
  font-size: 1.3rem;
}

.therapist-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 750px;
  margin: 0 auto 15px;
}

/* ----------- MODAL STYLES ----------- */
.modal {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari support */
}

.modal.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 700px;
  text-align: left;
  color: #333;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: slideFade 0.4s ease-out;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-content h3 {
  margin-top: 0;
  color: var(--color-4);
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* ----------- VIDEO SECTION ----------- */
.video-player {
    width: 640px;
    margin: auto;
}

/* ----------- FAQ SECTION ----------- */
.faq-section {
  background-color: var(--color-3); 
  padding: 60px 20px;
  text-align: center;
}

.faq-title {
  font-weight: 400;
  font-family: 'Amaranth', serif;
  font-style: normal;
  font-size: 3rem;
  color: white;
  margin-bottom: 40px;
}

.faq-item {
  text-align: left;
  max-width: 700px;
  margin: 0 auto 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: #f8f9fa;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 1rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--color-4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.2rem;
}

.faq-answer.open {
  padding: 0.8rem 1.2rem 1rem;
  max-height: 500px;
}

/* ----------- TESTIMONIAL SECTION ----------- */

.testimonial-carousel {
  max-width: 800px;
  margin: 3rem auto;
  padding: 1rem;
  text-align: center;
  position: relative;
  background-color: white;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;  /* vertically center */
  justify-content: center;
  text-align: center;
}

.testimonial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 700px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  text-align: center;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.testimonial span {
  font-weight: bold;
  color: var(--color-5); /* use your accent color */
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-controls button {
  background-color: var(--color-5);
  color: white;
  border: none;
  padding: .25rem 1rem;
  font-size: 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: var(--color-6);
}

/* ----------- RAVEN SECTION ----------- */

.raven-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 4px solid #f5fafa;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ----------- CONTACT SECTION ----------- */
.contact-section {
  padding: 60px 20px;
  background-color: var(--color-2);
  text-align: center;
}

.contact-title {
  font-weight: 400;
  font-family: 'Amaranth', serif;
  font-style: normal;
  font-size: 3rem;
  color: var(--color-4);
  margin-bottom: 40px;
}

.contact-intro {
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #555;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-3);
  outline: none;
  box-shadow: 0 0 0 2px rgba(95, 158, 160, 0.2);
}

.contact-form .cta-btn {
  display: block;
  margin: 0 auto;
}

.form-status {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  background-color: #397a7c;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.form-status.show {
  opacity: 1;
  pointer-events: auto;
}

/* ----------- FOOTER ----------- */
.site-footer {
  background-color: var(--color-4);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

.footer-links li a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #e0f1f1;
}

/* ----------- PT VERIFIED SEAL ----------- */
.verified a {
  text-align: center;
  margin: 0 auto 20px;
}

.sx-verified-seal img {
  display: inline-block;
  margin: 0 auto;
  max-width: 100%;
}


