

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');


:root {
    --color-primary: #49619F;
    --color-secondary: #BF9C6E;
    --color-third: #DBBF97;
}
a{
    text-decoration: none !important;
}
a:hover{
    color: var(--color-secondary) !important;
}
body{
    font-family: "Noto Sans Thai", sans-serif;
}
figure{
    margin:0;
    padding:0;
}
figure img{
    width:100%;
    height:auto;
}
h1,h2,h3,h4,h5,h6{
    padding:0 !important;
    margin:0 !important;
}
.color-main{
    color: var(--color-primary);
}
.color-sub{
    color: var(--color-secondary)
}
p{
    font-size: 1rem;
    margin:0 !important;
}
.bg-gardient{
    background: #F7F8FC;
background: linear-gradient(90deg,rgba(247, 248, 252, 1) 0%, rgba(238, 243, 250, 1) 50%, rgba(245, 247, 251, 1) 100%);
}

.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.flex-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}
.flex-header .button-main{
    display: inline-block;
    background: var(--color-secondary);
    color:#fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
}
.flex-header .button-main:hover{
    display: inline-block;
    background: var(--color-primary);
    color:#fff !important;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
}
.logo-main img{
    width: 140px;
    height: auto;
    transition: all .2s ease;
}
/* .current-active-menu{
    border-bottom: 3px solid var(--color-secondary);
} */
.current-menu-item{
    border-bottom: 3px solid var(--color-secondary);
}
.main-menu{
    margin: 0 !important;
}
.main-menu li{
display: inline-block;
margin: 0 10px;
}
.main-menu li a{
   color: var(--color-primary);
   font-weight: 700;
    }

.scroll-active{
    background: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.scroll-active .logo-main img{
    width: 120px;
    height: auto;
    transition: all .2s ease;
}

.main-banner{
    padding: 3rem 0;
    background-size: cover;
}
.caption-main-banner{
    padding: 5rem 0;
}

.caption-main-banner h4{
    font-size: 1.3rem;
}
.caption-main-banner h4{
    font-weight: 600;
    font-size: 1.7rem;
}
.caption-main-banner h2{
    font-weight: 700;
    font-size: 2.5rem;
    padding:15px 0 !important;
}
.caption-main-banner .line-main{
    width: 400px;
    height: auto;
}
.caption-main-banner .button-main{
    display: inline-block;
    background: var(--color-primary);
    color:#fff;
    padding: 10px 50px;
    border-radius: 30px;
    font-weight: 600;
    margin: 20px 0 0;
}






.head-section{
    padding: 0 0 2rem;
}
.head-section h2{
    font-weight: 700;
    font-size: 3rem;
}
.head-section img{
    width:500px;
    height:auto;
}

.about-us{
    padding:5rem 0;
}
.flex-icon{
    width: 100%;
    display: flex;
    padding: 3rem 0;
}
.flex-icon .flex-item{
    width: 25%;
    display: flex;
}
.flex-icon .flex-item .icon-flex-inner img{
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.caption-icon-inner{
    padding: 0 20px;
}
.caption-icon-inner h4{
    font-size: 1rem;
    font-weight: 600;
}
.caption-icon-inner p{
    font-size: 0.9rem;
    font-weight: 600;
}
.service-us{
    padding: 5rem 0;
}
.service-item{
position: relative;
z-index: 1;

}
.service-item img{
    width:100%;
    height:auto;
    border-radius: 15px;
}
.service-item .caption-service{
    position: absolute;
    bottom: 0;
    left:0;
    background: rgba(255, 255, 255, .7);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding:15px;
}
.caption-service h2{
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 10px !important;
}
.caption-about-us h4{
    font-size: 1.5rem;
    font-weight: 600;
}
.caption-about-us h2{
    font-size: 2rem;
    font-weight: 600;
}
.caption-about-us img{
    width: 400px;
    height: auto;
    margin: 20px 0;
    display:block;
}
.caption-about-us .thumb img{
    width: 100%;
    height: auto;
}
.caption-about-us .button-main {
    display: inline-block;
    background: var(--color-primary);
    color:#fff;
    padding: 10px 50px;
    border-radius: 30px;
    margin:20px 0 0;
    font-weight: 600;
}
.banner-ad{
    padding: 7rem 0;
    margin: 5rem 0;
    background-size: cover;
}
.caption-banner-ad h2{
    font-size: 3rem;
    font-weight: 600;
}
.caption-banner-ad img{
    width: 400px;
    height: auto;
    margin:20px 0;
    display: block;
}
.caption-banner-ad .button-main{
    display: inline-block;
    background: var(--color-primary);
    color:#fff;
    padding: 10px 50px;
    border-radius: 30px;
    font-weight: 600;
}

.slide-doctor-item .thumb{
    position:relative;
    z-index:1;
}
.slide-doctor-item .thumb img{
   border-radius: 15px;
}
.slide-doctor-item .caption-doctor{
    position:absolute;
    bottom:0;
    left:0;
    background: rgba(255, 255, 255, .7);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
.caption-doctor{
    padding:15px;
}
.caption-doctor h2{
    font-size:1.2rem;
    font-weight: 600;
}
.caption-doctor p{
    font-size:0.9rem;
    font-weight: 600;
}
.our-team .lSSlideOuter .lSPager.lSpg>li.active a {
    background-color: var(--color-primary) !important;
    width:30px !important;
}

.our-team .lSSlideOuter .lSPager.lSpg>li a {
    background-color: var(--color-third) !important;
    width:10px !important;
    height:10px !important; 
}

.flex-review{
width:100%;
display:flex;
flex-wrap:wrap;
}
.flex-review .flex-review-item{
    width:50%;
    }
    .flex-review .flex-review-item img{
        width:100%;
        height:auto;
        }


.lSSlideOuter .lSPager.lSpg {
    /* margin: 50px 0 0; */
    padding: 30px 0 0;
    text-align: center;
}
.slide-news {
    height: auto !important;
}

.our-news .lSSlideOuter .lSPager.lSpg>li.active a {
    background-color: var(--color-third) !important;
    width:30px !important;
}
.our-news .lSSlideOuter .lSPager.lSpg>li a {
    background-color: #fff !important;
    width:10px !important;
    height:10px !important; 
}

.button-blogs{
    display: inline-block;
    padding: 8px 30px;
    background:var(--color-secondary);
    color:#fff;
    border-radius: 30px;
    margin: 15px 0 0;
}
.button-blogs:hover{
    color:#fff !important;
}


.line-caption-sub{
    width:80px;
    height:5px;
    border-radius: 30px;
    background: var(--color-third);
    margin: 0 0 10px;
}
.our-news{
    padding:5rem 0;
}
.news-item .thumb img{
    border-radius: 15px;
}
.caption-news h2{
    font-size: 1.3rem;
    padding: 10px 0 !important;
    font-weight: 600;
}


.main-footer{
    padding:3rem 0;
    color:#fff;
    background: var(--color-primary);
}
.flex-footer-icon{
    display: flex;
}
.flex-footer-icon a{
    color:#fff;
}
.flex-footer-icon img{
    width: auto;
    height: 40px;
    margin-right:10px;
}
.flex-icon-footer{
    display: flex;
}
.mobile-berger{
    display: none;
}
.menu-mobile-wrap{
    display: none;
}
.content-page-in{
    padding:5rem 0;
}
.banner-page-in{
    padding:10rem 0 5rem;
    background-size: cover;
    background-position: left;
    text-align: center;
}
.banner-page-in img{
    width: 300px;
    height: auto;
}
.banner-page-in h2{
    font-size: 3rem;
    font-weight: 700;
    color: #49619F;
}
.content-about-inner h2{
    color: #49619F;
    padding:3px 0 !important;
    font-weight: 700;
}
.content-about-inner h4{
    color: #BF9C6E;
    padding:3px 0 !important;
}
.service-about{
    padding:3rem 0 0;
}
.service-item{
    padding:30px 0 0;
}
.wrap-new-blog .col-md-4{
    padding-bottom: 30px;
}
@media only screen and (max-width:600px) {
    .single-page-title h2{
        font-size: 1.4rem !important;
    }
    .flex-review-wrap .item-l-review {
        width: 100% !important;
    }
    .flex-review-wrap .item-r-review {
        width: 100% !important;
        padding: 0px !important;
    }
    .flex-img-li{
        width: 100% !important;
        margin: 0 0 20px;
        padding: 0 15px;
    }
    .item-blog-about{
        padding:  0 !important;
        margin: 20px 0 0 !important;
    }
    .banner-page-in h2 {
        font-size: 2rem;
    }
    .content-page-in {
        padding: 3rem 0;
    }
    .service-about {
        padding: 2rem 0 0;
    }
    .banner-page-in {
        padding: 7rem 0 4rem;
    }
    .menu-mobile-wrap{
        position: fixed;
        top: 0;
        left:0;
        width: 100%;
        height: 100vh;
        display: block;
        z-index: 999999;
        background: rgba(73, 97, 159,0.7);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }
    .menu-mobile-wrap.active {
        opacity: 1;
        visibility: visible;
      }
    .logo-main-mobile {
        text-align: center;
    }
    .logo-main-mobile img{
        width: 180px;
        height: auto;
        padding: 40px 0 0;
    }
    .main-menu-mobile{
        padding: 15px !important;
        margin:0 !important;
    }
    .main-menu-mobile li{
        display: inherit;
        margin: 10px 0 0;
    }
    .main-menu-mobile li a{
        display: block;
        font-weight: 600;
        color: #49619F;
    }
    .icon-close{
        position: absolute;
        top: 15px;
        right: 15px;
    }
    .main-menu-mobile li a {
        display: block;
        padding: 8px;
        border-radius: 5px;
        border: 1px solid var(--color-secondary);
    }
    /* .main-menu-mobile .current-active-menu {
        border-bottom: none;
        background: var(--color-secondary);
        border-radius: 5px;
    }
    .main-menu-mobile .current-active-menu a{
        color:#fff;
        font-weight: 600;
    } */
    .main-menu-mobile .current-menu-item {
        border-bottom: none;
        background: var(--color-secondary);
        border-radius: 5px;
    }
    .main-menu-mobile .current-menu-item a{
        color:#fff;
        font-weight: 600;
    }
    .blog-menu-mobile{
        width: 80%;
        height: 100vh;
        background: #fff;
        position: relative;
    }
    .icon-close img{
        width: 30px;
        height: auto;
    }
    .mobile-berger{
        display: block;
    }
    .mobile-berger img{
        width: 40px;
        height: auto;
    }
    .main-menu{
        display: none;
    }
    .caption-main-banner h2 {
        font-size: 1.7rem;
        padding: 10px 0 !important;
    }
    .caption-main-banner h4 {
        font-size: 1.2rem;
    }
    .caption-main-banner br{
        display: none;
    }
    .caption-main-banner {
        padding: 0rem 0;
        padding: 15px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 15px;
        transform: translateY(30px);
    }
    .main-banner {
        padding: 25rem 0 3rem;
        background-size: cover;
        background-position: 60% 50%;
    }
    .caption-main-banner .line-main {
        width: 300px;
        height: auto;
    }
    .flex-icon {
        flex-wrap: wrap;
        padding: 1rem 0;
    }
    .flex-icon .flex-item {
        width: 50%;
        padding: 15px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .caption-icon-inner {
        margin: 15px 0 0;
        padding: 0 10px;
        text-align: center;
    }
    .head-section h2 {
        font-size: 1.7rem;
    }
    .head-section img {
        width: 300px;
        height: auto;
    }
    .service-us {
        padding: 2rem 0;
    }
    .service-item {
        margin: 0 0 1.5rem;
    }
    .about-us {
        padding: 3rem 0;
    }
    .caption-about-us h2 {
        font-size: 1.7rem;
    }
    .caption-about-us{
        padding: 15px 0 0;
    }
    .caption-about-us img {
        width: 300px;
    }
    .caption-about-us .button-main {
        margin: 20px 0 30px;
    }
    .caption-banner-ad h2 {
        font-size: 1.7rem;
        font-weight: 600;
    }
    .caption-banner-ad br{
        display: none;
    }
    .caption-banner-ad img {
        width: 300px;
        height: auto;
        margin: 20px 0;
        display: block;
    }
    .banner-ad{
        background-position: 80% 50%;
    }
    .banner-ad {
        padding: 15rem 0 3rem;
        margin: 3rem 0;
        background-size: cover;
    }
    .caption-banner-ad{
        padding: 15px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 15px;
        transform: translateY(30px);
    }
    .our-review{
        padding: 3rem 0 0;
    }
    .flex-review .flex-review-item {
        width: 100%;
    }
    .our-news {
        padding: 3rem 0;
    }
    .flex-footer-icon {
        display: flex;
        justify-content: center;
        padding: 10px 0;
    }
    .caption-footer{
        text-align: center;
        padding: 0 0 20px;
    }
    .logo-main img {
        width: 120px;
        height: auto;
        transition: all .2s ease;
    }
    .scroll-active .logo-main img {
        width: 100px;
        height: auto;
        transition: all .2s ease;
    }
    .main-header .btn-main{
        display: none;
    }
}
