@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
	--primary: #747474;
	--white: #fff;
	--grey: #3d3d3d;
	--purple: #b63593;
	--green: #2ab34f;
	--greenText: #429746;
	--lightGreen: #a6ce39;
	--lightGrey: #fafafa;
	--lightGreyText: #afafaf;
	--orange: #ff7200;
	--orangeHover: #ffbc5e;
	--blue: #093868;
	--lightBlue: #5cc9e8;
	--black: #000000;
	--yellow: #f7eb1b;
	--cap: uppercase;
	--fontBarlow: 'Barlow Condensed', sans-serif;
	--fontBrandon: 'brandon_grotesquelight', sans-serif;
	--fontBrandonBold: 'brandon_grotesqueblack', sans-serif;
	--letterSpace: 6px;
	--fontSize12: 12px;
	--fontSize13: 13px;
	--fontSize14: 14px;
	--fontSize15: 15px;
	--fontSize16: 16px;
	--fontSize17: 17px;
	--fontSize18: 18px;
	--fontSize19: 19px;
	--fontSize20: 20px;
	--fontSize21: 21px;
	--fontSize22: 22px;
	--fontSize23: 23px;
	--fontSize24: 24px;
	--fontSize25: 25px;
	--fontSize26: 26px;
	--fontSize27: 27px;
	--fontSize28: 28px;
	--fontSize29: 29px;
	--fontSize30: 30px;
	--fontSize31: 31px;
	--fontSize32: 32px;
	--fontSize33: 33px;
	--fontSize34: 34px;
	--fontSize35: 35px;
	--fontSize36: 36px;
	--fontSize37: 37px;
	--fontSize38: 38px;
	--fontSize39: 39px;
	--fontSize40: 40px;
	--fontSize41: 41px;
	--fontSize42: 42px;
	--fontSize43: 43px;
	--fontSize44: 44px;
	--fontSize45: 45px;
	--fontSize46: 46px;
	--fontSize47: 47px;
	--fontSize48: 48px;
	--fontSize49: 49px;
	--fontSize50: 50px;
	--fontSize51: 51px;
	--fontSize52: 52px;
	--fontSize54: 54px;
	--fontSize60: 60px;
	--fontSize80: 80px;
	--fontSize120: 120px;
	--padding100: 100px 0;
	--font100: 100;
	--font200: 200;
	--font300: 300;
	--font400: 400;
	--font500: 500;
	--font600: 600;
	--font700: 700;
	--font800: 800;
	--font900: 900;
}
ul {
	padding: 0 0 0 35px;
	margin: 0;
}
.fira-sans-thin {
	font-family: "Fira Sans", sans-serif;
	font-weight: 100;
	font-style: normal;
}

.fira-sans-extralight {
	font-family: "Fira Sans", sans-serif;
	font-weight: 200;
	font-style: normal;
}

.fira-sans-light {
	font-family: "Fira Sans", sans-serif;
	font-weight: 300;
	font-style: normal;
}

.fira-sans-regular {
	font-family: "Fira Sans", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.fira-sans-medium {
	font-family: "Fira Sans", sans-serif;
	font-weight: 500;
	font-style: normal;
}

.fira-sans-semibold {
	font-family: "Fira Sans", sans-serif;
	font-weight: 600;
	font-style: normal;
}

.fira-sans-bold {
	font-family: "Fira Sans", sans-serif;
	font-weight: 700;
	font-style: normal;
}

.fira-sans-extrabold {
	font-family: "Fira Sans", sans-serif;
	font-weight: 800;
	font-style: normal;
}

.fira-sans-black {
	font-family: "Fira Sans", sans-serif;
	font-weight: 900;
	font-style: normal;
}

.fira-sans-thin-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 100;
	font-style: italic;
}

.fira-sans-extralight-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 200;
	font-style: italic;
}

.fira-sans-light-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 300;
	font-style: italic;
}

.fira-sans-regular-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 400;
	font-style: italic;
}

.fira-sans-medium-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 500;
	font-style: italic;
}

.fira-sans-semibold-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 600;
	font-style: italic;
}

.fira-sans-bold-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 700;
	font-style: italic;
}

.fira-sans-extrabold-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 800;
	font-style: italic;
}

.fira-sans-black-italic {
	font-family: "Fira Sans", sans-serif;
	font-weight: 900;
	font-style: italic;
}

.alex-brush-regular {
	font-family: "Alex Brush", cursive;
	font-weight: 400;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html,
body {
	height: 100%;
	font-family: "Fira Sans", sans-serif;
	margin: 0;
	padding: 0;
	font-size: 18px;
	width: 100%;
	font-weight: 300;
	color: var(--black);
}
body {
	overflow-x: hidden;
}
p {
	margin-bottom: 1.5rem;
}
strong {
	color: var(--grey);
}
a {
	color: var(--blue);
	font-size: var(--fontSize16);
}
a:hover {
	color: var(--lightBlue);
}
._uppercase {
	text-transform: uppercase;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	padding-top: 60px; /* Space for header */
}

header {
	background-color: #00386e;
	color: white;
	padding: 1rem 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	transition: transform 0.3s ease;
	z-index: 1000;
}

.header-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-weight: 300;
}
.logo a {
	color: var(--white);
	font-size: 14px;
}
.logo span {
	display: block;
	margin-left: 88px;
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	cursor: pointer;
	padding: 10px;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 3px;
	background-color: white;
	margin: 5px 0;
	transition: all 0.3s ease;
}

/* Main navigation */
.nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-item {
	position: relative;
	margin-left: 20px;
}

.nav-item > a {
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	display: flex;
	align-items: center;
	transition: all 0.3s ease;
}

.nav-item > a:hover,
.nav-item.has-submenu:hover > a,
.nav-item.has-submenu .submenu:hover ~ a,
a.active {
	background-color: #0d85ff;
}

.nav-item > a i {
	margin-left: 5px;
	font-size: 0.8rem;
}

/* Submenu styles */
.submenu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #0d85ff;
	list-style: none;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 100;
	margin: 0;
	padding: 0;
}

.has-submenu:hover > .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.submenu li {
	position: relative;
}

.submenu a {
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	display: block;
	transition: all 0.3s ease;
}

.submenu a:hover,
.submenu.level-2 li a:hover,
.submenu a.active {
	background-color: #4aa5ff;
}

/* Keep parent items highlighted when submenu is hovered */
.has-submenu:hover > a,
.has-submenu .submenu:hover ~ a {
	background-color: #4aa5ff;
}

/* Specific rule for second level parents */
.submenu .has-submenu:hover > a {
	background-color: rgba(0, 0, 0, 0.1);
}

/* Level 2 submenu */
.submenu .submenu.level-2 {
	left: 100%;
	top: 0;
}

.submenu .has-submenu > a i {
	position: absolute;
	right: 15px;
}

/* Banner */
.banner-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	position: relative;
}
.container-hero {
	max-width: 100%;
	margin: auto;
	padding: 0 15px;
	display: flex;
	align-items: center;
	height: 100%;
}
.hero {
	position: relative;
	height: calc(100vh - 80px);
	overflow: hidden;
}
.hero__title {
	color: var(--blue);
	margin: -40% 0 5px 0;
	font-size: 3.75em;
	opacity: 0;
	transform: translatey(-20px);
	text-align: center;
}
.hero__title span {
	display: block;
}
.hero__subtext {
	color: #9b9b9b;
	font-size: 2em;
	margin: 0;
	opacity: 0;
	transform: translatey(-10px);
}
.hero__bg-image {
	width: 100%;
	height: calc(100vh - 80px);
	background-image: url('../images/img-hero-image.png');
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #e5f2ff;
}
.mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.hero-bottom {
	height: 250px;
	width: 100%;
	position: absolute;
	bottom: 0;
	/* clip-path: polygon(19.91% 83.5%, 100% 9.54%, 100% 61.25%, 15.24% 100%, 0% 0%); */
	background-color: #187dff;
	opacity: 0;
	transform: translatey(-10px);
	clip-path: polygon(19.91% 83.5%, 100% 9.54%, 100% 61.25%, 15.24% 100%, 0% 9.54%);
}

.hero-bottom-1 {
	position: absolute;
	bottom: 0;
	height: 250px;
	width: 100%;
	clip-path: polygon(1.74% 100%, 100% 9.54%, 100% 13.75%, 51% 88.9%, 15.24% 100%);
	background-color: #2090ff;
}

/* Content to make page scrollable */
.content {
	height: auto;
	padding: 20px 0 0 0;
}

/* Class to hide header when scrolling down */
.header-hidden {
	transform: translateY(-100%);
}
.shape-container {
	position: relative;
	width: 100%;
	height: calc(100vh - 80px);
	background-repeat: no-repeat;
	background-size: cover;
}

.shape-top {
	position: absolute;
	top: 0;
	/*   left:0; */
	width: 100%;
	height: 100%;
	background-image: url('https://www.bkmgroup.com.sg/frontend/web/images/img-hero-banner-a.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	-webkit-clip-path: polygon(0 0, 400% 0, 10% 95%, 0 70%);
	clip-path: polygon(0 0, 400% 0, 10% 95%, 0 70%);
}

.shape-left {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background-image: url('https://www.w3schools.com/bootstrap/cinqueterre.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-clip-path: polygon(0 12%, 0 86%, 35% 50%);
	clip-path: polygon(0 12%, 0 86%, 35% 50%);
}

.home-about-content {
	background: #e6f2ff;
}
#home-about {
	background: #e6f2ff;
	/* clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 86.77% 68.87%, 78% 48.5%, 30.48% 68.87%, 0% 100%); */
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 84.74% 75.74%, 59.98% 53.61%, 30.48% 68.87%, 0% 100%);
	position: relative;
	min-height: 321px;
	overflow: hidden;
}

.bottom-left {
	clip-path: polygon(0% 56.5%, 30.48% 68.87%, 0% 100%);
	background-color: #0d85ff;
	height: 325px;
	width: 100%;
	position: absolute;
	bottom: 0;
}
.bottom-right {
	/* clip-path: polygon(100% 65.25%, 100% 100%, 86.77% 68.87%, 78% 48.5%); */

	height: 325px;
	width: 100%;
	position: absolute;
	bottom: 0;
	clip-path: polygon(100% 72.9%, 100% 100%, 66% 72.9%, 68.5% 44.9%);
	background-color: #187dff;
}
.bottom-light-blue {
	/* clip-path: polygon(60.96% 81.66%, 78.79% 100.68%, 59.96% 56.41%, 52.4% 70.18%);
	 */
	clip-path: polygon(60.96% 81.66%, 78.79% 100.68%, 61.4% 57.41%, 52.4% 70.18%);
	background-color: #2090fe;
	height: 250px;
	width: 100%;
	position: absolute;
	bottom: 23%;
	right: -7%;
}
.home-about-h1 {
	font-size: var(--fontSize52);
	color: var(--blue);
	margin: 0;
	line-height: 56px;
}
.home-about-h1 span {
	display: block;
	font-size: 3rem;
	color: transparent;
	-webkit-text-stroke: 1.5px #2196f3;
	font-weight: 700;
}
.main {
	font-size: var(--fontSize24);
	color: var(--blue);
}
a.read-more {
	background: var(--orange);
	color: var(--white);
	font-size: var(--fontSize18);
	display: inline-block;
	padding: 8px 35px;
	border-radius: 5px;
}
a:hover.read-more {
	background: var(--orangeHover);
}
a.read-more i {
	font-size: var(--fontSize14);
}
.card {
	max-width: 30em;
	flex-direction: row;
	border-bottom: 1px solid #b9cbdd;
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	margin: 1em auto;
	background: transparent;
	color: var(--blue);
}
.card.last {
	border: 0;
}
.card-title {
	font-size: var(--fontSize30);
}
.card img {
	max-width: 25%;
	margin: auto;
	padding: 0.5em;
	border-radius: 0.7em;
}
.card-body {
	display: flex;
	justify-content: space-between;
}
.text-section {
	max-width: 100%;
}

.newsCard {
	position: relative;
	width: 100%;
	height: 400px;
	background-color: #fff;
	color: #fff;
	overflow: hidden;
	border-radius: 6px;
}

figure img {
	display: block;
	object-fit: cover !important;
	object-position: center center !important;
	height: 100%;
	width: 100%;
}

.overlay {
	background: rgb(40, 26, 54);
	background: -moz-linear-gradient(0deg, rgba(40, 26, 54, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: -webkit-linear-gradient(0deg, rgba(40, 26, 54, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: linear-gradient(0deg, rgba(40, 26, 54, 1) 0%, rgba(89, 59, 116, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#281a36", endColorstr="#593b74", GradientType=1);
	display: block;
	position: absolute;
	height: 200px;
	width: 100%;
	bottom: 0;
	z-index: 3;
}

.newsCaption {
	position: absolute;
	top: auto;
	bottom: 39px;
	left: 0;
	width: 100%;
	height: 35%;
	z-index: 10;
	padding: 15px;
	-webkit-transform: translateY(80%);
	transform: translateY(80%);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.4s;
	transition: -webkit-transform 0.4s;
	transition: transform 0.4s;
	transition: transform 0.4s, -webkit-transform 0.4s;
}
.newsCaption i {
	font-size: 24px;
}

.newsCaption-title {
	margin-top: 0px;
	font-size: var(--fontSize36);
}
.newsCaption-content {
	margin: 0;
}

.newsCaption-link {
	color: #fff;
	text-decoration: underline;
	opacity: .8;
	-webkit-transition-property: opacity;
	transition-property: opacity;
	-webkit-transition-duration: 0.15s;
	transition-duration: 0.15s;
	-webkit-transition-timing-function: cubic-bezier(0.39, 0.58, 0.57, 1);
	transition-timing-function: cubic-bezier(0.39, 0.58, 0.57, 1);
}
.news-Slide-up:hover .overlay {
	background: rgb(64, 10, 111);
	background: -moz-linear-gradient(0deg, rgba(64, 10, 111, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: -webkit-linear-gradient(0deg, rgba(64, 10, 111, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: linear-gradient(0deg, rgba(64, 10, 111, 1) 0%, rgba(89, 59, 116, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#400a6f", endColorstr="#593b74", GradientType=1);
}

.news-Slide-up:hover .newsCaption {
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s;
	transition: -webkit-transform 0.4s;
	transition: transform 0.4s;
	transition: transform 0.4s, -webkit-transform 0.4s;
}
.news-Slide-up.beryl:hover .overlay {
	background: rgb(255, 114, 0);
	background: -moz-linear-gradient(0deg, rgba(255, 114, 0, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: -webkit-linear-gradient(0deg, rgba(255, 114, 0, 1) 0%, rgba(89, 59, 116, 0) 100%);
	background: linear-gradient(0deg, rgba(255, 114, 0, 1) 0%, rgba(89, 59, 116, 0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff7200", endColorstr="#ffac69", GradientType=1);
}
h1,
h1.title {
	font-size: var(--fontSize48);
	color: var(--blue);
}
.home-facilites {
	background: #e5eff8;
}
.box:nth-child(1) {
	background: url("../images/img-gallery-3.jpg") center/cover no-repeat;
}

.box:nth-child(2) {
	background: url("../images/img-gallery-1.jpg") center/cover no-repeat;
}

.box:nth-child(3) {
	background: url("../images/img-gallery-2.jpg") center/cover no-repeat;
}

.box:nth-child(4) {
	background: url("../images/img-gallery-5.jpg") center/cover no-repeat;
}
.box:nth-child(5) {
	background: url("../images/img-gallery-7.jpg") center/cover no-repeat;
}

.boxes {
	display: flex;
}
@media (max-width: 768px) {
	.boxes {
		flex-flow: row wrap;
	}
}
.boxes .box {
	background-color: #fff;
	flex: 1 1 25%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50vh;
	font-weight: 400;
	transition: all 0.6s ease-out;
	position: relative;
	margin: 5px;
	border-radius: 5px;
}
@media (max-width: 768px) {
	.boxes .box {
		flex-basis: 100%;
		height: 25vh;
	}
}
.boxes .box__title {
	font-size: 3vw;
	font-weight: normal;
	color: white;
	margin-bottom: 0.5em;
	transition: all 0.3s ease-out 0.1s;
}
.boxes .box__content {
	position: absolute;
	/* top: 0;*/
	left: 0;
	/* right: 0; */
	bottom: 0;
	/* background-color: rgba(1, 1, 1, 0.5); */
	/* display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	justify-items: center;
	align-content: center;
	align-items: center; */
	opacity: 0;
	transition: all 0.3s ease-in;
	/* text-align: center; */
	padding: 1vw;
	max-width: 98%;
	width: 98%;
	background: rgba(224, 233, 239, 0.5);
	margin: 1%;
	backdrop-filter: blur(8px); /* <- this applies the blur effect */
	-webkit-backdrop-filter: blur(8px); /* for Safari support */
}
.boxes .box__summary {
	font-size: var(--fontSize18);
	line-height: 1.4;
	color: var(--black);
	margin: 0 auto;
	max-width: 100%;
	transition: all 0.3s ease-out 0.1s;
}
.boxes .box__summary table tr td {
	padding: 5px;
}
@media (max-width: 768px) {
	.boxes .box__summary {
		max-width: 100%;
		padding: 2%;
	}
}
.boxes .box:nth-child(1) {
	background-color: #2b50aa;
}
.boxes .box:nth-child(2) {
	background-color: #ff9fe5;
}
.boxes .box:nth-child(3) {
	background-color: #ffd4d4;
}
.boxes .box:nth-child(4) {
	background-color: #ff858d;
}
.boxes .box:hover {
	flex-basis: 75%;
}
.boxes .box:hover .box__title {
	letter-spacing: 0;
}
.boxes .box:hover .box__content {
	opacity: 1;
}
@media (max-width: 768px) {
	.boxes .box:hover {
		flex-basis: 100%;
		height: 40vh;
	}
}
.home-contact {
	background: url('../images/img-contact-bg.jpg') no-repeat center center;
	min-height: 610px;
}
.home-contact-inner {
	float: right;
	color: var(--white);
}
.home-contact-inner h2 {
	font-size: var(--fontSize48);
}
.content-contact {
	text-align: center;
}
.contact-ul {
	list-style: none;
	margin: 50px 0 0 0;
	padding: 0;
}
.contact-ul li {
	font-size: var(--fontSize22);
	margin: 15px 0;
	text-align: left;
	border-radius: 20px;
	border: 1px solid #3fcef4;
	/* background: linear-gradient(90deg, #3fcef4, #7150fa), transparent;
	background-origin: border-box;
	background-clip: padding-box, border-box;
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 5px;
	box-sizing: border-box; */
	padding: 3px 20px;
}

.contact-ul i {
	font-size: 20px;
	padding: 10px;
	margin: 0 10px;
	border-radius: 50%;
}
.contact-ul a {
	color: var(--white);
	text-decoration: none;
	font-size: var(--fontSize22);
}
#footer {
	padding: 20px 0;
	margin: 0;
	font-size: var(--fontSize16);
	background: #f4f4f4;
}
#footer a {
	color: var(--black);
}
.privacy {
	text-align: right;
}

/* Sub page */
.sub-banner {
	background: url('../images/img-sub-banner.png') no-repeat center center;
	width: 100%;
	min-height: 670px;
	position: relative;
}
.sub-banner.beryl-theme {
	background: url('../images/img-sub-banner-beryl-house.png') no-repeat center center;
}
.sub-banner.banner-about {
	background: url('../images/img-sub-banner-about.png') no-repeat center center;
}
.sub-banner.banner-community {
	background: url('../images/img-sub-banner-community-engagement.png') no-repeat center center;
}
.sub-banner.banner-contact {
	background: url('../images/img-sub-banner-contact-us.png') no-repeat center center;
}
.sub-banner.banner-policy {
	background: url('../images/img-sub-banner-privacy-policy.png') no-repeat center center;
}

.sub-banner-content {
	position: absolute;
	bottom: 0;
	width: 100%;
	min-height: 150px;
	/* clip-path: polygon(75.73% 16.9%, 100% 61.5%, 100% 100%, 0% 100%, 30.22% 41.72%);
	background-color: red; */
	clip-path: polygon(70.28% 76.1%, 100% 92%, 100% 100%, 0% 100%, 21.97% 95%);
	background-color: #fff;
}
.sub-banner-left {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	/* clip-path: polygon(0% 0%, 0% 100%, 29.14% 31.53%);
	background-color: #0d85ff; */
	clip-path: polygon(0% 51.5%, 0% 100%, 24.81% 93.1%);
	background-color: #0d85ff;
}
.sub-banner-right {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 150px;
	/* clip-path: polygon(100% 0%, 100% 61.75%, 75.92% 17.32%);
	background-color: #0d85ff; */
	clip-path: polygon(71.28% 75.75%, 100% 47.5%, 100% 100%);
	background-color: #0d85ff;
}
.container.reset {
	max-width: 1440px;
}
.card-overlay-bottom {
	overflow: hidden;
	height: 280px;
	max-width: 100%;
}

.card-overlay-bottom::before {
	content: "";
	background-image: linear-gradient(to bottom, rgba(1, 42, 95, 0.2) 0%, #012a5f 100%);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
}

.card-overlay-bottom:hover .card-img-bg {
	transform: scale(1.1);
}

#map,
#map-beryl {
	height: 565px;
	width: 100%;
	margin-top: 6px;
	border-radius: 5px;
}
.map-over:before {
	position: absolute;
	content: "";
	height: 100%;
	width: 100%;
	background-image: linear-gradient(to bottom, rgba(1, 42, 95, 0.2) 0%, #012a5f 100%);
	pointer-events: none;
	z-index: 999;
}
.map-over-inner {
	position: absolute;
	bottom: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	display: inline-grid;
	padding: 20px 30px;
}
.leaflet-control-attribution a,
.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
	font-size: var(--fontSize12);
}
h3.card-title {
	border-bottom: 1px solid var(--white);
	display: block;
	line-height: 60px;
	font-size: var(--fontSize24);
}
.card-text {
	font-size: var(--fontSize20);
}

.card-img-bg {
	background-position: center center;
	background-size: cover;
	height: 100%;
	width: 100%;
	transition: transform 0.5s;
}
.card-img-bg.amethyst-house-pic1 {
	background-image: url('../images/img-gallery-1.jpg');
}
.card-img-bg.amethyst-house-pic2 {
	background-image: url('../images/img-status.png');
}
.card-img-bg.beryl-house-pic2 {
	background-image: url('../images/banner-beryl-house.jpg');
}

.card-img-overlay {
	padding: 20px 30px;
	display: inline-grid;
}

.card-img-overlay {
	z-index: 2;
}
.card.card-overlay-bottom {
	margin: 6px auto;
}

.gallery-content {
	background: #e2edf7;
	background: linear-gradient(
		168deg,
		rgba(226, 237, 247, 1) 0%,
		rgba(240, 246, 251, 1) 50%,
		rgba(218, 233, 245, 1) 100%
	);
}
/* Defines the width of the carousel and centers it on the page */
.slick-carousel {
	margin: 0 auto;
	max-width: 100%;
}

/* The width of each slide */
.slick-slide {
	width: 350px;
}

/* Color of the arrows */
.slick-next::before,
.slick-prev::before {
	color: blue;
}
.slick-slide img {
	padding: 0 6px;
}
.slick-carousel .slick-dots {
	bottom: -40px;
}
.slick-carousel .slick-dots li button:before {
	font-size: 12px;
}
.slick-carousel .slick-dots li.slick-active button:before {
	color: blue;
}

button {
	background: var(--orange);
	color: var(--white);
	border: 0;
	padding: 8px 30px;
	font-size: var(--fontSize18);
}
button:hover {
	background: var(--orangeHover);
}
.green-badge i {
	color: green;
	font-size: 50px;
	padding-bottom: 50px;
}

/* About Us */
.about-title span {
	font-size: var(--fontSize30);
	color: var(--blue);
	display: block;
	font-weight: var(--font300);
}
.about-title {
	font-size: var(--fontSize52);
}
h2.title-alex {
	font-family: "Alex Brush", cursive;
	font-size: var(--fontSize60);
	color: #00baff;
}
._divider-grey {
	border-top: 1px solid #dcdcdc;
}
.core-values-content {
	background: #e8f1f9;
}
.core-values-content h3 {
	font-size: var(--fontSize24);
	color: var(--blue);
}
.facilities-content {
	background: #e5eff8;
	padding: 100px 50px;
	background: linear-gradient(
		168deg,
		rgba(229, 239, 248, 1) 0%,
		rgba(218, 233, 245, 1) 50%,
		rgba(218, 233, 245, 1) 100%
	);
}

.thumbnail-carousel img {
	width: auto;
	height: 299px;
	object-fit: cover;
	cursor: pointer;
	border-radius: 20px;
	width: 100%;
	display: block;
	overflow: hidden;
	padding: 0;
}
.lightbox-slider img {
	width: 100%;
	height: auto;
	object-fit: contain;
}
.lightbox-slider .slick-slide {
	text-align: center;
}
.lightbox-slider {
	width: 100%;
	max-width: 900px;
	margin: auto;
}

.thumbnail-inner {
	position: relative;
	overflow: hidden;
}
/* 
.thumbnail-inner .thumbnail-box-content-overlay {
	background: rgba(0, 0, 0, 0.7);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
	border-radius: 10px;
} */
.slick-slide {
	margin: 0 20px;
}

/* the parent */
.slick-list {
	margin: 0 -20px;
}
/* 
.thumbnail-inner:hover .thumbnail-box-content-overlay {
	opacity: 1;
}

.thumbnail-content {
	position: absolute;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	width: 100%;
	bottom: 0%;
	left: 50%;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.thumbnail-inner:hover .thumbnail-content {
	bottom: 0;
	left: 50%;
	opacity: 1;
} */

.thumbnail-content h3 {
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.15em;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}
/* 
.thumbnail-content p {
	color: #fff;
	font-size: 0.8em;
} */

.card-thumb {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 20px;
	cursor: pointer;
	transition: transform 0.3s ease;
	background: #000;
}

.card-thumb:hover {
	transform: translateY(-5px);
}

.card-thumb img {
	width: 100%;
	display: block;
	height: 299px;
	object-fit: cover;
}

.card-content {
	position: absolute;
	bottom: -30px;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	color: #fff;
	padding: 15px;
	transition: all 0.4s ease;
}

.card-content .title {
	margin: 0;
	font-size: 22px;
}

.card-content .description {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.4;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

.card-thumb:hover .card-content .description {
	max-height: 200px;
	opacity: 1;
}

/* community-content */

.thumbnail {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.overlay-cultural {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	/* background: rgba(0, 0, 0, 0.6); */
	color: white;
	display: flex;
	justify-content: flex-end; /* Align horizontally to right */
	align-items: center; /* Align vertically to center */
	padding-right: 20px;
	text-align: right;
	transition: opacity 0.3s ease;
	background: #ffffff;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.1) 0%,
		rgba(255, 255, 255, 0.2) 50%,
		rgba(22, 77, 131, 1) 100%
	);
}

.thumbnail .overlay-cultural {
	opacity: 1;
	height: 100%;
}

.overlay-cultural h3 {
	margin: 0;
	font-size: var(--fontSize42);
}

.overlay-cultural p {
	margin: 5px 0 0;
	font-size: var(--fontSize20);
	line-height: 1.4;
}

.overlay-content {
	max-width: 60%;
	text-align: left;
}
/* */
.thumbnail-health {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;

	cursor: pointer;
}

.thumbnail-health img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.overlay-health {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; /* full height */
	color: white;
	display: flex;
	align-items: flex-end; /* align content to bottom */
	justify-content: flex-start; /* align content to left */
	padding: 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
	text-align: left;
	background: #ffffff;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(24, 73, 127, 1) 100%);
}

.thumbnail-health .overlay-health {
	opacity: 1;
}

.overlay-health h3 {
	margin: 0 0 5px;
	font-size: var(--fontSize42);
}

.overlay-health p {
	margin: 0;
	font-size: var(--fontSize20);
	line-height: 1.4;
}

.overlay-content-health {
	max-width: 90%;
}

@media (max-width: 1024px) {
	.menu-toggle {
		display: block;
	}

	.menu-toggle.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.menu-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.main-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #2c3e50;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.main-nav.active {
		max-height: 1000px;
	}

	.nav-list {
		flex-direction: column;
		padding: 20px;
	}

	.nav-item {
		margin: 0;
		margin-bottom: 10px;
	}

	.submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		background-color: rgba(0, 0, 0, 0.1);
		margin-left: 0;
	}

	.submenu.active {
		max-height: 1000px;
	}

	.submenu .submenu.level-2 {
		left: 0;
	}

	.has-submenu > a i.fa-chevron-down {
		transform: rotate(0deg);
		transition: transform 0.3s ease;
	}

	.has-submenu > a i.fa-chevron-down.active {
		transform: rotate(180deg);
	}

	.has-submenu > a i.fa-chevron-right {
		transform: rotate(0deg);
		transition: transform 0.3s ease;
	}

	.has-submenu > a i.fa-chevron-right.active {
		transform: rotate(90deg);
	}

	/* Keep parent highlighted when submenu is active */
	.has-submenu > a.active,
	.submenu.active ~ a {
		background-color: rgba(0, 0, 0, 0.2);
	}

	/* Second level active state */
	.submenu .has-submenu > a.active {
		background-color: rgba(0, 0, 0, 0.3);
	}

	/* Desktop hover effects shouldn't work on mobile */
	.has-submenu:hover > .submenu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}

@media (max-width: 768px) {
	/* .slick-slide {
		height: 400px;
	}
	.fancybox-inner .slick-slide {
		height: auto;
	} */
	.hero__title {
		font-size: 2.75em;
	}
}

@media (max-width: 767px) {
	.logo img {
		height: 34px;
	}
	.newsCaption-title {
		font-size: var(--fontSize26);
	}
	.home-contact-inner {
		margin: 0 auto;
		width: 100%;
	}
	.privacy {
		text-align: left;
	}
	.overlay-cultural h3,
	.overlay-health h3 {
		font-size: var(--fontSize32);
	}
	.overlay-content {
		max-width: 100%;
		padding: 20px;
	}
	.overlay-cultural p,
	.overlay-health p {
		font-size: var(--fontSize18);
	}
}

@media (max-width: 400px) {
	.contact-ul a,
	.contact-ul li {
		font-size: var(--fontSize18);
	}
	.contact-ul i {
		padding: 10px 2px;
	}
	.thumbnail img {
		min-height: 187px;
	}
	.overlay-cultural h3,
	.overlay-health h3 {
		font-size: var(--fontSize22);
	}
	.overlay-cultural p,
	.overlay-health p {
		font-size: var(--fontSize16);
	}
	.newsCaption-title {
		font-size: var(--fontSize24);
	}
	.logo a {
		font-size: 0.7rem;
	}
}
