@charset "utf-8";
/* CSS Document */

.bg-primary {
  background-color: #252547 !important;
}
.bg-secondary {
  background-color: #489ccb !important;
}
.logo {
	width: 100%;
	height: 100%;
	max-width: 100px;
	max-height: 100px;
	margin-left: 20px;
}

.headerFont {
	font-family: 'Playfair Display', serif;
	color: #252547;
	text-decoration: underline;
	text-decoration-color: #489ccb;
}

.mainFont {
	font-size: 18px;
	font-family: 'Ysabeau', sans-serif;
	color: #252547;
}


.autohide{
		position: fixed;
	    top: 0;
	    right: 0;
	    left: 0;
	    width: 100%;
	    z-index: 1030;
	}
.scrolled-down{
		transform:translateY(-100%); transition: all 0.3s ease-in-out;
	}
.scrolled-up{
		transform:translateY(0); transition: all 0.3s ease-in-out;
	}


.nav-link {
	color: #FFFFFF;
}
.nav-link:hover {
	color: #489ccb;
}

#main_nav {
text-align: center;
position:absolute;
bottom:0px;
right:20px;
}

.hover_underline_animation {
  display: inline-block;
  position: relative;
}

.hover_underline_animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #489ccb;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.hover_underline_animation:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

section {
	height: 100%;
	display: block;
	justify-content: center;
	align-items: center;
}
.flexbox {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}

.aboutflexbox {
	display: flex;
	align-items: flex-start;
	justify-content: space-evenly;
}

.mainText {
	padding: 20px;
}

/*SERVICES LIST*/

.servlist {
	--h: 202deg;
	--l: 16%;
	--brandColor: hsl(var(--h), 48%, var(--l));
	margin: 0;
}

.servp {
	margin: 0;
	line-height: 1.6;
}

.servol {
	list-style: none;
	counter-reset: list;
	padding: 0 1rem;
}

.servli {
	position: relative;
	counter-increment: list;
	max-width: 45rem;
	margin: 2rem auto;
	padding: 2rem 1rem 1rem;
	box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
	border-radius: 0.25rem;
	overflow: hidden;
	background-color: white;
}

.servli::before {
	--stop: calc(100% / var(--length) * var(--i));
	--l: 61%;
	--l2: 61%;
	--c1: #252547;
	--c2: hsl(var(--h), 65%, var(--l2));
	
	content: '';
	display: block;
	width: 100%;
	height: 1rem;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop));
}

h3 {
	display: flex;
	align-items: center;
	word-wrap: normal;
	margin: 0 0 1rem;
	color: var(--brandColor);
}
.servImage {
	display: flex;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	flex: 0 0 auto;
	margin-right: 1rem;
	padding: 0rem;
	width: 5rem;
	height: 5rem;
}

/*TESTIMONIAL CARDS*/

.cardContainer {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	flex-wrap: wrap;
	background: #489ccb;
	z-index: 1;
	
}
.cardContainer .card {
	position: relative;
	width: 85%;
	height: 100%;
	margin: 20px;
	box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
	border-radius: 15px;
	background: rgba(255, 255, 255, 1);
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px solid #252547;
	backdrop-filter: blur(5px);
}

.cardContainer .card .cardContent {
	padding: 20px;
	text-align: center;	
}

.cardContainer .card .cardContent h2{
	font-size: 1.5em;
	top:25px;
	left:center;
	color: #252547;
	pointer-events: none;
}

.cardContainer .card .cardContent h4{
	top: 30px;
	font-size: 1em;
	color:#252547;
	font-weight: 300;
	
}

.cardContainer .card .cardContent p{
	word-wrap: normal;
	font-size: 1.2em;	
	color: #252547;
	font-weight: 300px;
}
	
.cardContainer .card .cardContent a{
	position: relative;
	display: inline-block;
	padding: 8px 20px;
	margin-top: 15px;
	background: #fff;
	color:#fff;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 300;	
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.custom-shape-divider-bottom-1682879538 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
	background-color: #ffffff;
}

.custom-shape-divider-bottom-1682879538 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 69px;
    transform: rotateY(180deg);
}

.custom-shape-divider-bottom-1682879538 .shape-fill {
    fill: #252547;
}

.contact {
	align-content: center;
	justify-content: center;
	text-align: center;
}

.footer {
	height: 300px;
	color: #489ccb;
	background-color: #252547;
	display: flex;
	justify-content: space-evenly;
	position: relative;
	vertical-align: top;
}

.footerlinks {
	color: #FFFFFF;
	text-decoration: none;
}

.footerlogo {
	max-height: 150px;
	max-width: 150;
	align-content: center;
	justify-content: center;
}

.contactinfo {
    word-wrap: break-word;
}

.socialpadding {
	padding-top: 15px;
}

.socialicons {
	padding-right: 5px;

	 
}
.bounce {
	transition: transform 0.3s;
}

.bounce:hover {
	transform: translateY(-10px);
}

#topBtn {
  line-height:5px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #252547;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#topBtn:hover {
  background-color: #489ccb;
}

@media (max-width: 576px) {
	.footer {
	height: auto;
	color: #489ccb;
	background-color: #252547;
	display: block;
	justify-content: center;
	align-content: center;
	text-align: center;
	position: relative;
	vertical-align: top;
}
}

@media (max-width: 768px) {
	
.flexbox {
	display: block;
	text-align: center;
}
	
.aboutflexbox {
	display: block;
    text-align: center;
}

.mainText {
	padding: 20px;
	text-align: left;
}
	
.servli {
		margin: 3rem auto;
		padding: 3rem 2rem 2rem;
	}
	
	h3 {
		margin: 0 0 2rem;
		font-size: rfs-fluid-value(1.125rem);
	}
	
	h3::before {
		margin-right: 1.5rem;
	}
}

@media (max-width: 991px) {
#main_nav {
	text-align: center;
	position:relative;
	}
	
}



