/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*header*/
.header-main .nav > li > a {
    font-weight: 200;
    font-family: 'philosopher-regular';
}
/*Trang chủ*/
/* banner */
.boanh1 img {
    border-radius: 25px;
}

.boanh {
  position: relative;
  overflow: hidden;
  border-radius: 25px;   /* bo góc mới */
  display: block;
}

.boanh img {
  transition: all 0.5s;
  border-radius: 25px;   /* bo góc mới */
  width: 100%;
}

/* Hiệu ứng sáng quét */
.boanh:before {
  content: '';
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
}

/* Khi hover → ánh sáng mở rộng từ giữa */
.boanh:hover:before {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

/* Zoom nhẹ khi hover */
.boanh:hover img {
  transform: scale(1.08);
}

@media (max-width: 1199px) {
  .boanh,
  .boanh img {
    border-radius: 20px;
  }
}

/* giới thiệu */
.beauty-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 24px;
    line-height: -2.6;
}
.beauty-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.beauty-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #c1976b; /* màu ô vuông */
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* bo nhẹ như hình */
}
.spa-wrapper {
    position: relative;
    width: 720px;
    margin: 40px auto;
	  top: -69px;
}
/* Logo nhỏ phía trên */
.spa-wrapper .top-logo {
    width: 40px;
    position: absolute;
    top: 119px;
    left: 128px;
}

/* Ảnh phải */
.spa-wrapper .img-right {
    width: 307px;
    margin-left: 262px;
    border-radius: 22px;
    position: relative; /* thêm */
    z-index: 4; /* thêm */
}

/* Ảnh trái */
.spa-wrapper .img-left {
    width: 307px;
    position: absolute;
    top: 220px;
    left: 0;
    border-radius: 22px;
    z-index: 5; /* thêm */
}

/*dịch vụ*/
.dsdv .btn-more .btn-icon {
    display: inline-block;
    width: 41px;
    height: 39px;
    line-height: 49px;
    text-align: center;
    border-radius: 50%;
    background: #c6a476;
    color: white;
    margin-top: -3px !important;
    margin-left: -10px;
    left: 30px;
    transform: rotate(-45deg);
    transition: all 0.3s 
ease-in-out;
}
.dsdv .btn-more .btn-icon:hover{
  background: #c1976b;
}
/* Ảnh tròn xoay */
.rotate-circle {
    position: absolute;
    width: 148px;
    bottom: 15px;
    top: 336px;
    left: 260px;
    z-index: 6;
}

.rotate-circle img {
    width: 72%;
    animation: spin 10s 
linear infinite;
}

/* hiệu ứng xoay */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
/*hiệu ứng bóng*/
.hubd {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  display: block;
}

.hubd img {
  transition: all 0.5s;
  width: 100%;
}

/* Hiệu ứng sáng quét */
.hubd:before {
  content: '';
  position: absolute;
  width: 200%;
  height: 0%;
  left: 50%;
  top: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) rotate(-45deg);
  z-index: 1;
}

/* Khi hover → ánh sáng mở rộng từ giữa */
.hubd:hover:before {
  height: 250%;
  transition: all 600ms linear;
  background-color: transparent;
}

/* Zoom nhẹ khi hover */
.hubd:hover img {
  transform: scale(1.08);
}

@media (max-width: 1199px) {
  .hubd,
  .hubd img {
    border-radius: 20px;
  }
}
/*tiêu đề nhỏ */
.zen-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.zen-logo img {
    height: 16px; /* chỉnh theo icon */
    width: auto;
}

.zen-logo span {
    font-size: 14px;
    color: #c2976c; 
    text-transform: uppercase;    
}
/**button**/
.btn-more {
  display: inline-flex;
  align-items: center; }
.btn-more .btn-icon {
    display: inline-block;
    width: 41px;
    height: 40px;
    line-height: 49px;
    text-align: center;
    border-radius: 50%;
    background: #c1976b;
    color: white;
    margin-top: -14px;
    margin-left: -10px;
    left: 30px;
    transform: rotate(-45deg);
    transition: all 0.3s 
ease-in-out;
}
.btn-more .btn-icon svg {
      fill: currentColor; }
.btn-more .btn-icon:hover {
      transform: rotate(0deg); }
.btn-more .button.has-hover {
    color: var(--shop-color-bg); }
.btn-more .button:hover ~ .btn-icon {
    transform: rotate(0deg); }
@media (max-width: 1199px) {
    .btn-more .btn-icon {
      width: 40px;
      height: 40px;
      line-height: 40px; }
    .btn-more .btn-icon {
      width: 35px;
      height: 35px;
      line-height: 35px; } 
    .btn-more .btn-icon {
      width: 40px;
      height: 40px;
      line-height: 40px; }
    .btn-more .btn-icon {
      width: 35px;
      height: 35px;
      line-height: 35px; }
} 
.btn-more .button.has-hover {
    color: var(--shop-color-bg); 
}

.btn-more .button:hover ~ .btn-icon {
    transform: rotate(0deg); }
.btn-more .button {
  position: relative;
  display: block;
  z-index: 1;
  overflow: hidden;
  padding: 15px 20px;
  line-height: normal;
  border: 0;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  outline: none !important;
  -webkit-transition: all 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition: all 0.45s cubic-bezier(0.785, 0.135, 0.15, 0.86); }

.btn-more .button:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 50%;
  opacity: 0;
  z-index: -1;
  transition: all 0.4s ease-in-out;
  border-radius: 100px; 
}
.btn-more .button.btnwhite {
  color: var(--shop-color-text);
  border-color: var(--shop-color-text); 
}

.btn-more .button.btnwhite:before {
  background-color: #ffffff; }

.btn-more .button.btnred {
  background: #ff0000; }

.btn-more .button i {
  margin-left: 5px;
  font-weight: 600; }

.btn-more .button:hover i {
  animation: toRightFromLeft .3s forwards; }

@media (min-width: 992px) {
  .btn-more .button:hover, .btn-more .button.has-hover,
  .btn-more .button:focus {
    border-color: var(--shop-color-text);
    color: white; }
  .btn-more .button:hover:before, .btn-more .button.has-hover:before, .btn-more .button:focus:before {
    left: 0;
    right: 0;
    opacity: 1; }
  .btn-more .button.btnwhite:hover, .btn-more  .button.btnwhite:focus {
    background-color: ;
    color: #ffffff; } }
.btn-more .button {
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
    padding: 15px 20px;
    line-height: normal;
    color: #ffffff;
    background-color: #c6a476;
    border: 0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    outline: none !important;
    -webkit-transition: all 0.45s 
cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: all 0.45s 
cubic-bezier(0.785, 0.135, 0.15, 0.86);
}
.btn-more .button:before {
    content: '';
    background-color: #c1976b;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 50%;
    opacity: 0;
    z-index: -1;
    transition: all 0.4s 
ease-in-out;
    border-radius: 100px;
}
@media (max-width: 767px){
  .btn-more .button {
    font-size: 12px;
    padding: 8px 15px;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center; } 
}

.dichvu {
  background-image: 
    linear-gradient(#faf6f18f, #faf6f18f),
    url(/wp-content/uploads/2025/12/index_service_bg_img.png);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 25px;
}

.dichvu1 {
  background-image: 
    linear-gradient(#faf6f18f, #faf6f18f),
    url(/wp-content/uploads/2025/12/index_wus_bg_img.png);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 25px;
}
.dichvu4{
  background: white;
}
.dichvu2 {
  background-image: 
    linear-gradient(#674d325f, #674d325f),
    url();
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 25px;
}

/* === CỘT CHỮ BÊN TRÁI (KHÔNG DI CHUYỂN KHI CUỘN) === */
.expert-left .col-inner {
    position: sticky;
    top: 80px;    /* chỉnh khoảng cách lúc dính */
    z-index: 3;
}

/* === GRID 4 HÌNH BÊN PHẢI === */
.expert-grid .box-text.text-center {
    background: linear-gradient(179deg, rgba(72, 30, 11, 0) 25.06%, #8d6030 100%);
    border-radius: 25px !important;
    z-index: 1;
}
.expert-grid .box-image {
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border-radius: 25px !important;
}
/*icon*/
.expert-grid .btn-more .btn-icon svg {
    fill: currentColor;
    margin: 9px 2px 0px 5px;
}
/* Hover đổi màu background + icon */
.expert-grid .btn-more:hover .btn-icon {
    background: #a87b50; /* màu tối hơn */
    color: #fff;
}
/* Khoảng cách hai cột trái phải */
.expert-right,
.expert-left {
    padding-left: 10px;
    padding-right: 10px;
}
/*tại sao*/
.ex-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.ex-left .ex-img {
    width: 330px;
    border-radius: 25px;
    display: block;
    position: relative;
    z-index: 3;
}

.ex-right-box {
    position: relative;
}

.ex-bg {
    width: 384px;
    height: 288px;
    background: #c1976b;
    border-radius: 25px;
    position: absolute;
    top: 139px;
    left: -107px;
}

.ex-right .ex-img {
    width: 340px;
    border-radius: 25px;
    position: relative;
    left: -27px;
	  top: 73px;
}

.ex-rotate-text {
    position: absolute;
    right: -84px;
    top: 305px;
    transform: rotate(-90deg);
    font-size: 14px;
    font-weight: 600;
    color: white;
    letter-spacing: 2px;
    z-index: 3;
}

.name .icon-box-img img, .icon-box-img svg {
    padding-top: .2em;
    width: 100%;
    border-radius: 22px;
}
.row-divided>.col+.col:not(.large-12) {
    border-left: 1px solid #ececec;
    height: 76px !important;
}

.box-badge .box-text {
    background-color: hsl(34.5deg 41.24% 61.96%) !important;
    bottom: 14% !important;
    color: white;
    font-size: 12px;
    width: 106px !important;
    padding: .8em 1em 1em;
    position: absolute;
    transition: background .3s;
    z-index: 1;
    border-radius: 107px !important;
}

.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50px;
    top: 0;
    height: 94%;
    border-left: 2px dashed #e6d7cb;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .icon {
    position: relative;
    width: 95px;
    height:60px;
    border-radius: 50%;
    background: #c6a476;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 17px;
    z-index: 2;
    overflow: hidden; /* giúp hiệu ứng không bị tràn */
}

/* Hiệu ứng vòng nở ra */
.timeline-item .icon::before {
    content: '';
    position: absolute;
    inset: 0; /* top:0; left:0; right:0; bottom:0 */
    background-color: #c1976b; /* màu khi hover */
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

/* Khi hover icon */
.timeline-item .icon:hover::before {
    transform: scale(1);
}
.timeline-item .icon img {
    width: 28px;
    height: 28px;
}

.timeline-item .content h3 {
    font-size: 22px;
    margin: 0 0 5px;
    color: #4d1f0c; /* nâu đậm */
    font-weight: 600;
}

.timeline-item .content p {
    margin: 0;
    color: #6a4b3c; /* màu mô tả */
    line-height: 1.6;
    font-size: 15px;
}
.f1 .a.plain {
    color: rgb(255 255 255) !important;
    font-size: 18px;
    transition: color .3s, opacity .3s, transform .3s;
}
.mbft a.plain {
    color: rgb(255 255 255);
}
.mbft .accordion .toggle {
    border-radius: 999px;
    height: 1.5em;
    left: 240px !important;
    margin-right: 5px;
    position: absolute;
    top: .3em;
    transform-origin: 50% 47%;
    width: 2.3em;
}
.mbft span {
    margin-left: -36px;
}
.mbft .accordion-title {
    border-top: 1px dashed #ddd;
    display: block;
    font-size: 110%;
    padding: .6em 2.3em;
    position: relative;
    transition: border .2s 
ease-out, background-color .3s;
}
.mbft .accordion-inner {
    display: none;
    padding: 1em 0.3em;
}
a.plain {
    color: rgb(100 63 24);
    font-size: 16px;
    transition: color .3s, opacity .3s, transform .3s;
}
.spa-box {
    position: relative;
    width: 100%;
    max-width: 450px; /* chỉnh theo layout */
}

.spa-box .img-large img {
    width: 100%;
    border-radius: 25px;
}

.spa-box .img-small {
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 45%;
}

.spa-box .img-small img {
    width: 100%;
    border-radius: 30px;
    border: 6px solid #fcfaf7;
}

.hotline-box {
    position: absolute;
    top: -20px;
    right: 0;
    background: #4b1f0f;
    color: #fff;
    padding: 12px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.hotline-box .icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotline-box .text span {
    font-size: 13px;
    opacity: 0.9;
    display: block;
}

.hotline-box .text strong {
    font-size: 15px;
}

.has-icon-bg .icon .icon-inner {
    border: 2px solid;
    border-radius: 100%;
    color: var(--fs-color-primary);
    height: 100%;
    position: absolute;
    top: 0;
    transition: all .3s;
    width: 100%;
    background: #c1976b;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.gtcsvc .img-left {
    width: 484px;
    /* height: 00px; */
    position: absolute;
    top: 36px;
    left: 69px;
    border-radius: 22px;
    z-index: 5;
}
.gtcsvc .rotate-circle {
    position: absolute;
    width: 122px;
    bottom: 15px;
    top: 78px;
    left: 19px;
    z-index: 6;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.spa-wrapper {
    position: relative;
    width: 704px;
    margin: 7px auto;
    top: -121px;
}
.hubd img {
    transition: all 0.5s;
    width: 63%;
}

.spa-wrapper .img-right {
    width: 274px;
    margin-left: 157px;
    border-radius: 22px;
    position: relative;
    z-index: 4;
}
.spa-wrapper .img-left {
    width: 274px;
    position: absolute;
    top: 176px;
    left: 0;
    border-radius: 22px;
    z-index: 5;
}
.spa-wrapper .top-logo {
    width: 30px;
    position: absolute;
    top: 97px;
    left: 57px;
}
.rotate-circle img {
    width: 44%;
    animation: spin 10s 
linear infinite;
}
.rotate-circle {
    position: absolute;
    width: 148px;
    bottom: 15px;
    top: 233px;
    left: 146px;
    z-index: 6;
}
.btn-more .btn-icon svg {
    fill: currentColor;
    margin: 8px;
}

.ex-left .ex-img {
        width: 507px;
        height: 186px;
        border-radius: 25px;
        display: block;
        position: relative;
        z-index: 3;
}

.ex-right .ex-img {
    width: 459px;
    height: 168px;
    border-radius: 25px;
    position: relative;
    left: -27px;
    top: 73px;
}
.ex-bg {
        width: 228px;
        height: 218px;
        background: #c1976b;
        border-radius: 25px;
        position: absolute;
        top: 95px;
        left: -83px;
}
.ex-rotate-text {
        position: absolute;
        right: -74px;
        top: 213px;
        transform: rotate(-90deg);
        font-size: 12px;
        font-weight: 600;
        color: white;
        letter-spacing: 2px;
        z-index: 3;
}

.timeline::before {
        content: "";
        position: absolute;
        left: 21px !important;
        top: 0;
        height: 81% !important;
        border-left: 2px dashed #e6d7cb !important;
}

.timeline-item .icon {
    position: relative;
    width: 151px !important;
    height: 51px !important ;
    border-radius: 50% !important;
    background: #c6a476;
    display: flex;
    align-items: center ;
    justify-content: center;
    margin-right: 9px !important;
    z-index: 2;
    overflow: hidden;
}
.timeline-item {
    margin: -1px -4px 10px -25px !important;
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}
}