/* why_us.css - 왜 우리여야 하나 페이지 */

/* 메인 페이지 섹션 스타일 공유 */
/* --------------------- section main */

section .container {
  max-width: 1580px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 20px;
  overflow: hidden;
}

/* Section heading styles */
section .container .wrapper .section-subtitle {
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: center;
  color: #00d9b6;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

section .container .wrapper .section-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #333;
}

section .container .wrapper .section-description {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  text-align: center;
  color: #666;
  margin-bottom: 75px;
  line-height: 1.6;
}

section .container .wrapper h2 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  text-align: center;
}

section .container .wrapper h2 span {
  color: #000000;
}

/* custom: Why section typography */
section .container .wrapper h2 .why-title {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: 60px;
  text-align: center;
  color: #000000;
}

/* Review section title */
section .container .wrapper h2 .review-title {
  display: block;
  text-align: center;
  font-family: 'ABeeZee', sans-serif;
  font-style: normal;
  font-weight: var(--font-normal);
  font-size: var(--text-lg);
  line-height: 59px;
  color: #019982;
  width: 100%;
}

/* Review section subtitle */
section .container .wrapper h2 .review-sub {
  display: block;
  margin-top: 8px;
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: 1.7;
}

section .container .wrapper h2 .review-sub strong {
  font-weight: 600;
}

/* Before After Section */
.before-after-section {
  text-align: center;
  margin: 60px 0;
}

.ba-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.ba-image {
  position: relative;
  max-width: 350px;
}

.ba-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ba-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 30px;
  border-radius: 25px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: white;
}

.before-label {
  background: #666;
}

.after-label {
  background: #3ca89a;
}

.ba-note {
  color: #999;
  font-size: var(--text-xs);
  margin-top: 15px;
}

/* Review Cards */
.review-cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 40px auto;
  padding: 100px 20px;
}

.review-card {
  background: #f5f5f5;
  border: 2px solid #d0d0d0;
  border-radius: 20px;
  padding: 35px 40px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  transition: all 0.5s ease;
  transform: scale(1);
  transform-origin: center center;
  position: relative;
}

.review-card.active {
  background: #e0f7f4 !important;
  border-color: #3ca89a !important;
  transform: scale(1.2) !important;
  box-shadow: 0 8px 25px rgba(60, 168, 154, 0.3) !important;
  z-index: 10 !important;
}

.review-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-content {
  flex: 1;
}

.review-name {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
}

.review-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: #555;
}

.review-text strong {
  font-weight: 600;
  color: #000;
}

section .container .wrapper h2 .why-sub {
  display: block;
  margin-top: 15px;
  padding-bottom: 75px;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  line-height: 38px;
  text-align: center;
  color: #000000;
  opacity: 0.8;
}

section .container .wrapper h2 .why-sub strong {
  font-weight: 600;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
}

.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: unset;
}

/* --------------------- section cards */

section .container .wrapper .cards {
  display: flex;
  justify-content: center;
  gap: 40px;
}
section .container .wrapper .cards .card {
  border-radius: 20px;
  overflow: hidden;
  width: 320px;
}
section .container .wrapper .cards .card .card-img {
  width: 320px;
  height: 320px;
  background: #F7F7F7;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

section .container .wrapper .cards .card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section .container .wrapper .cards .card .first-card {
  background-image: url("../../../assets/images/navigation/section6-01.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

section .container .wrapper .cards .card .second-card {
  background-image: url("../../../assets/images/navigation/section6-02.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
section .container .wrapper .cards .card .third-card {
  background-image: url("../../../assets/images/navigation/section6-03.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

section .container .wrapper .cards .card .fourth-card {
  background-image: url("../../../assets/images/navigation/section6-04.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

section .container .wrapper .cards .card .card-txt {
  width: 320px;
  height: 192px;
  color: #fff;
  padding: 20px 30px 0;
  background: #019982;
  box-sizing: border-box;
}

section .container .wrapper .cards .card .card-txt h5 {
  opacity: 0.75;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-normal);
  line-height: 17px;
  margin-bottom: 5px;
}
section .container .wrapper .cards .card .card-txt h5 span {
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  line-height: 24px;
}
section .container .wrapper .cards .card .card-txt h3 {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 42px;
  margin: 0 0 5px 0;
}
section .container .wrapper .cards .card .card-txt p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  line-height: 27px;
  padding-top: 5px;
}

/* --------------------- section diamond */

section.diamond {
  background: url("../../../assets/images/tooth-bg.jpg") no-repeat center, #FFFFFF;
  padding: 0 130px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

section.diamond .container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
}

section.diamond .diamond-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

section.diamond .diamond-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 63px 0;
  gap: 20px;
  width: 998px;
  flex-shrink: 0;
}

section.diamond .diamond-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px 30px;
  gap: 30px;
  width: 100%;
  max-width: 998px;
  height: 106px;
  background: #FFFFFF;
  border-radius: 194px;
  box-sizing: border-box;
}

section.diamond .diamond-item .title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  min-width: 420px;
  height: 62px;
  background: #393838;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: var(--font-bold);
  font-size: var(--text-lg);
  line-height: 42px;
  text-align: center;
  color: #FFFFFF;
  white-space: nowrap;
  box-sizing: border-box;
}

section.diamond .diamond-item .txt {
  font-family: var(--font-body);
  font-weight: var(--font-normal);
  font-size: var(--text-md);
  line-height: 33px;
  color: #029A83;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.16);
}

section.diamond .diamond-right {
  position: absolute;
  right: -50px;
  top: -20px;
  z-index: 2;
}

section.diamond .diamond-right img {
  width: 650px;
  height: auto;
  display: block;
  background-blend-mode: hard-light;
}

/* --------------------- section tab */

section.tab-section,
section.doctor-section {
  background-image: url("../assets/images/tab-bg.jpg");
  overflow: hidden;
}

section.doctor-section .container .wrapper h2 {
  padding-bottom: 15px;
}
section.doctor-section .container .wrapper h5 {
  font-size: var(--text-lg);
  font-weight: var(--font-light);
  padding-bottom: 75px;
  text-align: center;
  opacity: 0.8;
}
section.doctor-section .container .wrapper h5 span {
  font-weight: 600;
}
/* Стили для вкладок */
section .container .wrapper .tabs {
  display: flex;
  cursor: pointer;
}
section .container .wrapper .tabs .tab {
  padding: 10px 20px;
  background-color: #3a3a3a;
  color: #fff;
  font-size: var(--text-md);
  width: calc(100% / 3);
  text-align: center;
  padding: 30px 0;
}

section .container .wrapper .tabs .tab:nth-child(1) {
  border-top-left-radius: 18px;
}
section .container .wrapper .tabs .tab:nth-child(3) {
  border-top-right-radius: 18px;
}
section .container .wrapper .tabs .tab:hover {
  background-color: #019982;
}
section .container .wrapper .tabs .tab.active {
  background-color: #00bc9e;
  font-weight: 600;
}

section .container .wrapper .tab-content {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  display: none;
}
section .container .wrapper .tab-content.active {
  display: block;
}

section .container .wrapper .tab-content {
  background-color: #fff;
  height: 500px;
  background-color: #fff;
  height: 500px;
  padding: 90px 80px;
  justify-content: center;
  letter-spacing: -1px;
}

section .container .wrapper #tab1 {
  background-image: url("../assets/images/tab1.png");
  background-position: center right 50px;
  background-repeat: no-repeat;
  background-size: auto;
}
section .container .wrapper #tab2 {
  background-image: url("../assets/images/tab2.png");
  background-position: center right 50px;
  background-repeat: no-repeat;
  background-size: auto;
}
section .container .wrapper #tab3 {
  background-image: url("../assets/images/tab3.png");
  background-position: center right 50px;
  background-repeat: no-repeat;
  background-size: auto;
}

section .container .wrapper .tab-content .tab-txt h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
}
section .container .wrapper .tab-content .tab-txt h3 span {
  color: #00d8b5;
}
section .container .wrapper .tab-content .tab-txt p {
  font-size: var(--text-md);
  font-weight: var(--font-light);
  line-height: 32px;
  padding: 30px 0;
}
section .container .wrapper .tab-content .tab-txt .btn {
  margin-top: 30px;
}
section .container .wrapper .tab-content .tab-txt .btn a {
  font-size: var(--text-md);
  padding: 8px 30px;
  background: #393838;
  color: #fff;
  border-radius: 40px;
}

/* --------------------- section review slider */

.reviews {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.reviews .thumb-slide {
  width: 46%;
  max-height: 535px;
  overflow: hidden;

  /* background: rgb(107, 88, 88) */
}

.reviews .thumb-slide .swiper-container {
  height: 535px;
  width: 80%;
  margin: 0 auto;
  padding-top: 20px;
  border-radius: 20px;
}

.reviews .thumb-slide .swiper-container .swiper-wrapper .swiper-slide {
  background: #fafafa;
  transform: scale(1.1);
  border-bottom: 1px solid #ddd;
}

.reviews .thumb-slide .swiper-container .swiper-wrapper .swiper-slide-active {
  border: 3px solid #00d9b6;
  background: #e2fcf9;
  border-radius: 20px;
  transform: scale(1.2);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px;
  z-index: 5;
}

.reviews .thumb-slide .swiper-container .swiper-wrapper .swiper-slide-next {
  /* margin-top: 1.5rem; */
  /* border-bottom: 1px solid black; */
  z-index: 4;
}

.reviews .main-slide {
  width: 59%;
}

.reviews .main-slide .swiper-container {
  min-height: 560px;
}

.reviews .main-slide .message.gray {
  text-align: center;
  color: #919191;
  font-size: 1.1em;
  padding: 5px 0;
}

.swiper-slide .review-img,
.swiper-slide .slide-content {
  display: flex;
}

.swiper-slide .slide-content {
  align-items: anchor-center;
  /* border: 1px solid black */

  gap: 2.375rem;
  padding: 1.3125rem 1.5rem;
  cursor: pointer;

  height: 100%;
}

.swiper-slide-active .slide-content {
  padding: 2rem 1.8rem;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide-next
  .slide-content {
  padding-top: 3rem;
}

/* ------ thumb slider slide css */
.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide
  .slide-content
  .icon {
  background: #efefef;
  border-radius: 50%;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide
  .slide-content
  .icon
  img {
  width: 80px;
  height: 80px;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide
  .slide-content
  .txt
  .review {
  display: none;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide
  .slide-content
  .txt
  .title {
  font-weight: var(--font-light);
  font-size: var(--text-sm);
}

/* ------ thumb slider active slide css */

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide-active
  .slide-content
  .icon {
  background: #00d9b6;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide-active
  .slide-content
  .icon
  img {
  width: 100px;
  height: 100px;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide-active
  .slide-content
  .txt
  .review {
  display: block;
  font-size: var(--text-md);
  font-weight: 600;
}

.reviews
  .thumb-slide
  .swiper-container
  .swiper-wrapper
  .swiper-slide-active
  .slide-content
  .txt
  .title {
  padding-bottom: 10px;
}

/* ------ main slider slide css */

.swiper-slide .review-img {
  gap: 1.5rem;
  padding-top: 20px;
  cursor: pointer;
}

.swiper-slide .review-img .before {
  padding-top: 6px;
  transform: scale(0.97);
  overflow: hidden;
}

.swiper-slide .review-img .after {
  transition: 50ms all;
  overflow: hidden;
}

.swiper-slide .review-img .before img,
.swiper-slide .review-img .after img {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.swiper-slide .review-img .after:hover img {
  border: 5px solid #00d9b6;
  transition: 50ms all;
}

.swiper-slide .review-img .before .txt,
.swiper-slide .review-img .after .txt {
  font-size: 1.5rem;
  /* line-height: 3.4375rem; */
  color: #fff;
  width: 100%;
  text-align: center;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background: rgb(2, 154, 131);
  padding: 0.2rem 0 0.6rem;
}

.swiper-slide .review-img .after .txt {
  font-weight: 600;
  background: #00d9b6;
}

/* ------ review slider popup */

.popup {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 1000;
  width: 100%;
  background-color: rgba(94, 110, 141, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: 250ms all;
}

.popup.is-visible {
  opacity: 1;
  visibility: visible;
  transition: 1s all;
}

.pc-popup-container {
  transform: translateY(-50%);
  transition: 500ms all;
  position: relative;
  width: 40%;
  margin: 2em auto;
  top: 50%;
  padding: 40px;
  background: #fff;
  border-radius: 01em;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.popup-wrapper {
  display: flex;
}

.popup-content {
  width: 90%;
  text-align: left;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25vh; /* Центрирование по вертикали */
  width: 100%;
  gap: 60px;
}

.popup-content .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #00897b;
  width: 33.3%;
  position: relative;
}
.popup-content .item .icon {
  font-size: 48px;
  margin-bottom: 8px;
}
.item .icon img {
  width: 100px;
  height: 100px;
}

.popup-content .item .title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.popup-content .item .value {
  color: #333;
  font-size: 1.3rem;
  padding: 4px 0;
}

.popup-content .item:before {
  position: absolute;
  content: "";
  width: 2px;
  height: 30px;
  color: black;
  background: #d9d9d9;
  left: -17%;
  top: 45%;
}
.popup-content .item:first-child:before {
  display: none;
}

.is-visible .pc-popup-container {
  transition: 250ms all;
}

.pc-popup-container .popup-close {
  position: absolute;
  top: 10px;
  font-size: 0;
  right: 10px;
  width: 40px;
  height: 40px;
}

.pc-popup-container .popup-close::before,
.pc-popup-container .popup-close::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 25px;
  height: 3px;
  background-color: #8f9cb5;
}

.pc-popup-container .popup-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 7px;
}

.pc-popup-container .popup-close::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 8px;
}

.pc-popup-container .popup-close:hover:before,
.pc-popup-container .popup-close:hover:after {
  background-color: #35a785;
  transition: 300ms all;
}

/* --------------------- section doctors */

section .container .wrapper .doctors {
}
section .container .wrapper .doctors ul.doctors-list {
  display: flex;
  gap: 5px;
}
section .container .wrapper .doctors ul.doctors-list .doctor {
  width: calc(100% / 5);
  height: 540px;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px;
  transform: scale(0.9);
  transition: all 200ms ease-in-out;
  position: relative;
  opacity: 0.8;
}

section .container .wrapper .doctors ul.doctors-list .doctor:hover {
  opacity: 1;
  transform: scale(1);
  border: 3px solid #009981;
  transition: all 200ms ease-in-out;
}

section .container .wrapper .doctors ul.doctors-list .doctor .hover-gradient {
  position: absolute;
  display: block;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 22%,
    rgba(255, 255, 255, 0.5) 35%,
    rgba(255, 255, 255, 0) 41%
  );
  height: 100%;
  width: 100%;
  transition: background 150ms ease-in-out;
}
section .container .wrapper .doctors ul.doctors-list .doctor .doctor-img {
  height: 470px;
}
section .container .wrapper .doctors ul.doctors-list .doctor .doctor-info {
  position: relative;
  color: #000;
  padding: 0 25px;
  font-size: 23px;
  bottom: 20px;
  background: #fff;
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.9) 10%,
    rgba(255, 255, 255, 0) 20%
  );
}
section
  .container
  .wrapper
  .doctors
  ul.doctors-list
  .doctor:hover
  .doctor-info {
  color: #fff;
  background: unset;
}

section
  .container
  .wrapper
  .doctors
  ul.doctors-list
  .doctor:hover
  .hover-gradient {
  background: rgb(2, 154, 131);
  background: linear-gradient(
    0deg,
    rgba(2, 154, 131, 1) 0%,
    rgba(2, 154, 131, 0.9) 10%,
    rgba(2, 154, 128, 0.5) 18%,
    rgba(2, 154, 128, 0) 30%
  );
  transition: background 150ms ease-in-out;
}

section
  .container
  .wrapper
  .doctors
  ul.doctors-list
  .doctor
  .doctor-info
  .position {
}
section
  .container
  .wrapper
  .doctors
  ul.doctors-list
  .doctor
  .doctor-info
  .name {
  font-size: var(--text-md);
}

/* --------------------- section map */

section.map-section {
  background: url("../../../assets/images/tooth-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
}

section.map-section .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 50px;
}

section.map-section .map-content-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

section.map-section .map-left-content {
  flex: 1;
}

section.map-section .map-main-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: #ffffff;
  margin-bottom: 50px;
  line-height: 1.3;
}

section.map-section .container .wrapper {
  padding: 0;
  color: #fff;
}

section.map-section .container .wrapper h2 {
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 40px;
}

section .container .wrapper .tags {
  width: 100%;
  margin-bottom: 50px;
}

section .container .wrapper .tags ul.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

section .container .wrapper .tags ul.tags-list .tag {
  font-size: var(--text-sm);
  margin: 0;
}

section .container .wrapper .tags ul.tags-list .tag span {
  background-color: #000000;
  padding: 14px 28px;
  border-radius: 30px;
  color: #ffffff;
  font-weight: 500;
  display: inline-block;
}

section .container .wrapper p.map-txt {
  padding-top: 0;
  font-size: var(--text-md);
  line-height: 44px;
  font-weight: var(--font-light);
  color: #ffffff;
}

section .container .wrapper p.map-txt span {
  font-weight: 600;
}

section.map-section .map-right-content {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

section.map-section .map-right-content img {
  width: 115%;
  max-width: 200%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
  opacity: 0.3;
}

