@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

 :root{
	--color-primary: #333;
	--color-secondary: #777;
	--color-background: #fff;
	--color-link: #333;
	--color-link-hover: #000;
	--color-border: #ccc;
 }


/*********************************************************************
 * General HTML tags
 *
 */

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*html {
	scroll-behavior: smooth;
}*/

html {
	scrollbar-gutter: stable;
}


body {
	margin: 0 auto; 
	padding: 0;
}
body.menu-open {
	overflow: hidden;
}

body {
	color: #444;
	font-family: 'Tajawal', sans-serif;
	font-size: 20px;
	line-height: 40px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Kanit', sans-serif;
}

img {
	max-width: 100%; 
}


.pw-container {
	width: 100%;
	max-width: 98%;
	margin: 0 auto;
	padding: 0 1.25rem;
	box-sizing: border-box;
}

/* pw-container max-width media queries all sizes */
@media (min-width: 480px) {
	.pw-container {
		max-width: 95%;
	}
}
@media (min-width: 768px) {
	.pw-container {
		max-width: 92%;
	}
}
/*@media (min-width: 1440px) {
	.pw-container {
		max-width: 90%;
	}
}
@media (min-width: 1920px) {
	.pw-container {
		max-width: 87%;
	}
}
@media (min-width: 2560px) {
	.pw-container {
		max-width: 85%;
	}
}*/


a {
	color: #333;
	text-decoration: none;
}
	a:hover,
	.nav a:hover {
		color: #000;
	}

.bi {
	line-height: 1;
	vertical-align: -0.125em;
}


/*********************************************************************
 * Top menu
 *
 */


#topmenu-banner {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	background-color: #fff;
	padding: 1em;
	height: 80px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: transform 0.3s ease-out;
}

/* Keep the logo container perfectly centered, regardless of side content widths. */
#topmenu-banner > div:first-of-type {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
}

#topmenu-banner > div:last-of-type {
	margin-left: auto;
	display: flex;
	align-items: center;
}

#topmenu-banner.scroll-hidden {
	transform: translateY(-100%);
	transition: transform 0.3s ease-in;
}
/* Hamburger toggle button */
#topmenu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 20px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}

#topmenu-menu-trigger,
#topmenu-search-trigger {
	background: none;
	border: 0;
	cursor: pointer;
	color: #333;
}

#topmenu-menu-trigger {
	margin-left: 16px;
	font: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	height: 20px;
	line-height: 1;
	/*text-transform: lowercase;*/
}

#topmenu-search-trigger {
	display: inline-flex;
	align-items: center;
	padding: 0;
	margin-right: 32px;
}

#topmenu-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: #333;
	border-radius: 2px;
	transform-origin: center;
	transition: background-color 0.25s ease,
	            transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
	            opacity 0.25s ease;
}

#topmenu-toggle.is-open span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}
#topmenu-toggle.is-open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}
#topmenu-toggle.is-open span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

span.topmenu-text-trigger {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1;
	color: #666;
}

.topmenu-bigicon{
	font-size: 24px;
	transition: all 0.25s ease;
}
.topmenu-bigicon:hover{
	color: #EE2C24;
	transform: scale(1.15);
}

/* Full-screen panel */
#topmenu-panel {
	position: fixed;
	inset: 0;
	background-color: #fff0f0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-1.5rem);
	transition: opacity 0.45s ease,
	            transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
	            visibility 0s linear 0.45s;
}
#topmenu-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.45s ease,
	            transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
	            visibility 0s linear 0s;
}

#topmenu-panel nav li {
	margin-bottom: 20px;
}

#topmenu-panel nav span:nth-child(1){
	display: inline;
	font-size: 42px;
	font-weight: 600;
	color: #666;
}

#topmenu-panel nav span:nth-child(2){
	display: inline-block;
	font-size: 24px;
	font-weight: 300;
	color: #666;
	/*margin-bottom: 20px;*/
}

@media (min-width: 950px) and (hover: hover) and (pointer: fine) {
	#topmenu-panel nav > ul > li > a {
		position: relative;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 4px 0px;
		/*overflow: hidden;*/
		isolation: isolate;
	}

	#topmenu-panel nav > ul > li > a::before {
		content: "";
		position: absolute;
		left: var(--hover-x, 50%);
		top: var(--hover-y, 50%);
		width: 110px;
		height: 110px;
		border-radius: 50%;
		background: rgba(51, 51, 51, 0.12);
		transform: translate(-50%, -50%) scale(0.2);
		opacity: 0;
		transition: transform 0.28s ease, opacity 0.22s ease;
		pointer-events: none;
		z-index: 0;
	}

	#topmenu-panel nav > ul > li > a:hover::before,
	#topmenu-panel nav > ul > li > a:focus-visible::before {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}

	#topmenu-panel nav > ul > li > a > * {
		position: relative;
		z-index: 1;
	}
}

#topmenu-panel .start-project-button{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 0;
	overflow: hidden;
	isolation: isolate;
	font-family: 'Kanit', sans-serif;
	font-weight: 300;
	padding: 12px 24px;
	color: #000;
	border: 1px solid #333;
	font-size: 16px;
	border-radius: 4px;
	text-decoration: none;
	transition: color 0.25s ease, border-color 0.28s ease;
	background-color: white;
}

#topmenu-panel .start-project-button::before {
	content: "";
	position: absolute;
	z-index: -2;
	left: -50%;
	top: -50%;
	width: 200%;
	height: 200%;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-image: conic-gradient(transparent, #333333, #8f8f8f, #333333, transparent 35%);
	opacity: 0;
	transition: opacity 0.28s ease;
}

#topmenu-panel .start-project-button::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 1px;
	top: 1px;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	background: #fff;
	border-radius: 3px;
}

@keyframes start-project-conic-rotate {
	100% {
		transform: rotate(1turn);
	}
}

@media (hover: hover) and (pointer: fine) {
	#topmenu-panel .start-project-button:hover,
	#topmenu-panel .start-project-button:focus-visible {
		border-color: transparent;
	}

	#topmenu-panel .start-project-button:hover::before,
	#topmenu-panel .start-project-button:focus-visible::before {
		opacity: 1;
		animation: start-project-conic-rotate 1.4s linear infinite;
	}
}

/* Panel grid */
.panel-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	width: 100%;
	max-width: 960px;
	padding: 1.5rem 1rem;
	box-sizing: border-box;
}

#topmenu-panel form.search {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	width: 100%;
}

#topmenu-panel form.search input[type="text"] {
	min-width: 0;
	font-family: 'Kanit', sans-serif;
	font-weight: 300;
	width: 100%;
	padding: 16px 16px;
	height: 48px;
}

#topmenu-panel form.search input[type="text"]::placeholder {
	color: #b3b3b3;
	opacity: 1;
}

#topmenu-panel form.search button {
	white-space: nowrap;
	padding: 16px 32px;
	height: 48px;
}

#topmenu-panel ul {
	list-style: none;
}

#topmenu-panel .quick-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

#topmenu-panel .quick-links i {
	font-size: 0.95em;
	line-height: 1;
}

@media (min-width: 950px) {
	.panel-row {
		grid-template-columns: 2fr 1fr 1fr;
		align-items: start;
		gap: 2rem;
	}

	.panel-row > .panel-col:only-child {
		grid-column: 1 / -1;
	}
}


#topmenu-banner #bullet {
	width: 50px;
	height: 50px;
}
#topmenu-banner #logo{
	width: 255px;
	height: 50px;
}

#topmenu-banner #bullet a,
#topmenu-banner #logo a {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	height: 100%;
	transition: all 0.45s ease;
}

#topmenu-banner #bullet a:hover,
#topmenu-banner #logo a:hover {
	transform: scale(1.1);
}

#topmenu-banner #bullet img,
#topmenu-banner #logo img {
	display: block;
	max-height: 100%;
	width: auto;
}

/* logo if screen bigger than 767px */
@media (min-width: 768px) {
	#topmenu-banner #logo {
		display: block;
	}
	#topmenu-banner #bullet {
		display: none;
	}
}
/* bullet if screen smaller than 950px */
@media (max-width: 949px) {
	#topmenu-banner {
		height: 60px;
	}
	#topmenu-banner #logo {
		display: none;
	}
	#topmenu-banner #bullet {
		display: block;
	}

	#topmenu-panel {
		top: 60px;
		bottom: 0;
		align-items: flex-start;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}

	#topmenu-panel > div {
		width: 100%;
	}

	#topmenu-panel .panel-row {
		padding: 1rem 1rem;
		gap: 1.5rem;
	}

	#topmenu-panel form.search {
		grid-template-columns: 1fr auto;
		width: 100%;
	}

	#topmenu-panel form.search label {
		display: none;
	}

	#topmenu-panel form.search input[type="text"] {
		min-width: 0;
		width: 100%;
		padding: 6px 6px;
	}

	#topmenu-panel form.search button {
		margin-left: 8px;
		padding: 6px 24px;
	}
}



form.search {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
}

form.search label {
	font-size: 16px;
	color: #666;
	margin-right: 16px;
}
form.search input[type="text"] {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 18px;
}
form.search button {
	padding: 15px;
	border: none;
	border-radius: 4px;
	background-color: #333;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	margin-left: 16px;
}
form.search button:hover {
	background-color: #000;
}


.social-media i{
	font-size: 32px;
	margin-right: 8px;
}

.social-media span {
	display: inline-flex;
	align-items: center;
	margin-right: 32px;
	font-size: 16px;
}

/*********************************************************************
 * Footer
 *
 */

#footer {
	position: relative;
	box-shadow: 1px 0px 3px rgba(0, 0, 0, 0.1);
}

#footer .menu-table {
	display: table;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

/* cells should vertically align top */
#footer .menu-table td {
	display: table-cell;
	vertical-align: top;
	box-sizing: border-box;
}

#footer .menu-table ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .menu-table a {
	display: inline-block;
	color: #333;
	text-decoration: none;
	font-family: 'Tajawal', sans-serif;
	font-weight: 300;
	font-size: 32px;
	border-bottom: #CCC solid 1px;
	margin-bottom: 15px;
}

#footer .footer-contact-links{
	margin-top: 60px;
}

#footer .footer-contact-links a {
	display: inline-block;
	font-size: 24px;
	text-decoration: none;
	font-family: 'Tajawal', sans-serif;
	font-weight: 300;
	border-bottom: #CCC solid 1px;
	margin-bottom: 15px;
}

#footer .footer-contact-item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 15px;
}

#footer .footer-contact-item i {
	display: inline-block;
	font-size: 20px;
	line-height: 1;
	color: #666;
	transform: translateY(0.05em);
}

#footer .footer-contact-item a {
	line-height: 1.1;
	margin-bottom: 0;
}

@media (min-width: 950px) and (hover: hover) and (pointer: fine) {
	#footer .menu-table a,
	#footer .footer-contact-links a {
		position: relative;
		display: inline-flex;
		align-items: center;
		isolation: isolate;
		z-index: 0;
		padding: 2px 4px;
		margin: 0 -4px 15px;
	}

	#footer .menu-table a::before,
	#footer .footer-contact-links a::before {
		content: "";
		position: absolute;
		left: var(--hover-x, 50%);
		top: var(--hover-y, 50%);
		width: 92px;
		height: 92px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.95);
		border: 1px solid #b6b6b6;
		transform: translate(-50%, -50%) scale(0.2);
		opacity: 0;
		transition: transform 0.28s ease, opacity 0.22s ease;
		pointer-events: none;
		z-index: -1;
	}

	#footer .menu-table a:hover::before,
	#footer .menu-table a:focus-visible::before,
	#footer .footer-contact-links a:hover::before,
	#footer .footer-contact-links a:focus-visible::before {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
	}
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.footer-col {
	flex: 0 0 50%;
	max-width: 50%;
	box-sizing: border-box;
	/*padding: 90px 60px;*/
}

.footer-big-talk {
	font-family: 'Kanit', sans-serif;
	font-weight: 500;
	font-size: 4em;
	color: #333;
	margin-bottom: 12px;
}

.footer-big-talk-sub {
	font-family: 'Tajawal', sans-serif;
	font-weight: 300;
	font-size: 1.5em;
	color: #777;
	margin-bottom: 32px;
	margin-top: 60px;
}

@media (max-width: 767px) {
	.footer-col {
		flex: 0 0 100%;
		max-width: 100%;
		/*padding: 30px 15px;*/
	}
	.footer-big-talk {
		font-size: 2em;
	}
	.footer-big-talk-sub {
		font-size: 1em;
		margin-top: 30px;
	}
	#footer .menu-table a {
		font-size: 20px;
	}
	#footer .footer-contact-links{
		margin-top: 40px;
	}
}




/*********************************************************************
 * Back to top button
 *
 */



#back-to-top-button {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	cursor: pointer;
	z-index: 1100;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

#back-to-top-button.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0s;
}

#back-to-top-button:hover,
#back-to-top-button:focus-visible {
	transform: translateY(-1px);
}

#back-to-top-button:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.back-to-top-chevron {
	width: 12px;
	height: 12px;
	border-top: 2px solid #000;
	border-left: 2px solid #000;
	transform: translateY(2px) rotate(45deg);
	display: block;
}

@media (max-width: 767px) {
	#back-to-top-button {
		right: 16px;
		bottom: 16px;
		width: 48px;
		height: 48px;
	}
}
