:root {
  --body-font-color: #333;
  --color-navy: #002966;
  --color-light-navy: #1b68db;
  --accent-color: #ffcc00;
  --color-light-green-1: #effff9;
  --color-light-green-2: #f9fffd;
  --color-light-green-3: #e8f3f1;
  --color-light-blue-1: #f1fcff;

  --color-green-1: #2c9a9c;
  --color-green-2: #1fc2a7;
  --color-green-3: #1fb884;
  --color-green-4: #17cc87;
  --color-green-5: #1fd5c2;
  --color-green-6: #00ad54;
  --color-green-7: #66cc7e;
  --color-green-8: #81db28;
  --color-yellow: #fed62a;
  --color-pink: #ffbfd1;

  --color-teal-text: #1c7374;

  --header-font-family: "Plus jakarta Sans", sans-serif;
  --body-font-family: "Euclid circular b", sans-serif;

  --max-section-width: 1000px;
}

body {
  /* background: var(--color-light-blue-1); */
  color: var(--body-font-color);

  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  /* background: var(--color-light-green-3); */
}

.topBar {
  border-bottom: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  /* background: var(--color-light-green-3); */
}

.topBarContents {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: var(--max-section-width);
  margin: 30px 20px 30px;
}

.topBar .logoContainer {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (width < 800px) {
  .topBar .logoContainer img {
    max-width: 70vw;
  }
}

.topBar .navLinks {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topBar .navLink {
  font-size: 18px;
  color: var(--color-teal-text);
  text-decoration: none;
  /* text-transform: uppercase; */
  transition: 0.2s ease;
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

@media (width >=800px) {
  .topBar .navLink:hover {
    color: var(--color-green-4);
    border-bottom: 2px solid var(--color-green-4);
  }
}

@media (width < 800px) {
  .topBar .navLinks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
}

@media (width < 450px) {
  .topBar .navLinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 15px;
    row-gap: 5px;
  }
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 40px;
}

@media (width < 768px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 30px;
  }
}

@media (width < 500px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color: var(--color-teal-text);
  line-height: 1.2;
}

.centeredMaxWidth {
  width: 100%;
  max-width: var(--max-section-width);
  margin: 0 auto;
}

.centered {
  display: flex;
  justify-content: center;
}

.ctaHeroText {
  max-width: 600px;
  margin: 80px auto 80px;
  text-align: center;
  padding: 0 20px;
}

.ctaHeroText p {
  margin: 20px 0 20px 0;
}

.ctaPhone {
  font-family: var(--header-font-family);
  font-weight: 800;
  font-size: 50px;
  margin: 80px 0;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--color-teal-text);
  align-items: center;
  letter-spacing: 0.2rem;
}

.ctaPhone svg {
  width: 70px;
  height: 70px;
  margin: 12px 0 0 0;
  color: var(--color-teal-text);
}

@media (width < 700px) {
  .ctaPhone {
    font-size: 7vw;
    gap: 3vw;
  }

  .ctaPhone svg {
    width: 9vw;
    height: 9vw;
    margin: 1vw 0 0 0;
  }
}

.ctaCard {
  max-width: 800px;
  margin: 80px 20px 80px;
  text-align: center;
  background-color: var(--color-navy);
  color: #fff;
  padding: 40px 60px;
  border-radius: 15px;
}

.ctaCard h1,
.ctaCard h2 {
  color: #fff;
  margin-bottom: 20px;
}

.ctaCard img {
  border-radius: 20px;
  width: 100%;
  max-width: 512px;
  margin: 0 auto;
}

.threeCol {
  display: grid;
  gap: 30px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
}

.locations {
  width: 100%;
  display: grid;
  gap: 20px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;

  max-width: 1200px;
  padding: 0 20px;

  margin: 50px auto 50px;
}

.location {
  position: relative;
}

.location img {
  width: 100%;
  max-width: 512px;
  /* height: auto; */
  /* object-fit: cover; */
  border-radius: 15px;
}

@media screen and (width < 900px) and (width >=700px) {
  .locations {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (width < 700px) {
  .locations {
    grid-template-columns: 1fr;
  }
}

.locations .label {
  font-family: var(--header-font-family);
  text-transform: uppercase;
  /* border-bottom: 4px solid #fff; */
  padding: 10px 24px;
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  position: absolute;
  bottom: 50px;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
}

@media screen and (width < 1050px) {
  .locations .label {
    font-size: 26px;
    padding: 8px 18px;
  }
}

.locations div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.linkButton {
  display: table;
  text-align: center;
  background-color: var(--color-navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  transition: background-color 0.15s ease;
}

.linkButton:hover {
  background-color: var(--color-light-navy);
  text-decoration: none;
}

.linkButton img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  vertical-align: middle;
  color: #fff;
}

.wideArticlePadding {
  padding: 0 20px;
}

.wideArticleBackground {
  background: #fff;
}

.wideArticle {
  width: 100%;
  min-height: 600px;
  margin: 0 auto;
  padding: 50px 0 120px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 750px;
}

.wideArticle h1 {
  font-size: 40px;
  margin: 0 0 20px 0;
}

.wideArticle h2 {
  font-size: 26px;
  margin: 0 0 20px 0;
}

.locationSplitSection {
  max-width: 800px;
  margin: 60px auto;
}

.locationSplitSection .splitSectionImage {
  border: 6px solid #c8c8c86f;
  aspect-ratio: 1 / 1;
  /* max-width: 300px; */
}

.sectionWithBG {
  padding: 40px;
  background: var(--color-light-green-3);
}

.backgroundPaleBlue {
  background: var(--color-light-blue-1);
  padding: 20px;
  border-radius: 20px;
}

.splitSection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas: "image body";
  gap: 1rem;
  align-items: center;
  align-items: start;
}
.splitSectionLeftImage {
  grid-template-areas: "image body";
}
.splitSectionRightImage {
  grid-template-areas: "body image";
}
.splitSectionImage {
  grid-area: image;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}
.splitSectionBody {
  grid-area: body;
}
@media (width < 600px) {
  .splitSection {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "image";
  }
}

.contactUsBox {
  background: var(--color-green-1);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  justify-content: space-evenly;
  column-gap: 20px;
  font-size: 24px;
}

.contactUsBox a {
  color: #fff;
  display: flex;
  align-items: center;
  margin: 0 auto;
  font-weight: 700;
}

.contactUsBox svg {
  width: 30px;
  height: 30px;
  margin: 0 10px 0 0;
}

@media (max-width: 700px) {
  .contactUsBox {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  .contactUsBox {
    font-size: 20px;
    padding: 15px;
  }
}

@media (max-width: 380px) {
  .contactUsBox {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .contactUsBox {
    padding: 12px;
    font-size: 16px;
  }
}

footer {
  color: #111;
  background-color: var(--color-light-green-3);
  font-weight: 500;
  padding: 50px 40px 20px;
  /* border-top: 5px solid var(--main-color); */
}

.footerFlex {
  display: flex;
  justify-content: space-between;
  column-gap: 60px;
}

footer a {
  color: var(--color-teal-text);
  font-weight: 600;
  /* text-decoration: underline; */
  /* font-weight: 500; */
  /* color: var(--text-accent-color); */
  /* border-bottom: 2px solid var(--color-teal-text); */
}

footer a:hover {
  color: var(--color-green-4);
  border-bottom: 2px solid var(--color-green-4);
  text-decoration: none;
}

footer section {
  margin-bottom: 26px;
  line-height: 2;
}

footer h3 {
  max-width: 300px;
  font-size: 18px;
  padding: 0 0 6px 0;
  margin: 0 0 5px 0px;
  color: var(--color-navy);
  font-weight: 800;
  /* border-bottom: 2px solid var(--color-navy); */
}

footer .copyright {
  text-align: right;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-teal-text);
  border-top: 1px solid #92b9ac;
  padding: 20px 0 0 0;
}

.footerLogo {
  width: 100%;
  max-width: 240px;
  margin-bottom: 30px;
}

@media (max-width: 1000px) {
  .footerFlex {
    flex-direction: column;
  }
}
