/*

TemplateMo 564 Plot Listing

https://templatemo.com/tm-564-plot-listing

*/

/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. banner
06. features
07. testimonials
08. contact
09. footer
10. preloader
11. search
12. portfolio

--------------------------------------------- */
/* 
---------------------------------------------
font & reset css
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* 
---------------------------------------------
reset
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
    width: 50%;
}

.grid-item {
    float: left;
}

.grid-item img {
    display: block;
    max-width: 100%;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
    display: block;
}

* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background-color: #fff;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul {
    margin-bottom: 0px;
}

p {
    font-size: 15px;
    line-height: 30px;
    color: #2a2a2a;
}

img {
    margin-bottom: -3px;
    width: 100%;
    overflow: hidden;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/
html,
body {
    background: #fff;
    font-family: 'Montserrat', sans-serif;
}

::selection {
    background: #61b7a8;
    color: #fff;
}

::-moz-selection {
    background: #61b7a8;
    color: #fff;
}

@media (max-width: 991px) {

    html,
    body {
        overflow-x: hidden;
    }

    .mobile-top-fix {
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .mobile-bottom-fix {
        margin-bottom: 30px;
    }

    .mobile-bottom-fix-big {
        margin-bottom: 60px;
    }
}

.page-section {
    margin-top: 120px;
}

.section-heading h2 {
    font-size: 35px;
    margin-bottom: 25px;
    text-transform: capitalize;
    color: #2a2a2a;
    font-weight: 700;
    position: relative;
    z-index: 2;
    line-height: 44px;
}

.section-heading h6 {
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 500;
    color: #8d99af;
}

.main-white-button a {
    display: inline-block;
    background-color: #3d65de;
    font-size: 15px;
    font-weight: 400;
    /* color: #2a2a2a; */
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 7px;
    letter-spacing: 0.25px;
    transition: all .3s;
}

.main-white-button a i {
    margin-right: 7px;
    /* font-size: 300px; */
    /* width: 22px; */
    /* height: 22px; */
    /* background-color: #fff;
  color: #113397;
  border-radius: 50%; */
    /* display: inline-block;
  text-align: center; */
    /* line-height: 22px; */
}

/*
.main-white-button a:hover {
  background-color: #1E9E87;
} */

/* 
---------------------------------------------
header
--------------------------------------------- 
*/

.background-header {
    background-color: #fff !important;
    background: #fff !important;
    height: 80px !important;
    position: fixed !important;
    top: 0px;
    left: 0px;
    right: 0px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15) !important;
}

.background-header .logo,
.background-header .main-nav .nav li a {
    color: #1e1e1e !important;
}

.background-header .main-nav .nav li:hover a {
    color: #8d99af !important;
}

/* .background-header .nav li a.active {
  color: #8d99af !important;
} */

.header-area {
    /* background-color: red; */
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 120;
    height: 100px;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}

.header-area .main-nav {
    min-height: 80px;
    background: transparent;
}

.header-area .main-nav a.logo {
    background-image: url(../images/WHHH-r.png);
    width: 235px;
    height: 58px;
    display: inline-block;
    margin-top: 20px;
    margin-right: 40px;
}

.background-header .main-nav a.logo {
    background-image: url(../images/BHHH-r.png);
    width: 235px;
    height: 58px;
    display: inline-block;
    margin-top: 10px;
}

.background-header .main-nav .nav {
    margin-top: 20px !important;
}

.header-area .main-nav .nav {
    float: right;
    margin-top: 30px;
    margin-right: 0px;
    background-color: transparent;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    z-index: 999;
}

.header-area .main-nav .nav li {
    padding: 0 15px;
}

.header-area .main-nav .nav li:last-child {
    padding-right: 0px;
    padding-left: 40px;
}

.header-area .main-nav .nav li:last-child a,
.background-header .main-nav .nav li:last-child a {
    /* color: #2a2a2a !important; */
    text-transform: capitalize;
    padding: 0px 20px;
    font-weight: 400;
}

.header-area .main-nav .nav li:last-child a i,
.background-header .main-nav .nav li:last-child a i {
    font-size: 17px !important;
    font-weight: 400 !important;
}

.background-header .main-nav .nav li:last-child .main-white-button a {
    background-color: #1E9E87;
    color: #ffffff !important;
}

.background-header .main-nav .nav li:last-child .main-white-button a i {
    /* background-color: #ffffff; */
    color: #ffffff;
}

.header-area .main-nav .nav li:last-child a:hover,
.header-area .main-nav .nav li:last-child a.active {
    color: #fff !important;
}

.header-area .main-nav .nav li a {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #bebebe;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    height: 40px;
    line-height: 45px;
    border: transparent;
    letter-spacing: 1px;
}

.header-area .main-nav .nav li:hover a.btn-bg-hover,
.header-area .main-nav .nav li a.active {
    color: #113395;
    background-color: #e9e9e9 !important;
    padding: 0 20px;
    border-radius: 50px;
}

.background-header .main-nav .nav li:last-child a:hover {
    background-color: #113395 !important;
    padding: 0 20px;
    border-radius: 7px;
}

.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
    color: #1E9E87 !important;
}

.header-area .main-nav .nav li:last-child a:hover,
.background-header .main-nav .nav li:last-child a:hover {
    background-color: #1E9E87;
    color: #113395;
}

.header-area .main-nav .nav li.has-sub {
    position: relative;
    padding-right: 15px;
}

.header-area .main-nav .nav li.has-sub:after {
    font-family: FontAwesome;
    content: "\f107";
    font-size: 12px;
    color: #fff;
    position: absolute;
    right: 5px;
    top: 12px;
}

.background-header .main-nav .nav li.has-sub:after {
    color: #1e1e1e;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu {
    position: absolute;
    width: 200px;
    box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
    top: 40px;
    opacity: 0;
    transition: all .3s;
    transform: translateY(+2em);
    visibility: hidden;
    z-index: -1;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.header-area .main-nav .nav li.has-sub ul.sub-menu li a {
    opacity: 1;
    display: block;
    background: #f7f7f7;
    color: #2a2a2a !important;
    padding-left: 20px;
    height: 40px;
    line-height: 40px;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    position: relative;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
}

.header-area .main-nav .nav li.has-sub ul li a:hover {
    background: #fff;
    color: #f5a425 !important;
    padding-left: 25px;
}

.header-area .main-nav .nav li.has-sub ul li a:hover:before {
    width: 3px;
}

.header-area .main-nav .nav li.has-sub:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0%);
    transition-delay: 0s, 0s, 0.3s;
}

.header-area .main-nav .menu-trigger {
    cursor: pointer;
    display: block;
    position: absolute;
    top: 33px;
    width: 32px;
    height: 40px;
    text-indent: -9999em;
    z-index: 99;
    right: 40px;
    display: none;
}

.background-header .main-nav .menu-trigger {
    top: 23px;
}

.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #1e1e1e;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
}

.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
    background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    background-color: #1e1e1e;
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
    width: 75%;
}

.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
    background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
    content: "";
}

.header-area .main-nav .menu-trigger span {
    top: 16px;
}

.header-area .main-nav .menu-trigger span:before {
    -moz-transform-origin: 33% 100%;
    -ms-transform-origin: 33% 100%;
    -webkit-transform-origin: 33% 100%;
    transform-origin: 33% 100%;
    top: -10px;
    z-index: 10;
}

.header-area .main-nav .menu-trigger span:after {
    -moz-transform-origin: 33% 0;
    -ms-transform-origin: 33% 0;
    -webkit-transform-origin: 33% 0;
    transform-origin: 33% 0;
    top: 10px;
}

.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
    background-color: transparent;
    width: 100%;
}

.header-area .main-nav .menu-trigger.active span:before {
    -moz-transform: translateY(6px) translateX(1px) rotate(45deg);
    -ms-transform: translateY(6px) translateX(1px) rotate(45deg);
    -webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
    transform: translateY(6px) translateX(1px) rotate(45deg);
    background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:before {
    background-color: #1e1e1e;
}

.header-area .main-nav .menu-trigger.active span:after {
    -moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    -ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    -webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
    transform: translateY(-6px) translateX(1px) rotate(-45deg);
    background-color: #1e1e1e;
}

.background-header .main-nav .menu-trigger.active span:after {
    background-color: #1e1e1e;
}

.header-area.header-sticky {
    min-height: 80px;
}

.header-area .nav {
    margin-top: 30px;
}

/* .header-area.header-sticky .nav li a.active {
  color: #8d99af;
} */

@media (max-width: 1200px) {
    /* .header-area .main-nav .nav li {
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-area .main-nav:before {
    display: none;
  } */
    /* }

@media (max-width: 992px)   { */

    /* .header-area .main-nav .nav li:last-child,
  .background-header .main-nav .nav li:last-child {
    display: none;
  }

  .header-area .main-nav .nav li:nth-child(6),
  .background-header .main-nav .nav li:nth-child(6) {
    padding-right: 0px;
  } */
    /* }

@media (max-width: 767px) { */
    .background-header .main-nav .nav {
        margin-top: 80px !important;
    }

    .header-area .main-nav .logo {
        color: #1e1e1e;
    }

    .header-area.header-sticky .nav li a:hover,
    .header-area.header-sticky .nav li a.active {
        color: #8d99af !important;
        opacity: 1;
    }

    .header-area.header-sticky .nav li.search-icon a {
        width: 100%;
    }

    .header-area {
        background-color: #f7f7f7;
        padding: 0px 15px;
        height: 100px;
        box-shadow: none;
        text-align: center;
    }

    .header-area .container {
        padding: 0px;
    }

    .header-area .logo {
        margin-left: 30px;
    }

    .header-area .menu-trigger {
        display: block !important;
    }

    .header-area .main-nav {
        overflow: hidden;
    }

    .header-area .main-nav .nav {
        float: none;
        width: 100%;
        display: none;
        -webkit-transition: all 0s ease 0s;
        -moz-transition: all 0s ease 0s;
        -o-transition: all 0s ease 0s;
        transition: all 0s ease 0s;
        margin-left: 0px;
    }

    .background-header .nav {
        margin-top: 80px;
    }

    .header-area .main-nav .nav li:first-child {
        border-top: 1px solid #eee;
    }

    .header-area.header-sticky .nav {
        margin-top: 100px;
    }

    .header-area .main-nav .nav li {
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #e7e7e7;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .header-area .main-nav .nav li a {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0px !important;
        border: none !important;
        background: #f7f7f7 !important;
        color: #191a20 !important;
    }

    .header-area .main-nav .nav li a:hover {
        background: #eee !important;
        color: #8d99af !important;
    }

    .header-area .main-nav .nav li.has-sub ul.sub-menu {
        position: relative;
        visibility: inherit;
        opacity: 1;
        z-index: 1;
        transform: translateY(0%);
        top: 0px;
        width: 100%;
        box-shadow: none;
        height: 0px;
        transition: all 0s;
    }

    .header-area .main-nav .nav li.submenu ul li a {
        font-size: 12px;
        font-weight: 400;
    }

    .header-area .main-nav .nav li.submenu ul li a:hover:before {
        width: 0px;
    }

    .header-area .main-nav .nav li.has-sub ul.sub-menu {
        height: auto;
    }

    .header-area .main-nav .nav li.has-sub:after {
        color: #3B566E;
        right: 30px;
        font-size: 14px;
        top: 15px;
    }

    .header-area .main-nav .nav li.submenu:hover ul,
    .header-area .main-nav .nav li.submenu:focus ul {
        height: 0px;
    }
}

@media (min-width: 1200px) {
    .header-area .main-nav .nav {
        display: flex !important;
    }
}




/* 
---------------------------------------------
Banner Style
--------------------------------------------- 
*/

.card-custom {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.card-custom:hover {
    transform: translateY(-5px);
}

.card-body p {
    color: #6c757d;
    font-size: 0.9rem;
}

.btn-readmore {
    background-color: #117e5c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
}

.btn-readmore:hover {
    background-color: #2fe6a0;
}

.meta-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.main-banner {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../images/all2025-2.png);
    padding: 290px 0px 180px 0px;
    position: relative;
    overflow: hidden;
}

.main-banner .top-text {
    text-align: center;
}

.main-banner .top-text h6 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.main-banner .top-text h2 {
    color: #fff;
    font-size: 45px;
    font-weight: 800;
    text-transform: capitalize;
    margin-top: 15px;
    margin-bottom: 45px;
}

.main-banner ul.categories {
    width: 100%;
    margin-top: 60px;
    text-align: center;
}

.main-banner ul.categories li {
    display: inline-block;
    text-align: center;
    width: 18%;
}

.main-banner ul.categories li a {
    color: #fff;
    text-align: center;
    font-size: 15px;
    margin-top: 15px;
}

.main-banner ul.categories li .icon {
    display: block;
    margin: 0 auto 12px auto;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    text-align: center;
    line-height: 62px;
    color: #8d99af;
    background-color: #fff;
    transition: all .5s;
}

.main-banner ul.categories li a:hover .icon {
    background-color: #000080;
}

.main-banner ul.categories li .icon img {
    max-width: 27px;
}

form#search-form {
    background-color: #fff;
    padding: 0px 0px 0px 30px;
    width: 100%;
    border-radius: 7px;
    display: inline-block;
    text-align: center;
}

form#search-form select,
form#search-form input {
    width: 100%;
    height: 36px;
    background-color: transparent;
    border: none;
    color: #2a2a2a;
    font-size: 15px;
    outline: none;
}

.form-select:focus {
    box-shadow: none;
}

form#search-form input.searchText {
    border-left: 1px solid #8d99af;
    border-right: 1px solid #8d99af;
    padding: 0px 30px;
}

form#search-form input::placeholder {
    color: #2a2a2a;
    font-size: 15px;
}

form#search-form button {
    width: 100%;
    height: 100%;
    background-color: #8d99af;
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 15px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

form#search-form button i {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    color: #8d99af;
    display: inline-block;
    text-align: center;
    line-height: 38px;
    margin-right: 10px;
}



/*
---------------------------------------
Popular Categories
---------------------------------------
*/

.popular-categories {
    margin-top: 120px;
}

.popular-categories .section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.popular-categories .naccs {
    position: relative;
    background-color: #000080;
    border-radius: 7px;
}

.popular-categories .icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    text-align: center;
    line-height: 62px;
    color: #8d99af;
    background-color: #fff;
    margin-right: 15px;
}

.popular-categories .icon img {
    max-width: 27px;
}

.popular-categories .naccs .menu div.first-thumb {
    border-top-left-radius: 7px;
}

.popular-categories .naccs .menu div.last-thumb {
    margin-bottom: 0px;
    border-bottom-left-radius: 7px;
}

.popular-categories .naccs .menu div {
    color: #fff;
    font-size: 15px;
    background-color: #8d99af;
    margin-bottom: 1px;
    height: 126px;
    text-align: left;
    padding: 0px 15px;
    line-height: 126px;
    cursor: pointer;
    position: relative;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.popular-categories .naccs .menu div.active,
.popular-categories .naccs .menu div.active .thumb {
    background-color: #000080;
}

.popular-categories ul.nacc {
    position: relative;
    min-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.popular-categories ul.nacc li {
    opacity: 0;
    transform: translateX(-50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.popular-categories ul.nacc li.active {
    transition-delay: 0.3s;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
}

.popular-categories ul.nacc li {
    width: 100%;
}

.popular-categories .nacc .thumb .left-text {
    margin-left: 30px;
}

.popular-categories .nacc .thumb .left-text h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 30px;
}

.popular-categories .nacc .thumb .left-text p {
    color: #fff;
    margin-bottom: 30px;
}

.popular-categories .nacc .thumb .right-image {
    padding: 60px;
    display: inline-flex;
}

.popular-categories .nacc .thumb img {
    border-radius: 7px;
}

.popular-categories .nacc .thumb .left-text .main-white-button a {
    width: 100%;
    text-align: center;
}



/*
---------------------------------------------
Recent Listing 
---------------------------------------------
*/

.recent-listing {
    background-image: url('../images/wave1.png');
    /* ใส่ชื่อภาพหรือ URL ที่ต้องการ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 20px;
    padding-top: 50px;
    margin-bottom: 1px;
    border-top: 1px solid #eee;
}

.recent-listing .section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.recent-listing .item .listing-item {
    display: inline-flex;
    background-color: #f7f7f7;
    border-radius: 7px;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.recent-listing .item .left-image {
    float: left;
    overflow: hidden;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.recent-listing .item .left-image img {
    overflow: hidden;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.recent-listing .item .right-content {
    display: inline-block;
    padding: 60px;
}

.recent-listing .item .right-content ul.rate {
    position: absolute;
    right: 60px;
    top: 60px;
}

.recent-listing .item .right-content ul.rate li {
    display: inline-block;
}

.recent-listing .item .right-content ul.rate li:last-child {
    margin-left: 10px;
}

.recent-listing .item .right-content h4 {
    font-size: 20px;
    color: #2a2a2a;
    font-weight: 700;
    margin-bottom: 20px;
}

.recent-listing .item .right-content h6 {
    font-size: 15px;
    font-weight: 500;
    color: #8d99af;
}

.recent-listing .item .right-content span.price {
    color: #2a2a2a;
    font-size: 15px;
    margin-top: 30px;
    display: block;
    margin-bottom: 15px;
}

.recent-listing .item .right-content span.price .icon {
    width: 30px;
    height: 30px;
    background-color: #8d99af;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    display: inline-block;
    margin-right: 10px;
}

.recent-listing .item .right-content span.price .icon img {
    max-width: 16px;
    text-align: center;
    display: inline-block;
}

.recent-listing .item .right-content span.details {
    display: block;
    margin-bottom: 30px;
    font-size: 15px;
    color: #8d99af;
}

.recent-listing .item .right-content span.details em {
    font-style: normal;
    color: #2a2a2a;
}

.recent-listing .item .right-content ul.info li {
    display: inline-block;
    margin-bottom: 15px;
    margin-right: 30px;
    width: 100%;
}

.recent-listing .item .right-content ul.info li:last-child {
    margin-bottom: 0px;
}

.recent-listing .item .right-content ul.info li img {
    max-width: 30px;
    margin-right: 15px;
    display: inline;
}

.recent-listing .item .right-content .main-white-button {
    position: absolute;
    right: 60px;
    bottom: 60px;
}

.recent-listing .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.recent-listing .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #8d99af;
    border-radius: 50%;
    margin: 0px 5px;
    transition: all .3s;
}

.recent-listing .owl-dots .active {
    width: 14px;
    height: 14px;
}



/*
---------------------------------------------
Footer
---------------------------------------------
*/

footer {
    border-top: 1px solid #eee;
    padding-top: 80px;
}

footer h4 {
    font-size: 20px;
    font-weight: 700;
    color: #8d99af;
    margin-bottom: 30px;
}

footer p,
footer a {
    color: #2a2a2a;
}

footer .logo img {
    max-width: 163px;
    margin-bottom: 30px;
}

footer .helpful-links {
    margin: 0px 45px;
}

footer .helpful-links ul li {
    display: block;
    margin-bottom: 15px;
}

footer .helpful-links ul li a {
    font-size: 15px;
    transition: all .3s;
}

footer .helpful-links ul li a:hover {
    color: #8d99af;
    border-bottom: 1px solid #8d99af;
}

footer .contact-us p {
    margin-bottom: 25px;
}

footer .contact-us a {
    transition: all .3s;
}

footer .contact-us a:hover {
    color: #8d99af;
    border-bottom: 1px solid #8d99af;
}

footer .sub-footer {
    text-align: center;
    margin-top: 40px;
    padding: 40px 0px;
    border-top: 1px solid #eee;
}



/* 
---------------------------------------------
contact
--------------------------------------------- 
*/

.contact-page {
    margin: 120px 0px;
}

.contact-page .inner-content {
    background-color: #f7f7f7;
    border-radius: 7px;
    overflow: hidden;
}

.contact-page .inner-content #map {
    margin-bottom: -8px;
    overflow: hidden;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

form#contact {
    position: relative;
    margin: 0px 60px 0px 45px;
}

form#contact input {
    width: 100%;
    height: 46px;
    border-radius: 7px;
    background-color: transparent;
    border: 1px solid #8d99af;
    outline: none;
    font-size: 15px;
    font-weight: 300;
    color: #8d99af;
    padding: 0px 15px;
    margin-bottom: 30px;
}

form#contact ul li {
    display: inline-block;
    margin-right: 30px;
}

form#contact ul li:last-child {
    margin-right: 0px;
}

form#contact input[type=checkbox] {
    display: inline-block;
    width: 15px;
    min-width: 15px;
    height: 15px;
    background-color: transparent;
    border: 1px solid #8d99af;
    outline: none;
    cursor: pointer;
}

form#contact span {
    color: #8d99af;
    font-size: 14px;
    font-weight: 500;
    margin-left: 8px;
}

form#contact input::placeholder {
    color: #8d99af;
    font-weight: 500;
}

form#contact textarea {
    margin-top: 10px;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    max-height: 180px;
    min-height: 140px;
    height: 140px;
    border-radius: 7px;
    background-color: transparent;
    border: 1px solid #8d99af;
    outline: none;
    font-size: 15px;
    font-weight: 300;
    color: #8d99af;
    padding: 15px;
    margin-bottom: 30px;
}

form#contact textarea::placeholder {
    color: #8d99af;
    font-weight: 500;
}

form#contact button {
    margin-bottom: -15px;
    display: inline-block;
    background-color: #8d99af;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 7px;
    letter-spacing: 0.25px;
    border: none;
    outline: none;
    transition: all .3s;
}

form#contact button i {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    background-color: #000080;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
}

form#contact button:hover {
    background-color: #000080;
    color: #fff;
}


/* 
---------------------------------------------
Page Heading
--------------------------------------------- 
*/

.page-heading {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../images/about1.jpg);
    padding: 230px 0px 120px 0px;
    position: relative;
    overflow: hidden;
}

.page-heading .top-text {
    text-align: left;
}

.page-heading .top-text h6 {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

.page-heading .top-text h2 {
    color: #fff;
    line-height: 70px;
    font-size: 45px;
    font-weight: 800;
    text-transform: capitalize;
    margin-top: 15px;
}



/*
---------------------------------------
Category Post
---------------------------------------
*/

.category-post {
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 120px;
}

.category-post .naccs {
    position: relative;
    border-radius: 7px;
}

.category-post .icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    text-align: center;
    line-height: 62px;
    color: #8d99af;
    background-color: #fff;
    margin-right: 15px;
    float: left;
}

.category-post .naccs .menu div h4 {
    position: absolute;
    left: 81px;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    display: inline;
}

.category-post .icon img {
    max-width: 27px;
}

.category-post .naccs .menu div.first-thumb {
    border-bottom-left-radius: 7px;
}

.category-post .naccs .menu div.last-thumb {
    margin-bottom: 0px;
    border-bottom-right-radius: 7px;
}

.category-post .naccs .menu div {
    color: #fff;
    margin: 0px;
    width: 20%;
    font-size: 10px;
    background-color: #8d99af;
    height: 132px;
    line-height: 132px;
    display: inline-block;
    float: left;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.category-post .naccs .menu div .thumb {
    padding: 30px 0px;
    margin-left: 25px;
    margin-right: 25px;
}

.category-post .naccs .menu div.active,
.category-post .naccs .menu div.active .thumb {
    background-color: #000080;
}

.category-post ul.nacc {
    position: relative;
    min-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.category-post ul.nacc li {
    opacity: 0;
    transform: translateX(-50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.category-post ul.nacc li.active {
    transition-delay: 0.3s;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateX(0px);
}

.category-post ul.nacc li {
    width: 100%;
}

.category-post .nacc .thumb h4 {
    color: #2a2a2a;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 25px;
}

.category-post .nacc .thumb .main-white-button {
    text-align: right;
    margin-top: 40px;
}

.category-post .nacc .thumb .main-white-button a {
    background-color: #8d99af;
    color: #fff;
}

.category-post .nacc .thumb .main-white-button a i {
    background-color: #fff;
    color: #8d99af;
}

.category-post .top-content {
    margin-top: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
    margin-bottom: 60px;
}

.category-post .description {
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
    margin-bottom: 60px;
}

.category-post .general-info p {
    margin-bottom: 30px;
}

.category-post .top-content .top-icon {
    background-color: #000080;
    width: 250px;
    height: 132px;
    border-radius: 7px;
    position: relative;
    padding: 30px;
    display: inline-block;
}

.category-post .top-content .top-icon h4 {
    position: absolute;
    left: 30px;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    display: inline;
}

.category-post .top-content .top-icon .icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    text-align: center;
    line-height: 62px;
    color: #8d99af;
    background-color: #fff;
    margin-right: 15px;
    float: left;
    left: 0;
}

.category-post .nacc .thumb .text-icon img {
    max-width: 30px;
    margin-right: 10px;
}

.category-post .nacc .thumb span.list-item {
    font-size: 15px;
    color: #8d99af;
    font-weight: 500;
    line-height: 30px;
}



/* 
---------------------------------------------
Listing Page
--------------------------------------------- 
*/


.listing-page {
    margin-top: 120px;
    margin-bottom: 120px;
}

.listing-page .section-heading {
    text-align: center;
    margin-bottom: 80px;
}

.listing-page .naccs {
    position: relative;
}

.listing-page .icon {
    display: inline-block;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    text-align: center;
    line-height: 62px;
    color: #8d99af;
    background-color: #fff;
    margin-right: 15px;
}

.listing-page .icon img {
    max-width: 27px;
}

.listing-page .naccs .menu div.first-thumb {
    border-radius: 7px;
}

.listing-page .naccs .menu div.last-thumb {
    margin-bottom: 0px;
    border-radius: 7px;
}

.listing-page .naccs .menu div {
    color: #fff;
    font-size: 15px;
    border-radius: 7px;
    background-color: #8d99af;
    margin-bottom: 30px;
    height: 126px;
    text-align: left;
    padding: 0px 15px;
    line-height: 126px;
    cursor: pointer;
    position: relative;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.listing-page .naccs .menu div.active,
.listing-page .naccs .menu div.active .thumb {
    background-color: #000080;
}

.listing-page ul.nacc {
    height: auto !important;
    position: relative;
    min-height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.listing-page ul.nacc li {
    display: none;
    opacity: 0;
    transform: translateY(-50px);
    position: absolute;
    list-style: none;
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.listing-page ul.nacc li.active {
    display: block;
    transition-delay: 0s;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translateY(0px);
}

.listing-page ul.nacc li {
    width: 100%;
}

.listing-page .item .listing-item {
    display: inline-flex;
    background-color: #f7f7f7;
    border-radius: 7px;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

.listing-page .item .left-image {
    float: left;
    overflow: hidden;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    position: relative;
    z-index: 1;
}

.listing-page .item .left-image .hover-content .main-white-button a i {
    font-size: 12px;
    width: 23px;
    height: 23px;
    line-height: 23px;
}

.listing-page .item .left-image .hover-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
    transition: all .5s;
    opacity: 0;
    visibility: hidden;
}

.listing-page .item .listing-item:hover .left-image .hover-content {
    opacity: 1;
    visibility: visible;
}

.listing-page .item .left-image img {
    overflow: hidden;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.listing-page .item .right-content {
    display: inline-block;
    padding: 45px;
}

.listing-page .item .right-content h4 {
    font-size: 20px;
    color: #2a2a2a;
    font-weight: 700;
    margin-bottom: 20px;
}

.listing-page .item .right-content h6 {
    font-size: 15px;
    font-weight: 500;
    color: #8d99af;
}

.listing-page .item .right-content span.price {
    color: #2a2a2a;
    font-size: 15px;
    margin-top: 30px;
    display: block;
    margin-bottom: 15px;
}

.listing-page .item .right-content span.price .icon {
    width: 30px;
    height: 30px;
    background-color: #8d99af;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    display: inline-block;
    margin-right: 10px;
}

.listing-page .item .right-content span.price .icon img {
    max-width: 16px;
    text-align: center;
    display: inline-block;
}

.listing-page .item .right-content span.details {
    display: block;
    margin-bottom: 30px;
    font-size: 15px;
    color: #8d99af;
}

.listing-page .item .right-content span.details em {
    font-style: normal;
    color: #2a2a2a;
}

.listing-page .item .right-content span.info {
    line-height: 30px;
}

.listing-page .item .right-content span.info img {
    max-width: 30px;
    margin-right: 15px;
    display: inline;
}

.listing-page .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.listing-page .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    background-color: #8d99af;
    border-radius: 50%;
    margin: 0px 5px;
    transition: all .3s;
}

.listing-page .owl-dots .active {
    width: 14px;
    height: 14px;
}



/* 
---------------------------------------------
Pre Loader
--------------------------------------------- 
*/

.js-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    z-index: 9999;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@-webkit-keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@keyframes dot {
    50% {
        -webkit-transform: translateX(96px);
        transform: translateX(96px);
    }
}

@-webkit-keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

@keyframes dots {
    50% {
        -webkit-transform: translateX(-31px);
        transform: translateX(-31px);
    }
}

.preloader-inner {
    position: relative;
    width: 142px;
    height: 40px;
    background: #fff;
}

.preloader-inner .dot {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 12px;
    left: 15px;
    background: #8d99af;
    border-radius: 50%;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-animation: dot 2.8s infinite;
    animation: dot 2.8s infinite;
}

.preloader-inner .dots {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    margin-top: 12px;
    margin-left: 31px;
    -webkit-animation: dots 2.8s infinite;
    animation: dots 2.8s infinite;
}

.preloader-inner .dots span {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    background: #8d99af;
    border-radius: 50%;
}

.gradient-text {
    font-size: 100rem;
    /* ขนาดตัวอักษรใหญ่ขึ้น */
    font-weight: 700;
    /* หนากำลังดี */
    letter-spacing: 1px;
    /* เพิ่มช่องว่างระหว่างตัวอักษรเล็กน้อย */
    text-align: center;
    /* จัดกึ่งกลาง */
    background: linear-gradient(90deg, #158449, #00c9a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
}




/* 
---------------------------------------------
responsive
--------------------------------------------- 
*/

@media (max-width: 1200px) {
    .popular-categories .icon {
        margin-left: 50%;
        transform: translateX(-33px);
        text-align: center;
        display: inline-block;
    }

    .category-post .naccs .menu div.active .thumb {
        position: relative;
    }

    .category-post .icon {
        position: absolute;
        left: 50%;
        transform: translateX(15px);
    }

    .category-post .top-content .top-icon h4 {
        left: 86px;
    }

    form#search-form {
        padding: 30px;
    }

    .popular-categories .naccs .menu .thumb,
    .category-post .naccs .menu div h4 {
        color: transparent;
    }

    .recent-listing .item .right-content,
    .listing-page .item .right-content {
        padding: 30px;
        position: relative;
    }

    .recent-listing .item .right-content h4,
    .listing-page .item .right-content h4 {
        margin-bottom: 10px;
    }

    .recent-listing .item .right-content .main-white-button,
    .listing-page .item .right-content .main-white-button {
        left: 30px;
        bottom: -30px;
    }

    .recent-listing .item .right-content span.price,
    .listing-page .item .right-content span.price {
        margin-top: 15px;
    }

    .recent-listing .item .right-content ul.rate,
    .listing-page .item .right-content ul.rate {
        left: 30px;
        top: -5px;
    }

    .recent-listing .item .right-content span.details,
    .listing-page .item .right-content span.details {
        margin-bottom: 15px;
    }
}

@media (max-width: 992px) {

    form#search-form select,
    form#search-form input {
        border: 1px solid #8d99af;
        border-radius: 7px;
        margin-bottom: 15px;
    }

    form#search-form button {
        border-radius: 7px;
    }

    .listing-page .naccs .menu {
        margin-bottom: 30px;
    }

    .popular-categories .nacc .thumb .left-text {
        margin: 30px;
    }

    .popular-categories .nacc .thumb .right-image {
        padding: 0px;
        margin: 0px 30px 30px 30px;
        display: block;
    }

    .popular-categories .naccs .menu div.first-thumb {
        border-top-right-radius: 7px;
    }

    .popular-categories .naccs .menu div.last-thumb {
        border-bottom-left-radius: 0px;
    }

    .recent-listing .item .left-image,
    .listing-page .item .left-image {
        float: none;
        width: 100%;
    }

    .category-post .top-content .top-icon .icon {
        left: 45%;
    }

    .recent-listing .item .left-image,
    .listing-page .item .left-image {
        border-bottom-left-radius: 0px;
        border-top-right-radius: 7px;
    }

    .recent-listing .item .listing-item,
    .listing-page .item .listing-item {
        display: inline-block;
    }

    .recent-listing .item .right-content ul.rate,
    .listing-page .item .right-content ul.rate {
        top: 20px;
    }

    .recent-listing .item .right-content .main-white-button,
    .listing-page .item .right-content .main-white-button {
        position: relative;
        left: 0px;
        bottom: 0px;
        margin-top: 30px;
    }

    .recent-listing .item .right-content h4 {
        margin-top: 20px;
    }

    footer {
        text-align: center;
    }

    footer .about,
    footer .helpful-links {
        margin-bottom: 45px;
    }

    .category-post .icon {
        transform: translateX(0px);
    }

    .category-post .top-content .top-icon,
    .category-post .nacc .thumb .main-white-button a {
        text-align: center;
        width: 100%;
    }

    .category-post .nacc .thumb .main-white-button {
        margin-top: 30px;
    }

    .category-post .top-content .top-icon .icon {
        margin-left: -60px;
    }

    .category-post .top-content .top-icon h4 {
        left: 86px;
    }

    .description .text-icon {
        margin-top: 30px;
    }

    form#contact {
        margin-top: 45px;
        margin-bottom: 55px;
    }
}

@media (max-width: 1200px) {
    .main-banner ul.categories li a {
        color: transparent;
    }

    .header-area .main-nav a.logo {
        background-image: url(../images/BHHH-r.png);
        float: left;
    }

    .header-area .logo {
        margin-left: 0px;
    }

    .header-area .main-nav .menu-trigger {
        right: 15px;
    }

    .category-post .icon {
        transform: translateX(-22px);
    }
}


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

.features-section {
    background-image: url('../images/bg02.png');
    /* ใส่ชื่อภาพหรือ URL ที่ต้องการ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    text-align: center;

}

@media (max-width: 768px) {
    .features-section .feature-box p {
        display: none;
        /* ซ่อนคำอธิบาย */
    }

    .features-section .feature-box img {
        width: 40px;
        /* ย่อขนาดไอคอน */
        height: auto;
    }

    .features-section .feature-box h3 {
        font-size: 16px;
        /* ย่อขนาดหัวข้อ */
    }

    .features-section .feature-box {
        text-align: center;
        padding: 10px;
    }

    .features-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}



.feature-box {
    max-width: 300px;
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0b3d91, #2e9c5f);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    /* ทำให้ไอคอนเป็นสีขาว */
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.feature-box p {
    color: #ffffff;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 14px;
    font-size: 0.85rem;
    color: #fff;
    background: #113397;
    /* สีเขียวตามที่คุณต้องการ */
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #ffffff;
    color: #1d9d85;
    font-weight: bold;

    /* สีเขียวเข้มขึ้นตอน hover */
}

.features-intro {
    background-image: url('../images/WW.png');
    /* ใส่ชื่อภาพหรือ URL ที่ต้องการ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    /* สูงครึ่งจอ */
    text-align: center;
    background-color: #f8fdf9;
    /* พื้นหลังอ่อน */
    padding: 40px 20px;
}

.features-intro h2 {
    font-size: 2.5rem;
    color: #2e9c5f;
    margin-bottom: 15px;
}

.features-intro p {
    max-width: 600px;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
}

.background-section {
    background-image: url('../images/WW.png');
    /* ใส่ชื่อภาพหรือ URL ที่ต้องการ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plant-section {
    background-image: url('../images/WW.png');
    /* ใส่ชื่อภาพหรือ URL ที่ต้องการ */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.plant-section h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.plant-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.plant-title {
    text-align: center;
    color: #0f6d48;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.plant-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.plant-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    width: 250px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    text-align: center;
}

.plant-card img {
    width: 100%;
    height: auto;
    display: block;
}

.plant-card h3 {
    padding: 0.75rem;
    font-size: 1.1rem;
    background-color: #ffffff;
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}


/* ////////////////////// */

/* SECTION TITLE - Fade & Slide with Glow */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-section__title {
    font-size: 2.5rem;
    color: #222;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeSlideUp 1s ease forwards;
    opacity: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

/* VIDEO CONTAINER ANIMATION */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.video-section__item {
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    transition: transform 0.3s ease;
}

.video-section__item:hover {
    transform: translateY(-5px);
}

/* VIDEO STYLING */
.video-section__video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.video-section__video:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* CAPTION STYLE */
.video-section__caption {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1.1rem;
    color: #444;
    transition: color 0.3s, transform 0.3s;
}

.video-section__caption:hover {
    color: #0077cc;
    transform: scale(1.05);
}





/* สำหรับ desktop - hover */
@media (min-width: 768px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .nav-item.dropdown:hover>.nav-link {
        color: #217b47;
    }

    .nav-item.dropdown:hover .caret {
        transform: rotate(180deg);
    }
}

/* แก้ dropdown menu ให้แสดงถูกที่บนมือถือ */
.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    /* ซ่อนตอนปกติ */
    float: none;
    min-width: 10rem;
    margin: 0;
    background-color: #fff;
    border: 1px solid rgba(235, 149, 149, 0.15);
    border-radius: .25rem;
}


/* เมื่อต้องการแสดง dropdown */
.nav-item.dropdown.show .dropdown-menu {
    display: none;
}

.nav-link {
    display: inline-block;
    padding-top: 10px 15px;

}

.video-section {

    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.video-section__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #169b50;
}

.video-section__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.video-section__item {
    max-width: 500px;
    width: 100%;
}

.video-section__video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-section__caption {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #effff5;
}

/* Animation for the section title */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-section__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    animation: fadeSlideUp 1s ease-out forwards;
    opacity: 0;
    /* Start hidden before animation */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* Animation for caption under videos */
@keyframes fadeInDelay {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-section__caption {
    font-size: 1rem;
    color: #666;
    animation: fadeInDelay 1.5s ease-out forwards;
    opacity: 0;
}




/* ลบ margin และ padding ของ .nav-item */
.nav-item {
    margin: 0;
    /* ลบ margin ทั้งหมด */
    padding: 0;
    /* ลบ padding ทั้งหมด */
}

/* ลบ padding และ margin ของ .nav-link (ตัวลิงก์ภายในเมนู) */
.nav-link {
    margin: 0;
    /* ลบ margin */
    padding: 0;
    /* ลบ padding */
    line-height: 1;
    /* ปรับ line-height ให้อยู่ในระดับเดียวกัน */
}


.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.image-item {
    text-align: center;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-item img:hover {
    transform: scale(1.05);
}

.image-item h3 {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

.plant-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 คอลัมน์ */
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.plant-card {
    text-align: center;
}

.plant-card img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto 10px;
}

.plant-card h3 {
    font-size: 1rem;
    margin: 0;
}

/* ================= */

* {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Section */
.how-we-work {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

.how-we-work__container {
    display: flex;
    height: 100%;
    position: relative;
}

.how-we-work__left,
.how-we-work__right {
    flex: 1;
    position: relative;
}

.how-we-work__left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-we-work__right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
    background-color: white;
}

.how-we-work__text h1 {
    font-size: 36px;
    margin: 0;
    color: #111;
}

.how-we-work__text p {
    font-size: 16px;
    color: #7d8597;
    margin-top: 10px;
    max-width: 400px;
}

.how-we-work__play-button {
    position: absolute;
    top: 50%;
    left: 46.7%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: #1d9d85;
    color: white;
    font-size: 36px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Video popup */
.how-we-work__popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.how-we-work__popup-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    background: black;
    padding: 20px;
    border-radius: 10px;
}

.how-we-work__popup-content video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 10px;
}

.how-we-work__close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    background-color: #ffffff9d;
    padding: 0 14px;
    border-radius: 50px;
    z-index: 1;
}

.how-we-work-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2rem;
    /* ขนาดใหญ่ขึ้น */
    background-color: rgba(0, 0, 0, 0.6);
    /* พื้นหลังสีดำโปร่ง */
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: background-color 0.2s ease;
}

.how-we-work-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    /* เข้มขึ้นเวลา hover */
}

.how-we-work-video-popup {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.how-we-work-video-popup video {
    display: block;
    width: 100%;
    height: auto;
    border: none;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    /* หรือสีโปร่งที่คุณต้องการ */
}

.modal-content {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .how-we-work__right {
        display: none;
    }

    .how-we-work__left {
        flex: 1 1 100%;
    }

    .how-we-work__play-button {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}


* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background: #f5f5f5;
    padding: 40px;

}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.container-csr {
    display: flex;
    flex-wrap: wrap;
    /* gap: 20px; */
    justify-content: center;
}

.card {
    position: relative;
    width: 400px;
    height: 350px;
    background: #fff;
    color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card--hoverable:hover {
    transform: translateY(-10px);
}

.card__image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.card--hoverable:hover .card__image {
    transform: scale(1.05);
}

.card__content {
    padding: 20px;
    position: relative;
    z-index: 1;
    transition: background 0.4s ease, color 0.4s ease;
}

.card__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card__text {
    font-size: 15px;
    color: #555;
}

.card::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 100%;
    background: #1d9d85;
    z-index: 0;
    transition: bottom 0.4s ease;
}

.card--hoverable:hover::before {
    bottom: 0;
}

.card--hoverable:hover .card__content {
    color: #fff;
}

.card--hoverable:hover .card__text {
    color: #eee;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        width: 100%;
        height: auto;
    }

    .card__image-wrapper {
        height: 180px;
    }
}