* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */

header {
    position: fixed;
    top: 0;          /* Positions it at the top of the page */
    width: 100%;     /* Ensures the header spans the full width */
    z-index: 1000;   /* Keeps the header on top of other content */
    background-color: #f3f2f1; /* Background color of the header #fdfaf8*/
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Light shadow for clarity */
}

.logo {
    height: auto;
    max-height: 80px;
    width: auto;
    max-width: 100%;
  }

.header-left {
    display: flex;
    align-items: center;
  }

nav {
    display: flex;
    justify-content: center; /* Center the navigation items */
}

img {
    max-width: 100%;
    height: auto;
}

.menu-bar {
    list-style: none;
    display: flex;
    gap: 30px; /* Space between menu items */
    align-items: center;
}

.menu-bar li {
    display: inline;
    align-items: center;
}

.menu-bar a {
    text-decoration: none;
    color: #428e85;
    font-size: 18px;
    font-weight: normal;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.menu-bar a:hover {
    color: #277067; /* Hover color change */
    background-color: rgb(237, 219, 219);
    border-radius: 5px;
}

/* Styling the 'Book Online' button */
.register-btn {
    background-color: #cbe1db; /* Book Online button color */
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background-color: #e1b609; /* Darken the button on hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column; /* Stack the menu items on smaller screens */
        gap: 15px;
    }

    .menu-bar a {
        font-size: 18px; /* Increase font size for better readability */
    }
}

@media (max-width: 480px) {
    .top-bar {
        flex-direction: column; /* Stack the links vertically on very small screens */
        align-items: center; /* Center align the links */
        padding: 10px 0; /* Adjust padding */
    }

    .top-bar a {
        margin: 5px 0; /* Vertical margin for stacked links */
    }
}
/* end of menu bar */

.hero {
    background: url("images/inclusive-counsellor-vancouver.jpg") center center/cover no-repeat;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    flex-direction: column;
  }
  
  .hero h1,
  .hero h2,
  .hero p {
    margin-left: 0;
  }

.register-btn-hero {
    font-size: 1rem;
    background-color: #cbe1db;
    color: rgb(52, 121, 106);
             /* Padding for a button-like appearance padding: 20px 30px;  */
    border-radius: 5px;          /* Rounded corners */
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
  
    /* Use relative spacing for scalability */
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
  
    /* For layout flexibility */
    display: inline-block;
    max-width: 100%;
  }

.register-btn-hero:hover {
        color: #fff;
        background-color: rgb(42, 119, 103);
        border-right-color: rgb(18, 84, 78);
  }

  .hero-book {
    background: url("images/counsellingsessionbooking.png") center center/cover no-repeat;
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: #fff;
    flex-direction: column;
  }

  
  .hero-book h1,
  .hero-book h2,
  .hero-book p {
    margin-left: 0;
  }

/* About Section */
.about {
    padding: 2rem 1rem;
    text-align: center;
    background-color: #ffffff;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    padding: 1%;
    color: #31655f;
}

.about h4 {
    font-size: 1.2rem;
    font-family:'Times New Roman', Times, serif;
    padding: 2%;
    margin-left: 10%;
    margin-right: 10%;
    color: #1b3d39;
}

.about p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    /*background-color: #f9f9f9;*/
    background: url("images/leaves-bg.png");
    padding: 2rem 1rem;
    text-align: center;
}

.services h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #31655f;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    margin: 1rem;
    width: 30%;
    margin-bottom: 2%;
    box-sizing: border-box;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #66345e;
}

.service-item p {
    margin: 0.75rem 1.5rem;;
}

.services img {
    border-radius: 10rem;
}

.services h3 {
    color: #66345e;
}

.services-button {
    padding: 2rem;
    margin-top: 0.5rem;
    flex-basis: 20%;
}

@media (max-width: 768px) {
    .about-list {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-text, .about-img {
        flex: 1 1 100%;
    }
}
    .about-list {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping on smaller screens */
        gap: 1rem; /* Optional spacing between items */
        align-items: flex-start; /* Aligns top edges */
       /* justify-content: space-between;  Optional: space between image & text */
    }
    
    .about-item {
        flex: 1 1 60%;
        min-width: 300px;
    }
    
.about-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-text {
    flex: 1 1 60%;
    min-width: 300px;
}

.about-img {
    flex: 1 1 35%;
    min-width: 200px;
    text-align: center;
}

.about-item-pic {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
}


    .hero h1 {
        font-size: 3.5rem;
      }
    
      .hero h2 {
        font-size: 1.5rem;
      }
    
      .hero p {
        font-size: 1.2rem;
      }
    
      .service-item {
        flex-basis: 100%;
      }

.hero-content {
    max-width: 800px;
    padding: 2rem;
  }

/*center hero content*/
.hero {
    justify-content: center;
    align-items: flex-start;
  }

.about h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.about h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #277067;
}
.about-item h3 {
    margin-bottom: 5%;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #277067;
}
.about-item p {
    font-size: 1.1rem;
    margin-bottom: 4%;
    text-align: left;
}

/* Contact Section */
.contact {
    padding: 4rem 1rem;
    background-color: #f3f3f3;
    text-align: center;
    color: #31655f;
}

.contact-info a {
    text-align: center;
    color: #31655f;
    font-size: 1.5rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
}

.contact label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact input, .contact textarea {
    width: 100%;
    padding: 0.7rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact button {
    padding: 0.7rem 2rem;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.contact button:hover {
    background-color: #555;
}


/*Therapy Types Sections */

/* Hero Services Section */
.hero-services {
    background-image: url('images/clinicalcounsellingclinic.png'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-services h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-services p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

/* Services Section */
.therapy {
    padding: 60px 20px;
    background-color: rgb(243, 234, 215);
    text-align: center;
}

.therapy h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.therapy p {
    font-size: 0.95rem;
    color: #666;
    max-width: 100%;
    margin: 10px auto 10px auto;
    text-align: center;
}

.therapy img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 30%;
}

ul.footer-list  {
    width: 15rem;
    padding: 0;
    list-style-type: none;
}

ul.footer-list {
    margin-bottom: 1rem;
}
ul.footer-list li a {
    display: block;
    color: #000;
    background-color: rgb(243, 234, 215);
    border-right: 0.55em solid rgb(40, 118, 104);
    padding: 0.5em 0.5em;
    text-decoration: none;
}
ul.footer-list li a:hover {
    color: #fff;
    background-color: rgb(42, 119, 103);
    border-right-color: rgb(18, 84, 78);
}

* {
    box-sizing: border-box;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
}

.column {
    flex: 1 1 22%;
    padding: 1rem;
    text-align: center;
    box-sizing: border-box;
  }

.column h2 {
    color: rgb(40, 118, 104);
}
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

  @media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
  }

  .column-therapy {
    flex: 1 1 45%;
    margin: 1rem;
  }

.column-therapy h2 {
    color: rgb(40, 118, 104);
}

  /* Clear flats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }

  @media screen and (max-width: 600px) {
    .column-therapy {
      flex: 1 1 100%;
      margin: 0.5rem 0;
    }

    .hero-services-content {
        padding: 1rem;
        text-align: center;
    }
  }

/* Testimonial Section */
.testimonials {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonials p {
    font-size: 1rem;
    color: #999;
}

/*Professional backgroun-about section*/

.professional-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.therapy-education, .therapy-training {
    flex: 1 1 45%;
    margin: 1rem;
    padding: 1rem;
    text-align: left;
}

.therapy-education h2 {
    color: #66345e;
}

.therapy-education p {
    text-align: left;
}

.therapy-training h2 {
    color: #277067;
}

.therapy-training P{
    text-align: left;
}
@media screen and (max-width: 768px) {
    .therapy-education, .therapy-training {
        flex: 1 1 100%
    }
}

#backToTop {
    background-color: #6a3a25;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
}
/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}