/* IMPORT GLOBAL DESIGN SYSTEM & HEADER/FOOTER STYLES */
@import url("./global.css");
@import url("./header-footer.css");

/* --------------------------------------------------------------------------
   1. SERVICE HERO / BREADCRUMB SECTION (MATCHING IMAGE 2 REFERENCE)
   -------------------------------------------------------------------------- */
.service-hero-section {
  padding: 75px 0;
  background: var(--primary-green-bg);
  font-family: var(--body-font);
}

/* .service-hero-wrapper {
  max-width: 580px;
} */
.service-hero-wrapper{
  text-align: center;
}
.hero-solid-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.service-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--headerfont);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
 .service-hero-section-cta-btn{
  display: none;
 }
.service-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 14%;
    margin-bottom: 14px;
}

.hero-bordered-image-frame {
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 132, 61, 0.08);
}
.new-hero-bordered-image-frame {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--primary-green);
  background: var(--white);
}
.hero-bordered-image-frame img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.new-hero-bordered-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero-title .highlight-green {
  color: var(--primary-green);
}

.service-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
}

.service-breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.service-breadcrumb a:hover {
  color: var(--primary-green-dark);
}

.service-breadcrumb i {
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   2. SERVICE DETAILS MAIN SECTION
   -------------------------------------------------------------------------- */
.service-details-section {
  padding: 70px 0;
  font-family: var(--body-font);
  background-color: var(--white);
}

/* Sidebar Navigation */
.service-sidebar {
  background: var(--grey-bg);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--border-light);
  margin-bottom: 30px;
}

.service-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--headerfont);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-green);
}

.service-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-nav-list li {
  margin-bottom: 10px;
}

.service-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--white);
  color: var(--dark2);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.service-nav-list a:hover,
.service-nav-list a.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.service-nav-list a i {
  transition: transform 0.3s ease;
}

.service-nav-list a:hover i,
.service-nav-list a.active i {
  transform: translateX(4px);
}

/* Sidebar Contact Box */
.sidebar-cta-box {
  background: linear-gradient(
    135deg,
    var(--primary-green) 0%,
    var(--primary-green-dark) 100%
  );
  border-radius: 12px;
  padding: 28px;
  color: var(--white);
  margin-top: 30px;
  text-align: center;
}

.sidebar-cta-box i {
  font-size: 40px;
  margin-bottom: 12px;
  display: inline-block;
}

.sidebar-cta-box h4 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--headerfont);
  margin-bottom: 10px;
}

.sidebar-cta-box p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--primary-green);
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
  background: var(--accent-orange);
  color: var(--white);
}

/* Main Content Area */
.service-content-wrapper {
  color: var(--dark2);
}

.service-main-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.service-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-main-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--headerfont);
  margin-bottom: 16px;
}

.service-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Features Grid */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 35px 0;
}

.service-feature-card {
  background: var(--grey-bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.service-feature-card i {
  font-size: 32px;
  color: var(--primary-green);
  margin-bottom: 14px;
  display: inline-block;
}

.service-feature-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  font-family: var(--headerfont);
  margin-bottom: 8px;
}

.service-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.service-who-it-is-for {
  padding: 75px 0;
  background-color: var(--white);
  font-family: var(--body-font);
}
.who-it-is-for-left-section h2 {
  font-size: 28px;
  color: var(--dark);
  line-height: 1.24;
  margin-bottom: 20px;
  font-family: var(--headerfont);
  letter-spacing: -0.6px;
  font-weight: 700;
}
.who-it-is-for-left-section p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 14px;
}
.allied-health .who-it-is-for-left-section img{
  min-height: 450px !important;
}
.who-it-is-for-left-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--primary-green);
  background: var(--white);
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.who-it-is-for-right-section-card1 {
  border: 2px solid var(--primary-green);
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
  border-radius: 5px;
  padding: 40px 30px;
  flex: 1;
}
.seniors-and-home-care .who-it-is-for-right-section-card1 {
    padding: 55px 30px;
}
.child-and-youth-services .who-it-is-for-right-section-card1 {
    padding: 70px 30px;
}
.allied-health .who-it-is-for-right-section-card1{
      padding: 18px 22px;
}
.mental-health-and-counselling .who-it-is-for-right-section-card1{
  padding: 33px 30px;
}
.maternal-health .who-it-is-for-right-section-card1 {
    padding: 55px 30px;

}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1{
    border: 2px solid var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
    border-radius: 5px;
    padding: 36px 20px;
    flex: 1;
}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1 {
    padding: 50px;
}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1 p {
    line-height: 1.9;
    margin-bottom: 14px;
}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1 .service-card-right-text h3{
  margin-bottom: 16px;
}
.community-health-and-capacity-building .who-it-is-for-right-section-card1 {
    padding: 61px 30px;
}
.calendar-of-events .who-it-is-for-right-section-card1 {
    padding: 49px 30px;
}
.chronic-disease-management .who-it-is-for-right-section-card1{
   padding: 47px 30px;
}
.service-card-right-text {
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
}
.who-it-is-for-right-section-card1 .service-card-right-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  font-family: var(--headerfont);
  margin-bottom: 14px;
  opacity: 0.9;
}
.who-it-is-for-right-section-card1 .service-card-right-text img {
  color: green;
  width: 22px;
  height: 22px;
}
.who-it-is-for-right-section-card1 p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.who-it-is-for-right-section {
  display: flex;
  flex-direction: column;
}
.service-btn {
  text-align: center;
  display: block;
  padding: 10px 24px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  font-family: var(--headerfont);
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: var(--primary-green);
  color: var(--white);
}
.service-btn:hover {
  background-color: var(--accent-orange);
  color: var(--white);
}
.service-what-is-included {
  padding-bottom: 75px;
  background-color: var(--white);
  font-family: var(--body-font);
}
.service-what-is-included-innerpart {
  border: 4px solid var(--primary-green);
  padding: 30px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
  border-radius: 5px;
}
.what-is-included-leftpart ul li {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}
.what-is-included-leftpart h2 {
  font-size: 28px;
  color: var(--dark);
  line-height: 1.24;
  margin-bottom: 20px;
  font-family: var(--headerfont);
  letter-spacing: -0.6px;
  font-weight: 700;
}
.what-is-included-leftpart ul li::before {
  content: " ";
  height: 8px;
  width: 8px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: -17px;
  background-color: var(--primary-green);
}
.what-is-included-rightpart {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--primary-green);
  background: var(--white);
}
.what-is-included-leftpart-lists {
  padding-left: 16px;
}
.what-is-included-rightpart img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.what-is-included-rightpart img:hover {
  transform: scale(1.04);
}
.service-your-care-team {
  padding: 75px 0;
  background-color: var(--primary-green-bg);
  font-family: var(--body-font);
}
.your-care-team-textpart {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.your-care-team-textpart h2 {
  font-size: 28px;
  color: var(--dark);
  line-height: 1.24;
  margin-bottom: 14px;
  font-family: var(--headerfont);
  letter-spacing: -0.6px;
  font-weight: 700;
}
.your-care-team-textpart p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 20px;
}
.your-care-team-textpart .your-care-btn {
  background-color: var(--primary-green);
  color: var(--white)!important;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.your-care-team-textpart .your-care-btn:hover {
  background-color: var(--accent-orange);
  color: var(--white);
}
.mental-health-and-counselling .your-care-team-textpart a{
      font-weight: bold;
    color: var(--primary-green);
}
.mental-health-and-counselling .your-care-team-textpart a:hover{
        color: var(--accent-orange);
}
.your-care-team-imagepart {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--primary-green);
  background: var(--white);
}
.your-care-team-imagepart img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.your-care-team-imagepart img:hover {
  transform: scale(1.04);
}
.service-what-to-bring {
  padding: 75px 0;
  background-color: var(--white);
  font-family: var(--body-font);
}
.inner-bring-part {
  border: 4px solid var(--primary-green);
  padding: 30px 30px;
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
  border-radius: 5px;
}
.what-to-bring-headerpart h2 {
  font-size: 28px;
  color: var(--dark);
  line-height: 1.24;
  margin-bottom: 12px;
  font-family: var(--headerfont);
  letter-spacing: -0.6px;
  font-weight: 700;
}
.what-to-bring-headerpart p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 12px;
  width: 60%;
}
.what-to-bring-card {
  border: 2px solid var(--primary-green);
  background-color: #fbfffc;
  filter: drop-shadow(0px 2px 5px rgba(30, 30, 30, 0.2));
  border-radius: 3px;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  height: 100%;
}
.what-to-bring-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 132, 61, 0.1);
}
.bring-circle {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
}
.bring-circle img {
  height: 35px;
  width: 35px;
  margin: 10px;
}
.what-to-bring-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-green);
  font-family: var(--headerfont);
  margin-bottom: 10px;
  line-height: 1.6;
}
.who-it-is-for-right-section-card1:last-child {
  margin-top: 20px;
}

/* Responsive Media Queries */
@media(max-width:1600px){
  .who-it-is-for-right-section-card1 {
    border: 2px solid var(--primary-green);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 132, 61, 0.05);
    border-radius: 5px;
    padding: 17px 30px;
    flex: 1;
}
.allied-health .who-it-is-for-right-section-card1{
              padding: 16px;
}
.mental-health-and-counselling .who-it-is-for-right-section-card1 {
    padding: 17px;
}
.seniors-and-home-care .who-it-is-for-right-section-card1 {
    padding: 40px 30px;
}
.child-and-youth-services .who-it-is-for-right-section-card1 {
    padding: 46px 30px;
}
.allied-health .who-it-is-for-right-section-card1 .service-card-right-text h3{
  margin-bottom: 10px;

}
.allied-health .who-it-is-for-right-section-card1 p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.maternal-health .who-it-is-for-right-section-card1 {
    padding: 32px 30px;
}
.community-health-and-capacity-building .who-it-is-for-right-section-card1 {
    padding: 39px 30px;

}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1{
    padding: 36px 20px;
}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1 .service-card-right-text h3{
      margin-bottom: 16px;
}
.virtual-and-after-hours-care .who-it-is-for-right-section-card1 p {
    line-height: 1.8;
    margin-bottom: 18px;
}
.calendar-of-events .who-it-is-for-right-section-card1 {
    padding: 29px 30px;
}
.chronic-disease-management .who-it-is-for-right-section-card1{
   padding: 32px 30px;
}
}
@media (max-width: 1199px) {
  .service-hero-section,
  .service-who-it-is-for,
  .service-your-care-team,
  .service-what-to-bring {
    padding: 60px 0;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .who-it-is-for-right-section {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
  }
  .who-it-is-for-right-section-card1:last-child {
    margin-top: 0;
  }
  .your-care-team-textpart {
    gap: 0px;
  }
}

@media (max-width: 991px) {
  .service-what-is-included {
    padding-bottom: 60px;
  }
  .allied-health .who-it-is-for-left-section img{
  min-height: auto !important;
}
  .service-hero-title {
    font-size: 34px;
    margin-bottom: 14px;
  }
  .your-care-team-imagepart img {
    height: auto;
  }
  .what-is-included-rightpart img {
    height: auto;
  }
  .who-it-is-for-left-section h2,
  .what-is-included-leftpart h2,
  .your-care-team-textpart h2,
  .what-to-bring-headerpart h2 {
    margin-bottom: 12px;
    font-size: 20px;
  }
  .who-it-is-for-left-section p {
    margin-bottom: 12px;
    font-size: 16px;
  }
  .service-hero-desc {
    font-size: 16px;
  }
  .service-main-title {
    font-size: 26px;
  }
}
@media (max-width: 767px) {
  .who-it-is-for-right-section {
    margin-top: 20px;
  }
   .who-it-is-for-left-section h2,
  .what-is-included-leftpart h2,
  .your-care-team-textpart h2,
  .what-to-bring-headerpart h2 {
    margin-bottom: 12px;
    font-size: 18px;
  }
  .service-hero-section-cta-btn{
  padding: 10px 24px;
    border-radius: var(--btn-radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--headerfont);
    border: none;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: var(--primary-green);
    color: var(--white);
    margin-bottom: 20px;
    display:inline-block;
}
.your-care-team-imagepart img {
  display: none;
}
.your-care-team-imagepart {
display: none;
}
.service-hero-section-cta-btn:hover{
      background-color: var(--accent-orange);
    color: var(--white);
}
  .what-to-bring-card {
    height: auto;
  }
  .what-to-bring-card {
    padding: 20px;
  }
  .who-it-is-for-right-section-card1:last-child {
    margin-top: 20px;
  }
  .who-it-is-for-right-section-card1 .service-card-right-text h3 {
    font-size: 18px;
  }
  .who-it-is-for-right-section-card1 .service-card-right-text img {
    color: green;
    width: 20px;
    height: 20px;
  }
  .who-it-is-for-right-section-card1 {
    padding: 20px;
  }
  .service-what-is-included-innerpart {
    padding: 20px 20px;
  }
  .inner-bring-part {
    padding: 20px;
  }
  .hero-solid-badge {
    font-size: 10px;
  }
  .allied-health .who-it-is-for-right-section-card1 p {
    font-size: 14px;
}
  .who-it-is-for-right-section-card1 p,
  .what-is-included-leftpart ul li,
  .your-care-team-textpart p,
  .what-to-bring-headerpart p {
    font-size: 14px;
    font-weight: 500;
  }
  .service-hero-section,
  .service-who-it-is-for,
  .service-your-care-team,
  .service-what-to-bring {
    padding: 45px 0;
  }
  .your-care-team-textpart {
    margin-top: 30px;
  }
  .service-hero-desc {
    font-size: 14px;
    font-weight: 500;
    margin: 0 4%;
    margin-bottom: 12px;
  }
  .who-it-is-for-left-section p {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
  }
}
@media (max-width: 1199px) {
  .what-to-bring-headerpart p {
    width: 100%;
  }
}
