@import url('https://fonts.googleapis.com/css2?family=Alata&family=Inter:wght@100..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
}

.navbar {
  display: flex;
  height: 100px;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #c8a7c4;
}

.logo-image {
  height: 100px;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.hero-banner {
  background-color: #e0e0e0;
  padding: 10rem;
  text-align: center;
  background-image: url("/assets/img/banner-image-1.webp");
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover; /* Ensures the image covers the entire div */
  background-position: center; /* Centers the image */
}
.about-section {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 70px 100px 100px 100px;
}

.about-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
  max-width: 1200px;
}

.About-us {
    padding: 0.5rem;
    width: 80%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    opacity: 0.5;
}

.About-us h2 {
  font-size: 50px;
  color: snow;
}

.info-box {
  flex: 2;
  background-color: #fff;
  padding: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.info-box h3 {
  font-size: 2.2rem;
  margin-top: 1rem;
  text-align: center;
  color: #3c2727;
}

.info-box p {
  font-size: 20px;
  font-family: "Alata", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 11px;
  text-align: center;
  color: #3c2727;
}

.therapist-image {
  flex: 1;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 35px;
  padding-left: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  width: 100%; /* Set the desired width of the container */
  height: 100%; /* Set the desired height of the container */
  overflow: hidden; /* This hides any overflow if the image is cropped */
}

.therapist-image img {
  height: 570px;
  object-fit: contain;
  object-fit: cover; /* Ensures the image fills the entire div */
  object-position: center; /* Centers the image within the div */
  border-radius: 8px; /* Optional: adds rounded corners */
 
}

@media(max-width: 1024px) {
  .About-us h2 {
    font-size: 40px;
  }
}

@media (max-width: 600px){
  .About-us {
    min-width: 300px;
  }
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar a {
    display: none;
    padding: 10px 0;
    font-size: 1.2rem;
  }

   .About-us h2 {
    font-size: 30px;
   }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bio-text,
  .therapist-image {
    width: 300px;
    margin-bottom: 20px;
  }

  .bio-text {
    font-size: 1rem;
  }

  .info-box {
    width: 300px;
  }

  .logo {
    margin: 0 auto 15px;
    display: block;
  }
}
