@import url('https://fonts.googleapis.com/css2?family=Suwannaphum:wght@100;300;400;700;900&display=swap');
/* Import English font (Roboto) */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Import Khmer font (Noto Sans Khmer) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans Khmer";
}


/* English */
/* html[lang="en"] {
    font-family: "Roboto", Arial, sans-serif;
} */

/* Khmer */
/* html[lang="km"] {
    font-family: "Suwannaphum";
} */
body{
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    /* font-family: "Suwannaphum"; */
    margin-bottom: 0 !important;
}
/* body::-webkit-scrollbar:horizontal {
    display: none;
} */
:root{
    --main-color: #e6c13a;
}
.w-90{
    width: 90%;
    margin: 0 auto;
}
.text-ccc{
    color: #bcbcbc;
}
.text-small-size{
    font-size: 13px;
}
.text-bbb{
    color: #9b9b9b;
}
.border-thin{
    border-top: thin solid #ccc;
}
a{
    text-decoration: none;
    color: black;
}
/* .site-header{
    position: sticky;
    top: 0;
} */
 .site-main a{
    color: black !important;
 }
 .site-main .content-site .entry-content p{
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 4; /* number of lines to show */
           line-clamp: 4; 
   -webkit-box-orient: vertical;
 }
 article{
    margin-bottom: 0 !important;
 }
 .carousel-item{
    height: 500px;
 }
 .carousel-item img{
    object-fit: cover;
    height: 100%;
 }
.header-webspa{
    background-color: var(--main-color);
}
.btn-appointment{
    background-color: var(--main-color);
    border: none;
    color: #fff !important;
    padding-block: 13px !important;
    display: block;
}
.btn-appointment:hover{
    background-color: #d4ac2f;
    color: #fff;
}
.main-company{
    border-right: 3px solid #fff;
}
.nphone{
    text-decoration: none;
}
.site-logo-sticky img{
    width: 200px !important;
}
/* .menu-webspa{
    position: sticky !important;
    top: 0;
} */
.menu-webspa #menu-spa a{
    padding: 30px 17px;
    border-bottom: 4px solid #ffffff00;
    transition: all 0.4s;
    color: #000;
    font-weight: 500;
}
.menu-webspa #menu-spa a:hover{
    background-color: #fff7dc;
    border-bottom: 4px solid var(--main-color);
}
.menu-webspa #menu-spa a[aria-current="page"] {
    background-color: #fff6d5;
    border-bottom: 4px solid var(--main-color);
}
.menu-bar a[title="CONTACT US"]{
    display: none !important;
}
@media (max-width: 1199.98px) {
    .site-logo-sticky img{
        width: 160px !important;
    }
    .menu-webspa #menu-spa a{
        font-size: 14px;
    }
    .btn-appointment{
        padding: 10px 12px!important;
        font-size: 14px;
    }
}
.dropdown-menu{
    padding-block: 0 !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
}
.my-custom-slider{
    position: relative;
}
.carousel-caption{
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
    padding-top: 0;
    width: 40%;
}
.title_slider{
    color: #000;
    font-size: 70px;
}
/* Service */
#serviceCarousel .carousel-item {
    transition: transform 4s ease-in-out !important;
}
.swiper{
    padding-top: 47px !important;
}
.overflow-visable{
    overflow: visible;
}
.swiper-slide{
    height: auto !important;
}
.service-card-icon-wrapper{
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-color);
}
.service-card-icon{
    /* display: none; */
     position: absolute;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
}
.service-card-icon{
    object-fit: cover;
}
.page-item a{
    font-size: 16px;
}
.page-item a span{
    font-size: 16px;
}
/*Sub Servies*/
.tabs-row{
    display:flex;
    align-items:center;
    gap:16px;
    padding:24px 0;
}
.tabs-scroll{
    display:flex;
    gap:18px;
    overflow:hidden;
}
.tab-btn{
    user-select: none;
    border-radius: 7px;
    border:0;
    padding:14px 22px;
    background-color: rgb(246, 251, 254);
    box-shadow:0 0 0 1px rgba(0,0,0,0.03);
    color:#e6c13a;
    cursor:pointer;
    white-space:nowrap;
    transition: all 0.3s ease;
    font-family: "Noto Sans Khmer", sans-serif;
}
.tab-btn.active{
    background: var(--main-color);
    color:#fff
}
.tab-btn:hover{
    background: var(--main-color);
    color:#fff
}
.tab-nav-btn{
    width:44px;
    height:44px;
    border-radius:12px;
    border:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background-color:#fff;
    color: var(--main-color);
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    cursor:pointer;
}
/* Cards */
.service-card-sub{
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 0 0 1px rgba(0,0,0,0.03);
    box-shadow:0 0px 20px rgba(0,0,0,0.08);
}
.service-top{
    height:170px;
    /* background:linear-gradient(180deg, #fff, #f3f3f3); */
    display:flex;
    align-items:center;
    justify-content:center;
}
.service-top img{
    max-width:100%;
    height:100%;
    object-fit:cover;
}
.service-body{
    padding:20px;
    background:var(--muted-bg);
}
.service-title{
    font-weight:700;
    margin-bottom:8px;
}
.service-desc{
    font-size:0.9rem;
    color:#6b6b6b;
    line-height:1.5;
}
.read-more{
    color: var(--main-color) !important;
    font-weight:500;
    text-decoration:none;
    font-size: 14px;
}
/* small tag under title */
.service-meta{
    font-size:0.85rem;
    color:#888;
    margin-bottom:12px;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}
.service-meta-detail{
    font-size:0.85rem;
    color:#888;
    margin-bottom:12px;
}
.service-title{
    color: black;
}
/* responsive grid spacing similar to screenshot */
/* .cards-wrap{
    gap:28px;
} */
/* hover effect */
.service-card-sub:hover{
    transition:all 0.3s ease;
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
}
@media (max-width:768px){
    .tab-btn{
        min-width:120px;
        padding:10px 14px;
    }
    .service-top{
        height:150px;
    }
}
/* Blog Card */

.blog-card-icon-wrapper{
    background-color: var(--main-color);
}
.blog-card-icon{
    box-sizing: border-box;
}

/* End Blog Card */

/*End Service */
/* Portfolio */
.dark{
    cursor: pointer;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-image: linear-gradient(rgba(255, 255, 255, 0),rgba(0, 0, 0, 0.669) 90%);
}
.card-title-protfolio{
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: #fff;
    cursor: pointer;
}
.portfolio-item {
    transition: all 0.4s ease;
    opacity: 1;
}
.portfolio-item .card-img-top{
    transition: all 0.4s ease;
}
.portfolio-item:hover .card-img-top{
    transform: scale(1.05);
}
.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}
.btn-outline-main-color{
    border: 1px solid var(--main-color);
}
.filter-btn{
    transition: all 0.3s;
}
.filter-btn:hover{
    border: 1px solid var(--main-color) !important;
    color: #f1c114;
}
.filter-btn.active-portfolio:hover{
    background-color: var(--main-color) !important;
    color: #fff;
}
.active-portfolio{
    background-color: var(--main-color);
    color: #fff;
}
/*About Us */
.small-title-about-us{
    color: var(--main-color) !important;
    font-size: 16px;
    font-weight: 500;
}
/*Contact Us */
.contact-card {
    border: 1px solid var(--main-color) !important;
    border-radius: 12px;
}
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
}
.icon-box-footer {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
}
/* .my-textarea {
  line-height: 1.5rem;   
  height: calc(1.5rem * 5); 
} */
.wpcf7-form br{
    display: none !important;
}
.wpcf7-form label{
    display: block !important;
    width: 100% !important;
}
.wpcf7-form .wpcf7-form-control-wrap{
    display: block !important;
    width: 100% !important;
    margin-block: 5px;
}
.wpcf7-form textarea {
    resize: none;
    line-height: 1.5rem;   /* line height */
    height: calc(1.5rem * 5); /* 5 rows */
    width: 100% !important;
    outline: none !important;
    font-size: 16px !important;
    border-radius: 5px !important;
    padding: 7px !important;
    font-family: "Noto Sans Khmer", sans-serif;
}
.wpcf7-form textarea::placeholder{
    content: "Message";
    font-family: "Noto Sans Khmer", sans-serif;
}
.wpcf7-form p{
    margin-bottom: 0 !important;
}
.wpcf7-form input{
    width: 100% !important;
    outline: none !important;
    font-size: 16px !important;
    border-radius: 5px !important;
    padding: 7px !important;
    font-family: "Noto Sans Khmer", sans-serif;
}
.wpcf7-form select{
    width: 100% !important;
    outline: none !important;
    font-size: 16px !important;
    border-radius: 5px !important;
    padding: 7px !important;
    font-family: "Noto Sans Khmer", sans-serif;
}
.wpcf7-form input[type="submit"]{
    width: fit-content !important;
    background-color: var(--main-color);
    border: none;
    color: #fff;
    padding: 11px 15px !important;
}
.wpcf7-response-output{
    display: none !important;
}
.box-card-contact-us{
    background-color: rgb(255, 248, 221);
}
/* 
    Doctor
    Style for the container mimicking the card's background and structure 
*/
.custom-card{
    background-color: #f3f3f3;
    height: 100%;
    /* Optional: Slight border/shadow if desired, though the image seems to use whitespace */
    /* box-shadow: 0 4px 8px rgba(0,0,0,0.1); */
    border-radius: 0; /* Removing default border-radius */
    overflow: hidden; /* Ensures image stays within bounds */
    transition: all 0.3s;
}
.custom-card:hover{
    background-color: var(--main-color);
}

/* Wrapper for the image to control its position and background */
.custom-card .image-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align the image to the bottom of its wrapper */
    overflow: hidden;
    /* The white space around the image in the original design can be achieved by making the image smaller than the wrapper. */
}
.custom-card:hover .image-wrapper{
    border-radius: 8px;
}

/* Image styling - ensuring it scales and maintains aspect ratio */
.custom-image {
    width: 100%; /* Image takes full width of its wrapper */
    height: auto;
    object-fit: contain; /* Important for maintaining aspect ratio and fit */
    /* If the images are cropped tightly, use 'cover' instead of 'contain' */
}

/* Styling for the text content at the bottom */
.card-body {
    padding: 10px 15px; /* Padding inside the text area */
    background-color: transparent; /* Text section looks transparent over the white background */
}

/* Style for "Senior" text */
.custom-card .card-title-senior {
    transition: all 0.3s;
    font-size: 1rem;
    color: #e6c13a!important; /* A gold/yellow color to match the image */
    margin-bottom: 0;
    font-weight: normal; /* Per user instruction, avoiding bolding */
    text-align: left;
}
.custom-card:hover .card-title-senior{
    color: #fff !important;
}
/* Style for "Dr." text */
.custom-card .card-text-doctor {
    transition: all 0.3s;
    text-align: left;
    color: #333;
    margin-top: -10px; /* Adjust vertical spacing to bring it closer to Senior */
    font-weight: normal; /* Per user instruction, avoiding bolding */
}
.custom-card:hover .card-text-doctor{
    color: #fff !important;
}
.doctor-profile .position{
    color: var(--main-color) !important;
}

/* Custom styling for the Doctor Sharing section */

.doctor-sharing-section {
    background-color: #f8f9fa; /* Light background if needed */
}

/* Styling for the Navigation Buttons */
.doctor-sharing-section .btn-warning {
    background-color: #f7b32c; /* A custom yellow/gold color */
    border-color: #f7b32c;
    color: #fff;
    width: 40px; /* Adjust size */
    height: 40px;
    border-radius: 8px; /* Slightly rounded corners */
}
.doctor-sharing-section .btn-warning:hover {
    background-color: #e5a420;
    border-color: #e5a420;
}

/* Doctor Sharing Cards Styling */
/* Card Styling (make sure card images match the look) */
.doctor-sharing-section .card {
    transition: transform 0.3s ease-in-out;
}

.doctor-sharing-section .card:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
}

/* Styling for the card images to mimic the overlay/background in the original image */
.doctor-sharing-section .card-img-top {
    /* For the image with the yellow background color and text overlay */
    /* This might require background-image + a color overlay for the text */
    /* A simpler approach is to use a background gradient on the image container */
    background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, #f7b32c 100%); 
    /* You would place the actual image as an element *inside* this container 
       and position the overlay text using absolute positioning. */
}

/* Adjusting the card-body for the text look */
.doctor-sharing-section .card-body h5 {
    font-size: 1.1rem; /* Adjust font size for Khmer text readability */
    line-height: 1.5;
}

/* Customizing the view count icon/text for alignment */
.doctor-sharing-section .card-footer i {
    color: #f7b32c; /* Match the accent color */
}
.doctor-sharing-title{
    color: var(--main-color) !important;
}
.text-title-item-ds{
    font-weight: 500;
    font-size: 16px;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}
.viewer{
    color: var(--main-color);
}
.myDoctorSharingSwiper .swiper-wrapper {
    transition-timing-function: ease-in-out !important;
}
#prevBtn.disabled,
#nextBtn.disabled {
    cursor: no-drop;
    /* pointer-events: none; */
    opacity: 0.4;
    
    
}

/*Appointment */
.btn-appointment-section{
    border: thin solid #fff;
    transition: all 0.3s;
}
.btn-appointment-section:hover{
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}
.service-appointment select option:nth-child(1){
    display: none !important;
}
.consulation select option:nth-child(2){
    display: none !important;
}


/* Switch language */
.lang-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 200px;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 5px;
    color: #000;
    text-decoration: none;
    position: relative;
}

.lang-item.active {
    color: black; /* blue like your example */
}

.lang-item .flag {
    width: 20px;
    height: auto;
}

.lang-item .underline {
    width: 100%;
    height: 3px;
    /* background: #2a59ff; */
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 4px;
}

/*Custom feedback Style */

.box-customer-feedback{
    width: 100%;
    /* margin-top: 80px; */
    background-color: var(--main-color);
    color: #fff;
    border-radius: 25px 25px 0 0;
    height: 100%;
}
.box-customer-feedback .customer{
    border: 5px solid #fff;
    width: 80px;
    height: 80px;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}
.customer-feedback{
    margin-bottom: 45px;
}
.customer-feedback-section{
    background-color: #efefef; /* Light background if needed */
}
.customer-feedback-section .btn-warning {
    background-color: #f7b32c; /* A custom yellow/gold color */
    border-color: #f7b32c;
    color: #fff;
    width: 40px; /* Adjust size */
    height: 40px;
    border-radius: 8px; /* Slightly rounded corners */
}
.customer-feedback{
    margin-bottom: 0;
    padding-block: 50px !important;
}
.border-bottom-bar{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background-color: #fff;
}
.box-null{
    width: 100%;
    height: 100px;
}
.box-customer-feedback i{
    position: absolute;
    font-size: 48px;
    color: #fff;
}
.box-customer-feedback i.top-quote-left{
    top: 0px;
    left: 10px;
}
.box-customer-feedback i.bottom-quote-right{
    bottom: 0px;
    right: 10px;
}
/* .customer-name{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
} */


/* End Custom feedback Style */

/* Footer */
.main-footer{
    border-top: 4px solid var(--main-color);
    margin-top: 0;
}
.border-bottom-dashed {
    border-bottom: 1px solid transparent;
    -o-border-image: repeating-linear-gradient(90deg,#ddd8d8 0 20px,transparent 2px 35px) 1;
    border-image: repeating-linear-gradient(90deg, #ddd8d8 0 20px, transparent 2px 35px) 1;
    padding-bottom: 15px;
}
.footer-menu-container ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
.footer-menu-container ul li{
    width: 47%;
    margin-bottom: 10px;
}
.footer-menu-container ul li a{
    font-size: 14px;
    color: #9b9b9b;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-menu-container ul li a:hover{
    color: var(--main-color);
}
.footer-menu-container ul li:last-child{
    display: none;
}
.list-service-footer p{
    font-size: 14px !important;
    margin-bottom: 10px;
    width: 47% !important;
    transition: all 0.3s;
}
.list-service-footer p a{
    transition: all 0.3s;
}
.list-service-footer p:hover a{
    color: var(--main-color);
}
.title-doctor-sharing-footer{
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
   transition: all 0.3s;
}
.title-doctor-sharing-footer:hover{
    color: var(--main-color);
}

/* End Footer */

/* Responsive */

@media (max-width: 767.98px) {
    .title_slider{
        font-size: 25px;
    }
    .carousel-item{
        height: 300px !important;
    }
}
@media only screen and (max-width: 767px) {
    header .bar1, header .bar2, header .bar3 {
        background: #005FF9 !important;
        height: 5px;
        margin: 6px 0;
        transition: .4s;
        width: 35px;
    }
    .menu-webspa #menu-spa a{
        padding: 20px 17px;
        border-bottom: 3px solid #ffffff00;
    }
}
@media only screen and (max-width: 991.98px) {
    header .bar1, header .bar2, header .bar3 {
        background: #005FF9 !important;
        height: 4px;
        margin: 5px 0;
        width: 27px;
        transition: .4s;
    }
    .menu-webspa #menu-spa a{
        padding: 20px 17px;
        border-bottom: 3px solid #ffffff00;
    }
    #navbarSupportedContent{
        position: absolute;
        top: 100%;
        width: 100%;
        background-color: #fff;
        z-index: 999;
    }
    #navbarSupportedContent ul{
        margin: 0;
        padding: 0;
        list-style: none;
        border: 2px solid var(--main-color);
    }
    .site-logo-sticky img{
        width: 110px !important;
    }
    .appointment a{
        padding-block: 8px !important;
        font-size: 13px;
    }
    .menu-bar{
        padding-block: 10px;
    }
    .social-icons img{
        width: 43px;
    }
}