/********** Template CSS **********/
/*** Spinner ***/
#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

img.animated.pulse {
    animation-duration: 5s;
}

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

.btn.btn-primary {
    color: #ffffff;            /* สีตัวอักษร */
    background-color: #0b4b54; /* สีพื้นหลังใหม่ */
    border-color: #fff;     /* สีกรอบใหม่ */
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 11px 0 !important;
    height: 85px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 45px;
    padding: 0;
    color: var(--bs-dark);
    font-weight: 500;
    transition: .5s;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-white);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 15px;
        background: #ffffff;
        border-radius: 8px;
        margin-top: 15px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 12px;
        color: #06392f !important;
        border-bottom: 1px solid rgba(6, 57, 47, 0.1);
    }
    
    .navbar .navbar-nav .nav-link.active {
        color: #06392f !important;
       
        font-weight: 500;
        border-left: 4px solid #06392f;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    position: relative;
    margin-top: -85px;
    padding-top: 12rem;
    padding-bottom: 6rem;
    background:white center center no-repeat;
    background-size: cover;
}

.hero-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.hero-header .container {
    position: relative;
    z-index: 1;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-light);
}


/*** Feature ***/
.feature-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.feature-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


/*** Deal ***/
.deal {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.deal::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.deal .bg-white {
    position: relative;
    z-index: 1;
}

.deal .cdt span {
    display: block;
    font-size: 16px;
    font-style: italic;
    font-weight: 200;
    text-transform: capitalize;
}


/*** How To Use ***/
.how-to-use {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.how-to-use::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.how-to-use .container {
    position: relative;
    z-index: 1;
}

.how-to-use .border {
    border-color: rgba(255, 255, 255, .2) !important;
}


/*** Product ***/
.product-item {
    transition: .1s;
}

.product-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

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


/*** Testimonial ***/
.testimonial {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.testimonial::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.testimonial .testimonial-carousel {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
    border-color: rgba(255, 255, 255, .2) !important;
    margin: 0 auto 20px auto;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 3px solid rgba(255, 255, 255, .2);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--bs-dark);
}


/*** Blog ***/
.blog-item {
    transition: .1s;
}

.blog-item:hover {
    border-width: 0 !important;
    box-shadow: 0 0 35px rgba(144, 188, 121, .25);
}

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


/*** Contact ***/
.contact-info-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.contact-info-item .border {
    position: relative;
    border-color: rgba(255, 255, 255, .2) !important;
    z-index: 1;
}


/*** Newsletter ***/
.newsletter {
    position: relative;
    background: url(../img/bg.png) center center no-repeat;
    background-size: cover;
}

.newsletter::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .1);
    clip-path: polygon(66% 0, 100% 0, 100% 100%, 33% 100%);
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, .3);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: grey;
		
}
		
.footer .btn.btn-link:hover {
    color: #06392f;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 3px solid var(--bs-light);
}

.footer .copyright a {
    color: var(--bs-body);
}

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

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 3px solid var(--bs-light);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.navbar {
  font-family: 'Prompt', sans-serif;
}

  body {
    font-family: 'Prompt', sans-serif;
  }

body, h1, h2, h3, h4, h5, h6, p, span {
  font-family: 'Prompt', sans-serif !important;
}

/* Sub Header Styles */
.sub-header {
  background-color: #195042;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.sub-header .left-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
}

.sub-header .left-info li {
  display: inline-block;
  margin-right: 25px;
}

.sub-header .left-info li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
	
}

.sub-header .left-info li a:hover {
  color: #fdf2f0;
}

.sub-header .left-info li a i {
  margin-right: 5px;
}

.sub-header .right-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.sub-header .right-icons li {
  display: inline-block;
  margin-left: 10px;
}

.sub-header .right-icons li a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.sub-header .right-icons li a:hover {
  color: #fdf2f0;
}

.sub-header .right-icons li {
  display: inline-block;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #fff; /* เพิ่มบรรทัดนี้ */
}

.sub-header .right-icons li:first-child {
  border-left: none; /* ไม่ให้มีเส้นที่ตัวแรก */
  padding-left: 0;
}
/* Sticky Navbar - เปลี่ยนสีตอน scroll */
.container-fluid.sticky-top {
  transition: all 0.3s ease;
}

/* เมื่อ scroll ลงมา */
.container-fluid.sticky-top.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* เปลี่ยนสีตัวหนังสือเป็นเขียวตอน scroll */
.container-fluid.sticky-top.scrolled .navbar-brand h2 {
  color: #195042 !important; /* สีเขียว */
}

.container-fluid.sticky-top.scrolled .nav-link {
  color: #195042 !important; /* สีเขียว */
}

.container-fluid.sticky-top.scrolled .nav-link:hover {
  color: #195042 !important; /* สีเขียวเข้มตอน hover */
}

.container-fluid.sticky-top.scrolled .dropdown-menu .dropdown-item {
  color: #333 !important;
}

.container-fluid.sticky-top.scrolled .btn-dark {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}
/* Footer สั้นกระชับ */
/* บังคับสีพื้นหลัง Footer ให้เป็น Gradient จาก #E6F0EB ไปขาว */
.footer.bg-white, 
.container-fluid.bg-white.footer {
    /* ใช้ Linear Gradient ไล่สีจากบนลงล่าง (to bottom) */
    background: linear-gradient(to top, #E6F0EB 0%, #FFFFFF 100%) !important;
    /* สำคัญ: ใช้ background แทน background-color เพื่อให้ gradient มีผล */
}

.footer * {
  color: 


<!-- Footer End --> !important;
}
.footer .form-control {
  background-color: rgba(255,255,255,0.1);
  border-color: #ffffff;
}

.footer .filled-button {
  background-color: #ffffff !important;
  color: #0e7c86 !important;
}

.sub-footer {
  background-color: #195042 !important;
}

.sub-footer * {
  color: #ffffff !important;
}


/* Cookie Consent Banner */
.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #195042;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-text h5 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: #ffffff;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ffffff;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button,
.cookie-buttons a {
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-accept {
  background-color: #ffffff;
  color: #0e7c86;
  font-weight: bold;
}

.btn-accept:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.btn-decline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-decline:hover {
  background-color: rgba(255,255,255,0.1);
}

.btn-more {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  text-align: center;
}

.btn-more:hover {
  background-color: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
  
  .cookie-buttons button,
  .cookie-buttons a {
    flex: 1;
    min-width: 100px;
  }
	
	/* เปลี่ยนสี Slogan เมื่อ Sticky */
.container-fluid.sticky-top.scrolled .navbar-brand small {
    color: #06392f !important;
    opacity: 0.8;
}

/* หรือถ้าใช้ class text-white-50 */
.container-fluid.sticky-top.scrolled .text-white-50 {
    color: #06392f !important;
    opacity: 0.7;
}

/* เปลี่ยนสีชื่อบริษัทและ Slogan ทั้งหมด */
.container-fluid.sticky-top.scrolled .navbar-brand h2,
.container-fluid.sticky-top.scrolled .navbar-brand small,
.container-fluid.sticky-top.scrolled .navbar-brand span {
    color: #06392f !important;
}
	
	/* เพิ่มใน style.css หรือใน <style> tag */
.form-select {
    height: 58px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    font-size: 1rem;
}

.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
	
/* CSS สำหรับปุ่ม Send Message - สีเขียวเหมือน Footer */
.btn-green-footer {
    background-color: #06392f !important;
    border-color: #06392f !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.btn-green-footer:hover {
    background-color: #195042 !important;
    border-color: #0e7c86 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 57, 47, 0.3);
}

.btn-green-footer:active {
    background-color: #053026 !important;
    border-color: #053026 !important;
    transform: translateY(0);
}
</style>
<!-- ⬆️ เพิ่มถึงตรงนี้ ⬆️ -->
	
	
	<style>
/* CSS สำหรับ Dropdown */
.form-select {
    height: 58px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    font-size: 1rem;
}

.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-floating > .form-select {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.form-floating > .form-select ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* ⬇️ เพิ่ม CSS สำหรับ Checkbox ตรงนี้ ⬇️ */

/* สไตล์ Checkbox พื้นฐาน */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #ced4da;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* เมื่อ Hover */
.form-check-input:hover {
    border-color: #06392f;
    box-shadow: 0 0 5px rgba(6, 57, 47, 0.3);
}

/* เมื่อติ๊ก (Checked) */
.form-check-input:checked {
    background-color: #06392f !important;
    border-color: #06392f !important;
    box-shadow: 0 0 8px rgba(6, 57, 47, 0.4);
}

/* เมื่อ Focus */
.form-check-input:focus {
    border-color: #06392f;
    box-shadow: 0 0 0 0.25rem rgba(6, 57, 47, 0.25);
}

/* ลูกเล่นเพิ่ม - Animation เมื่อติ๊ก */
.form-check-input:checked {
    animation: checkboxPulse 0.3s ease;
}

@keyframes checkboxPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* สไตล์ Label */
.form-check-label {
    cursor: pointer;
    padding-left: 8px;
    user-select: none;
}

.form-check-label:hover {
    color: #06392f;
}
</style>
	
	/* Force Checkbox to Green #06392f */
.form-check-input:checked {
    background-color: #06392f !important;
    border-color: #06392f !important;
    accent-color: #06392f !important;
}

.form-check-input:focus {
    border-color: #06392f !important;
    box-shadow: 0 0 0 0.25rem rgba(6, 57, 47, 0.25) !important;
}

input[type="checkbox"]:checked {
    background-color: #06392f !important;
    border-color: #06392f !important;
}

	
/* Hero Slider Styles */
.hero-slider-container {
    margin-top: -85px;
    padding-top: 85px;
}

.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

.hero-carousel .owl-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-carousel .owl-dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 10px;
}

.hero-nav-prev:hover i,
.hero-nav-next:hover i {
    color: #0e7c86;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide h1 {
        font-size: 2rem !important;
    }
    .hero-slide p {
        font-size: 1rem !important;
    }
    .hero-nav-prev,
    .hero-nav-next {
        display: none;
    }
}
	
	
/* ===== ปรับปุ่ม Hamburger และเมนูมือถือ ===== */

/* ลดขนาดปุ่ม Hamburger */
.navbar-toggler {
    padding: 0.25rem 0.5rem !important;
    font-size: 1rem !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
}

.navbar-toggler-icon {
    width: 1em !important;
    height: 1em !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

/* แก้สีพื้นหลังเมนูมือถือ */
@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        background-color: #fff !important;
        padding: 15px !important;
        border-radius: 8px !important;
        margin-top: 15px !important;
    }

    .navbar .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 12px 15px !important;
        margin-right: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: #ffffff !important;
    }

    /* Dropdown Menu ในมือถือ */
    .navbar .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.2) !important;
        border: none !important;
        margin-left: 0 !important;
    }

    .navbar .dropdown-item {
        color: #ffffff !important;
        padding: 10px 20px !important;
    }

    .navbar .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.2) !important;
    }
}
	/* แก้สีเมนูในมือถือเท่านั้น */
        @media (max-width: 991.98px) {
            /* เมนูปกติ - สีเขียว */
            .navbar .navbar-nav .nav-link {
                color: #06392f !important;
            }
            
            /* เมนู Active - สีเขียวเหมือนกัน แต่หนาขึ้น */
            .navbar .navbar-nav .nav-link.active {
                color: #06392f !important;
                background: rgba(6, 57, 47, 0.08) !important;
                font-weight: 700 !important;
            }
        }

	/* ย่อปุ่ม hamburger */
.navbar-toggler {
    padding: 2px 6px;   /* ลดขนาดปุ่ม */
    font-size: 0.8rem;  /* ลดขนาด icon ถ้าใช้ font icon */
}

/* ย่อ icon ที่เป็นรูปเส้นสามขีด */
.navbar-toggler-icon {
    width: 20px;        /* ปกติ 24px */
    height: 20px;       /* ปกติ 24px */
}

/* Animation เลื่อนจากล่าง */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-out;
}

.slide-in-bottom.show {
    opacity: 1;
    transform: translateY(0);
}

	
	

	
}