/* Mobile first */
header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #fff;
  transition: all 0.3s;
  height: 80px;
  padding: 20px;
  overflow: hidden;
  border-bottom: 1px solid var(--header-border-color);
}
header.open{
  height: 100vh;
  overflow-y: scroll;
}
nav{
  padding-top: 75px;
  margin-bottom: 20px;
  /* height: calc(100vh - 160px); */
}
.open nav{
  overflow-y: scroll;
}
.icon-color{
  color: #434b49;
}
.text-nav-upper{
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 17px;
}
.info-wrap{
  position: relative;
  z-index: 100;
}
  .header-right .icon-container{
    margin-right: 30px;
  }

  .header-right .button{
    min-width: 135px;
  }
  .mobile-header-wrap{
    text-align: left;
    position: fixed;
    width: 100%;
    left: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 12px;
    top: 0;
    height: 80px;
    background: #fff;
    z-index: 1;
    border-bottom: 1px solid var(--header-border-color);
  }
.mobile-header-wrap .icon-container{
  position: fixed;
  right: 78px;
  top: 20px;
}
.logo-wrap{
  height: 54px;
  overflow: hidden;
  margin-top: -5px;
}
.logo-wrap img{
  width: auto;
  height: 100%;
}
/* HAMBURGER */
.ham-icon-wrap{
  width: 40px;
  height: 20px;
  position: fixed;
  right: 20px;
  top: 32px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}
.ham-icon-wrap span{
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: var(--menu-font-color);
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}
.ham-icon-wrap span:nth-child(1) {
  top: 0px;
}

.ham-icon-wrap span:nth-child(2) {
  top: 7px;
}

.ham-icon-wrap span:nth-child(3) {
  top: 15px;
}

.ham-icon-wrap.open span:nth-child(1) {
  top: 7px;
  width: 50%;
  left: 10px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.ham-icon-wrap.open span:nth-child(2) {
  opacity: 0;
  left: -20px;
}

.ham-icon-wrap.open span:nth-child(3) {
  top: 7px;
  width: 50%;
  left: 10px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
/* Menu */
.menu-item:first-child{
  /* border-top: 1px solid var(--menu-divider-color); */
}
.menu-item{
  padding: 10px 0px;
  /* border-bottom: 1px solid var(--menu-divider-color); */
}
.menu-item > a, .menu-item > span {
  margin: 0;
  text-transform: uppercase;
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--menu-font-color);
}
.main-menu > .menu-item > a, .main-menu > .menu-item > span {
  display: inline;
}
.submenu {
  visibility: visible;
  background-color: #fff;
  min-width: 200px;
  height: 0;
  overflow: hidden;
  padding-left: 20px;
  box-shadow: none;
}
.submenu a{
  font-size: 13px;
}
  .bridge{
    display: none;
  }
.submenu.grouped{
  width: 100%;
}
.submenu.non-grouped{
  min-width: 300px;
}
.submenu.opened{
  height: auto;
}
.submenu .menu-title {
  display: block;
  margin-bottom: 7px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--menu-font-color);
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}
.submenu-group{
  margin-top: 20px;
  margin-bottom: 20px;
}
.submenu-group:last-child{
  margin-bottom: 0;
}
.submenu-group ul li{
  margin-bottom: 10px;
}
.submenu-group ul li:last-child{
  margin-bottom: 0;
}
.dropdown{
  position: relative;
}
.dropdown-trigg{
  display: block;
  position: absolute;
  right: 10px;
  top: 0;
  width: 30px;
  height: 30px;
}
.dropdown-trigg:after{
  content: '';
  display: block;
  position: absolute;
  top: 15px;
  right: 0;
  width: 6px;
  height: 6px;
  border-left: 1px solid var(--menu-font-color);
  border-bottom: 1px solid var(--menu-font-color);
  transition: all 0.3s;
  transform-origin: center;
  transform: rotate(-135deg);
}
.dropdown-trigg.opened:after{
  transform: rotate(-45deg);
}
.header-right .mobile-visible{
  display: block;
  min-width: 225px;
  margin-bottom: 80px;
}
.header-right .mobile-hidden{
  display: none;
}
.mobile-hidden{
  display: none;
}
/* min 1000 */
@media (min-width: 1000px){
  .text-nav-upper{
    margin-top: 13px;
  }
  .mobile-header-wrap {
    text-align: left;
    position: static;
    width: auto;
    left: 0;
    padding-bottom: 20px;
    padding-top: 20px;
    padding-left: 0;
    top: 0;
    height: auto;
    background: #fff;
    z-index: 1;
    border-bottom: none;
  }
  .mobile-hidden{
    display: block;
  }
  .header-right .mobile-visible{
    display: none;
  }
  .header-right .mobile-hidden{
    display: block;
  }
  .header-right .mobile-hidden.icon-container{
    display: inline-flex;
  }
  .logo-wrap{
    height: 87px;
    overflow: visible;
    margin-top: 0;
  }
  .logo-wrap img{
    width: auto;
    height: 100%;
  }
  .ham-icon-wrap, .mobile-header-wrap .icon-container{
    display: none;
  }
  header {
    position: relative;
    height: 130px;
    /* padding: 0 55px; */
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
  }
  /* Header right */
    .header-right .icon-container{
      margin-right: 10px;
    }

    .header-right .button{
      min-width: 135px;
    }

    /* Menu */
    nav{
      display: block;
      position: absolute;
      width: 725px;
      height: auto;
      left: 53%;
      transform: translate(-50%);
      z-index: 99;
      padding-top: 0;
      margin-bottom: 0;
      overflow-y: visible;
    }
    nav a, nav .main-menu-item{
      position: relative;
      overflow: hidden;
      padding-bottom: 2px;
      cursor: pointer;
    }
    nav .main-menu-item::after {
      content: '';
      position: absolute;
      height: 1px;
      width: 100%;
      left: 0;
      bottom: 0;
      transition: all 0.3s;
      transform: translateX(-100%);
      background: var(--btn-border-color);
    }
    nav .main-menu-item:hover::after {
      transform: translateX(0);
    }
    .main-menu {
      display: flex;
      justify-content: flex-start;
      width: 100%;
    }
    .menu-item{
      border-bottom: none;
      padding: 0;
      margin: 0 8px;
    }
    .menu-item:first-child{
      border-top: none;
      border-bottom: none;
    }
      .menu-item > a, .menu-item > span {
        display: block;
        text-transform: uppercase;
        font-family: "Poppins", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 13px;
        letter-spacing: 0.12em;
        color: var(--menu-font-color);
      }
      .main-menu > .menu-item > a, .main-menu > .menu-item > span {
        display: block;
      }
      
      /* Hover effect for menu items */

      /* SUBMENU */
        .submenu {
          visibility: hidden;
          position: absolute;
          background-color: #fff;
          top: calc(100% + 36px);
          z-index: 10;
          min-width: 200px;
          height: auto;
          padding-top: 30px;
          padding-bottom: 30px;
          padding-left: 0;
          opacity: 0;
          transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0s linear 0.3s;
          box-shadow: 0px 2px 10px rgba(25, 25, 25, 0.15);
        }
          .submenu a:hover{
            color: var(--menu-hover-color);
          }
          .bridge{
            position: absolute;
            width: 100%;
            height: 56px;
            left: 0;
            display: none;
          }
        .submenu.grouped{
          left: 55.5%;
          transform: translate(-50%, 40px);
          width: 800px;
        }
        .submenu.non-grouped{
          left: 0;
          transform: translate(-40px, 40px);
          min-width: 300px;
          padding-left: 40px;
        }
        .dropdown{
          position: static;
        }
        .dropdown-trigg{
          display: none;
        }
        .dropdown.relative{
          position: relative;
        }
      /* Show submenu on hover */
      .menu-item:hover .submenu{
        visibility: visible;
        opacity: 1;
        transition-delay: 0s;
      }
      .menu-item:hover .submenu.grouped{
        transform: translate(-50%, 20px);
      }
      .menu-item:hover .submenu.non-grouped{
        transform: translate(-40px, 20px);
      }
      .menu-item:hover .bridge {
        display: block;
      }

    /* Surgical and non-surgical groups */
      .sub-group {
        width: 50%;
        padding-left: 80px;
      }
      .sub-group-list{
        display: flex;
        margin-top: 0;
      }
        .submenu .menu-title{
          display: block;
          margin-bottom: 20px;
          text-transform: uppercase;
          font-size: 13px;
          letter-spacing: 2px;
          color: var(--menu-font-color);
          font-family: "Poppins", serif;
          font-weight: 400;
          font-style: normal;
        }
        .menu-divider-border{
          border-left: 1px solid var(--menu-divider-color);
        }
        .submenu-group{
          margin-top: 0;
          margin-bottom: 0;
        }
        .submenu-group ul li{
          margin-bottom: 0;
        }
        .submenu-group a{
          display: inline-block;
          margin-bottom: 5px;
          font-size: 14px;
          color: var(--menu-font-color);
          font-family: "Poppins", serif;
          font-weight: 400;
          font-style: normal;
        }
        .submenu-group ul li:last-child a{
          margin-bottom: 0;
        }

    /* Dropdown that has just a single list should appear directly below */
    .submenu.default {
      top: 100%; /* Align below the parent item */
      left: 0;
      width: auto; /* Adjust width based on content */
    }

    /* Optional styles to differentiate the dropdown content */
    .submenu-group.surgical,
    .submenu-group.non-surgical {
      /* border-top: 1px solid #eee; */
    }
}
@media (min-width: 1100px){
  header {
    padding: 0 20px;
  }
}
/* min 1140 */
@media (min-width: 1140px){
  nav{
    width: 770px;
    left: 52%;
  }
  .menu-item > a, .menu-item > span {
    letter-spacing: 0.17em;
  }
  .submenu.grouped {
    left: 55%;
  }
}
/* min 1300 */
@media (min-width: 1300px){
  nav{
    width: 994px;
    left: 50%;
  }
  .menu-item{
    margin: 0 15px;
  }
  .submenu.grouped {
    left: 50%;
  }
}
.phone-btn-ctrl{
  display: none;
}
/* min 1350 */
@media (min-width: 1350px){
  .phone-btn-ctrl{
    display: block;
  }
}

/* min 1515 */
@media (min-width: 1515px){
  /* Header right */
  .header-right .icon-container{
    margin-right: 30px;
  }

  .header-right .button{
    min-width: 225px;
  }
  /* NAV */
  .submenu.grouped{
    width: 1000px;
  }
  .sub-group {
    padding-left: 120px;
  }
  .submenu .menu-title{
    margin-bottom: 30px;
  }
  .submenu-group a{
    margin-bottom: 20px;
  }
  .submenu {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}



/* Homepage styles */
/* .featured-holder{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 120px;
  width: 100%;
  box-sizing: border-box;
} */
/* .featured-holder img{
  display: block;
  width: 100%;
  max-width: 275px;
  height: auto;
} */
.featured-holder {
  display: flex;
  justify-content: space-between; /* Ensures images distribute evenly */
  align-items: center;
  /* padding: 0 120px; */
  width: 100%;
  box-sizing: border-box;
  gap: 10px; /* Optional: Adds space between images */
}
.featured-holder div {
  flex: 1; /* Ensures each div takes equal space */
  max-width: 20%; /* Ensures 5 images fit in one row */
  display: flex; /* Makes sure images stay centered */
  justify-content: center;
}

.featured-holder img {
  width: 100%; /* Makes image fill the container */
  height: auto; /* Maintain aspect ratio */
  max-width: 275px;
}
/* about section */
.about-content{
  display: flex;
  justify-content: space-between; /* Distribute the items horizontally */
  align-items: center;
}
.full-img{
  width: 100%;
}
.custom-pad-right{
  padding-right: 0;
}
.custom-pad-left{
  padding-left: 0;
}
@media (min-width: 1200px){
  .custom-pad-right{
    padding-right: 24px;
  }
  .custom-pad-left{
    padding-left: 24px;
  } 
}

/* Procedure */
.procedure-wrap img{
  width: 100%;
}

/* G reviews */
.google-reviews-header{
  display: flex;
  justify-content: center;
  align-items: center;
}
  .rating-wrap{
    display: flex;
    justify-content: start;
    align-items: center;
  }
    .rating{
      margin-right: 25px;
    }

    .rating-wrap .star-rating{
      margin-right: 25px;
    }

    .star{
      color: var(--star-color);
      font-size: 20px;
      margin-right: 5px;
    }
    .star.full{
      color: var(--star-fill-color);
    }
/* FORM */
select, input, form, button, textarea{
  outline: none;
}
input::placeholder, textarea::placeholder{
  color: #404040;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}
select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form-row{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
  .form-box {
    /* flex: 1; Makes both divs take equal width */
    width: 100%; /* Adjusts width to account for the gap */
  }
    .form-box input{
      width: 100%;
      padding: 10px 20px;
      font-size: 13px;
      line-height: 28px;
      color: var(--text-color);
      background: transparent;
      border: 1px solid var(--input-border-color);
    }
    .form-box select{
      width: 100%;
      padding: 10px 20px;
      font-size: 13px;
      line-height: 28px;
      color: var(--text-color);
      background: transparent;
      border: 1px solid var(--input-border-color);
    }

    .form-box input:focus{
      outline: none;
      border: 1px solid var(--input-focus-color);
    }
  .textarea{
    width: 100%;
    min-height: 150px;
    padding: 10px 20px;
    font-size: 13px;
    line-height: 28px;
    color: var(--text-color);
    background: transparent;
    border: 1px solid var(--input-border-color);
    resize: none;
  }
  .textarea:focus{
    outline: none;
    border: 1px solid var(--input-focus-color);
  }
  
@media (min-width: 1000px){
  .form-box {
    flex: 1; /* Makes both divs take equal width */
    max-width: 50%; /* Adjusts width to account for the gap */
  }
  .form-box.form-width{
    flex: none;
    width: 300px;
  }
  .form-row{
    flex-direction: row;
  }
}
/* ICONS */
.icon-container{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--btn-border-light-color);
  border-radius: 20px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}
.icon-container img{
  width: 12px;
  height: auto;
} 
.icon-container a{
  line-height: 15px;
  display: block;
}
.icon-container:hover{
  border: 1px solid var(--btn-border-color);
}
.wa-color, .wa-color a{
  color: #4bb503;
}
.mr-30{
  margin-right: 30px;
}
.center-all{
  display: flex; /* Aligns the icon and its circle */
  justify-content: center;
  align-items: center;
}

.layout-spread{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}
@media (min-width: 700px){
  .layout-spread {
    flex-direction: row;
    align-items: center;
}
}

.d-inline-block{
  display: inline-block;
}

/* FOOTER */
.footer-padding{
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--bg-color);
}
.footer-logo{
  width: 130px;
  height: 85px;
}


footer .icon-container{
  margin: 0 10px;
}

footer .h5{
  letter-spacing: 0.05em;
}
.letter-spacing-005{
  letter-spacing: 0.05em;
}

.footer-last{
  padding: 10px 20px;
  background-color: #efebe7;
}
.footer-column{
  margin-bottom: 25px;
}
.footer-column:last-child{
  margin-bottom: 0;
}
.address-margin{
  margin-bottom: 15px;
}
.footer-copy{
  font-size: 13px;
  line-height: 25px;
  color: var(--text-color);
}
@media (min-width: 1000px){
  .footer-column{
    margin-bottom: 0;
  }
}
@media (min-width: 1400px){
  .footer-padding{
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .footer-column{
    margin-bottom: 0;
  }
}


.flex-between{
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
@media (min-width: 700px){
  .flex-between{
    flex-direction: row;
    align-items: flex-start;
  } 
}