
/*** Spinner Start ***/
/*** Spinner ***/

:root{
/*    --bs-primary : #11583CE5;
    --primary-color: #11583CE5;*/
    --bs-primary : #157337;
    --primary-color: #157337;
} 
body{
/*    font-family: 'sarabun' !important;*/
    font-family: "Noto Sans Thai", sans-serif !important;
}
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 120px;
/*    transition: 0.5s;*/
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
/*    display: flex;*/
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar{

    background: #11583CE5 !important;
}
.navbar-light .navbar-nav .nav-link.active::before,.navbar-light .navbar-nav .nav-link.active::after{
    display: none;
}
.navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: #0c462e;
}
.navbar-light .navbar-nav .nav-link {
/*    font-family: 'sarabun', sans-serif;*/
    font-family: "Noto Sans Thai", sans-serif;
    position: relative; 
    padding: 35px 20px !important; 
    color: var(--bs-white);
/*    font-size: 20px;*/
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: #cccccc;
}

.navbar-light .navbar-brand img {
    max-height: 70px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 70px;
}

.textindex{
    font-size: 32px;
    color: var(--primary-color);
    text-shadow: 
        -1px -1px 0 white,  
     1px -1px 0 white,  
    -1px  1px 0 white,  
     1px  1px 0 white; 
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}
.header-carousel .owl-nav .owl-next,
.header-carousel .owl-nav .owl-prev{
    display: none !important;
}
@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
/*        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);*/
        border: 1px solid #ffffff;
        color: #ffffff;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
                padding: 20px 10px !important;
        margin-left: 0;
/*        color: var(--bs-dark); */
        color: var(--bs-white);
    }

    .navbar-light .navbar-nav .nav-item .nav-link {
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
/*        position: absolute;*/
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
/*        height: 610px;*/
height: 90vh;
}


.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.font3style{
    font-size:32px !important; 
    font-weight:400; 
/*    font-family:'sarabun';*/
    font-family: "Noto Sans Thai", sans-serif;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 30px;
    margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    left: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 var(--bs-light);
    color: var(--bs-primary);
}


.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
/*    background: rgba(0, 0, 0, .7);*/
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
/*    animation-duration: 10s;*/
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

@keyframes image-zoom {
    0%  {height: 100%; opacity: 0.9;}

    25% {height: 110%; opacity: 0.50;}

    50% {height: 115%; opacity: 1;}

    75% {height: 110%; opacity: 0.50;}

    100% {height: 100%; opacity: 0.9;}
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}
/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: 30%;
    left: -90px;
/*    background: var(--bs-primary);*/
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
/*    background: var(--bs-dark);*/
    color: var(--bs-primary);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: 30%;
    right: -90px;
/*    background: var(--bs-primary);*/
    color: var(--bs-white);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
/*    background: var(--bs-dark);*/
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--bs-secondary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}
/*** copyright end ***/

.sticky-top.navbar-light .navbar-nav .nav-link{
    color: #ffffff;
}
 

.btn-shine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 12px 48px;
  color: #ffffff;
  background: linear-gradient(to right, #4d4d4d 0, white 10%, #4d4d4d 20%);
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
    }


.btn-shine2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 12px 48px;
  color: #ffffff;
  background: linear-gradient(to right, #4d4d4d 0, white 10%, #4d4d4d 20%);
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s infinite linear;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
    }


*{
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}
::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}



.owl-carousel .owl-stage {
    position: relative;
/*    padding-top: 96px;*/
    -ms-touch-action: pan-Y;
    -moz-backface-visibility: hidden;
}

/* -----------------------------------------------------------------------*/

        .image-container {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
        }

        /* รูปภาพ */
        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-in-out;
            filter: blur(2px);

        }
        .image-container:hover .overlay2{
            width: 55%;
        }




        .image-container1 {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
        }

        .image-container1 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-in-out;
            filter: blur(2px);

        }
        .image-container1:hover .overlay2{
            width: 65%;
        }


        .image-container2 {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
        }

        .image-container2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-in-out;
            filter: blur(2px);

        }
        .image-container2:hover .overlay2{
            width: 65%;
        }






        /* Overlay อยู่ตรงกลางก่อน */
        .overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60%;
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 10px;
            background: rgb(255 255 255 / 57%);
            transition: all 0.4s ease-in-out;
        }

        .overlay h3 {
            margin: 0;
            font-size: 16px;
            color: #135238;
            opacity: 1;
            transition: opacity 0.3s ease-in-out;
        }

        .overlay4{
            position: absolute;
            top: 50%;
            left: 50%;
/*            display: none;*/
            transform: translate(-50%, -50%);
            width: 80%;
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 10px;
/*            background: rgb(255 255 255 / 57%);*/
            transition: all 0.4s ease-in-out;
        }

        .overlay4 h3 {
            margin: 0;
            font-size: 16px;
            color: #135238;
            opacity: 1;
            transition: opacity 0.3s ease-in-out;
        }


        .button4 {
/*            font-family: 'sarabun';*/
            font-family: "Noto Sans Thai", sans-serif;
            margin-top: 10px;
            display: none;
            position: relative;
            padding: 12px 15px;
            border:none;
            font-size: 16px;
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */ 
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }
      

        .button {
/*            font-family: 'sarabun';*/
            font-family: "Noto Sans Thai", sans-serif;
            margin-top: 10px;
            display: none;
            position: relative;
            padding: 12px 15px;
            border:none;
            font-size: 16px;
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */ 
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }
        /* Pseudo-element สำหรับสร้างเอฟเฟกต์ */
        .button::before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #11583CE5; /* สีเขียว */
            transition: top 0.4s ease-in-out;
            z-index: -1;
        }

        /* เมื่อ hover สีจะเลื่อนขึ้นจากล่างไปบน */
        .button:hover {
            color: white; /* เปลี่ยนตัวหนังสือเป็นสีขาว */
            border-color: #11583CE5; /* เปลี่ยนสีขอบเป็นสีเขียว */
        }

        .button:hover::before {
            top: 0; /* ให้สีเขียวเลื่อนขึ้นมาจากล่าง */
        }

        /* Hover Effect */
        .image-container:hover img {
            transform: scale(1.2); 
            filter: blur(0px);
        }

        .image-container:hover .overlay {
            top: 80%; 
            transform: translate(-50%, -50%); 
            
            background: rgb(255 255 255 / 57%);
        }

        .image-container:hover .overlay2 {
            top: 60%;
            transform: translate(-50%, -50%);
            
            background: rgb(255 255 255 / 57%);
        }

        .image-container:hover .overlay3 {
            top: 50%;
            transform: translate(-50%, -50%);
            
            background: rgb(255 255 255 / 57%);
        }

        .image-container:hover .overlay4 {
            top: 60%;
            transform: translate(-50%, -50%);
            
            background: rgb(255 255 255 / 57%);
        }
        .image-container:hover .button {
            display: inline-block;
        }
/* -----------------------------------------------------------------------*/


        .image-container2 {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            cursor: pointer;
        }

        /* รูปภาพ */
        .image-container2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease-in-out;
            filter: blur(0px);

        }

        /* Overlay อยู่ตรงกลางก่อน */
        .overlay2 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 250px;
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 10px;
            background: rgb(255 255 255 / 57%);
            transition: all 0.4s ease-in-out;
        }
        .overlay2:hover{
            width: 65%;
        }

        .overlay2 h3 {
            margin: 0;
            font-size: 18px;
            color: var(--primary-color);
            opacity: 1;
            font-family: DM Serif Display;
            transition: opacity 0.3s ease-in-out;
        }


        /* Overlay อยู่ตรงกลางก่อน */
        .overlay3 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70%;
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 10px;
            background: rgb(255 255 255 / 57%);
            transition: all 0.4s ease-in-out;
        }
        .overlay3:hover{
/*            width: 90%;*/
        }

        .overlay3 h3 {
            margin: 0;
            font-size: 18px;
            color: var(--primary-color);
            opacity: 1;
            font-family: DM Serif Display;
            transition: opacity 0.3s ease-in-out;
        }


        .button2 {
/*            font-family: sarabun;*/
            font-family: "Noto Sans Thai", sans-serif;
            margin-top: 10px;
            display: none;
            position: relative;
            padding: 12px 15px;
            border:none;
            font-size: 16px;
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */ 
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }
        /* Pseudo-element สำหรับสร้างเอฟเฟกต์ */
        .button2::before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #11583CE5; /* สีเขียว */
            transition: top 0.4s ease-in-out;
            z-index: -1;
        }

        /* เมื่อ hover สีจะเลื่อนขึ้นจากล่างไปบน */
        .button2:hover {
            color: white; /* เปลี่ยนตัวหนังสือเป็นสีขาว */
            border-color: #11583CE5; /* เปลี่ยนสีขอบเป็นสีเขียว */
        }

        .button2:hover::before {
            top: 0; /* ให้สีเขียวเลื่อนขึ้นมาจากล่าง */
        }

        /* Hover Effect */
        .image-container2:hover img {
            transform: scale(1.2); 

            filter: blur(3px);
        }

        .image-container2:hover .overlay2 { 
            transform: translate(-50%, -50%); 
            background: none;
            display: inline-block;
        }

        .image-container2:hover .button2 {
            display: inline-block;
        }


@media (min-width:1200px){
    .hidden-lg{display:none!important}
    .navbar-brand{
        position: absolute;    margin-left: 100px;
    }
}
/* -----------------------------------------------------------------------*/


        .buttonviewmore {
            box-shadow: #00000030 2px 2px 10px;
/*            font-family: sarabun;*/
            font-family: "Noto Sans Thai", sans-serif;
/*            margin-top: 10px; */
            position: relative;
            padding: 12px 15px;
            border:none;
/*            font-size: 22px;*/
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */ 
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }
        /* Pseudo-element สำหรับสร้างเอฟเฟกต์ */
        .buttonviewmore::before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #11583CE5; /* สีเขียว */
            transition: top 0.4s ease-in-out;
            z-index: -1;
        }

        /* เมื่อ hover สีจะเลื่อนขึ้นจากล่างไปบน */
        .buttonviewmore:hover {
            color: white; /* เปลี่ยนตัวหนังสือเป็นสีขาว */
            border-color: #11583CE5; /* เปลี่ยนสีขอบเป็นสีเขียว */
        }

        .buttonviewmore:hover::before {
            top: 0; /* ให้สีเขียวเลื่อนขึ้นมาจากล่าง */
        }




 
        .buttons {
            position: relative;
            padding: 5px 20px;
            font-size: 16px;
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */
            border:none; 
            box-shadow: #0000002e 0px 2px 5px;
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }

        /* Pseudo-element สำหรับสร้างเอฟเฟกต์ */
        .buttons::before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #11583CE5; /* สีเขียว */
/*            transition: top 0.4s ease-in-out;*/
/*            z-index: -1;*/
        }

        /* เมื่อ hover สีจะเลื่อนขึ้นจากล่างไปบน */
        .buttons:hover {
            color: white; /* เปลี่ยนตัวหนังสือเป็นสีขาว */
            border-color: #11583CE5; /* เปลี่ยนสีขอบเป็นสีเขียว */
            background: #0c622b;
        }

        .buttons.before {
            top: 0; /* ให้สีเขียวเลื่อนขึ้นมาจากล่าง */
        }

        .buttons.active{
            background: var(--primary-color);
            color: #fff;
        }







 
        .buttonContact {
            position: relative;
            padding: 5px 20px;
            font-size: 16px;
            color: black; /* ตัวหนังสือสีดำ */
            background: white; /* พื้นหลังเริ่มต้นสีขาว */
            border:none; 
            box-shadow: #0000002e 0px 2px 5px;
            border-radius: 30px; /* ปุ่มโค้งมน */
            cursor: pointer;
            overflow: hidden;
            transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
            z-index: 1;
        }

        /* Pseudo-element สำหรับสร้างเอฟเฟกต์ */
        .buttonContact::before {
            content: "";
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #11583CE5; /* สีเขียว */
            transition: top 0.4s ease-in-out;
            z-index: -1;
        }

        /* เมื่อ hover สีจะเลื่อนขึ้นจากล่างไปบน */
        .buttonContact:hover {
            color: white; /* เปลี่ยนตัวหนังสือเป็นสีขาว */
            border-color: #11583CE5; /* เปลี่ยนสีขอบเป็นสีเขียว */
        }

        .buttonContact.before {
            top: 0; /* ให้สีเขียวเลื่อนขึ้นมาจากล่าง */
        }

        .buttonContact.active{
            background: var(--primary-color);
            color: #fff;
        }


/* -----------------------------------------------------------------------*/
        .background {
            position: absolute; 
            width: 100%;
/*            height: 680px;*/
            background-image: url('../img/bgfooter.jpg');
            background-size: cover;
            background-position: center;
/*            filter: blur(3px); /* ทำให้พื้นหลังเบลอ */*/
            z-index: -1;
        }

        .content { 
            text-align: center; 
            color: white; 
            padding: 20px; 
            height: 680px;
        }
          .content div {
          line-height: 50px;
          } 

        .blog-carousel .owl-stage-outer{
            margin-top: 0px;
        }
        .owl-nav{ 
        }







/* -----------------------------------------------------------------------*/

    .modalProduct {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    /* กล่อง Modal */
    .modal-contentProduct {
      background: white;
      padding: 20px;
      border-radius: 10px;
      width: 80%;
      max-width: 600px;
      text-align: center;
      position: relative;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* ปุ่มปิด Modal */
    .close-modal-btnProduct {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }
        /* ปุ่มปิด Modal */
    .config-modal-btnProduct {   
      position: absolute;
      top: 45px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }


    .close-modal-btnProduct:hover {
      color: #000;
    }




/* -----------------------------------------------------------------------*/

 /* Modal Container */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      justify-content: center;
      align-items: center;
    }

    /* กล่อง Modal */
    .modal-content {
      background: white;
      padding: 20px;
      border-radius: 10px;
      width: 80%;
      max-width: 600px;
      text-align: center;
      position: relative;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    /* ปุ่มปิด Modal */
    .close-modal-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }
        /* ปุ่มปิด Modal */
    .config-modal-btn {   
      position: absolute;
      top: 45px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }

    .close-modal-btn:hover {
      color: #000;
    }

        /* ปุ่มปิด Modal */
    .config-modal-btnNews {   
      position: absolute;
      top: 45px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }


        /* ปุ่มปิด Modal */
    .close-modal-btnNews {   
      position: absolute;
      top: 5px;
      right: 15px;
      font-size: 18px;
      border: none;
      background: none;
      cursor: pointer;
      color: #555;
    }

    .close-modal-btnNews:hover {
      color: #000;
    }

/* -----------------------------------------------------------------------*/


    .forminput{
        border-bottom: #ccc solid 1px; 
        border-radius: 0px; 
        border-top:none; 
        border-left: none;
        border-right:none;
    }
    .btnred{
        position:static;    color: #fff;
        background: #a20000;
        border-radius: 5px;
        font-size: 12px;
        padding: 5px 10px; border:none; 
    }
    .btngreen{
        position:static;    color: #fff;
        background: #007812;
        border-radius: 5px;
        font-size: 12px;
        padding: 5px 10px; border:none;
    }

    .btnredNews{
        position:static;    color: #fff;
        background: #a20000;
        border-radius: 5px;
        font-size: 12px;
        padding: 5px 10px; border:none; 
    }
    .btngreenNews{
        position:static;    color: #fff;
        background: #007812;
        border-radius: 5px;
        font-size: 12px;
        padding: 5px 10px; border:none;
    }



.googlemaps{
/*    filter:blur(2px);
    transition: all .3s ease-in-out;*/
}
.googlemaps:hover{
    filter:blur(0px);  
    transform: scale(1.2); 
    transition: all .3s ease-in-out;

}
.txttitle{
    color: #000000;
}

.txttitle:hover{
    color: var(--primary-color);
}
 
@keyframes shine {
            from {
                background-position: 200%;
            }
            to {
                background-position: -200%;
            }
        }

        .glow-text {
/*            font-family: 'sarabun';*/
            font-family: "Noto Sans Thai", sans-serif;
            font-size: 32px; 
            color: white;
            text-align: center;
            position: relative;
            text-transform: uppercase;
            background: linear-gradient(217deg, rgb(1 74 1 / 49%), #fff, #012d01b0);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite;



/*    font-family: 'sarabun';
    font-size: 22px;
    color: white;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    background: linear-gradient(217deg, rgb(1 74 1 / 49%), #fff, #012d01b0);
    background-size: 200% auto; 
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff2b;
    animation: shine 3slinear infinite;
*/

        }
        .texthilight{ 
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            color: #ffffff;
            flex-direction: column;
        }



.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 3px 1em 3px .4em;
    font-size: 14px;
}





.slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .slider button{
        width: 260px;
            object-fit: cover;
        border-radius: 10px;
    }
      .slider button:hover{  
        box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.4);
      }
     





   .gallery {
      margin: 20px 60px;
      position: relative; 
/*      overflow: hidden;*/
      border-radius: 10px; 
      padding: 10px;
    }
    .slide{
      overflow: hidden;
    }

    .slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .slider div{
        width: 335px;
/*width: 328px;*/
            object-fit: cover;
        border-radius: 10px;
        text-align: left;
    }
  .slider .imgthumb:hover{  
box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.4);
  }
    .slider div:hover{
      color:var(--primary-color);
    }
    .slider img {
      width: 326px;
      height: 192px;
      object-fit: cover;
      border-radius: 5px;
      margin: 0 5px;
    }

    .controls {
      position: absolute;
      top: 40%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
    }

    .controls button {
      background: none;
      color: white;
      border: none;
      padding: 0px 10px;
      cursor: pointer;
      font-size: 18px;
      border-radius: 5px;
      transition: 0.3s;
    }
    .controls button.prev{
          margin-left: -55px;

    }
    .controls button.next{
          margin-right: -42px;

    }

    .controls button:hover {
      background: none;
    }


 
    .panelcode{
      position: absolute; 
      top:-2px; 
      padding: 10px;       
          z-index: auto;    
    }
    .txtcode{
      font-size: 18px; 
      font-weight: 900;
      text-shadow: #000 1px 0px 1px;
      -webkit-text-stroke: #000 1px;
      color: #ffffff;

    }

    .txtstatus{
    position: absolute;
    top: 12px;
    left: 210px;
    padding: 2px 15px;
    border-radius: 5px;
    font-size: 10px;
    width: 75px;
    }

    .txtstatus.contact{ 
      background: #FFF5E5; 
      color: #FF9800;
      border: #FFB74C solid 1px;
    }
     
    .txtstatus.free{ 
      background: #E5F4F2; 
      color: #00829a;
      border: #34A993 solid 1px;
    }
    .txtstatus.nofree{ 
      background: #ff9e9e;
      color: #c80000;
      border: #c80000 solid 1px;
    }



#iconphone:hover,#iconline:hover,#iconfacebook:hover{
    zoom: 1.1;
}
.form-control:focus{
    z-index: 999999;
}

