/* Yomi section page */
.yomi-slider-container {
    position: relative;
    width: 100%;
    background: #EFFBFF;
    padding: 50px;
    border-radius: 10px;
}

.yomi-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 40px;
}

.yomi-slider .col2 .image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    transition: transform 1s ease, opacity 2s ease;
    transform: translateX(100%);
    opacity: 0;
    border-radius: 20px
}

.yomi-slider .col2 .image-wrapper.active {
  opacity: 1;
  transform: translateX(100%);
  left: 0;
}

.yomi-slider .col2 .image-wrapper img {
    display: none;
}

.yomi-slider .column.col2 .image-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  position: absolute;
  opacity: 0;
  border-radius: 10px;
}

.yomi-slider .column.col2 .image-wrapper img.active {
  opacity: 1;
  transform: translateX(100%);
  left: 0;
}

.yomi-slider .top-row {
  display: flex;
  column-gap: 40px;
  justify-content: space-between;
}

.yomi-slider .bottom-row {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  /* height: 100%; */
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.yomi-slider .top-row img {
  max-width: calc(100% / 3 - 40px);
  height: auto;
  transition: all 0.3s ease;
  border-radius: 10px;
  flex: 1;
cursor: pointer;
}

.yomi-slider .top-row img.greyscale {
  filter: grayscale(100%);
}

.yomi-slider .top-row img.active {
  filter: none;
}

.yomi-slider .bottom-row p {
  margin-top: 20px;
  transition: all 0.3s ease;
  opacity: 1;
}

.yomi-slider .col2 {
  width: 40%;
  min-height: 670px;
  position: relative;
  overflow: hidden;
}

.yomi-slider .col1 {
  width: 60%;
  min-height: 670px;
  padding: 0 40px 0 0;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.yomi-slider .text-wrapper {
  transition: transform 0.4s ease, opacity 0.4s ease;
  text-align: left;
}

.yomi-slider .text-wrapper .icon {
  width: 50px; 
  height: auto;
  margin-bottom: 10px; 
}

.yomi-slider .text-wrapper h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
}

.yomi-slider .text-wrapper p {
  font-size: 18px;
  margin-top: 20px;
}

.yomi-slider .next-cta {
    width: 50px;
    height: 50px;
    background: #193852;
    border: none !important;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    position: absolute;
    right: -65px;
    padding: 0;
    transform: rotate(-89deg);
}

.yomi-slider .next-cta:hover {
    background: #000 !important;
}

.yomi-slider .next-cta svg {
    width: 49px;
    height: 34px;
}

.yomi-slider .next-cta:focus {
  outline: none;
}

.yomi-slider .next-cta span {
  display: inline-block;
  background: #fff;
  height: 2px;
  width: 15px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.yomi-slider .next-cta span.i1 {
  transform: translate(-50%, -50%) rotate(45deg);
  top: calc(50% - 5px);
}

.yomi-slider .next-cta span.i2 {
  transform: translate(-50%, -50%) rotate(-45deg);
  top: calc(50% + 5px);
}

.yomi-slider-container:after {
    content: '';
    position: absolute;
    background: url(https://northcoastdentists.kinsta.cloud/wp-content/uploads/2026/04/Yomi-Handpiece-with-gloved-hand-2000x1352-1.jpg);
    width: 57%;
    height: 169%;
    background-repeat: no-repeat;
    right: 15px;
    z-index: -1;
    top: -69%;
}

/*Patient slider*/

.pt-slider {
  position: relative;
  overflow: hidden;
  background: #EFFBFF;
  border-radius: 10px;
}

.pt-slider .slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 400px
}

.pt-slider .slide {
  display: flex;
  flex: 0 0 100%;
	align-items: center;
}

.pt-slider .slide .left-column {
    width: 50%;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
}

.pt-slider .slide .left-column h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

.pt-slider .slide .left-column p {
    font-size: 18px;
    margin-top: 20px;
}

.pt-slider .slide .left-column p.author {
  font-size: 18px;
  margin-top: 20px;
}

.pt-slider .slide .right-column {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 60px;
    height: 300px;
}

.pt-slider .slide .right-column img {
  max-width: 100%;
  height: auto;
}

.pt-slider-wrapper .navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 104%;
    display: flex;
    justify-content: space-between;
    left: -20px;
    z-index: 1;
}

.pt-slider-wrapper .navigation .nav-button {
    width: 50px;
    height: 50px;
    background: #393939;
    border: none;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.pt-slider-wrapper .navigation .nav-button#prev {
  transform: rotate(-180deg);
}

.pt-slider-wrapper .navigation .nav-button:hover {
    background: #999;
}

.pt-slider-wrapper .navigation .nav-button span {
    display: inline-block;
    background: #fff;
    height: 2px;
    width: 15px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pt-slider-wrapper .navigation .nav-button span.i1 {
    transform: translate(-50%, -50%) rotate(45deg);
    top: calc(50% - 5px);
}

.pt-slider-wrapper .navigation .nav-button span.i2 {
    transform: translate(-50%, -50%) rotate(-45deg);
    top: calc(50% + 5px);
}


/* Yomi section */
.yomi-section {
  border-radius: 50px;
}

body .yomi-treatment {
  display: flex;
    column-gap: 30px;
}

.col {
    max-width: 330px;
}

.yomi-treatment ul {
  padding-left: 20px;
}

.yomi-treatment ul li {
    margin-top: 15px;
}

body .yomi-cta {
	list-style: none;
	text-align: center;
}

body .yomi-cta a {
  font-size: 22px;
  font-weight: 600;
  color: #253551;
  border: 1px solid #253551;
  padding: 10px;
  border-radius: 6px;
  display: block;
  margin-top: 20px;
}

body .yomi-cta a:hover {
	background: #fff;
}

/*step section*/

.steps-section {
    display: flex;
    max-width: inherit;
    justify-content: center;
    margin-top: 40px;
    column-gap: 10px;
}

.steps-section .col {
    flex: 1;
    text-align: center;
}

.steps-section .col {
  max-width: 250px;
}

.steps-section .col p {
  font-size: 18px;
  font-weight: 600;
}

.steps-section .col img {
  max-width: 140px;
}

.steps-section .img-box {
    padding: 50px 10px;
    border: 1px solid #8A9CAC;
    border-radius: 10px;
    margin-bottom: 10px;
}

.patient-says .elementor-heading-title span {
    font-size: 10px;
    letter-spacing: 1px;
}

/*office tour slider*/

.office-tour-slider {
  position: relative;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.office-tour-track {
  display: flex;
  transition: transform 0.6s ease;
  align-items: center;
}

/* slides */
.office-tour-slide {
  flex: 0 0 60%;
  margin: 0 15px;
  opacity: 0.5;
  transform: scale(0.85);
  transition: all 0.5s ease;
}

.office-tour-slide img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* active center */
.office-tour-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* caption */
.office-tour-slide .caption {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 10px 15px;
  border-radius: 10px;
}

.office-tour-slide .caption h4, .office-tour-slide .caption p {
    color: #ffffff;
    font-size: 16px;
}

.office-tour-slide .caption p {
    font-weight: 300;
    font-size: 14px;
}

/* arrows */
.office-prev, .office-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #193852 !important;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    border: none !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 50px;
    height: 50px;
    padding: 0 !important;
}

.office-prev:hover, .office-next:hover {
    background: #ffffff !important;
    color: #193852 !important;
}

.office-prev { left: 10px; }
.office-next { right: 10px; }

/*implant slider*/

.implant-slider {
  position: relative;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.implant-slider .implant-track {
  display: flex;
  transition: transform 0.5s ease;
}

.implant-slide {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* card */
.implant-slider .implant-card {
  padding: 30px;
}

.implant-slider .implant-card h2 {
    font-size: 30px;
}

.implant-slider .implant-card h4 {
    font-size: 18px;
    font-weight: 700;
}

.implant-slider .implant-card p {
    font-size: 18px;
}

/* images */
.implant-slider .implant-images {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.implant-slider .implant-images img {
  width: 48%;
  border-radius: 10px;
  object-fit: cover;
}

/* arrows */
.implant-slider-con button.implant-prev,
.implant-slider-con button.implant-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: #193852 !important;
  color: #ffffff !important;
  z-index: 10;
}

.implant-slider-con button.implant-prev {
  left: -20px;
}

.implant-slider-con button.implant-prev:hover,
.implant-slider-con button.implant-next:hover {
    background: #ffffff !important;
    color: #193852 !important;
}

.implant-slider-con button.implant-next {
  right: -20px;
}


@media only screen and (max-width: 768px) {
  
  body .yomi-treatment {
      flex-direction: column;
    }

    .yomi-slider {
        padding: 0;
        flex-direction: column;
    }

    .yomi-slider .col1 {
        width: 100%;
        padding: 0;
        min-height: 530px;
    }

    .yomi-slider .bottom-row {
        padding: 20px;
    }

    .yomi-slider .col2 {
        width: 100%;
        min-height: 400px;
        margin-top: 20px;
    }

    .yomi-slider .text-wrapper h3 {
        font-size: 30px;
    }

    .yomi-slider .text-wrapper p {
        font-size: 22px;
        margin-top: 20px;
    }

    .yomi-slider .next-cta {
        top: 50%;
        right: -15px;
    }

    .yomi-slider-container {
        padding: 20px;
    }

    .steps-section {
        flex-direction: column;
    }

    .pt-slider .slide {
        flex-direction: column;
    }

    .pt-slider .slide .left-column {
        width: 100%;
        padding: 20px;
    }

    .pt-slider .slide .right-column {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
		height: 250px;
    }

    .pt-slider .slide .left-column h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .pt-slider .slide .left-column p {
        font-size: 22px;
    }

    .pt-slider-wrapper .navigation {
        width: calc(100% + 40px);
        left: -20px;
		z-index: 1;
    }

	
	.pt-slider .slides {
		height: auto;
		padding-bottom: 20px;
	}

    /*step section*/

    .steps-section {
        flex-direction: column;
        align-items: center;
    }

    .steps-section .img-box {
        padding: 40px 30px;
    }

    /*office tour slider*/

    .office-tour-slide {
        flex: 0 0 100%;
    }

    .office-tour-slide {
        margin: 0;
    }

    .office-tour-slider {
        width: 100%;
    }

    .office-tour-slide .caption {
        bottom: 5px;
        padding: 5px 10px;
    }

    .implant-slider .implant-card {
        padding: 0;
    }

    .implant-slide {
        padding: 20px 0;
    }
    /*menu*/

    #mega-menu-wrap-primary-menu .mega-menu-toggle.mega-menu-open+#mega-menu-primary-menu {
        top: 30px;
        padding: 40px 20px;
    }

    #mega-menu-wrap-primary-menu .mega-menu-toggle~button.mega-close:before {
        top: 40px;
    }

    .mobile-logo .elementor-widget-container a {
        position: relative;
    }

    .mobile-logo .elementor-widget-container a:after {
        content: '';
        background: #fff !important;
        width: calc(100% + 30px);
        height: calc(100% + 30px);
        top: -15px;
        left: -15px;
        z-index: 1;
        position: absolute;
        border-radius: 50%;
    }

    .mobile-logo .elementor-widget-container img {
        position: relative;
        z-index: 2;
    }
}
