/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #hero-1469 {
    /* 200px - 288px - leaving extra space for the navigation */
    padding: clamp(12.5rem, 29.95vw, 18rem) 1rem 0;
    /* 100px - 288px */
    padding-bottom: clamp(6.25rem, 20vw, 18rem);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #hero-1469:before {
    content: '';
    width: 100%;
    height: 100%;
    background: #FFF3EC;
    opacity: 0.9;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
  }

  #hero-1469 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
  }

  #hero-1469 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    max-width: 58.5rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #hero-1469 .cs-topper {
    /* 13px - 16px */
    font-size: clamp(0.8125rem, 1.6vw, 1rem);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: block;
  }

  #hero-1469 .cs-title {
    /* 39px - 61px */
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 700;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 30ch;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
  }

  #hero-1469 .cs-text {
    /* 16px - 24px */
    font-size: clamp(1rem, 2.3vw, 1.25rem);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    /* 32px - 40px */
    margin: 0 0 clamp(2rem, 4vw, 2.5rem) 0;
    color: var(--bodyTextColor);
  }

  #hero-1469 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    border-radius: 1.875rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
  }

  #hero-1469 .cs-button-solid:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: #fff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }

  #hero-1469 .cs-button-solid:hover {
    color: var(--primary);
  }

  #hero-1469 .cs-button-solid:hover:before {
    width: 100%;
  }

  #hero-1469 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
  }

  #hero-1469 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* makes the top of the image start at the top of the parent */
    object-position: top;
  }

  #hero-1469 .cs-hide {
    display: none;
  }

  #hero-1469 .cs-curve {
    width: 100%;
    height: auto;
    position: absolute;
    left: 0;
    bottom: 0;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #hero-1469:before {
    background: linear-gradient(89deg, rgba(255, 243, 236, 0.9) 44.46%, rgba(255, 243, 236, 0) 78.47%);
    opacity: 1;
  }

  #hero-1469 .cs-container {
    flex-direction: row;
    justify-content: space-between;
  }

  #hero-1469 .cs-content {
    width: 67%;
    text-align: left;
    align-items: flex-start;
  }

  #hero-1469 .cs-hide {
    display: block;
    position: absolute;
    z-index: 10;
  }

  #hero-1469 .cs-flower {
    display: none;
  }

  #hero-1469 .cs-blob1 {
    /* 166px - 378px */
    width: clamp(10.375rem, 18vw, 23.625rem);
    height: auto;
    left: -0.625rem;
    bottom: 2rem;
    transform: rotate(-8deg);
  }

  #hero-1469 .cs-blob2 {
    /* 170px - 318px */
    width: clamp(10.625rem, 23vw, 19.875rem);
    height: auto;
    right: -3.5rem;
    bottom: -0.625rem;
    transform: rotate(-8deg);
  }

  #hero-1469 .cs-leaf {
    /* 115px - 143px */
    width: clamp(7.1875rem, 14vw, 8.9375rem);
    height: auto;
    right: -3.5rem;
    /* 200px - 340px */
    top: clamp(12.5rem, 13vw, 21.25rem);
    transform: rotate(-63deg);
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #hero-1469 .cs-flower {
    display: block;
    left: -3.5rem;
    /* 150px - 280px */
    top: clamp(9.375rem, 10vw, 17.5rem);
  }
}

/* Large Desktop Parallax Effect - 1600px */
@media only screen and (min-width: 100rem) {
  #hero-1469 .cs-background {
    background: url("/assets/images/daycare.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  #hero-1469 .cs-background img {
    display: none;
  }

  #hero-1469 .cs-flower {
    left: auto;
    right: 50%;
    margin-right: 43.8125rem;
  }

  #hero-1469 .cs-blob1 {
    left: auto;
    right: 50%;
    margin-right: 38.875rem;
  }

  #hero-1469 .cs-blob2 {
    right: auto;
    left: 50%;
    margin-left: 42.875rem;
  }

  #hero-1469 .cs-leaf {
    right: auto;
    left: 50%;
    margin-left: 46.6875rem;
  }
}

/* Larger Desktop - 1800px */
@media only screen and (min-width: 112.5rem) {
  #hero-1469 .cs-bubbles2 {
    margin-right: 50rem;
    right: 50%;
    left: auto;
    top: 13.125rem;
    bottom: auto;
  }
}


/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {

  #RTsbs-1490,
  #RTsbsr-1490,
  #RTsbst-1490 {
    padding: var(--sectionPadding);
    /* padding-top: 16.25rem; */
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #RTsbs-1490 .cs-container,
  #RTsbsr-1490 .cs-container,
  #RTsbst-1490 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #RTsbs-1490 .cs-content,
  #RTsbsr-1490 .cs-content,
  #RTsbst-1490 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    /* changes to 433px at desktop */
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }

  #RTsbs-1490 .cs-title,
  #RTsbsr-1490 .cs-title,
  #RTsbst-1490 .cs-title {
    max-width: 20ch;
  }

  #RTsbs-1490 .cs-text,
  #RTsbsr-1490 .cs-text,
  #RTsbst-1490 .cs-text {
    margin-bottom: 1rem;
  }

  #RTsbs-1490 .cs-text:last-of-type,
  #RTsbsr-1490 .cs-text:last-of-type,
  #RTsbst-1490 .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  #RTsbs-1490 .cs-button-solid,
  #RTsbsr-1490 .cs-button-solid,
  #RTsbst-1490 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    overflow: hidden;
    margin: 0;
    color: #fff;
    padding: 0 3rem;
    border-radius: 1.875rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    /* transition: color .3s; do i need this? */
  }

  #RTsbs-1490 .cs-button-solid:before,
  #RTsbsr-1490 .cs-button-solid:before,
  #RTsbst-1490 .cs-button-solid:before {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 0%;
    background: var(--secondary);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width .3s;
  }

  #RTsbs-1490 .cs-button-solid:hover:before,
  #RTsbsr-1490 .cs-button-solid:hover:before,
  #RTsbst-1490 .cs-button-solid:hover:before {
    width: 100%;
  }

  #RTsbs-1490 .cs-image-group,
  #RTsbsr-1490 .cs-image-group,
  #RTsbst-1490 .cs-image-group {
    /* scales the whole group based on the view width size and stop when that vales equals .745em, resets at desktop */
    font-size: min(2.24vw, .9em);
    width: 40.6875em;
    height: 42.4375em;
    display: block;
    position: relative;
    z-index: 1;
  }

  #RTsbs-1490 .cs-picture,
  #RTsbsr-1490 .cs-picture,
  #RTsbst-1490 .cs-picture {
    overflow: hidden;
    box-sizing: border-box;
    position: absolute;
  }

  #RTsbs-1490 .cs-picture img,
  #RTsbsr-1490 .cs-picture img,
  #RTsbst-1490 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  #RTsbs-1490 .cs-picture1,
  #RTsbsr-1490 .cs-picture1,
  #RTsbst-1490 .cs-picture1 {
    width: 40.4375em;
    height: 37.5em;
    top: 0;
    left: 0;
    z-index: -1;
  }

  #RTsbs-1490 .cs-picture2,
  #RTsbsr-1490 .cs-picture2,
  #RTsbst-1490 .cs-picture2 {
    width: 20em;
    height: 20em;
    border-radius: 50%;
    background-color: #fff;
    border: 0.625em solid #ffffff;
    bottom: 0;
    right: 0;
    z-index: 10;
  }

  #RTsbs-1490 .cs-flower,
  #RTsbsr-1490 .cs-flower,
  #RTsbst-1490 .cs-flower {
    width: 9.5625em;
    height: auto;
    position: absolute;
    top: 2.6875em;
    right: 0.75em;
    z-index: 1;
  }

  #RTsbs-1490 .cs-squiggle,
  #RTsbsr-1490 .cs-squiggle,
  #RTsbst-1490 .cs-squiggle {
    width: 13.4375em;
    height: auto;
    position: absolute;
    bottom: 9.0625em;
    left: 3.125em;
  }

  #RTsbs-1490 .cs-mask,
  #RTsbsr-1490 .cs-mask,
  #RTsbst-1490 .cs-mask {
    width: 40.5625em;
    height: 37.625em;
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: -1;
  }

  #RTsbs-1490 .cs-top,
  #RTsbsr-1490 .cs-top,
  #RTsbst-1490 .cs-top {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 120rem;
    width: 100%;
    height: auto;
  }

  #RTsbs-1490 .cs-bottom,
  #RTsbsr-1490 .cs-bottom,
  #RTsbst-1490 .cs-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    min-width: 120rem;
    width: 100%;
    height: auto;
  }
}

/* Tablet - 768px */
/* @media only screen and (min-width: 48rem) {
  #RTsbs-1490,
  #RTsbsr-1490,
  #RTsbst-1490 {
    padding-top: clamp(8.25rem, 25vw, 16.25rem);
  }
} */
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {

  #RTsbs-1490 .cs-container,
  #RTsbsr-1490 .cs-container,
  #RTsbst-1490 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #RTsbs-1490 .cs-image-group,
  #RTsbsr-1490 .cs-image-group,
  #RTsbst-1490 .cs-image-group {
    font-size: min(1.2vw, 1em);
    flex: none;
  }
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #RTsbsr-1490 {
    background-color: #FFF8F5;
  }

  #RTsbsr-1490 .cs-picture1 {
    left: auto;
    right: 0;
  }

  #RTsbsr-1490 .cs-picture2 {
    right: auto;
    left: 0;
  }

  #RTsbsr-1490 .cs-flower {
    right: auto;
    left: 0.75em;
  }

  #RTsbsr-1490 .cs-squiggle {
    left: auto;
    right: 3.125em;
  }

  #RTsbsr-1490 .cs-mask {
    left: auto;
    right: -1px;
  }
}

/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #RTsbsr-1490 .cs-image-group {
    /* sends it to the right in the 2nd position */
    order: 2;
  }
}

/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #why-choose-1479 {
    padding: var(--sectionPadding);
    padding-bottom: 0;
    position: relative;
    /* Set position to relative */
    top: -50px;
    /* Adjust this value to move the section upwards */
    z-index: 10;
  }

  #why-choose-1479 .cs-container {
    width: 100%;
    /* changes to 1280px at tablet */
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }

  #why-choose-1479 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
  }

  #why-choose-1479 .cs-text {
    max-width: 49rem;
  }

  #why-choose-1479 .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* 8px - 20px */
    gap: clamp(0.5rem, 2vw, 1.25rem);
  }

  #why-choose-1479 .cs-item {
    list-style: none;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    /* 24px - 80px - top and bottom*/
    /* 12px - 60px - Left and right*/
    padding: clamp(1.5rem, 5vw, 5rem) clamp(0.75rem, 1vw, 3.75rem);
    border: 1px solid #e8e8e8;
    background-color: #fff;
    /* 24px - 60px */
    border-radius: clamp(1.5rem, 4vw, 3.75rem);
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1rem, 1.7vw, 1.5rem);
    position: relative;
    overflow: hidden;
    /* transition: border-color 0.3s, background-color 0.3s; */
  }

  #why-choose-1479 .cs-item a {
    display: block;
    /* Make the <a> cover the entire <li> */
    width: 100%;
    /* Full width of <li> */
    height: 100%;
    /* Full height of <li> */
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Inherit text color */
    padding: 20px;
    /* Optional for spacing */
  }


  #why-choose-1479 .cs-item:hover {
    border-color: var(--primary);
    transition: border-color 0.3s, background-color 0.3s;
  }

  #why-choose-1479 .cs-item:hover .cs-icon {
    filter: none;
  }

  #why-choose-1479 .cs-item:hover .cs-graphic {
    filter: grayscale(0);
  }

  #why-choose-1479 .cs-icon {
    width: auto;
    /* 48px - 60px */
    height: clamp(3rem, 5vw, 3.75rem);
    /* greyscale gets removed on hover, revealing the color of the icon. customise your icons to match your color scheme and the hover effect will work automatically */
    filter: grayscale(1);
    transition: filter 0.3s;
  }

  #why-choose-1479 .cs-h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    max-width: 11.5625rem;
    margin: 0 auto;
    color: var(--headerColor);
  }

  #why-choose-1479 .cs-graphic {
    min-width: 19.375rem;
    width: 100%;
    height: auto;
    filter: grayscale(1);
    display: none;
    position: absolute;
    /* changes to 0 at large desktop */
    bottom: -2.1875rem;
    left: 0;
    transition: filter .3s;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #why-choose-1479 {
    padding-bottom: 0;
    position: relative;
    /* Set position to relative */
    top: -200px;
    /* Adjust this value to move the section upwards */
    z-index: 10;
  }

  #why-choose-1479 .cs-container {
    max-width: 80rem;
  }

  #why-choose-1479 .cs-item {
    grid-column: span 3;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #why-choose-1479 .cs-graphic {
    display: block;
  }
}

/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #why-choose-1479 .cs-graphic {
    bottom: 0;
  }
}