/*
Theme Name: Seed Spring
Theme URI: https://spring.jabont.com/
Author: Jabont
Author URI: https://jabont.com
Description: Starter Theme
Version: 2.0.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spring
Tags: featured-images, custom-menu
*/

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

This theme use SCSS, please check

1. css/scss/_variables.scss - for some colors & styles.
2. css/scss/mobile.scss - will be compiled to css/mobile.css and used for mobile version.
3. css/scss/desktop.scss - will be compiled to css/desktop.css and used for desktop version.
4. If you set $GLOBALS['s_style_css'] in functions.php to 'enable', you can add CSS to this file to override all CSS.
    
=========================================== 
*/
/*Jayss Edit*/
:root{
	--colophon-bg:#000;
	--footbar-bg:var(--ci3);
}

@media (min-width: 992px){
	.cont,.cont-pd{
		max-width: 990px;
		padding-left: 30px; 
		padding-right: 30px;
	}
}
@media (min-width: 1170px){
	.cont,.cont-pd{
		max-width: 1170px;
		padding-left: 30px; 
		padding-right: 30px;
	}
}

@media (min-width: 992px){
	.site-header a:hover {
		color: var(--link-hover);
	}
}
.site-branding img {
	transition: max-height .2s;
}
img.emoji {
	font-size: 1em;
}
p{
	line-height: 1.7;
}
.p-mg{
	margin-bottom: 1rem;
}
div#content {
	background-color: var(--bg-color);
}
#footbar,body{
	background-color:  var(--footbar-bg);
}
#footbar{
	color: #fff;
}
.site-footer{
	background-color: var(--colophon-bg);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content p,
.entry-content ol,
.entry-content ul{
	margin-bottom: 1rem;
}

.ffont .elementor-widget-heading .elementor-heading-title {
	font-family: var(--pmr-font);
}
.tfont{
	font-family: var(txt-font);
}

.site-nav-m.active .menu>li {
	width: 100%;
}
.site-nav-m .menu>li:nth-child(1) {
	margin-top: .75em;
}
.zoom-container {
	overflow: hidden;
	cursor: pointer;
}

.img-container{
	width: 100%;
	overflow: hidden;
}

.zoom-container img {
	width: 100%;
	transition: transform 0.3s ease;
}

.zoom-container:hover img {
	transform: scale(1.1);
}

.banner {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	width: auto;
	background-image: url(/wp-content/uploads/2025/10/2-scaled-e1759660561880.jpg);
}

.banner-text {
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 2.5rem;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 1px 1px 1px black;
	padding-top: 100px
}
.services-box{
	cursor: pointer;
	background-color: #222222b3;
	transition: .3s ease;
}
.services-box:hover{
	background-color: var(--ci1);
	transition: .3s ease;
	transform: scale(1.1);
}
.services-box .service-icon {
	transition: .3s ease;
}
.services-box:hover .service-icon{
	transform: scale(1.4);
	transition: .5s ease;
}
.services-box .service-title {
	font-weight: 600;
}
.services-box .service-text {
	font-weight: 100;
	transition: .1s ease;
}
.services-box:hover .service-text{
	font-weight: 400;
	transition: .1s ease;
}
.navigation_bar{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0px 40px; /* กำหนด padding เพื่อความสูง */
	z-index: 1000;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	box-sizing: border-box;
}
.navigation_bar ul {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}
.navigation_bar a {
	/* หรือสีที่ตัดกับพื้นหลัง */
	text-decoration: none;
	font-weight: bold;
}
body {
	margin: 0;
}

a, .banner-text {
	font-family: "Montserrat", sans-serif;
}
.category{
	text-decoration: none; /* เอาเส้นใต้ปกติออก */
	position: relative;
}
.category-text{
	color: black;
}
.category-text:hover{
	color: var(--ci1);
}
.category::after {
	content: '';                   /* สร้างเส้น */
	position: absolute;            /* วางเส้นใต้ให้เป็น absolute */
	bottom: 0;                     /* ให้เส้นอยู่ด้านล่างของข้อความ */
	left: 0;                       /* ให้เส้นเริ่มต้นจากด้านซ้าย */
	width: 0;                      /* เริ่มต้นด้วยความกว้างเป็น 0 */
	height: 5px;                   /* ความสูงของเส้น */
	background-color: #f39c12;     /* สีของเส้น */
	transition: width 0.3s ease;   /* ทำให้เส้นวิ่งเมื่อชี้เมาส์ */
}
/* เมื่อเมาส์ชี้ไปที่ลิงก์ */
.category-view:hover::after {
	width: 100%;                   /* เมื่อชี้เมาส์ เส้นจะวิ่งเต็มความกว้าง */
}

.category-view{
	text-decoration: none; /* เอาเส้นใต้ปกติออก */
	position: relative;
}
.category-view::after {
	content: '';                   /* สร้างเส้น */
	position: absolute;            /* วางเส้นใต้ให้เป็น absolute */
	bottom: 0;                     /* ให้เส้นอยู่ด้านล่างของข้อความ */
	left: 0;                       /* ให้เส้นเริ่มต้นจากด้านซ้าย */
	width: 0;                      /* เริ่มต้นด้วยความกว้างเป็น 0 */
	height: 2px;                   /* ความสูงของเส้น */
	background-color: #f39c12;     /* สีของเส้น */
	transition: width 0.3s ease;   /* ทำให้เส้นวิ่งเมื่อชี้เมาส์ */
}
/* เมื่อเมาส์ชี้ไปที่ลิงก์ */
.category-view:hover::after {
	width: 100%;                   /* เมื่อชี้เมาส์ เส้นจะวิ่งเต็มความกว้าง */
}

.project-card:hover .home-project-name{
	color: var(--ci1);
}
.read-more{
	color: #fff;
	background-color: var(--btn-bg);
	font-weight: bold;
	line-height: 1em;
	padding: .75em 1em;
	display: inline-block;
	border-radius: 0px;
	cursor: pointer;
	border: 0;
}
.read-more:hover{
	color: #fff !important;
}
.new-services{
	transition: .3s;
	font-weight: 500;
}
.new-services:hover{
	background-color: var(--ci1);
	transition: .3s;
	font-weight: 700;
}

.nf-form-fields-required{
	display: none;
}
#nf-field-4{
	width: 100%;
}
.form-shadow{
	box-shadow: 0px 0px 7px grey;
}
.service-icon{
	width: 100px;
}
.content-single-banner{
	width: auto;          /* กว้างสุดหน้าจอ */
	height: 300px;         /* สูง 400px ตามที่ต้องการ */
	display: flex;         /* ใช้ Flex เพื่อจัดกึ่งกลาง */
	flex-direction: column;
	align-items: center;   /* จัดกลางแนวตั้ง */
	justify-content: center; /* จัดกลางแนวนอน */
	text-align: center;    /* จัดข้อความกึ่งกลาง (กรณีหลายบรรทัด) */
	background: white;   /* สีพื้นอ่อน ๆ (ปรับได้) */
	box-sizing: border-box;
}
#nf-field-4{
	cursor: pointer;
	font-family: "Montserrat", sans-serif;
}
.nf-field-label .nf-label-span, .nf-field-label label{
	font-family: "Montserrat", sans-serif;
}
.transfrom-font{
	font-family: "Montserrat", sans-serif !important;
}
.text-link{
	color: white;
}
.text-link:hover{
	color: var(--ci1);
}
.single-banner{
	padding-top: 3rem;
}