@import url('./plugins/fontawesome/css/all.min.css');
@import url('./plugins/Gallery/CSS-Gallery.css');

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    padding: 0px;
    background-color: white;
    text-align: center;
    font-size: medium;
    font-family: "Geist", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "wdth" 100,
    "YTLC" 500;
    color: #262C3B;
    max-width: 2399px;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	padding: 0.5em 0px;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

.Admin {
	width: 100%;
	display: inline-block;
	font-size: xx-small;
	background-color: gainsboro;
	text-align: left;
	padding: 5px 0px;
}

.Admin a {
	text-decoration: none;
	margin-left: 15px;
	color: gray;
}

/* Back-to-top styles */
.BackToTop {
	position: fixed;
	z-index: 10;
	right: 10px;
	bottom: 10px;
	background-color: #fcf7f7;
	padding: 10px;
	color: white;
	font-family: sans-serif;
	border-radius: 5px;
	opacity: 0;
	visibility: hidden;
	font-size: medium;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
}

.BackToTop a {
    display: inline-block;
    padding: 10px;
    background-color: #5FC8F3;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    font-size: 0.8em;
    transition: color 0.25s, background-color 0.25s;
    line-height: normal;
    height: 50px;
    box-sizing: border-box;
    text-align: center;
}

.BackToTop a:hover {
    color: #ffffff;
    background-color: #254290;
}

.BackToTop #BackToTop {
	position: relative;
	display: inline-block;
	cursor: pointer;
	font-size: 20px;
	width: 50px;
}

.BackToTop #BackToTop i {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.BackToTop #CloseBTT {
	position: absolute;
	left: -10px;
	top: -10px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.Box-2 {
    display: inline-block;
    vertical-align: top;
    width: 40%;
    padding: 15px;
    margin: 35px 2%;
    border-style: solid;
    min-height: 230px;
	color: white;
	min-width: 300px;
}

.Box-2 a {
	color: white;
	text-decoration: none;
}

.Box-2 i {
	display: inline-block;
	font-size: 2em;
	background-color: rgba(37,66,144,1.00);
	padding: 15px;
	border-radius: 8px;
}

.Box-50-50 {
    width: 100%;
    background-color: #F1F3F7;
    display: flex;                  /* Enable flexbox */
    align-items: center;            /* Center items vertically */
    height: 100vh;                  /* Full screen height */
    margin-top: -5px;
}

.Box-50-50-Image {
    width: 50%;
    overflow: hidden;
    height: 100%;                  /* Matches the parent height */
    display: flex;                 /* Enable flexbox */
    align-items: center;           /* Center items vertically */
    justify-content: center;       /* Center items horizontally */
}

.Box-50-50-Text {
    width: 50%;
    padding: 25px 100px;
    background-color: #F1F3F7;
    display: flex;                   /* Use flexbox */
    flex-direction: column;          /* Stack items vertically */
    justify-content: center;         /* Center items vertically */
	align-items: center;             /* Center items horizontally */
}

.Box-50-50-Text p {
	line-height: 1.7em;
	font-size: 1.14em;
}

/* CAPTCHA styles */
.captcha-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em; /* Space between CAPTCHA image and refresh button */
}

.captcha {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.captcha-image {
    max-height: 60px; /* Ensures the image doesn't get too tall */
    margin-right: 10px;
}

.captcha-refresh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
}

.Container {
	width: 1200px;
	display: inline-block;
	max-width: 90%;
}

footer {
    width: 100%;
    display: inline-block;
    color: white;
	padding-bottom: 100px;
    background-image: -webkit-linear-gradient(270deg,rgba(37,66,144,1.00) 0%,rgba(17,32,71,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(37,66,144,1.00) 0%,rgba(17,32,71,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(37,66,144,1.00) 0%,rgba(17,32,71,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(37,66,144,1.00) 0%,rgba(17,32,71,1.00) 100%);
}

.Footer-Box {
	display: inline-block;
	width: 25%;
	vertical-align: top;
	margin: 35px 2%;
	text-align: left;
	min-width: 300px;
	max-width: 100%;
}

.Footer-Box a {
	color: white;
	text-decoration: none;
}

.Foooter-Menu a {
	display: inline-block;
	width: 90%;
	border-bottom: dotted;
	border-width: 1px;
	padding-bottom: 5px;
	margin-bottom: 15px;
}

.Foooter-Menu a:hover {
	color: cornsilk;	
}

/* Form styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.form-input-field.required {
    flex: 1;
}

.form-row {
    display: flex;
    flex-direction: row;
    gap: 1em;
    flex-wrap: wrap;
}

.form-row .form-input-field {
    flex: 1;
}

.button {
    padding: 0.75em 1em;
    background-color: #C4C6C8;
    color: black;
    font-weight: bold;
    font-size: 1em;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
    transition: color 0.25s, background-color 0.25s;
}

.button:hover {
    background-color: #A8BBCE;
    color: black;
}

.form-input-field {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    text-align: left;
    min-width: 200px;
}

.form-field-label,
.form-field-input {
    width: 100%;
    font-size: 1em;
}

.form-field-input {
    padding: 0.5em;
    border: none;
    background-color: rgb(245, 245, 245);
    border-radius: 10px;
}

.form-field-input[type='date'],
textarea.form-field-input {
    font-size: 1.15em;
}

.form-field-input[type='file'] {
    cursor: pointer;
}

.form-input-field.required {
    flex: 1;
}

.form-input-field.required .form-field-label::before {
    content: '*';
    color: red;
}

header {
    display: inline-block;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 74.35%,rgba(255,255,255,0.52) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 74.35%,rgba(255,255,255,0.52) 100%);
    background-image: -o-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 74.35%,rgba(255,255,255,0.52) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 74.35%,rgba(255,255,255,0.52) 100%);
    position: relative;
}

.Hero {
    display: inline-block;
    width: 100%;
    margin-top: -70px;
}

.Logo {
    display: inline-block;
    width: 182px;
    max-width: 100%;
    float: left;
}

.Row-Gallery {
    padding: 20px 0;
	margin-top: 15px;
	margin-bottom: 60px;
	background-color: #F5F6FB;
}

.Gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Gallery-MainImage {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Gallery-MainImage img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 5px;
}

.Gallery-Button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

.Gallery-Button-Left {
    left: 10px;
}

.Gallery-Button-Right {
    right: 10px;
}

.Gallery-Thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.Gallery-Thumbnails img {
    width: 100px;
    height: 66px; /* Aspect ratio to match 1500x1000 dimensions */
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.Gallery-Thumbnails img:hover {
    transform: scale(1.1);
}

.Gallery-Thumbnails img.active {
    border: 2px solid #333;
}


/* Navigation styles */
.Nav-Row {
	display: inline-block;
	float: right;
	margin-top: 33px;
}

.Nav-Inline-Block {
	display: inline-block;
	width: 100%;
}

nav {
	display: flex;
	list-style: none;
	justify-content: center;
}

nav menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style-type: none;
	list-style-image: none;
	padding-left: 0px;
	margin: 0px;
}

nav li {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin-top: 0;
	margin-bottom: 0;
	position: relative;
	height: 100%;
}
nav li ul {
    padding-left: 0px;
    text-align: left;
}
nav li ul li {
    text-align: left;
    padding-left: 0px;
    display: block;
}



nav a {
    text-decoration: none;
    color: #333;
    padding: 1em;
    display: inline-block;
}

nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    font-family: inherit;
    font-size: inherit;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%; /* Position the dropdown below the menu item */
    left: 0;
}

.dropdown-content a {
    text-align: left;
    display: block;
    padding: 8px 12px; /* Bring items closer to the left edge */
}

/* Show dropdown when active */
.dropdown-content.show {
    display: block;
}

.Row-Contact {
    width: 100%;
    display: inline-block;
    background-image: url(Images-Main/BG-Row-Contact.jpg);
    background-size: cover;
    padding-top: 15%;
    padding-bottom: 60px;
	height: 100vh;
}
.Row-Contact .button {
    background-color: rgba(3,20,67,1.00);
    color: rgba(245,245,245,1.00);
}
.Row-Contact .button:hover {
    background-color: rgba(95,200,243,1.00);
}


.Row-Contact .Container {
    background-color: rgba(194,193,198,0.76);
    border-radius: 8px;
    padding-top: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
}

.Row-Contact-Page {
	background-image: url("Images-Main/BG-Contact-Page.jpg");
	background-attachment: fixed;
	background-position: center center;
	padding-bottom: 100px;
	color: rgba(3,20,67,1.00);
	height: auto !important;
}

.Row-Contact-Page .Container{
	padding-bottom: 65px;	
}

.Row-Contact-Page h2 {
	color: white;
}

/* Scroll to highlight styles */
@keyframes highlight-ani {
    0% {
        background-color: transparent;
    }
    25% {
        background-color: #fff59d;
    }
    75% {
        background-color: #fff59d;
    }
    100% {
        background-color: transparent;
    }
}

.ScrollToHighlight-anchor-highlight {
    animation: highlight-ani 2s ease;
}

.ScrollToHighlight-anchor-highlight:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 9999999999;
	opacity: 0.25;
	pointer-events: none;
	animation-name: ScrollToHighlight-highlight-ani;
	animation-duration: 1.5s;
	animation-iteration-count: 1;
}

/* Scroll to highlight styles */
@keyframes highlight-ani {
	0% {
		background-color: transparent;
	}
	25% {
		background-color: #fff59d;
	}
	75% {
		background-color: #fff59d;
	}
	100% {
		background-color: transparent;
	}
}

.ScrollToHighlight-anchor-highlight {
	position: relative;
}

.Row-BG {
    display: inline-block;
    width: 100%;
    background-image: url(Images-Main/BG-Instagram.jpg);
    background-size: cover;
    background-position: center center;
}

.Row-BG-Box {
	width: 30%;
	padding: 10% 15px 65px 15px;
	margin-right: 5%;
	background-color: white;
	display: inline-block;
	float: right;
	height: 100vh;
	max-width: 580px;
	}

/* Media Queries */
@media (max-width: 1200px) {
    .Box-50-50 {
        flex-direction: column;      /* Stack items in columns */
        height: auto;                /* Allow the height to adjust based on content */
    }

       .Box-50-50-Image {
        width: 100%;                 /* Full width for each box */
        height: auto;                /* Allow height to adjust based on content */
        overflow: hidden;            /* Hide overflow to crop the image */
    }

    .Box-50-50-Image img {
        width: 100%;                 /* Ensure image fills the width */
        height: 200px;                /* Ensure image fills the height */
        object-fit: cover;           /* Scale image to cover the container */
        object-position: center center;    /* Move image up to crop top 20% */
		margin-top: 30px;
		margin-bottom: 15px;
    }
	
	.Box-50-50-Text {
		width: auto;
		padding: 30px 5%;
		height: auto;
}
	
	.Row-Contact {
    padding-top: 65px;
	height: auto;
}
	
	.Row-BG-Box {
    width: 350px;
	max-width: 100%;
    margin: 0px;
    background-color: rgba(255,255,255,0.75);
	float: none;
	height: auto;
	}
}

@media only screen and (max-width:950px){
	nav {
		flex-direction: column;
		width: 100%;
		align-items: center;
	}

	nav ul {
		margin-top: 0;
		padding-left: 0;
		width: 100%;
		text-align: center;
	}

	nav li {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
		position: relative;
	}

	nav li a {
		width: 100%;
	}

    .menu-toggle {
        display: flex;
        justify-content: center; /* Center the button horizontally */
        gap: 0.5em;
        align-items: center;
        padding: 1em;
        width: 100%;
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

	.menu-toggle i {
		font-size: 1.5em;
	}

	#main-menu {
		display: none;
		background-color: #FFFFFF;
		width: 100%;
	}

	.menu-toggle .close {
		display: none;
	}

	#main-nav.active .menu-toggle .close {
		display: var(--fa-display, inline-block);
	}

	#main-nav.active .menu-toggle .open {
		display: none;
	}

	#main-nav.active #main-menu {
		display: flex;
		flex-direction: column;
	}

	.dropdown-content {
		position: static;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.dropdown-content.show {
		display: block;
	}

	/* Prevent underlining dropdown links on hover/focus */
	nav .dropdown-content a, 
	nav .dropdown-content a:active, 
	nav .dropdown-content a:focus {
		text-decoration: none !important;
	}
    
    /* Center dropdown items on mobile */
     .dropdown-content a {
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .captcha-field {
        flex-direction: column; /* Stack elements vertically */
        align-items: flex-start;
    }

    .captcha {
        display: flex;
        flex-direction: row; /* Ensure the CAPTCHA image and refresh button are side by side */
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .captcha-image {
        margin-right: 10px; /* Ensure space between the CAPTCHA image and the refresh button */
        max-width: 75%; /* Ensure the image doesn't take up too much space */
    }

    .captcha-refresh-btn {
        margin-top: 0; /* Remove top margin */
        padding: 0;
        height: 100%; /* Align with the height of the CAPTCHA image */
    }

    .form-input-field.required {
        width: 100%; /* Ensure the input field takes full width */
    }
}

@media screen and (max-width: 520px) {
	.hil-pagination .print-friendly {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		flex: 100%;
	}

	.hil-pagination .info,
	.hil-pagination .pages {
		flex: 1;
	}

	.hil-pagination .info {
		text-align: center;
	}
}

@media (max-width: 400px) {
	.Logo {
		width: 40%;	
	}	
	.Nav-Row {
		margin-top: 0px;
}
}
