:root {
	--button-color: #657DB2;
}

/* Global Value */
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	font-size: 10px;
	font-family: '微軟正黑體';
	scroll-behavior: smooth;
}

p {
	font-size: 1.8rem;
	color: black;
	padding-bottom: 1rem;
	line-height: 3rem;
	letter-spacing: 0.05rem;
}

h1 {
	font-size: 3rem;
	color: black;
	padding-bottom: 1rem;
	line-height: 3rem;
	letter-spacing: 0.05rem;
}

h2 {
	font-size: 2.5rem;
	color: black;
	padding-bottom: 1rem;
	line-height: 3rem;
	letter-spacing: 0.05rem;
}

h3 {
	font-size: 2rem;
	color: black;
	padding-bottom: 1rem;
	line-height: 3rem;
	letter-spacing: 0.05rem;
}

a {
	text-decoration: none;
}

img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* Content */
.contain {
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-title {
	font-size: 3rem;
	margin-bottom: 2rem;
	letter-spacing: 0.05rem;
	text-align: center;
}

/* Header section */
.logo-img img {
	height: auto;
	max-width: 250px;
	content: url("../img/logo.png");
}

#header {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100vw;
	height: auto;
	transition: top 0.3s;
}

#header .header {
	min-height: 10vh;
	background-color: rgba(255, 255, 255, 0.974);
	box-shadow: 0 0 10px #e1e5ee;
}

#header .nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	max-width: 90%;
	padding: 0 10px;
}

/* Mobile Navigation Bar*/
#header .nav-list ul {
	list-style: none;
	position: fixed;
	background-color: #ffffff;
	width: 100vw;
	height: 100vh;
	left: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	overflow: hidden;
	transition: 0.5s ease left;
}

#header .nav-list ul.active {
	left: 0%;
}

#header .nav-list ul a {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: 0.2rem;
	text-decoration: none;
	color: rgb(0, 0, 0);
	text-transform: uppercase;
	padding: 20px;
	display: block;
}

#header .nav-list ul a::after {
	content: attr(data-after);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	color: rgba(255, 255, 255, 0.021);
	font-size: 13rem;
	letter-spacing: 50px;
	z-index: -1;
	transition: 0.3s ease letter-spacing;
}

#header .nav-list ul li:hover a::after {
	transform: translate(-50%, -50%) scale(1);
	letter-spacing: initial;
}

#header .nav-list ul li:hover a {
	color: var(--button-color);
}

#header .hamburger {
	height: 60px;
	width: 60px;
	display: inline-block;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(0.8);
}

#header .hamburger .bar {
	height: 2px;
	width: 30px;
	position: relative;
	background-color: rgb(0, 0, 0);
	z-index: -1;
}

#header .hamburger .bar::after,
#header .hamburger .bar::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	background-color: rgb(0, 0, 0);
	transition: 0.3s ease;
	transition-property: top, bottom;
}

#header .hamburger .bar::after {
	top: 8px;
}

#header .hamburger .bar::before {
	bottom: 8px;
}

#header .hamburger.active .bar::before {
	bottom: 0;
}

#header .hamburger.active .bar::after {
	top: 0;
}

/* Navigation bar item underline*/
#header .nav-list .nav_item {
	list-style: none;
	font-weight: bold;
	position: relative;
	cursor: pointer;
}

#header .nav-list .nav_item::after {
	content: "";
	width: 0;
	height: 0.3rem;
	border-radius: 0.2rem;
	position: absolute;
	left: 1rem;
	bottom: 0.8rem;
	background-color: var(--button-color);
	transition: width 200ms ease-in;
}

#header .nav-list .nav_item:hover::after,
#header .nav-list .nav_item:focus::after {
	width: 80%;
}
/* End Navigation bar item underline*/
/* End Header section */

/* Hero Section */
.hero-box {
	position: absolute;
	left: 10%;
	margin: 10px;
	padding: 50px 100px;
	max-width: 1000px;
}

.hero-box h1 {
	font-size: 6rem;
	color: rgb(255, 255, 255);
	margin-bottom: 40px;
	text-transform: uppercase;
	align-items: center;
	font-weight: bold;
}

.hero-box h2 {
	font-size: 2.5rem;
	color: rgb(255, 255, 255);
	margin-bottom: 40px;
	text-transform: uppercase;
	align-items: center;
	font-weight: normal;
}

.container {
	min-height: 100vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cta {
	display: inline-block;
	padding: 15px 42px;
	color: rgb(0, 0, 0);
	background-color: white;
	border: 1px solid white;
	font-size: 2rem;
	text-transform: uppercase;
	letter-spacing: 0.1rem;
	transition: 0.3s ease;
	transition-property: background-color, color;
	border-radius: 1%;
}

.cta:hover {
	color: rgb(255, 255, 255);
	border: 1px solid white;
	background-color: transparent;
}

#hero {
	background-image: url(./img/heroBlue.jpg);
	background-size: cover;
	background-position: top center;
	position: relative;
	z-index: 1;
}

#hero .hero {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 50px;
	justify-content: flex-start;
}

/* End Hero Section */

/* Banner Sectino*/
#herobar {
	background-image: url(../img/heroBlue_bar.jpg);
	min-height: 30vh;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#herobar h1 {
	letter-spacing: 3px;
	font-size: 4rem;
	color: rgb(255, 255, 255);
	margin-top: 100px;
	text-transform: uppercase;
	align-items: center;
	font-weight: normal;
}

/* End banner Section*/

/* Multi-Functional Services Section */
.back {
	background-color: #F2F2F2;
}

#services .services {
	flex-direction: column;
	text-align: center;
	max-width: 1300px;
	margin: 0 auto;
	padding: 50px 0;
}

#services .service-top {
	margin: 0 auto;
	width: 50%
}

#services .service-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 80%;
}

#services .service-item {
	flex-basis: 22%;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	padding: 10px;
	margin: 1.5%;
	position: relative;
	z-index: 1;
	overflow: hidden;
	align-items: center;
}


#services .service-bottom .icon {
	height: auto;
	width: auto;
	margin-bottom: 20px;
}

#services .service-item h2 {
	font-size: 2rem;
	text-transform: uppercase;
	align-items: center;
}

#services .service-column h3 {
	font-size: 1.8rem;
	text-transform: uppercase;
	align-items: center;
	margin-bottom: 10px;
	margin-top: 15px;
	font-weight: normal;
}

#services .service-item p {
	color: rgb(11, 11, 11);
	align-items: center;
}

#services .service-top p {
	color: rgb(11, 11, 11);
	align-items: center;
}

#services .service-row {
	margin-top: 0;
}

#services .service-row::after {
	content: "";
	display: table;
	clear: both;
}

#services .service-column {
	float: left;
	padding: 10px;
	width: 25%;
}
#services .service-column2 {
	float: left;
	padding: 10px;
	width: 50%;
}

#services .service-column .icon {
	flex-basis: auto;
	overflow: hidden;
	position: static;
}

#services .service-column h2 {
	font-size: 2rem;
	color: rgb(0, 0, 0);
	text-transform: uppercase;
	align-items: center;
}
/* End Services Section */


/* Projects section */
#projects .projects {
	flex-direction: column;
	max-width: 1500px;
	margin: 0 auto;
}
#projects .projects2 {
	flex-direction: column;
	max-width: 1275px;
	margin: 0 auto;
}

#projects .all-projects {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#projects .project-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	margin-top: 5%;
	width: 100%;
	border-radius: 0;
	overflow: hidden;
}

#projects .project-item2 {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin-top: 5%;
	width: 100%;
	border-radius: 0;
	overflow: hidden;
}

#projects .project-item:nth-child(even) {
	flex-direction: row-reverse;
}

#projects .project-info {
	flex-basis: 50%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
}

#projects .project-info1 {
	padding-right: 10%;
	flex-basis: 50%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
}
#projects .project-info2 {
	padding-left: 10%;
	flex-basis: 50%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
}

#projects .project-info h1,
#projects .project-info1 h1,
#projects .project-info2 h1 {
	font-size: 2rem;
	font-weight: 800;
}

#projects .project-info h2,
#projects .project-info1 h2,
#projects .project-info2 h2 {
	font-size: 1.8rem;
	font-weight: 500;
	margin-top: 10px;
}

#projects .project-img {
	flex-basis: 40%;
	overflow: hidden;
	position: relative;
	height: 270px;
}

/* End Projects section */

/* FAQ Section */
.faq-heading {
	font-size: 4rem;
	border-bottom: #777;
	padding: 10px 0px;
	text-align: center;
}

.faq-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	margin-top: 3%;
	margin-bottom: 5%;
}

.hr-line {
	width: 70%;
	margin: auto;

}

.faq-page {
	cursor: pointer;
	padding: 20px 20px;
	max-width: 70%;
	border: none;
	outline: none;
	transition: 0.4s;
	margin: auto;
	font-weight: bold;
}

.faq-body {
	margin: auto;
	/* text-align: center; */
	max-width: 70%;
	padding: 20px 20px;
	display: none;

}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.faq-container .active,
.faq-page:hover {
	background-color: #F9F9F9;
}

/* Style the faq-page panel. Note: hidden by default */
.faq-page:after {
	content: '\02795';
	/* Unicode character for "plus" sign (+) */
	font-size: 13px;
	color: #777;
	float: right;
	margin-left: 5px;
}

.faq-container .active:after {
	content: "\2796";
	/* Unicode character for "minus" sign (-) */
}

/* Text Over Image */
.textOverImage {
	width: auto;
	height: auto;
	display: inline-block;
	background-size: cover;
	position: relative;
	cursor: pointer;
	overflow: hidden;
}

.textOverImage>input {
	display: none;
}

.textOverImage>div,
.textOverImage>h2 {
	background-color: rgba(255, 255, 255, 0.8);
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	opacity: 0;
	transition: .3s;
}

.textOverImage:hover>h2,
.textOverImage>input:checked+h2 {
	opacity: 1;
	text-align: center;
}

/* Whatsapp floating button */
.floating {
	position: fixed;
	width: 50px;
	height: 50px;
	bottom: 20px;
	right: 20px;
	background-color: #25d366;
	color: #fff;
	border-radius: 50px;
	text-align: center;
	font-size: 35px;
	z-index: 100;
}
.floating:hover {
	box-shadow: 0px 0px 20px rgba(141, 141, 141, 0.625);
	color: #fff;
}

.fab-icon {
	margin-top: 16px;
}


/* Contact Section*/
.contact {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 20px;
	padding-bottom: 50px;
}

.contact .content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.contact .content .left-side {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
	position: relative;
}

.contact .left-side .details {
	margin: 14px;
	text-align: center;
}

.contact .left-side .details i {
	font-size: 30px;
	color: #0d3a9c;
	margin-bottom: 10px;
}

.contact .left-side .details .topic {
	font-size: 18px;
	font-weight: 500;
}

.contact .left-side .details .text-one {
	font-size: 16px;
	color: #000000;
}

.container .content .right-side {
	width: 50%;
}
/* End Contact Section */

/* Privacy & Terms */
#terms .terms-content {
	width: 1200px;
	padding: 50px;
	margin-top: 100px;
	margin-bottom: 100px;
}

#terms .terms-content h1 {
	font-size: 2rem;
	margin-top: 20px;
}
/* End Privacy & Terms*/

/* Footer */
#footer {
	background-color: #121315;
	color: #a7a7a7;
	font-size: 1.4em;
	text-align: left;
}

#footer * {
	box-sizing: border-box;
	border: none;
	outline: none;
}

#footer .footer_row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: stretch;
	padding: 2% 20%;
}

#footer .footer_column {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 10% 10%;
}

#footer .footer_column h3 {
	width: 100%;
	text-align: left;
	color: white;
	font-size: 1.4em;
	white-space: nowrap;
}

#footer .footer_column ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	padding: 0;
	margin: 0;
}

#footer .footer_column li:not(:first-child) {
	margin-top: 0.8em;
}

#footer .social_row {
	display: grid;
	grid-template-columns: 50px 50px 50px;
	align-items: stretch;
}

#footer .social_column {
	width: 50%;
	display: flex;
	flex-direction: column;
	padding: 10% 10%;
}

#footer a {
	color: #a7a7a7;
	text-decoration: none;
}

#footer a:hover {
	color: #ffffff;
}

#footer p {
	text-align: justify;
	line-height: 2;
	margin: 0;
	font-size: 1.4em;
	color: #a7a7a7;
}

#footer button {
	background-color: var(--button-color);
	color: #ffffff;
}

#footer div.social {
	display: flex;
	justify-content: space-around;
	font-size: 2.4em;
	flex-direction: row;
	margin-top: 0.5rem;
}

#footer .social i {
	color: #bac6d9;
}

#footer .copyright {
	padding: 0.3em 1em;
	background-color: #25262e;
}

#footer .copyright p {
	font-size: 0.9em;
	text-align: center;
	color: #cfd2d6;
}

#footer .footer-menu {
	text-align: center;
	margin-top: 10px;
}

#footer .footer-menu a {
	color: #cfd2d6;
	padding: 6px;
	text-decoration: none;
}
/* End Footer */


/* Responsive for Mobile and Tablet */
@media screen and (max-width: 850px) {

	/* Hero Banner */
	#herobar h1{
		letter-spacing: 2px;
		font-size: 3rem;
		margin-top: 80px;
	}

	/* Logo */
	.logo-img img {
		height: auto;
		max-width: 200px;
		/* content: url("./img/MobileLogo.png"); */
	}

	/* Navigation Bar */
	#header .nav-bar {
		max-width: 100%;
	}

	/* Hero Header */
	.hero-box {
		position: absolute;
		text-align: center;
		margin: 10px;
		padding: 50px;
	}

	.hero-box h1 {
		font-size: 4.5rem;
	}

	.hero-box h2 {
		font-size: 2rem;
	}

	/* Project Section */
	#projects .project-item,
	#projects .project-item2 {
		flex-direction: column;
		width: 80%;
	}
	#projects .project-info {
		padding-top: 5%;
	}
	#projects .project-info1 {
		padding-right: 0%;
		padding-top: 5%;
	}
	#projects .project-info2 {
		padding-left: 0%;
		padding-top: 5%;
	}

	#projects .project-item:nth-child(even) {
		flex-direction: column;
	}

	/* Footer */
	#footer .footer_row {
		padding: 0%;
		grid-template-columns: 1fr;
	}

	/* Grid Column */
	#services .service-column {
		width: 100%;
		padding: 5% 10%;
	}
	#services .service-column2 {
		width: 100%;
		padding: 5% 10%;
	}

	/* FAQ */
	.faq-page {
		max-width: 80%;
	}
	
	.faq-body {
		max-width: 80%;
	
	}

	/* Contact */
	.contact {
		height: 100%;
	}

	.contact .content {
		flex-direction: column-reverse;
	}

	.contact .content .left-side {
		width: 80%;
		flex-direction: row;
		justify-content: center;
		flex-wrap: wrap;
	}

	.contact .content .left-side::before {
		display: none;
	}

	.contact .content .right-side {
		overflow: hidden;
		margin-left: 0;
	}

	#services .service-top {
		width: 80%;
	}

	#services .service-bottom .service-item {
		flex-basis: 100%;
		margin: 10px 10px;
	}
}

/* End Responsive for Mobile and Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {

	/* header */
	#header .hamburger {
		display: none;
	}

	#header .nav-list ul {
		position: initial;
		display: block;
		height: auto;
		width: fit-content;
		background-color: transparent;
	}

	#header .nav-list ul li {
		display: inline-block;
	}

	#header .nav-list ul li a {
		font-size: 1.8rem;
	}

	#header .nav-list ul a:after {
		display: none;
	}
	/* End header */
}

/* End  Media Query For Desktop */

