:root {
	--franca: 'Franca';
	--lexend: 'Lexend Deca';
	--frank: 'Frank Ruhl Libre';
	--imageopacity: 0.7;
    --transition: all .3s;
}

html, body {height: 100%;}
body {font-family: var(--lexend); font-weight: 300;}
#wrap {min-height: 100%;}
#main {overflow:auto; padding-bottom: 220px;}

.inline-container {padding-left: 5%; padding-right: 5%;}
a {text-decoration: none; transition: var(--transition);}
a:hover {text-decoration: none;}
img {max-width: 100%; transition: var(--transition);}
a:hover img {opacity: var(--imageopacity);}
p {font-size: 17px; font-weight: 300;}
.icon-loading {display: none;}
.section {position: relative;}
.section-title {font-size: 13px; color: #da7959; line-height: 1em; text-align: center; letter-spacing: 2px; margin-bottom: 20px;}
.section-title-big {font-family: var(--frank); font-size: 58px; color: #002747; line-height: 1em; margin-bottom: 50px; text-align: center;}

#header {height: 160px; position: absolute; top: 0; left: 0; right: 0; z-index: 1;}
.logo {max-width: 75px;}
.navbar-wrapper {height: 100%;}
.nav-item {letter-spacing: 2px; font-size: 13px; font-weight: 500;}
.nav-item.btn-nav-mobile-wrapper {display: none;}
.btn-nav-mobile {width: 30px; height: 25px; background: url('../images/btn-nav-mobile.png') no-repeat center center; background-size: 100% 100%; cursor: pointer;}
.nav-item a {color: #002747; position: relative;}
.nav-active {transition: var(--transition); position: absolute; top: 150%; left: 50%; transform: translateX(-50%); width: 0; height: 8px; background: url('../images/nav-active.png') no-repeat center center; background-size: 100% auto;}
.nav-item a:hover .nav-active {width: 130%;}

.nav-mobile-black-bg {position: fixed; background: rgba(0, 0, 0, 0.5); left: 0; right: 0; bottom: 0; top: 0; z-index: 10; display: none;}
.nav-mobile-box {background: #e8d6c8; width: 90%; position: fixed; right: 0; top: 0; bottom: 0; border-radius: 30px 0 0 30px; padding: 30px 10% 60px 0; overflow-y: auto;}
.nav-mobile-close-wrapper {margin-bottom: 6vh;}
.nav-mobile-close {transition: var(--transition); cursor: pointer; width: 18px; height: 18px; background: url('../images/btn-nav-close-mobile.png') no-repeat 0 0; background-size: 100% 100%;}
.nav-mobile-close:hover {opacity: var(--imageopacity);}
.nav-mobile-item {letter-spacing: 2px; font-size: 13px; font-weight: 500; padding-left: 10%; position: relative;}
.nav-mobile-item a {color: #02294a;}
.nav-mobile-item-inner {border-bottom: 2px solid #bbb1a5; padding: 3vh 10% 3vh 0;}
.nav-active-mobile {position: absolute; top: 0; bottom: 0; left: 0; width: 8px; background: url('../images/nav-active-mobile.png') no-repeat 0 0; background-size: 100% 100%; display: none;}
.nav-mobile-item.active .nav-active-mobile {display: block;}

#section-title {padding: 270px 5% 235px 5%; background: url('../images/home-bg1.png') no-repeat 0 0; background-size: 100% 100%;}
.title-wrapper {max-width: 780px; width: 100%; margin: auto}
.button-next {position: absolute; bottom: 0; right: 10%; width: 76px; height: 65px; background: url('../images/btn-next.png') no-repeat 0 0; background-size: 100% 100%; cursor: pointer; transition: var(--transition);}
.button-next:hover {filter: brightness(120%)}
#section-title .section-title {font-size: 16px;}
#section-title .section-title-big {font-size: 72px}

#section-aboutus {display: grid; grid-auto-rows: 1fr; grid-template-columns: 50% 50%; margin-bottom: 80px;}
.aboutus-wrapper {position: relative; top: 50%; transform: translateY(-50%);}
.aboutus-left {margin-top: -70px;}
.aboutus-left img {width: 100%;}
.aboutus-right {padding-left: 5%; padding-right: 5%;}
.aboutus-right p {color: #6d6e71; max-width: 440px;}
.aboutus-right .section-title, .aboutus-right .section-title-big {text-align: left;}

.philosophy-top-section {padding: 125px 10% 145px 10%; background: url('../images/home-bg2.png') no-repeat 0 0; background-size: 100% 100%;}
#section-philosophy .section-title {color: #e2dacd;}
#section-philosophy .section-title-big {color: #ed927f;}
#section-philosophy p {color: #e7d7c7;}
.philosophy-bottom-section {background-color: #002747; position: relative; padding-bottom: 75px;}
.philosophy-box {position: relative; width: 80%; margin: auto; top: -50px;}
.philosophy-wrapper {background: #FFF; border-radius: 20px 20px 0 0;}
.philosophy-item {width: 33.33%; border-right: 2px solid #707b9c; padding: 20px 7% 0 7%; margin-top: 20px; margin-bottom: 40px;}
.philosophy-item-icon {margin-bottom: 10px;}
.philosophy-item-icon img {max-width: 75px;}
.philosophy-item-desc {font-size: 14px; font-weight: 500; color: #112945; line-height: 1.7em; position: relative;}
.philosophy-arrow-right {position: absolute; top: 4px; left: -16px; width: 8px; height: 13px; background: url('../images/icon-arrow-right.png') no-repeat 0 0; background-size: 100% 100%;}
.border-bottom-philosophy {height: 18px; width: 100%; background: url('../images/border-bottom-philosophy.png') no-repeat 0 0; background-size: 100% 100%; position: absolute; bottom: 0; left: 0;}

#section-purpose {border-radius: 20px 20px 20px 20px; overflow: hidden; position: relative; top: -20px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px));}
.purpose-left {position: relative; width: 50%; background-color: #e6d7c7; padding: 165px 5% 175px 5%;}
.purpose-left p {color: #6d6e71; max-width: 380px;}
.purpose-left .section-title {text-align: left;}
.purpose-left .section-title-big {text-align: left; margin-bottom: 35px;}
.purpose-arrow-right {width: 37px; height: 83px; background: url('../images/purpose-arrow-right.png') no-repeat 0 0; background-size: 100% 100%; position: absolute; left: calc(100% - 10px); top: 185px;}
.purpose-title-wrapper {max-width: 450px; position: relative; left: 50%; transform: translateX(-50%);}
.purpose-right {background: url('../images/purpose-img.jpg') no-repeat top center; width: 50%; background-size: cover;}

#footer {position: relative; margin-top: -220px; min-height: 220px; clear:both; padding-top: 20px; padding-bottom: 50px; border-bottom: 20px solid #e6d7c7;} 
#footer .inline-container {padding-left: 10%; padding-right: 10%;}
.footer-col {flex: 1;}
#footer-col-1 {flex: 1 1 250px;}
#footer-col-2 {flex: 1 1 40%; padding-left: 4.5%; padding-right: 2%;}
#footer-col-3 {flex: 1 1 60%; padding-left: 4.5%;}
.footer-col.with-border {border-right: 2px solid #e6d7c7;}
.contact-us-title {font-family: var(--lexend); font-size: 21px; color: #002747; letter-spacing: 2px; font-weight: 500;}
.contact-address {color: #6d6e71; font-size: 18px; font-weight: 300; margin-bottom: 5px;}
.contact-phone {color: #6d6e71; font-size: 17px;}
.contact-phone a {color: #6d6e71;}
.phone-symbol {font-size: 18px; color: #ed927f; font-weight: 500;}
.enquiry-label {font-size: 16px; color: #6d6e71;}
.enquiry-button {background-color: #002747; font-size: 13px; color: #FFF; letter-spacing: 2px; padding: 8px 20px; border-radius: 30px; display: inline-block; margin-bottom: 15px;}
.copyright {letter-spacing: 3px; font-weight: 500; font-size: 13px; color: #6d6e71;}
.copyright.mobile-version {display: none;}
.back-to-top {transition: var(--transition); cursor: pointer; position: absolute; top: -100px; right: 15%; width: 76px; height: 65px; background: url('../images/back-to-top.png') no-repeat 0 0; background-size: 100% 100%;}
.back-to-top:hover {filter: brightness(120%)}
.back-to-top.mobile-version {width: 41px; height: 35px; position: static; margin-left: auto;}
.back-to-top-mobile-wrapper {display: none; flex: 1;}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}

@media screen and (max-width: 1000px) {
	.section-title-big {font-size: 54px; margin-bottom: 45px;}

	#section-title .section-title-big {font-size: 68px;}
	#section-title {padding: 260px 5% 225px 5%;}

	.philosophy-box {width: 90%;}

	#footer .inline-container {padding-left: 5%; padding-right: 5%;}
	#footer-col-2, #footer-col-3 {padding-left: 4%;}
	.contact-address {font-size: 17px;}
	.contact-phone {font-size: 16px;}
	.copyright {font-size: 12px;}
}
  
@media screen and (max-width: 900px) {
	.section-title-big {font-size: 50px; margin-bottom: 40px;}

	.nav-item {font-size: 12px;}
	.nav-active {height: 6px;}
	.nav-item a:hover .nav-active {width: 120%;}

	#section-title {padding: 250px 5% 215px 5%;}
	#section-title .section-title-big {font-size: 64px;}

	.philosophy-item-desc {font-size: 13px;}

	#footer-col-2, #footer-col-3 {padding-left: 3.5%;}
	.contact-address {font-size: 16px;}
	.contact-phone {font-size: 15px;}
	.copyright {letter-spacing: 2px;}
}

@media screen and (max-width: 800px) {
	.section-title-big {font-size: 46px; margin-bottom: 35px;}

	.nav-item {font-size: 11px;}
	.nav-active {height: 4px;}
	.nav-item a:hover .nav-active {width: 110%;}

	#section-title {padding: 230px 5% 200px 5%;}
	#section-title .section-title-big {font-size: 60px;}

	.philosophy-item-desc {font-size: 12px;}

	#footer-col-2, #footer-col-3 {padding-left: 3%;}
	.contact-address {font-size: 15px;}
	.contact-phone {font-size: 14px;}
	.copyright {font-size: 11px;}
}

@media screen and (max-width: 700px) {
	.section-title-big {font-size: 42px; margin-bottom: 30px;}

	.nav-item {font-size: 10px;}
	.nav-active {height: 2px;}
	.nav-item a:hover .nav-active {width: 105%;}

	#section-title {padding: 220px 5% 190px 5%;}
	#section-title .section-title-big {font-size: 56px;}

	.philosophy-item-desc {font-size: 11px;}

	#footer-col-2, #footer-col-3 {padding-left: 2%;}
	.contact-address {font-size: 14px;}
	.contact-phone {font-size: 13px;}
	.copyright {letter-spacing: 1px;}
}

@media screen and (max-width: 600px) {
	#header {padding-left: 5%; padding-right: 5%;}
	.navbar-wrapper {justify-content: space-between !important;}
	.nav-item {display: none;}
	.nav-item-logo {display: block;}
	.nav-item.btn-nav-mobile-wrapper {display: block;}

	#section-title {padding: 210px 5% 200px 5%; background-size: cover; background-position: center center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));}
	#section-title .section-title-big {font-size: 52px;}
	.button-next {display: none;}

	#section-aboutus {display: flex; flex-direction: column;}
	.aboutus-wrapper {top: unset; transform: none; text-align: center;}
	.aboutus-right .section-title, .aboutus-right .section-title-big {text-align: center;}
	.aboutus-left {padding-left: 10%; padding-right: 10%; margin-bottom: 30px; margin-top: -150px;}
	.aboutus-left img {border-radius: 15px;}

	.philosophy-top-section {text-align: center; padding-bottom: 445px; background-size: cover; background-position: top center; padding-left: 5%; padding-right: 5%;}
	.philosophy-item-desc {font-size: 14px; width: 100%; display: flex; justify-content: start; align-items: start; margin-left: 50%; transform: translateX(-50%); max-width: 200px;}
	.philosophy-arrow-right {position: static; flex: 1 1 16px; margin-top: 5px; margin-right: 10px;}
	.philosophy-wrapper {flex-direction: column; max-width: 324px; margin: auto; border-radius: 20px;}
	.philosophy-item {width: 90%; margin-right: 5%; margin-left: 5%; border-right: 0; border-bottom: 2px solid #707b9c; padding-bottom: 30px; margin-top: 0;}
	.philosophy-item:first-child {margin-top: 20px;}
	.philosophy-item:last-child {border-bottom: 0;}
	.border-bottom-philosophy {max-width: 324px; left: 50%; transform: translateX(-50%); border-radius: 0 0 20px 20px;}
	.philosophy-item-icon {text-align: center;}
	.philosophy-box {top: -350px;}
	.philosophy-bottom-section {margin-bottom: -250px;}

	#section-purpose {flex-direction: column-reverse;}
	.purpose-left {width: 100%; padding: 155px 5% 170px 5%; text-align: center;}
	.purpose-right {width: 100%; height: 90vw;}
	.purpose-arrow-right {top: -57px; left: calc(50% - 18.5px); transform: rotate(270deg);}
	.purpose-left .section-title, .purpose-left .section-title-big {text-align: center;}

	.footer-content-wrapper {flex-direction: column;}
	.footer-col {flex: 1 1 100% !important; padding-left: 0 !important;}
	.footer-col.with-border {border: 0;}
	#footer-col-1 {border-bottom: 2px solid #e6d7c7; margin-bottom: 30px;}
	#footer-col-2 {margin-bottom: 30px;}
	#footer-col-3 {display: flex; align-items: center; margin-bottom: 40px; position: relative;}
	.contact-address {font-size: 18px; margin-bottom: 5px;}
	.contact-phone {font-size: 17px;}
	.copyright {font-size: 13px; letter-spacing: 3px; display: none;}
	.copyright.mobile-version {display: block;}
	.enquiry-label {width: 100px;}
	.enquiry-button {margin-bottom: 0; margin-left: 10px;}
	.back-to-top {display: none;}
	.back-to-top.mobile-version, .back-to-top-mobile-wrapper {display: block;}
}

@media screen and (max-width: 500px) {
	#section-title {padding: 200px 5% 210px 5%;}
	#section-title .section-title-big {font-size: 48px;}

	.purpose-left {padding: 145px 5% 165px 5%;}

	.copyright {font-size: 12px; letter-spacing: 2px;}
}

@media screen and (max-width: 450px) {
	#section-title {padding: 190px 5% 220px 5%;}
	#section-title .section-title-big {font-size: 44px;}
	
	.purpose-left {padding: 135px 5% 160px 5%;}

	.copyright {font-size: 11px;}
}

@media screen and (max-width: 400px) {
	#section-title {padding: 180px 5% 230px 5%;}
	#section-title .section-title-big {font-size: 40px;}

	.purpose-left {padding: 125px 5% 155px 5%;}

	.copyright {font-size: 10px;}
}

@media screen and (max-width: 350px) {
	#section-title {padding: 170px 5% 240px 5%;}
	#section-title .section-title-big {font-size: 38px;}

	.purpose-left {padding: 115px 5% 150px 5%;}

	.copyright {letter-spacing: 1px;}
}