@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@300;400;500;700&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Anuphan", sans-serif !important;
	scroll-behavior: smooth;
	list-style: none;
	text-decoration: none !important;
}

header{
	width: 80%;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	border-radius: 0 0 10px 10px;
	margin: 0 auto;
}
.logo a{
	color: #000;
	font-weight: 700;
	font-size: 2.0rem;
}
nav{
	margin-top: 17px
}
nav .logo{
	display: none;
}
nav ul{
	display: flex;
}
nav ul li a{
	color: #000;
	display: block;
	margin: 0 2px;
	font-size: 1.1rem;
	padding: 10px 20px;
	font-weight: 500;
	border-radius: 1.5rem;
}
nav ul li a:hover{
	color: #fff;
	transition-duration: 0.3s;
	background: #2A4F96;
}
.hamburger{
	display: none;
	height: fit-content;
	cursor: pointer;
	padding: 10px 20px;
	border-radius: 1.5rem;
	transition: 0.3s;
}
.hamburger:hover{
	background: #e0e0e0;
}
.hamburger div {
	width: 30px;
	height: 2px;
	margin: 6px 0;
	background: #000;
}
@media only screen and (max-width: 1100px) {
	header{
		width: 90%;
		padding: 0 20px;
	}
	nav{
		position: absolute;
		left: -300px;
		top: 0;
		z-index: 999;
		width: 280px;
		height: 100vh;
		background-color: #fff;
		transition: 0.3s;
		box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.05);
	}
	#nav_check:checked ~ nav{
		left: 0;
	}
	nav .logo{
		display: block;
		height: 70px;
		display: flex;
		align-items: center;
		margin-left: 30px;
	}
	nav ul li a{
		margin-bottom: 5px;
		padding: 10px 15px;
		border-radius: 5px;
	}
	nav ul{
		display: block;
		padding: 0 20px;
		margin-top: 30px;
	}
	.hamburger{
		display: block;
	}
}

section{
	padding: 90px 13%;
}
.home{
	width: 100%;
	min-height: 80vh;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1.5rem;
	align-items: center;
	margin-top: -70px;
	background-color: #EAF3FA;
}
.home-img img{
	max-width: 100%;
	width: 600px;
	height: auto;
}
.home-text{
	margin-top: 50px;
}
.home-text h1{
	font-size: 3.0rem;
	font-weight: 700;
}
.home-text p{
	font-weight: 300;
	line-height: 1.7;
	color: #707070;
	margin: 1rem 0 2rem;
}
.home-text .btn{
	display: inline-block;
	padding: 10px 20px;
	border: #FA9746 solid 1.5px;
	border-radius: 1.5rem;
	color: #fff;
	background-color: #FA9746; 
}
.home-text .btn:hover{
	transform: scale(1.1) translateY(5px);
	transition: 0.3s;
	background-color: #2A4F96;
	color: #fff;
	border: none;
}

.message{
	margin-top: -50px;
}
.title01{
	font-weight: 700;
}
form{
	margin-top: 50px
}
.card-body{
	margin-top: -50px;
}
.card-text{
	text-align: center;
	font-weight: 700;
}
.card-lowtext01{
	text-align: center;
	margin-top: 20px;
}
.card-lowtext02{
	text-align: center;
	margin-top: -10px;
}
.icons{
	display: flex;
	justify-content: space-around;
}

.send-btn{
	display: inline-block;
	padding: 10px 20px;
	border: #000 solid 1.5px;
	border-radius: 1.5rem;
	color: #000;
	margin: 1.0rem 0rem 0rem 0rem;
	background-color: #fff;
}
.send-btn:hover{
	transform: scale(1.1) translateY(5px);
	transition: 0.3s;
	background-color: #2A4F96;
	color: #fff;
	border: none;
}

#contact{
	margin-top: -40px;
}
.main{
	display: flex;
	flex-wrap: wrap;
}
.footer{
	padding: 10px 0;
}
.col01{
	width: 25%;
}
.col01 h4{
	font-size: 1.1rem;
	margin-bottom: 25px;
	position: relative;
}
.col01 h4::before{
	content: "";
	position: absolute;
	height: 2px;
	width: 50px;
	left: 0;
	bottom: -8px;
	background: #2A4F96;
}
.col01 ul li:not(last-child) {
	margin-bottom: 15px;
}
.col01 ul li a{
	color: #707070;
	display: block;
	transition: 0.4s;
	margin-left: -30px;
}
.col01 ul li a:hover{
	color: #2A4F96;
	transform: translateX(10px);
}
.col01 .social{
	width: 220px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.col01 .social a{
	height: 40px;
	width: 40px;
	background: #D8D8D8;
	color: #000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	border-radius: 50%;
	transition: 0.4s;
}
.col01 .social a:hover{
	background: #2A4F96;
	color: #fff;
	transform: scale(1.2);
}

@media (max-width: 1140px) {
	section{
		padding: 50px 8%;
	}
	#menu-icon{
		display: initial;
		color: #000;
	}
	header .navbar{
		position: absolute;
		top: -400px;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		text-align: center;
		background: #707070;
		transition: 0.3s;
	}
	header .navbar .active{
		top: 70px;
	}
	.navbar a{
		padding: 1.5rem;
		display: block;
	}
	.col01{
		width: 50%;
		margin-bottom: 10px;
	}
}

@media (max-width: 720px) {
	header{
		padding: 10px 16px;
	}
	.home{
		grid-template-columns: 1fr;
		text-align: center;
	}
	section{
		padding: 100px 7%;
	}
}

@media (max-width: 575px) {
	.col01{
		width: 100%;
	}
}








