*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Noto Sans Thai',sans-serif;
}

body{
background:#f5f5f5;
color:#333;
}

header{
background:#0b7d3b;
color:white;
padding:20px 0;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

nav{
display:flex;
justify-content:space-between;
align-items:center;
}

nav ul{
display:flex;
list-style:none;
gap:20px;
}

nav a{
color:white;
text-decoration:none;
font-weight:600;
}
/*
.hero{
background:url("https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80") center/cover;
height:500px;
display:flex;
align-items:center;
}

.hero-content{
background:rgba(0,0,0,.55);
padding:40px;
color:white;
border-radius:10px;
max-width:600px;
}

.hero h1{
font-size:48px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
margin-bottom:30px;
}
*/
.hero{
    position:relative;
    height:500px;
    overflow:hidden;
    display:flex;
    align-items:center;
}

.hero-slider{
    position:absolute;
    inset:0;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:relative;
    z-index:10;
    color:white;
    max-width:700px;
}

.hero-content h1{
    font-size:56px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:22px;
    margin-bottom:30px;
}

.btn{
display:inline-block;
padding:15px 30px;
background:#ffc107;
color:#000;
text-decoration:none;
border-radius:8px;
font-weight:bold;
}

section{
padding:70px 0;
}

.section-title{
text-align:center;
font-size:36px;
margin-bottom:40px;
color:#0b7d3b;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.1);
text-align:center;
}

.card img{
width:70px;
margin-bottom:15px;
}

.step{
background:#0b7d3b;
color:white;
padding:25px;
border-radius:10px;
}

.contact{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

input,textarea{
width:100%;
padding:15px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:5px;
}

button{
background:#0b7d3b;
color:white;
padding:15px;
border:none;
width:100%;
font-size:18px;
cursor:pointer;
border-radius:5px;
}

footer{
background:#222;
color:white;
padding:30px;
text-align:center;
margin-top:50px;
}

@media(max-width:768px){

.hero{
height:auto;
padding:80px 0;
}

.hero h1{
font-size:34px;
}

.contact{
grid-template-columns:1fr;
}

nav{
flex-direction:column;
gap:15px;
}

}