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

body{
    font-family: "Noto Sans Thai", sans-serif;
    font-family: 300;
    background-image: url('../imgs/bg.jpg?v=5');
    background-size: cover;
    background-position: top;
}

header{
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    padding-bottom: 0;
}

.logo-header{
    width: 120px;
}

.header-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}

.account-top{
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    top: 1px;
}

.user-header-btn{
    background-color: #fc6d06;
    color: #fff;
    padding: 4px 15px;
    border: 0;
    outline: none !important;
    border-radius: 50px;
    border: 3px solid #ff7f23;
    transition: 0.25s;
}

.user-header-btn:hover{
    box-shadow: 0 0 5px #ff7f23;
}

.contact-a{
    text-decoration: none !important;
    font-size: 14px;
    color: #542300;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.1;
    margin-right: 10px;
}


.contact-a .header-phone{
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.contact-a:hover .header-phone{
    color: #fa7002;
}


.contact-a .header-time{
    font-size: 12px;
}

.contact-a i{
    font-size: 18px;
    color: #fa7002;
}

.header-bottom {
    margin-top: 15px;
    background-color: #163c93;
    padding: 15px 0;
    /* position: relative;
    top: 10px; */
}

.header-bottom ul{
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding-left: 0;
    justify-content: center;
    /* gap: 25px; */
    list-style: none;
}

.header-bottom ul li a{
    color: #431f77;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s;
    position: relative;
    display: flex;
    /* border-right: 1px solid #eee; */
    padding: 0 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.header-bottom ul li a img{
    width: 50px;
}

.header-bottom ul li:nth-child(5) a {
    border-right: 0 !important;
}

.header-bottom ul li a::after{
    content: "";
    position: absolute;
    bottom: -4px;
    width: 20%;
    height: 2px;
    background-color: #fa7002;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 0.2s;
}

.header-bottom ul li a:hover{
    color: #fa7002;
}

.header-bottom ul li a:hover::after{
    width: 80%;
    opacity: 1;
}

.dropdown-menu.show {
    display: block;
    top: 10px !important;
}

.dropdown-menu{
    border-radius: 20px;
    border-top-left-radius: 0;
    border: 0;
    box-shadow: 0px 2px 2px #cacaca;
    border: 1px solid #f4f4f4;
}

.dropdown-menu .dropdown-item{
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-banner {
    padding: 4rem 0;
    display: flex;
}

.content-banner h2{
    color: #412475;
}

.content-banner span{
    color: #fa7002;
}

.content-banner p{
    color: #412475;
    margin: 2rem 0;
}

.content-banner-btns{
    display: flex;
    gap: 20px;
}

.content-banner-btns a{
    display: inline-flex;
    padding: 10px 50px;
    /* background-color: #fa7002; */
    border: 1px solid #fa7002;
    color: #fa7002;
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none !important;
    transition: 0.2s;
}

.content-banner-btns a:hover{
    transform: scale(1.05);
    background-color: #fa7002;
    color: #fff;
}

.content-banner-left{
    width: 65%;
}

.content-banner-right{
    width: 35%;
    margin-top: -2%;
}

.content-banner-right img{
    width: 110%;
}

.dropdown-item img{
    width: 17px;
}

.dropdown-item {
    display: flex;
    gap: 7px;
}

.promotion-item{
    padding: 0 15px;
}

.promotion-item img{
    border-radius: 15px;
}

.slide-arrow{
    background-color: transparent;
    padding: 0;
    border: 0;
    outline: none !important;
    position: absolute;
    top: 50%;
    color: #fa7002;
    opacity: 0.5;
    transition: 0.15s;
    font-size: 40px;
    transform: translate(-50% , -50%);
}

.slide-arrow:hover{
    opacity: 1;
}

.promotion-arrows-prev{
    left: -3%;
}

.promotion-arrows-next{
    right: -5.1%;
}

.slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.slick-dots li button{
    color: transparent;
    width: 15px;
    height: 15px;
    border-radius: 50px;
    border: 0;
    outline: none !important;
    opacity: 0.5;
    background-color: #fa7002;
}

.slick-dots li.slick-active button{
    opacity: 1;
}

.section-title{
    border-bottom: 3px solid #fa700224;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 19px;
    margin-bottom: 3rem;
    font-weight: 700;
    color: #412475;
}

.partner-wrapper{
    display: flex;
    gap: 15px;
    align-items: center;
}

.partner-wrapper .partner-item {
    width: 16.67%;
}

.partner-wrapper .partner-item img{
    width: 100%;
}

.main-promotion img{
    width: 100%;
    border-radius: 15px;
    transition: 0.25s;
}

.promotions-slide{
    width: 103%;
    margin-left: -1.5%;
}

.main-promotion{
    margin-bottom: 2rem;
}

.view-more{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    border: 1px solid #fa7002;
    border-radius: 50px;
    text-decoration: none !important;
    outline: none !important;
    padding: 7px 0px;
    width: 150px;
    justify-content: center;
    font-weight: 600;
    color: #fa7002;
    transition: 0.15s;
}

.view-more:hover{
    background-color: #fa7002;
    color: #fff;
}

.testimonials-section{
    margin: 3.5rem 0;
}

.testimonials-section iframe{
    width: 100%;
    height: 600px;
    border-radius: 10px;
}

.faq-section{
    margin: 3.5rem 0;
}

#accordionFAQ{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#accordionFAQ .card-header{
    background-color: #fff;
    padding: 0;
}

#accordionFAQ .card{
    border-radius: 15px;
    border: 0;
    box-shadow: 0 3px 5px #e3e3e3;
}

#accordionFAQ .card-header button{
    width: 100%;
    text-align: left;
    background-color: #fff;
    outline: none !important;
    padding: 19px 20px;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    color: #412475;
}

#accordionFAQ .card-header button i {
    transition: 0.15s;
}

#accordionFAQ .card-header button .rotate {
    transform: rotate(180deg);
}

.footer-bottom{
    background-color: #d76202;
    padding: 15px 0;
    color: #fff;
    text-align: center;
}

.footer-top{
    background-color: #fa7002;
    padding: 35px 0;
}

.footer-logo{
    color: #fff;
}

.footer-logo img{
    width: 100px;
    border-radius: 7px;
    margin-bottom: 10px;
}

.footer-menu h6{
    color: #fff;
    margin-bottom: 1rem;
}

.footer-menu ul{
    list-style: none;
    padding-left: 0;
}

.footer-menu ul a{
    color: #fff;
    text-decoration: none !important;
}

.products-section{
    margin: 2.5rem 0;
    margin-top: 3.5rem;
}

.products-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.product-item{
    background-color: #fff;
    box-shadow: 0 5px 8px #e6e6e6;
    width: 169px;
    border-radius: 15px;
    height: 150px;
    align-items: center;
    padding: 10px 0;
}

.product-item a{
    display: grid;
    text-align: center;
    color: #412475;
    height: 100%;
    align-items: center;
    outline: none !important;
    text-decoration: none !important;
}

.product-item a small{
    color: #a4a4a4;
}

.product-item a div{
    height: 50px;
}

.product-item a span{
    font-size: 16px;
    font-weight: 500;
}

.product-item img{
    width: 70px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    transition: 0.2s;
}

.product-item:hover img{
    transform: scale(1.07);
}

.bg-gray{
    background-color: #f1f1f1;
}

.auth-form{
    background-color: #fff;
    padding: 35px 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 3px 8px #ccc;
}

.auth-form .auth-title{
    color: #431f77;
    text-align: center;
    position: relative;
    background-color: #fff;
    /* width: fit-content; */
    margin-bottom: 2.5rem;
}

/* .auth-form .auth-title::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50% , -50%);
    background-color: #f1f1f1;
    height: 1px;
    width: 100%;
} */

.auth-form .form-group{
    position: relative;
}

.auth-form .form-group .form-control{
    border-radius: 30px;
    padding-left: 20px;
    border: 1px solid #e5e5e5;
    color: #232323;
    padding: 0px 20px;
    height: 45px;
}

.auth-form .form-group .form-control-file{
    font-size: 14px;
    border: 1px solid #e5e5e5;
    padding: 20px 20px;
    border-radius: 30px;
}


.auth-form .form-group span{
    font-size: 14px;
    color: #fc6d06;
}

.auth-form .form-group label{
    position: absolute;
    top: -9px;
    left: 15px;
    background-color: #fff;
    padding: 0 7px;
    font-size: 13px;
    color: #fc6d06;
}

.auth-hr{
    background-color: #f1f1f1;
    width: 100%;
    height: 1px;
    margin: 2rem 0;
}

.auth-submit-btn{
    background-color: #fc6d06;
    color: #fff;
    padding: 7px 15px;
    border: 0;
    outline: none !important;
    border-radius: 50px;
    border: 3px solid #ff7f23;
    transition: 0.25s;
    width: 100%;
}

.auth-light-submit-btn{
    background-color: transparent;
    color: #fc6d06;
    padding: 7px 15px;
    border: 0;
    outline: none !important;
    border-radius: 50px;
    border: 3px solid #ff7f23;
    transition: 0.25s;
    width: 100%;
    margin-top: 1rem;

}

.auth-light-submit-btn:hover{
    background-color: #fc6d06;
    color: #fff;
}


.form-group .disabled{
    color: #e5e5e5 !important; 
}

.insurance-form{
    padding: 2rem 0;
}

.insurance-form .insurance-title{
    font-weight: 600;
    color: #163c93;
}

.insurance-card{
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.insurance-form .form-group{
    /* display: flex;
    gap: 20px;
    align-items: center; */
}

.insurance-form .form-group .form-group-left {
    /* width: 200px; */
}

.insurance-form .form-group .form-group-left label{
    font-weight: 300;
    margin-bottom: 0;
}

.insurance-form .form-group .form-group-left h5{
    margin-bottom: 0;
    font-weight: 600;
    color: #fc6d06;
    font-size: 18px;
}

.insurance-form .form-group .form-control{
    height: 50px;
    font-size: 17px;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
}

.insurance-form .form-group .form-group-input{
    position: relative;
    width: 100%;
}


.insurance-form .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    padding-right: 30px; /* Space for the icon */
    font-size: 16px;
}

/* Hide the default dropdown arrow */
.insurance-form .form-group select::-ms-expand {
    display: none;
}

.insurance-form .form-group i {
    position: absolute;
    right: 10px;
    top: 44%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #fc6d06;
}

.quick-brand-wrapper{
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    /* margin-bottom: 10px; */
    justify-content: space-around;
}

.quick-brand-wrapper .brand-select{
    padding: 15px 10px;
    display: grid;
    gap: 10px;
    width: 15%;
    justify-content: center;
    background: transparent;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    font-size: 14px;
    color: #3e3e3e;
    outline: none !important;
}

.quick-brand-wrapper .brand-select img{
    width: 60px;
}

.quick-brand-wrapper .brand-select:hover{
    background-color: #fff1e7;
    border: 1px solid #fc6d06;
}

.quick-brand-wrapper .brand-select.active{
    background-color: #fff1e7;
    border: 1px solid #fc6d06;
}

.insurance-form .form-group .form-control:disabled{
    background-color: #f0f0f0;
}

.selection-item{
    padding: 15px 10px;
    display: grid;
    gap: 10px;
    width: 100%;
    justify-content: center;
    background: transparent;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    font-size: 14px;
    color: #3e3e3e;
    outline: none !important;
}

.selection-item h6{
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    color: #757575;
}

.selection-item:hover{
    background-color: #fff1e7;
    border: 1px solid #fc6d06;
    box-shadow: 0 2px 2px #fc6d065c;
    cursor: pointer;
}

.selection-item.active{
    background-color: #fff1e7;
    border: 1px solid #fc6d06;
    box-shadow: 0 2px 2px #fc6d065c;
}


/* .main-promotion:hover img{
    transform: scale(1.03);
}

.promotion-item img{
    transition: 0.25s;
}

.promotion-item:hover img{
    transform: scale(1.03);
} */