:root {
  --body-color: #ffffff;
  --accent-color: #5b8f98;
  --accent-color-light: #6599a3;
  --accent-color-lighten: #71a1aa;
  --light-color: #ffffff;
  --dark-color: #000000;
  --button-color: #ffffff;
  --buttonborder-color: #E2E8F0;
  --buttonfont-color: #1A202C;  
  --body-font: "Montserrat", sans-serif;
  --button-font: "Montserrat", sans-serif;
  --normal-font-size: 1rem;
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  --header-height: 3.5rem;
  --z-tooltip: 10; /* part of header */
  --z-fixed: 100; /* part of header */
}  

*{
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  box-sizing: border-box;
}

/* ----------------------------------------------------------------*/
/* ----------------HEADER NAVIGATION START --------------------------*/
/* ----------------------------------------------------------------*/
/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--accent-color);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--light-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--accent-color);
    padding-top: 1rem;
  }
}

.nav__link {
  color: var(--light-color);
  background-color: var(--accent-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--accent-color-light);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.0rem;
  font-weight: 400px;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--light-color);
  background-color: var(--accent-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.5rem;
  font-weight: 400px;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--accent-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--accent-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}
/* ----------------------------------------------------------------*/
/* ----------------HEADER NAVIGATION END --------------------------*/
/* ----------------------------------------------------------------*/

.section_banner{
    width: 100%;
    height: 100vh;
    background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/family_landscape_S.jpg);
    background-size: cover;
    background-position: top;
}

.logo{
     height: 3.5rem;   
     cursor: pointer;
}

.bannerbuttoncenter {
 margin-bottom: 40px;
 text-align: center;
}

.button {
  align-items: center;
  background: var(--button-color); 
  border: 0 solid var(--buttonborder-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: var(--buttonfont-color);
  display: inline-flex;
  font-family: var(--button-font);
  font-size: 1rem;
  font-weight: var(--font-bold);
  height: 56px;
  justify-content: center;
  line-height: 24px;
  overflow-wrap: break-word;
  padding: 24px;
  text-decoration: none;
  width: 200px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;   

}

/* button hover does not work on mobile phones and tablets */
@media only screen and (min-device-width : 1200px) {
.button:hover {
  background-color:var(--accent-color);
  text-decoration: none;
  transition: 0.7s;
  color: white;
  }
}

.mainslogan {
  color: var(--light-color);
  padding: 120px 20px 0px 20px;
  font-size: 2rem;
  font-weight: var(--font-bold);
  text-align:center;
}


.membershipfreenotice {
  color: var(--accent-color);
  margin: 0px 20px 0px 20px;
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  padding: 40px 0px;
  text-align:center;
}

.section_service {
  width: 100%;
  padding: 10px 0px;
}

.section_service_child {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  height: 350px; 
  background-size: cover;
  background-position: top;
}  

.section_service_childslogan a{
  text-decoration: none;
  color: var(--light-color);
  font-size: 1.5rem;
  font-weight: var(--font-bold);
}

.section_info{
  width: 100%;
  padding: 10px 0px;
}

.section_info_child {
  margin: 10px 10px;
  height: auto; 
}  

.section_info_childslogan {
  text-align: left;
  text-decoration: none;
  color: var(--dark-color);
  font-size: 1.5rem;
  font-weight: var(--font-bold);
}

.section_info_childsloganresponse ul li {
  text-align: left;
  text-decoration: none;
  color: var(--dark-color);
  font-size: 1rem;
  font-weight: 400;
  padding: 0px 20px;
  list-style-position: inside;
  line-height: 2;
}

.readmoredots { color: transparent;}

.section_footlinks{
  width: 100%;
  margin: 50px 0px 0px 0px;
  padding: 10px 0px;
}

.section_footlinks_child {
  margin: 10px;
  height: auto; 
}  

.section_footlinks_childslogan {
  text-decoration: none;
  font-size: 1rem;
  font-weight: var(--font-bold);
  line-height: 2;
  color: var(--dark-color);
}

.section_footlinks_childsloganresponse div a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: var(--font-bold);
  line-height: 2;
  cursor: pointer;
  color: var(--accent-color);
}

.section_footerslogan {
  text-align: center;    
  font-size: 1rem;
  font-weight: 400;  
  padding: 10px 0px 10px 0px;
  background-color: var(--accent-color);
  color: var(--light-color);
  line-height: 2;
}

























































/* ---------------------------------------------------------------------------*/
/* -----------------------------MOBILE PHONE PORTRAIT ------------------------*/
/* ---------------------------------------------------------------------------*/
@media only screen and  (max-width: 380px) {
.section_banner{
    background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/family_portrait_S_phone.jpg);
}   

.section_service_child {
  width: calc(100% - 40px);
  margin: 20px auto 20px auto; /*centers the div horizontally */

}  

.section_service_child1 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/eldercare_square_S.jpg);
}  

.section_service_child2 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/childcare_square_S.jpg);
}  

.section_service_child3 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/petcare_square_S.jpg);
}  

.section_info_childslogan {
  text-align: center;
  width: 100%;    
}

.section_info_childsloganresponse {
  width: 100%;
}

.section_info_button {
  text-align: center;
}

.section_footlinks {
  text-align: center;
  border-top:1px solid var(--accent-color); /* light blue */
}

.section_footlinks_child {
  display: flex;
  flex-direction: column;
}    


}


/* ---------------------------------------------------------------------------*/
/* -------------------------------TABLET PORTRAIT-----------------------------*/
/* ---------------------------------------------------------------------------*/

@media only screen and (min-width: 380px) and (max-width: 768px) {
.section_service_child {
  width: calc(100% - 40px);
  margin: 20px auto 20px auto; /*centers the div horizontally */
}  

.section_service_child1 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/eldercare_landscape_S.jpg);
}  

.section_service_child2 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/childcare_landscape_S.jpg);
}  

.section_service_child3 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/petcare_landscape_S.jpg);
}  

.section_info_childslogan {
  text-align: center;
  width: 100%;    
}

.section_info_childsloganresponse {
  width: 100%;
}

.section_info_button {
  text-align: center;
}

.section_footlinks {
  text-align: center;
  border-top:1px solid var(--accent-color); /* light blue */
}

.section_footlinks_child {
  display: flex;
  flex-direction: column;
}    

}


/* ---------------------------------------------------------------------------*/
/* -----------------------------SMALL LAPTOP SCREEN---------------------------*/
/* ---------------------------------------------------------------------------*/

@media only screen and (min-width: 768px) and (max-width: 1200px) {
.section_service_child {
    width: calc(100% - 40px);
    margin: 20px auto 20px auto; /*centers the div horizontally */
}  

.section_service_child1 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/eldercare_landscape_S.jpg);
}  

.section_service_child2 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/childcare_landscape_S.jpg);
}  

.section_service_child3 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/petcare_landscape_S.jpg);
}  

.section_info_child {
    display: flex;
    justify-content: center;
}

.section_info_childslogan {
  text-align: center;
  width: 100%;    
}

.section_info_childsloganresponse {
  width: 100%;
}

.section_info_button {
  text-align: center;
}

.section_footlinks {
  text-align: center;
  border-top:1px solid var(--accent-color); /* light blue */
}

.section_footlinks_child {
  display: flex;
  flex-direction: column;
}    


}

/* ---------------------------------------------------------------------------*/
/* ----------------------------LARGE LAPTOP SCREEN----------------------------*/
/* ---------------------------------------------------------------------------*/

@media screen and (min-width: 1200px) {
.section_banner{
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/family_landscape_S.jpg);
}    

.section_service_child1 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/eldercare_square_S.jpg);
}  

.section_service_child2 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/childcare_square_S.jpg);
}  

.section_service_child3 {
  background-image: radial-gradient(closest-side, rgba(0,0,0,0.8),rgba(0,0,0,0.2)),url(/siteimages/petcare_square_S.jpg);
}  
    
.section_service {
  display: flex;
  justify-content: center;
  margin: 100px 0px 80px 0px;
}

.section_service_child {
  width: 350px;
}  

.section_info {
  display: flex;
  justify-content: center;
  padding: 0px 0px 50px 0px;
}

.section_info_child {
 display: flex;
 justify-content: flex-start;
 float: left;
}  

.section_info_child_part1 {
  width: 350px;
}  

.section_info_child_part2 {
  width: 720px;
}  

.section_footlinks {
  display: flex;
  justify-content: center;
  border-top:1px solid var(--accent-color); /* light blue */
}

.section_footlinks_child {
  width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}    
  
}

/* ---------------------------------------------------------------------------*/
/* ----------------------MOBILE PHONE / TABLET LANDSCAPE ---------------------*/
/* ---------------------------------------------------------------------------*/
@media only screen 
and (max-width : 1200px) 
and (orientation : landscape){
.bannerbuttoncentergroup {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}  

}

