#expertise_page_break {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#expertise_section {
  padding: 0 5% 5%;
}

#our_expertise_section_header {
  font-family: "Antic Didone";
  font-weight: 400;
  font-style: normal;
  letter-spacing: .5rem;
  font-size: 2.5rem;
  color: #014235;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 40px;
  text-align: center;
  padding-bottom: 20px;
}

.expertise_container {
  display: flex;
  gap: 5px;
  text-align: center;
  width: 100%;
  padding-top: 20px;
}

.expertise_box {
  display: flex;
  flex-direction: column;
  /* background: linear-gradient(to bottom, #ffffff, hsla(171, 29%, 69%, 0.349)); */
  border-radius: 10px;
  /* box-shadow: 0 1px 8px #0b3a2d; */
  max-width: 300px;
  margin: 0.5rem auto;
  padding: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s ease;
  width: 90%;
  align-items: center;
}

/* .expertise_box:hover{
  transform: translateY(-10px);
  box-shadow: 0 8px 12px #295943;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

.expertise_box_header {
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-top: 0;
  font-family: "Antic Didone";
  text-decoration: underline 1px;
  text-underline-offset: .4rem;
  align-self: baseline;
  color: #014235;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.expertise_box_text {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-family: "Albert Sans", sans-serif;
  font-style: normal;
  color: #1b5e20;
}

.expertise-box-links-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding-left: 50px;
  padding-right: 50px;
  text-align: center;
  width: 100%;
}

.expertise-box-links-container a {
  text-decoration: none;
  display: block;
  padding: 1rem;
  transition: background-color 0.3s ease;
  font-family: "Albert Sans", sans-serif;
  font-size: 1rem;
  color: #1b5e20;
  font-weight: 600;
  width: 90%;
  margin: 0;
}

.expertise_box a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0.5rem;
  transition: background-color 0.3s ease, width 0.3s ease;
  font-family: "Albert Sans", sans-serif;
  font-size: 1rem;
  color: #1b5e20;
  font-weight: 600;
}

.expertise_box a:hover {
  background-color: rgba(30, 141, 30, 0.462);
}

/* .book_now_button:hover{
  background-color: #1e8d1e;
}
 */


/* -------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 850px) {
  .expertise-box-links-container {
    width: auto;
  }
}
@media (max-width: 768px) {
  .expertise_container {
        display: flex;
        flex-direction: column;
  }

  #expertise_section {
    clip-path: none;
    padding-top: 0;
  }

  .expertise_box{
    display: flex;
    flex-direction: column;
    max-width: none;
  }

  .expertise_box {
    display: flex;
    flex-direction: column;
    max-width: none;
  }
  
  .expertise_box_header {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .expertise_box_text {
    margin-bottom: 20px;
    text-align: center;
  }
  .book_now_button{
    align-self: center;
  }
}
