* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

html, body{
    /* font-family: 'Sarabun', sans-serif; */
    font-family: 'Prompt', sans-serif;
    width: 100%;
    height: 100%;
}

video{
    object-fit: cover;
    width: 100%;
}

/* .bg-nv{
    background-color: #f8f9fa00!important;
} */

/* .navbar-light .navbar-nav .nav-link .active{
    color: rgb(255 0 0);
}

nav .navbar-light .navbar-nav .nav-link .when_click{
    color: rgb(255 0 0);
}

nav.navc {
    background-color: #00A69C;
    color: #fff;
}
.navbar-brand{
    padding-left: 0;
} */

.headtop{
    font-size: 3em;
    margin-bottom: 70px;
    margin-top: 40px;
}

.qa-services {
    /* padding: 20px; */
    background: rgba(119, 245, 207, 0.1);
    backdrop-filter: blur(50px);
    padding: 40px;
    /* max-width: 500px; */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.qa-services button{
    box-shadow: rgba(23, 160, 130, 0.645) 0px 2px 4px 0px, rgba(14, 30, 37, 0.172) 0px 2px 16px 0px;
    margin-top: 80px;
}

.info button{
    box-shadow: rgba(23, 160, 130, 0.645) 0px 2px 4px 0px, rgba(14, 30, 37, 0.172) 0px 2px 16px 0px;
    margin-top: 30px;
}

.social-links .social-list {
    list-style-type: none;
    text-align: center;
}

.social-links .social-list li {
    display: inline-block;
    margin: 30px;
}

.social-links .social-list li a {
    font-size: 40px;
    color: #00A69C;
}

.footer-des .social-list {
    list-style-type: none;
    text-align: start;
}

.footer-des .social-list li{
    display: inline-block;
    margin: 30px;
    margin-left: 0;
}

.footer-des .social-list li a{
    font-size: 30px;
    color: #13A89E;
}

.footer-links li a{
    text-decoration: none;
    color: #13A89E;
}

.section_03 .icon  {
    margin-bottom: 20px;
}

.section_03 .icon  button{
    border: 0;
    border-radius: 20px;
    background: white;
    color: #13A89E;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.07) 0px 2px 16px 0px;
    padding: 10px;
    margin-top: 25%; /*เพิ่มมา */
}

.profile-image{
    text-align: center;
}

.footer {
    background-color: rgba(118, 218, 188, 0.2);
    color: #333;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}


.footer .links-list a {
    color: #13A89E;
}

.footer-copy {
    background-color: #13A89E;
}

.footer-copy .copyright {
    text-align: center;
    color: #ffffff;
}

.form-floating input{
    /* border: hidden; */
  border-radius: 0px;
  border: 1px solid #13A89E;
  border-top: none;
  border-left: none;
  border-right: none;
}

form button{
    box-shadow: rgba(23, 160, 130, 0.645) 0px 2px 4px 0px, rgba(14, 30, 37, 0.172) 0px 2px 16px 0px;
    margin-top: 30px;
}

#loCation{
    position: relative;
}

.btn-location{
    position: absolute;
    top: -20px;
    /* right: 0; */
    right: 0px;
    z-index: 2;
}

.image-footer img{
    height: 180px;
    width: 170px;
    display: block;  
    margin-right: auto;  
    margin-left: auto;
}

.image-example{
    width: 300px;
}

.ty-1 .text-ex1{
    margin-top: 90px;
    text-align: center;
}

.ty-2 .text-ex2{
    margin-top: 90px;
    text-align: center;
}

.ty-3 .text-ex3{
    margin-top: 90px;
    text-align: center;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(21, 182, 147);
    background: rgba(41, 209, 173, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(65, 238, 215, 0.9);
}

#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

.social-respon {
    width: 100%;
    text-align: center;
    padding-top: 25px;
}

.social-respon ul {
    list-style-type: none;
    padding-left: 0;
}

.social-respon ul li {
    display: inline;
    margin: 15px;
}

.social-respon ul li a {
    font-size: 28px;
}

.circle-ex {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    background: #13A89E;
    margin-inline: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    color: #fff;
}

.image-column {
    position: relative;
}

.p-img1 {
    position: absolute;
    background: rgba(56, 56, 56, 0.412);
    padding: 5px;
    border-radius: 5px;
    bottom: 10px;
    right: 10px;
    box-shadow: rgba(14, 30, 37, 0.371) 0px 2px 16px 0px;
 }

 .p-img1 p{
    margin-bottom: 0;
    font-size: 12px;
    color: #fff;
 }

.container-commu{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    background-color: rgba(118, 218, 188, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-com{
    width: 100%;
    max-width: 820px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.con-form{
    background-color: #13A89E;
    position: relative;
}

.circle-c{
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, #042725);
    position: absolute;
}

.circle-c.one{
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
}

.circle-c.two{
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
}

.con-form::before{
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #13A89E;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}

.text-com{
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
    color: white;
    margin: 10px;
}

.social-commu ul{
    list-style-type: none;
    padding-left: 0;
}

.social-commu ul li a i{
    font-size: 30px;
}

.social-commu ul li a{
    display: flex;
    color: #fff;
    text-decoration: none;
    margin: 15px;
}

.social-commu ul li a p{
    display: flex;
    color: #fff;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 2px;
}

.con-info{
    padding: 0.5rem;
    position: relative;
}

.big-circle{
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #13A89E, #13A89E);
    bottom: 80%;
    right: 50%;
    transform: translate(-40%, 38%);
}

.big-circle::after{
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-color: #e4fcf8;
    border-radius: 50%;
    top: calc(50% - 180px);
    left: calc(50% - 180px);
}

.tooth{
    position: absolute;
    height: 400px;
    top: 45%;
    left: 32%;
    transform: translate(181%, 11%);
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.mg-service .service-shadow{
    padding: 20px !important;
    box-shadow: rgba(0, 151, 118, 0.467) 0px 2px 4px 0px, rgba(14, 30, 37, 0.172) 0px 2px 16px 0px;
    border-radius: 10px !important;
    line-height: 2 !important;
    background-color: #f7f7f7 !important;
    border-top: 10px solid #13A89E;
    border-bottom: 10px solid #13A89E;
}

.mg-service img{
    border-radius: 30px;
}



/* ===============================SCREEN============================== */
@media (max-width: 1400px) {
    .circle-ex {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        background: #13A89E;
        margin-inline: auto;
        padding-top: 2px;
        padding-bottom: 2px;
        color: #fff;
    }
    
}
@media (max-width: 991px) {
    .circle-ex {
        border-radius: 50%;
        width: 150%;
        height: 100%;
        background: #13A89E;
        margin-inline: auto;
        padding-top: 2px;
        padding-bottom: 2px;
        color: #fff;
    }
}


@media (min-width: 768px) {
    .none-ex img{
        display: none;
        margin-top: 20px;
    }
}


@media (max-width: 767px) {
    #img-ex{
        display: none !important;
    }
    .none-ex img{
        margin-top: 30px;
    }
    .footer-links{
        margin-top: 50px;
    }
}


@media (max-width: 767px) {
    .teeth img{
        /* width: 650px;
        height: 600px;
        margin-top: 50px; */
        display: none;
    }
    .imgteeth .teeth img{
        display: none;
    }
    .image-footer img{
        height: 180px;
        width: 170px;
        display: block;  
        margin-left: 0;
    }
    .image-example{
        width: 200px;
    }
    .ty-1 .text-ex1{
        margin-top: 30px;
        text-align: center;
        margin-bottom: 10px;
    }
    .ty-2 .text-ex2{
        margin-top: 30px;
        text-align: center;
        margin-bottom: 10px;
    }
    .ty-2 .image-example img{
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .circle {
        border-radius: 50%;
        width: 7%;
        height: 5%;
        background: rgb(245, 10, 10);
        margin-inline: auto;
    }
    .circle-ex {
        border-radius: 50%;
        width: 10%;
        height: 9%;
        background: #13A89E;
        margin-inline: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        color: #fff;
    }
    .img-ref{
        height: auto !important;
    }
    .img-ref2 img{
        margin-top: 20px;
    }
    .p-img1 {
        right: 20px;
    
     }
     .form-com{
         grid-template-columns: 1fr;
         height: 100%;
     }
     .con-form::before{
        top: -13px;
        left: initial;
        right: 70px;
     }
     .tooth{
         display: none;
     }
     .big-circle{
         display: none;
     } 
    .pl-0 {
        padding-right: 0 !important;
    }
    
    .pr-0 {
        padding-left: 0 !important;
    }
    .pl-0 img{
        margin-top: 15px;
    }
    
    .pr-0 img{
        margin-top: 15px;
    }

    .mg-service img{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .mg-service .service-shadow{
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


@media (max-width: 575.98px) {

    .section_01 .qa-services {
        margin-top: 25px;
    }

    .social-links .social-list {
        padding: 0;
    }

    .social-links .social-list li {
        margin: 20px;
    }

    .social-links .social-list li a {
        font-size: 25px;
    }

    .info h4 {
        margin-top: 12px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
    }

    .section_03 .choice .icon img {
        width: 70px;
        height: 70px;
    }

    .section_03 .icon  button{
        border: 0;
        border-radius: 20px;
        background: white;
        color: #13A89E;
        box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.07) 0px 2px 16px 0px;
        padding: 10px;
        margin-top: 1%; /*เพิ่มมา */
    }

    .image-example{
        width: 200px;
    }
    
    /* .section_03 .choice .icon:nth-child(2) {
        text-align: center;
    }

    .section_03 .choice .icon:nth-child(2) img {
        text-align: center;
        margin-left: 0 !important;
    } */
    .ty-1 .text-ex1{
        margin-top: 30px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .ty-2 .text-ex2{
        margin-top: 30px;
        text-align: center;
        margin-bottom: 10px;
    }

    .ty-2 .image-example img{
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .circle-ex{
        line-height: 1.4;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        background: #13A89E;
        margin-inline: auto;
        padding-top: 2px;
        padding-bottom: 2px;
        color: #fff;
    }
}

@media (min-width: 575.98px) { 
    .social-respon {
        display: none;
    }
 }

@media (max-width: 575px) {
    #soCial {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .dental-scal h2 {
        font-size: 25px !important;
    }

    .dental-scal p {
        font-size: 14px !important;
    }
}

@media (max-width: 991px) {

    .footer-des .social-list{
        margin-top: 30px !important;
        margin-left: -35px !important;
        margin-right: -35px !important;
        margin-bottom: -35px !important;
    }
}




