html{
  scroll-behavior: smooth;
  overflow-x: hidden;
}


* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
       url('../fonts/Satoshi-Variable.woff') format('woff');
  font-style: normal;
}

@font-face {
  font-family: 'Felicity';
  src:  url('../fonts/felicity-regular-webfont.woff2') format('woff2'),
        url('../felicity-regular-webfont.woff') format('woff');
  font-style: normal;
}

:root {
  --green: #205043;
  --light-grey: #FBFAF8;
  --gold: #D4B77D;
  --orange: #C75F46;
  --black: rgba(24,29,37,1);
  --black-09: rgba(24,29,37,0.9);
  --black-08: rgba(24,29,37,0.8);
  --black-07: rgba(24,29,37,0.7);
  --black-06: rgba(24,29,37,0.6);
  --black-05: rgba(24,29,37,0.5);
  --black-04: rgba(24,29,37,0.4);
  --black-03: rgba(24,29,37,0.3);
  --black-02: rgba(24,29,37,0.2);
  --black-01: rgba(24,29,37,0.1);
  --black-005: rgba(24,29,37,0.05);
  --blue: #2E85BF;
  --mp: 7.5rem;
  --fs-main: 1.15rem;
  --fs-intro: 1.25rem;
  --fs-smaller: 1.05rem;
  --fs-smallest: 0.875rem;
}

body {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-family: 'Satoshi', sans-serif;
  background-color: var(--light-grey);
  color: var(--black);
}

img {
  width: 100%;
  display: block;
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0;
  line-height: 1.4;
}

.intro {
  font-size: var(--fs-intro) !important;
}

a {
  text-decoration: none;
}

.container-full {
  max-width: 1350px;
  width: 92%;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto;
}

.container-small {
  max-width: 910px;
  width: 92%;
  margin: 0 auto;
}

h1, h2 {
  font-weight: 400;
  margin: 0;
  padding: 0;
  font-family: 'Felicity', serif;
  color: var(--green);
  line-height: 0.8;
}

h1 {
  font-size: clamp(3.15rem, 12vw, 5rem);
}

h2 {
  font-size: clamp(3rem, 7vw, 4rem);
}

h3 {
  margin: 0;
  font-weight: 550;
  font-size: 1.3rem;
}

.cta {
  background-color: var(--orange);
  color: white;
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-block;
  width: fit-content;
  padding: 0.65rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.025rem;
  transition: background-color 0.2s ease;
  border-radius: 100vw;
  border: 0;
  cursor: pointer;
}

.cta:hover {
  background-color: #9d4b37;
}

.cta2 {
  border: solid 1px var(--green);
  padding: 1rem 1.5rem;
  font-size: var(--fs-main);
  color: var(--green);
  border-radius: 100vw;
  display: inline-block;
  transition: all 0.25s ease;
}

.cta2:hover {
  background-color: var(--green);
  color: white;
}

.br {
  border-radius: 1rem;
}

.section-tag {
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: var(--fs-smallest);
  color: var(--black-05);
  font-weight: 500;
}

.section-header {
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: var(--fs-smallest);
  color: var(--black-05);
  font-weight: 500;
  border-bottom: solid 1px var(--black-02);
}

.white-bg {
  background-color: white;
}

.no-overflow {
  overflow-x: hidden;
}

/* SEARCH BOX */

#ajaxsearchlite1 .probox, div.asl_w .probox {
  border: solid 2px rgba(32, 80, 67, 0.2) !important;
  background-color: var(--light-grey) !important;
}

.innericon svg {
  fill: var(--green) !important;
}

/* TOP BAR */

.top-bar {
  background-color: var(--green);
  padding: 0.65rem;
  font-size: 0.9rem;
  color: var(--light-grey);
  display: flex;
  column-gap: 3.5rem;
  place-content: center;
  font-weight: 500;
  flex-wrap: wrap;
  align-items: center;
}

.top-bar a {
  color: var(--light-grey); 
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}

.top-bar a:hover {
  color: var(--gold);
}

.top-bar i {
  font-size: 1.05rem;
}

/* NAVIGATION  */

.nav-container {
  background-color:var(--light-grey);
  position: sticky;
  height: fit-content;
  top: 0;
  border-bottom: solid 3px #E5E9E6;
  z-index: 20;
}

.main-nav {
  padding: 1rem 0;
  display: flex;
  align-items: center;
}

.main-nav-logo {
  font-family: 'Felicity';
  color: var(--green);
  display: contents;
  align-items: center;
  line-height: 0;
  font-size:2.5rem;
}

.main-nav-logo img {
  max-width: 5rem;
}

.main-nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  column-gap: 2.25rem;
  font-size: 1.05rem;
}

.main-nav-link {
  color: var(--black-08);
  font-weight: 475;
  transition: color 0.25s ease;
}

.main-nav-link:hover {
  color: var(--black);
}

.main-nav .fa-bars {
  font-size: 1.2rem;
  color: var(--black-09);
  display: none;
}

.treatments-trigger {
  position: relative;
  cursor: pointer;
}

.treatments-nav {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: -2rem;
  padding: 1.5rem;
  display: none;
  opacity: 0;
  transition-property: display opacity;
  transition-duration: 0.25s;
  transition-behavior: allow-discrete;
  width: fit-content;
  translate: 0 0;
}

.treatments-trigger:hover .treatments-nav {
  opacity: 1;
  display: block;
  @starting-style {
    opacity: 0;
    translate: 0 1rem;
  }
}

.menu-secondary {
  background-color: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  display: grid;
  row-gap: 1.25rem;
  min-width: 16rem;
  border: solid 2px #E5E9E6;
  margin-top: -0.15rem; 
}

.menu-secondary a {
  font-weight: 550;
  color: var(--black-08);
}

.menu-secondary i {
  color: var(--green);
  margin-left: 0.1rem;
  transition: margin-left 0.15s ease;
}

.menu-secondary a:hover i {
  margin-left: 0.4rem;
}

.treatments-trigger .fa-chevron-down {
  position: absolute;
  z-index: 2;
  top: 0.35rem;
  right: -1.1rem;
  font-size: 0.85rem;
  opacity: 0.25;
  transition: all 0.25s ease;
  color: var(--green);
}

.treatments-trigger:hover .fa-chevron-down {
  opacity: 0.75;
  rotate: 180deg;
}

/* DECORATIONS */

.decoration {
  position: absolute;
  z-index: 3;
  height: auto !important;
}

.blue-burst {
  bottom: -2rem;
  left: -2rem;
  width: 7.5rem;
}

.blue-burst-full {
  bottom: -2rem;
  right: -2rem;
  width: 7.5rem;
}

.ribbon {
  top: 8rem;
  right: -2rem;
  width: 4.5rem;
}

.squiggle {
  margin: 5rem auto 0 auto;
  width: 7.5rem;
}

.controls {
  position: fixed;
  bottom: 5vh;
  right: 1.5rem;
  background-color: white;
  padding: 0.5rem 1rem;
  border: solid 3px mediumvioletred;
  z-index: 51;
  display: grid;
  row-gap: 1rem;
}

/* DOCTORS SLIDER */

#doctor-slider {
  position: relative;
  width: 18rem; 
  height: 25rem;
  
}

.slider-track {
  display: flex;
  column-gap: 3rem; 
  transition: transform 0.3s ease;
}

.doctor-slide {
  flex: 0 0 18rem;
  height: 25rem;
  text-align: center;
  font-size: 1.5em;
  position: relative;
  color: var(--light-grey);
}

.ds1 {
  position: absolute;
  bottom: 0;
  height: 30%;
  width: 100%;
  border-radius: 0 0 0.75rem 0.75rem;
  background-color: var(--green);
  display: flex;
  align-items: center;
  place-content: center;
  flex-wrap: wrap;
  z-index: 5;
}

.ds2 {
  position: absolute;
  bottom: 0;
  height: 80%;
  width: 100%;
  background-color: rgba(32,80,67,0.1);
  z-index: 3;
  border-radius: 0.75rem;
}

.ds3 {
  position: absolute;
  bottom: 1rem;
  height: 100%;
  width: 100%;
  z-index: 4;
  object-fit: cover;
  transition: bottom 0.15s ease;
}

.doctor-slide:hover .ds3 {
  bottom: 1.75rem;
}

.doctor-slide h3 {
  font-family: 'Felicity';
  line-height: 0.8;
  font-size: 2.25rem;
}

.doc-spec {
  font-size: var(--fs-smallest);
  width: 90%;
  margin: 0.25rem auto;
  color: rgba(255,255,255,0.8);
}

.doctor-button {
  background-color: var(--green);
  color: var(--light-grey);
  height: 3rem;
  width: 3rem;
  aspect-ratio: 1;
  place-content: center;
  display: flex;
  font-size: 1.5rem;
  border-radius: 50%;
  align-items: center;
}

/* ABOUT THE CLINIC */

.about-clinic {
  background-color: var(--green);
  padding: var(--mp) 0;
  margin-top: 5rem;
  color: var(--light-grey);
}

.about-clinic-grid {
  grid-template-columns: 1fr 610px;
  column-gap: 4rem;
  display: grid;
}

.about-clinic h2 {
  color: var(--light-grey);
  margin-bottom: 1rem;
}

.clinic-pic {
  position: relative;
}

.clinic-pic img {
  height: 100%;
  object-fit: cover;
}

.about-clinic ul {
  font-size: var(--fs-intro);
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 1.5rem;
  margin: 2rem 0 2rem 1.8rem;
}

.about-clinic ul i {
  color: var(--gold);
}

.about-clinic a {
  font-weight: 500;
  color: var(--gold);
  text-decoration: underline;
}

.about-clinic a:hover {
  text-decoration: none;
}

.about-clinic .cta2 {
  border: solid 1px var(--gold);
  color: var(--light-grey);
  text-decoration: none;
  margin-top: 2rem;
}

.about-clinic .cta2 i {
  transition: margin-left 0.15s ease;
}

.about-clinic .cta2:hover i {
  margin-left: 0.4rem;
}

/* FAQ ACCORDION */

.faq-condition { 
  margin: 0 auto; 
  border-top: 1px solid var(--black-02); 
}
.faq-condition-item { 
  border-bottom: 1px solid var(--black-02); 
}

.faq-condition-question { 
  display:flex;
  justify-content:space-between;
  align-items:center;           
  width:100%; 
  padding: 1rem 1rem 1rem 0; 
  border:0; 
  font-size:var(--fs-intro);
  cursor:pointer; transition:background .1s ease; 
  color: var(--black);
  font-weight: 500;
  background: unset;
  text-align: left;
  line-height: 1.5;
  column-gap: 1.5rem;
  font-family: "Satoshi";
}

.faq-condition-question i { 
  transition:transform .15s ease; 
}

.faq-condition-question.faq-active i {
  transform:rotate(180deg); 
}

.faq-condition-answer { 
  display: none;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: var(--fs-smaller);
  font-weight: 450;
  color: var(--black-08);
}

.faq-condition-answer p {
  margin-bottom: 1.5rem;
}

.faq-condition-answer p:nth-last-child(1) {
  margin-bottom: 0;
}

.faq-condition-answer .callout {
  margin: 2rem 0 0 0;
}

.faq-condition-answer p, .faq-condition-answer li {
  font-size: var(--fs-main);
  color: var(--black-08);
  font-weight: 350;
}

.faq-condition-answer strong {
  font-weight: 500;
}

.faq-condition-border {
  border: solid 1px var(--black-02);
}

/* GLOBAL FOOTER CTA */

.global-footer {
  padding: var(--mp) 0;
}

.global-footer-box {
  background-color: var(--green);
  padding: var(--mp);
  text-align: center;
}

.global-footer-box h2 {
  color: var(--light-grey);
}

.global-footer-box p {
  color: var(--light-grey);
  max-width: 35rem;
  margin: 1.5rem auto;
}

.global-footer-box svg {
  width: 8rem;
  height: auto;
  fill: var(--light-grey);
  margin-bottom: 1rem;
}

.global-footer-box .cta {
  font-size: 0.975rem;
  padding: 0.95rem 1.5rem;
  font-weight: 550;
}

/* SITE FOOTER */

footer {
  background-color: var(--green);
  padding: 3.5rem 0 10rem 0;
  color: var(--light-grey);
}

footer h3 {
  font-family: "Felicity", serif;
  line-height: 0.8;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  column-gap: 3rem;
  display: grid;
}

.footer-regulated p {
  font-size: var(--fs-main);
  font-weight: 400;
}

.footer-regulated span {
  display: block;
  max-width: 16rem;
  font-size: var(--fs-smallest);
  font-weight: 550;
}

.footer-regulated img {
  max-width: 8rem;
  border-radius: 0.25rem;
  margin: 4rem 0 1rem 0;
}

.footer-legal a {
  display: block;
  width: fit-content;
  color: var(--light-grey);
  font-size: var(--fs-main);
  margin-bottom: 0.85rem;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-contact p {
  font-size: var(--fs-main);
  margin-bottom: 1.5rem;
}

.footer-contact a {
  font-weight: 550;
  color: var(--light-grey);
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact iframe {
  width: 270px;
}

.footer-logo {
  margin-top: 5rem;
  text-align: center;
  font-size: var(--fs-smallest);
  font-weight: 475;
}

.footer-logo svg {
  fill: var(--light-grey);
  display: block;
  width: 6rem;
  height: auto;
  margin: 0 auto;
}

.footer-logo span {
  font-family: "Felicity", serif;
  font-size: 2rem;
  display: block;
  margin: 0.5rem 0 1.5rem 0;
}

.grass {
  height: 5rem;
  background-image: url(../images/grass-footer.svg);
  background-size: cover;
  background-position: top;
  background-repeat: repeat-x;
  margin-bottom: -1rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1180px) {
  .main-nav-link {
    display: none;
  }

  .main-nav .fa-bars {
    display: block;
  }

  .main-nav-links {
    column-gap: 1rem;
  }
}

@media only screen and (max-width: 1050px) {
  .about-clinic-grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }
}


@media only screen and (max-width: 768px) {
  
  :root {
    --mp: 2.5rem;
    --fs-main: 1.05rem;
    --fs-intro: 1.15rem;
    --fs-smaller: 0.99rem;
    --fs-smallest: 0.8rem;
  }

  .main-nav-logo {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .top-bar a.top-bar-address {
    display: none;
  }

  .squiggle {
    margin: 2.5rem auto 0 auto;
  }

  .global-footer-box svg {
    width: 5.5rem;
  }

  .global-footer-box .cta {
    font-size: 0.85rem;
  }

  footer {
    padding: 2.5rem 0 5rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 3.5rem;
  }

  footer h3 {
    font-size: 2.65rem;
  }

  .footer-regulated img {
    margin: 2rem 0 1rem 0;
  }
}

@media only screen and (max-width: 620px) {
  .main-nav-logo img {
    max-width: 3.75rem;
  }
  
  .cta {
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
  }
  
  .main-nav .cta i {
    display: none;
  }
}


@media only screen and (max-width: 560px) {

  .about-clinic ul {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .clinic-info .intro, .about-clinic ul {
    font-size: var(--fs-main) !important;
  }

  .about-clinic-grid {
    row-gap: 1.5rem;
  }

  .doctor-slide h3 {
    font-size: 2rem;
  }

  .main-nav .cta {
    display: none;
  }
}

@media only screen and (max-width: 490px) {

  
  .top-bar span {
    display: none;
  }

  .top-bar {
    column-gap: 2rem;
    font-size: 0.8rem;
  }

  .top-bar .fa-whatsapp {
    font-size: 1.3rem;
  }

}

@media only screen and (max-width: 374px) {
  .main-nav-logo {
    font-size: 8vw;
  }

  .main-nav-logo img {
    max-width: 15vw;
  }
}