.image-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  height: 196px;
  grid-gap: 24px;
  margin-top: 24px;
}

.image-grid div {
  background-size: cover;
  filter: grayscale(40%);
  -webkit-filter: grayscale(40%);
  border-radius: 8px;
}

#image-grid1 {
  background-image: url(../img/mindfulness.webp);
}

#image-grid2 {
  background-image: url(../img/pine.webp);
}

#image-grid3 {
  background-image: url(../img/somatic.webp);
}

#image-grid4 {
  background-image: url(../img/virtual.webp);
}

.quote-banner {
  background-image: url(../img/feature-desktop.webp);
  background-position: 50% 50%;
  background-size: cover;
  height: 372px;
  border-radius: 8px;
  margin-top: 24px;
}

@media only screen and (max-width: 1200px) {
  .image-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 196px 196px;
    width: 100%;
    max-width: 592px;
    margin: 24px auto 0 auto;
    height: auto;
  }
  .image-grid div {
    background-position: 50% 50%;
  }
  #image-grid1 {
    grid-column: 1/2;
  }
  #image-grid2 {
    grid-column: 2/4;
  }
  #image-grid3 {
    grid-column: 1/3;
  }
  #image-grid4 {
    grid-column: 3/4;
  }
}
@media only screen and (max-width: 700px) {
  .quote-banner {
    background-position: 30% 25%;
  }
}
@media only screen and (max-width: 424px) {
  .image-grid {
    grid-template-rows: 124px 124px;
  }
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

/* Blog */
.blog {
  display: flex;
  flex-direction: column;
  flex-basis: 47%;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.125);
  border-style: solid;
  border-radius: 8px;
  margin-bottom: 48px;
}

.blog img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.blog-author {
  display: block;
  margin: 12px 0 0 0;
  font-size: 1em;
  font-weight: bold;
}

.blog-body {
  flex: 1 1 auto;
  padding: 12px;
  margin-bottom: 12px;
}

.blog-body a {
  display: block;
  margin: 12px 0 0 0;
  font-size: 1.17em;
  font-weight: bold;
  color: #111111;
  text-decoration: none;
}

.blog-date {
  margin: 0 0 12px 0;
  text-transform: uppercase;
  font-size: 0.9em;
}

.blog-button {
  display: block;
  background-color: #CCC5AB;
  font-size: 14px;
  width: 100%;
  letter-spacing: 1px;
  padding: 14px 28px;
  line-height: 14px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: none;
  box-sizing: border-box;
  color: black;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.blog-button:hover {
  background: #784906;
  cursor: pointer;
  color: white;
}

.blog-single ul {
  margin-top: 0;
}

.blog-single img {
  width: 100%;
  display: block;
  margin: auto;
  height: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.blog-summary {
  font-weight: 600;
  font-size: 1.2em;
}

header {
  background-color: white;
  width: 100%;
}

header .header {
  width: 1149px;
  margin: auto;
  padding: 12px;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

header .logo,
#logo {
  display: inline-block;
  background-image: url(../img/dakova.svg);
  width: 248px;
  height: 120px;
  background-repeat: no-repeat;
  margin-top: 4px;
}

header #navMenu a {
  display: inline-block;
  text-decoration: none;
  padding: 10px 26px;
  color: #111111;
}

@media only screen and (max-width: 1200px) {
  header .header {
    display: flex;
    width: 100%;
    padding: 12px;
    flex-wrap: wrap;
    box-sizing: border-box;
  }
  header #navButton {
    position: absolute;
    width: 48px;
    height: 48px;
    background-image: url(../img/menu.svg);
    background-repeat: no-repeat;
    background-size: contain;
    border-style: solid;
    border-radius: 8px;
    border-color: #999999;
    border-width: 1px;
    top: 46px;
    right: 24px;
    z-index: 50000;
  }
  header #navButton:hover {
    background-color: #CCCCCC;
  }
  header #navMenu {
    width: 100%;
    height: 0px;
    overflow: hidden;
    transition-duration: 0.6s;
  }
  header #navMenu a {
    text-align: left;
    display: block;
    color: #333333;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  justify-items: center;
  grid-gap: 48px 12px;
}

.team-tile {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  width: 200px;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.125);
  border-style: solid;
  border-radius: 8px;
  border-bottom: 0.25rem solid #CCC5AB;
}

.team-tile a {
  margin: 0;
  text-decoration: underline;
}

.team-photo {
  width: 200px;
  height: 200px;
  margin-bottom: 12px;
  background-size: cover;
}

@media only screen and (max-width: 1200px) {
  .team-grid {
    max-width: none;
  }
}
#team img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.team-category {
  margin: 48px 0;
}

.team-category h2 {
  padding-left: 0;
}

#team {
  width: 900px;
  margin: auto;
}

#team-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

#team .team-member-body {
  width: 200px;
  text-align: center;
}

#team .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  justify-items: center;
  grid-gap: 48px 12px;
}

#team .name {
  color: #784906;
  font-size: 32px;
  font-weight: normal;
  text-decoration: none;
  margin: 24px 0 0 0;
}

#team .description {
  color: #784906;
  margin-top: 4px;
  line-height: 20px;
  font-style: italic;
  padding: 0;
}

/* Individual bio page improvements */
.services-single {
  display: grid;
  grid-template-columns: 280px 1fr;
  column-gap: 30px;
  row-gap: 0;
  align-items: start;
}

.services-single #team-image {
  width: 280px;
  height: 350px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  grid-row: 1/span 10;
}

.services-single h3 {
  color: #784906;
  font-size: 32px;
  font-weight: normal;
  margin: 0 0 12px 0;
}

.services-single .description {
  color: #784906;
  margin-top: 4px;
  padding-left: 0;
}

@media only screen and (max-width: 768px) {
  .services-single {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }
  .services-single #team-image {
    grid-row: auto;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0 auto;
  }
  .services-single h3 {
    margin-top: 24px;
  }
}
/* Services */
.service {
  display: flex;
  flex-direction: column;
  flex-basis: 47%;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.125);
  border-style: solid;
  border-radius: 8px;
  margin-bottom: 48px;
}

.service img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.service-body {
  flex: 1 1 auto;
  padding: 12px;
  margin-bottom: 12px;
}

.service-body a {
  display: block;
  margin: 12px 0;
  font-size: 1.17em;
  font-weight: bold;
  color: #111111;
  text-decoration: none;
}

.service-button {
  display: block;
  background-color: #CCC5AB;
  font-size: 14px;
  width: 100%;
  letter-spacing: 1px;
  padding: 14px 28px;
  line-height: 14px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: none;
  box-sizing: border-box;
  color: black;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.service-button:hover {
  background: #784906;
  color: white;
  cursor: pointer;
}

.service-single ul {
  margin-top: 0;
}

#iop {
  object-position: 50% 40%;
}

.contact-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  height: 212px;
  width: 286px;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.125);
  border-style: solid;
  border-radius: 8px;
  border-bottom: 0.25rem solid #CCC5AB;
}

.contact-tile a {
  margin: 0;
  text-decoration: underline;
}

.contact-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  background-size: cover;
}

.contact-hr {
  border-width: 0px;
  border-bottom-width: 1px;
  border-color: #CCC5AB;
  width: 3rem;
  margin: 24px;
}

.contact-label {
  text-transform: uppercase;
  font-weight: bold;
}

.phone .contact-icon {
  background-image: url(../icon/cellphone.svg);
}

.email .contact-icon {
  background-image: url(../icon/email.svg);
}

.address .contact-icon {
  background-image: url(../icon/map-marker.svg);
}

.map {
  background-color: rgba(0, 0, 0, 0.125);
  border-radius: 8px;
  border-width: 0px;
  margin: auto;
}

@media only screen and (max-width: 1200px) {
  .contact-grid {
    max-width: none;
  }
  .contact-tile {
    width: 30%;
  }
}
@media only screen and (max-width: 1000px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
    margin-bottom: -36px;
  }
  .contact-tile {
    margin-bottom: 36px;
    width: 400px;
  }
}
@media only screen and (max-width: 700px) {
  .contact-tile {
    width: 100%;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 28px;
  color: #535353;
}

a {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
  color: #333333;
}

h1 {
  text-transform: uppercase;
  font-weight: 100;
  font-size: 45px;
  line-height: 36px;
  letter-spacing: 10px;
  margin: 0 0 18px 0;
}

h2 {
  font-family: adobe-caslon-pro, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 28px;
  margin: 0 0 18px 0;
}

h4 {
  margin: 0 0 0 0;
}

h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: lighter;
  font-style: italic;
  margin: 0 auto 0 auto;
}

p {
  margin: 12px 0;
}

ul {
  margin: 6px 0;
}

main {
  width: 900px;
  margin: auto;
}

section {
  margin: 0;
  padding: 0;
}

.text-center {
  text-align: center;
}

.button {
  background-color: #CCC5AB;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 14px 28px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: none;
  color: black;
  margin: 15px 0;
  border-radius: 8px;
}

.button:hover {
  background: #784906;
  cursor: pointer;
  color: white;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -48px;
}

article {
  width: 100%;
  padding-top: 96px;
}

#global-header {
  padding: 108px 0 108px 0;
  background-position: 50% 65%;
}

#global-header h1 {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  margin: auto;
  text-transform: capitalize;
}

#slider .button {
  background-color: whitesmoke;
  color: #784906;
}

#slider .button:hover {
  background-color: #CCC5AB;
  color: black;
}

#slider {
  position: relative;
  display: flex;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

#slider h1 {
  color: white;
}

#slider .block {
  color: white;
  font-size: 23px;
  line-height: 40px;
  letter-spacing: 3px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  position: relative;
}

@media only screen and (max-width: 1000px) {
  main {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }
}
.acknowledgement {
  max-width: 900px;
  margin: 80px auto 48px auto;
}

footer {
  text-align: center;
  margin: 96px auto 96px auto;
}

footer a {
  display: inline-block;
  color: #535353;
  margin: 24px;
  text-decoration: none;
}

footer a:hover {
  color: #784906;
}

footer .button {
  margin-bottom: 0;
}

footer p {
  color: #919191;
  font-size: 13px;
  margin: 24px 0 0 0;
}

footer p a {
  color: inherit;
  font-size: inherit;
  text-decoration: none;
  margin: 0;
}

#social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin: 12px;
  fill: #333333;
}

@media only screen and (max-width: 1200px) {
  footer a {
    margin: 24px 24px 0 24px;
  }
  footer #social {
    margin: 24px 0 0 0;
  }
}
.form-label {
  display: block;
  margin-top: 12px;
}

.form-control {
  display: block;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border-color: #CCCCCC;
  border-width: 1px;
  border-style: solid;
}

input:focus {
  outline: none;
  border-color: #CCC5AB;
}

#subscribe {
  position: fixed;
  box-sizing: border-box;
  z-index: 99999;
  right: 50%;
  top: 50%;
  background-color: white;
  padding: 48px;
  border-radius: 8px;
  border-color: #CCCCCC;
  border-width: 1px;
  border-style: solid;
  transform: translate(50%, -50%);
  border-radius: 8px;
  border-bottom: 0.25rem solid #784906;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

#close {
  width: 24px;
  height: 24px;
  background-color: white;
  background-image: url("../icon/close.svg");
  border: none;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
}

#subscribe-banner {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  min-width: 350px;
  background-color: white;
  position: fixed;
  bottom: -500px;
  left: 80%;
  transform: translate(-50%, 0%);
  box-sizing: border-box;
  padding: 36px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-color: #CCCCCC;
  border-width: 1px;
  border-style: solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  transition: 1000ms;
}

#subscribe-banner h2 {
  display: block;
}

#no-thanks {
  cursor: pointer;
}

/* Mobile */
@media only screen and (max-width: 1200px) {
  h1 {
    line-height: 60px;
  }
  #global-header {
    height: 276px;
    display: flex;
    align-items: center;
    position: relative;
  }
}
@media only screen and (max-width: 1000px) {
  #slider {
    background-position: 55% 50%;
  }
  #subscribe-banner {
    left: 2%;
    width: 96%;
    transform: translate(0%, 0%);
    padding: 24px;
  }
  #toggle-subscribe {
    margin: 0px;
  }
}
@media only screen and (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  #team {
    width: 100%;
  }
  .team-tile {
    width: 100%;
  }
  .team-photo {
    width: 100%;
    height: auto;
  }
  .team-photo img {
    width: 100% !important;
    height: auto !important;
  }
  #team img {
    width: 100% !important;
    height: auto !important;
  }
  #team .team-member-body {
    width: 100%;
  }
  #team .name {
    margin-top: 24px;
    margin-bottom: 4px;
  }
}
@media only screen and (max-width: 700px) {
  .grid {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  #subscribe {
    width: 96%;
  }
}
