@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: 0px auto;
	padding: 0px;
    
	background-color: white;
    text-align: center;
	font-size: medium;
	font-family: "Nunito Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
    max-width: 2560px;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	padding: 0.5em 0px;
}

img {
	max-width: 100%;
	border-style: none;
}

textarea {
	resize: vertical;
}

ul {
     text-align: left;
}

a[href^='tel:'],
a[href^='mailto:'] {
	white-space: nowrap;
}

.admin {
    background-color: #E9EDF1;
    display: inline-block;
    width: 100%;
    text-align: left;
}

.admin a {
    font-size: x-small;
    margin-left: 15px;
    text-decoration: none;
    color: #6C6E6F;
}

/* 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: #3E8436;
    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: #62AD5A;
}

.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;
    width: 49%;
    padding: 0px 3%;
    margin-top: 35px;
    vertical-align: top;
    text-align: left;    
}

.Box-40 {
     display: inline-block;
    margin-top: 35px;
    padding: 0px 2%;
    width: 39%;
    vertical-align: top;
    text-align: left;
}

.Box-60 {
     display: inline-block;
    margin-top: 35px;
    padding: 0px 2%;
    width: 60%;
    vertical-align: top;
    text-align: left;
}

.Box-60 p {
     line-height: 1.5em;   
}

.Box-Left {
     border-right: 1px solid #2F5651;
}

.Box-Up {
    display: inline-block;
    width: 25%;
    margin-top: -75px;
    margin-right: 4%;
    margin-left: 4%;
    margin-bottom: 0px;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    border-top: 8px solid #2F5651;
    -webkit-box-shadow: 4px 4px 8px #3A393A;
    box-shadow: 4px 4px 8px #3A393A;
    vertical-align: top;
    min-height: 295px;
}

.Box-Up a {
     font-weight: bold;
    color: #2F5651;
    text-decoration: underline;
}

.Box-Up a:hover {
    text-decoration: none;
}

.Button a {
     background-color: #3E8436;
    padding: 5px 10px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: inline-block;
}

.Button a:hover {
    background-color: #62AD5A;
}

/* 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: 1400px;
    display: block;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.Feature-List p {
    color: white;
    padding: 5px 5px 5px 10px;
    width: 100%;
    background-color: #3E8436;
    background-image: -webkit-linear-gradient(270deg,rgba(62,132,54,1.00) 0%,rgba(83,176,73,1.00) 80.31%,rgba(62,132,54,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(62,132,54,1.00) 0%,rgba(83,176,73,1.00) 80.31%,rgba(62,132,54,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(62,132,54,1.00) 0%,rgba(83,176,73,1.00) 80.31%,rgba(62,132,54,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(62,132,54,1.00) 0%,rgba(83,176,73,1.00) 80.31%,rgba(62,132,54,1.00) 100%);
    border-top-right-radius: 36px;
    border-bottom-right-radius: 36px;
    border-left: 14px solid #2F5651;
}

.field-input {
     width: 100%;
    background-color: #E9EDE9;
    border: none;
    margin: 5px 0px 15px 0px;
    padding: 5px 3px;
    border-radius: 8px;
}

footer {
 display: inline-block;
    width: 100%;
    background-color: #2F5651;
    color: wheat;
    padding-bottom: 100px;
}

.Footer-Box {
    width: 33%;
    min-width: 299px;
    display: inline-block;
    padding: 0px 20px;
    margin-top: 35px;
    vertical-align: top;
    text-align: left;
}

.Footer-Box a {
     color: white;
    text-decoration: none;
}

.Footer-Box a:hover {
     text-decoration: underline;
}

/* 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: 20px 0px;
}

.Header-Left {
     display: inline-block;
    float: left;
}

.Header-Right {
     display: inline-block;
    float: right;
}

.Heading {
     font-size: xx-large;
    font-weight: bold;
}

.Hero {
    width: 100%;
    display: inline-block;
    border-bottom: 40px solid #3E8436;
    line-height: 0px;
}

.Hero-Text {
    display: inline-block;
    width: 33%;
    margin-left: 5%;
    margin-top: -29%;
    position: relative;
    float: left;
    background-color: #2F5651;
    color: rgba(236,235,240,1.00);
    border-radius: 8px;
    border: 7px solid #FFFFFF;
    padding: 10px;
    -webkit-box-shadow: 4px 4px 8px #353535;
    box-shadow: 4px 4px 8px #353535;
}

.Logo {
    display: inline-block;
    width: 443px;
    max-width: 100%;
}


/* Navigation styles */
.Nav-Row {
    display: inline-block;
    background-color: #3E8436;
    width: 100%;
}

.Nav-Inline-Block {
	display: inline-block;
	width: 100%;
}

nav {
    display: flex;
    list-style: none;
    justify-content: center;
    text-transform: uppercase;
}

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: #FFFFFF;
    padding: 1em;
    display: inline-block;
}

nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    color: white;
    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 */
    color: #2F5651;
}

/* Show dropdown when active */
.dropdown-content.show {
    display: block;
}

.Row-Contact {
    background-color: #E9EDF1;
    padding: 1em;
}

.Row-Service-Area {
    display: inline-block;
    width: 100%;
    margin-top: 35px;
    background-image: url(Images-Main/BG-Boston.jpg);
    background-size: cover;
    background-attachment: fixed;
    border-width: 20px;
    border-color: #2F5651;
    border-top-style: solid;
    border-bottom-style: solid;
}

.Row-Service-Area-Text {
    display: inline-block;
    float: left;
    width: 33%;
    line-height: 1.5em;
    font-size: 1.15em;
    margin-left: 10%;
    background-image: -webkit-linear-gradient(270deg,rgba(47,86,81,1.00) 0%,rgba(55,100,94,0.91) 9.33%,rgba(87,154,145,0.85) 43.52%,rgba(55,100,94,0.91) 88.34%,rgba(47,86,81,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(47,86,81,1.00) 0%,rgba(55,100,94,0.91) 9.33%,rgba(87,154,145,0.85) 43.52%,rgba(55,100,94,0.91) 88.34%,rgba(47,86,81,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(47,86,81,1.00) 0%,rgba(55,100,94,0.91) 9.33%,rgba(87,154,145,0.85) 43.52%,rgba(55,100,94,0.91) 88.34%,rgba(47,86,81,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(47,86,81,1.00) 0%,rgba(55,100,94,0.91) 9.33%,rgba(87,154,145,0.85) 43.52%,rgba(55,100,94,0.91) 88.34%,rgba(47,86,81,1.00) 100%);
    color: #FFFFFF;
    padding: 60px 30px;
    border-left: 10px solid rgba(251,249,249,0.85);
    border-right: 10px solid rgba(251,249,249,0.85);
}


/* 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;
}

@media only screen and (max-width:1105px){
	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%;
    color: #2F5651;
	}

    .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 (max-width: 1105px) {
    .Box-2 {
         width: 100%;   
    }
    
    .Box-40, .Box-60 {
        width: 100%;
        margin: 35px 0px;
    }
    
    .Box-Left {
         border-right: none;
        border-bottom: 1px solid #2F5651;
        padding-bottom: 35px;
    }

    .Box-Up {
     margin: 35px 8px 0px 8px;
        width: 250px;
    }
    .Hero-Text {
     margin: -10px 0px;
        float: none;
        width: 90%;
    }
    .Logo img {
         width: 500px;
         max-width: 100%;
    }
    
    .Logo {
         width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 950px) {
     .Row-Service-Area-Text {
         width: 85%;
         margin: 0px;
         float: none;
    }
}

@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) {
	.Header-Left, .Header-Right {
         font-size: small;
        float: none;
        margin: 8px 15px;
    }
}
