@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans&display=swap');

html {
  scroll-padding-top: 100px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 18px;
}

h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', serif;
  color: #3b4d61;
  letter-spacing: 0.5px;
  margin-top: 0;
  text-align: center;
}

.page-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 150px 0 150px;
}

@media (max-width: 992px) {
  .page-wrapper {
    padding: 80px 60px 0 60px;
  }
}

@media (max-width: 600px) {
  .page-wrapper {
    padding: 80px 20px 0 20px;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 32px;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

.logo {
  position: absolute;
  left: 20px;
  font-weight: bold;
  font-size: 18px;
  color: #3b4d61;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: #3b4d61;
  padding: 10px 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  border-radius: 6px;
}

.nav-links a:hover {
  background-color: #e1f3f8;
  color: #2b5d6e;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(59, 77, 97, 0.15);
}

.hamburger-toggle {
  position: fixed;
  top: 0px;
  right: 20px;
  font-size: 24px;
  color: #3b4d61;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1003;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger-toggle {
    display: block;
  }
}

.menu-mobile {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 12px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1002;
}

.menu-mobile a {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
  color: #3b4d61;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-divider {
  border-top: 1px solid #ddd;
  margin: 20px 0;
}

/* HEADER SECTION */
header.header {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  height: 360px;
}

@media (max-width: 992px) {
  header.header {
    margin-top: 30px;
    height: 220px;
  }
}

@media (max-width: 600px) {
  header.header {
    height: 200px;
  }
}

header.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  color: white;
}

.header-overlay h1 {
  margin: 0;
  font-size: 28px;
}

/* ABOUT IMAGE OVERLAY */
.about-image-overlay {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.about-image-overlay img {
  width: 100%;
  border-radius: 8px;
  height: auto;
}

@media (max-width: 600px) {
  .about-image-overlay {
    max-width: 300px;
  }
}

.overlay-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(59, 77, 97, 0.75);
  color: white;
  text-align: center;
  font-size: 18px;
  font-family: 'Merriweather', serif;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* SECTION STYLING */
.section {
  padding: 64px 0;
}

@media (max-width: 600px) {
  .section {
    padding: 40px 0;
  }
}

.section-light {
  background-color: #f7fcf9;
}

.section-flex {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-flex > div {
  flex: 1;
}

@media (min-width: 768px) {
  .section-flex {
    flex-direction: row;
    align-items: center;
  }
}

.expertise-list li,
.help-list li {
  padding: 6px 0;
  font-size: 17px;
  line-height: 1.5;
  list-style-type: disc;
  margin-left: 20px;
}

.insurance-highlight {
  background-color: #eaf4f6;
  border-left: 4px solid #7aa4b2;
  padding: 12px 16px;
  border-radius: 6px;
  margin-top: 12px;
  font-weight: 500;
}

/* TESTIMONIALS with fade-in & centered button */
.testimonial {
  background: #c1d3d9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 1;
  max-height: 500px;
  overflow: hidden;
  transition: all 0.4s ease, opacity 0.4s ease;
}

.testimonial.hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0 20px;
}

.testimonial.showing {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.testimonial-btn {
  padding: 10px 20px;
  background-color: #3b4d61;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.testimonial-btn:hover {
  background-color: #2b5d6e;
  transform: scale(1.05);
}

a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}
a[href^="tel:"]:hover {
  text-decoration: underline;
}

/* EXPECT SECTION IMAGE FIX */
.expect-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.expect-wrapper p {
  flex: 1 1 300px;
  margin: 0;
}

.expect-image {
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 20px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .expect-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

/* USEFUL LINKS */
.useful-links {
  margin-top: 20px;
  text-align: center;
}

.useful-links a {
  display: inline-block;
  margin: 8px 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background-color: #eaf4f6;
  text-decoration: none;
  color: #3b4d61;
  font-weight: 500;
  transition: all 0.3s ease;
}

.useful-links a:hover {
  background-color: #e1f3f8;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* IMAGE CUSTOMIZATION FOR ServiceImageWoman.png */
img[alt="Therapy session"] {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid #7aa4b2;
  border-radius: 8px;
}

@media (max-width: 600px) {
  img[alt="Therapy session"] {
    max-width: 65%;
    border-width: 3px;
  }
}

/* FOOTER */
footer {
  background-color: #f1f1f1;
  text-align: center;
  padding: 32px;
  font-size: 14px;
  color: #555;
}
