/* Description: Master CSS file */

/*****************************************
Table Of Contents:
- General Styles
- Navigation
- Header
- Services
- Benefits
- Invite
- Features
- Customers
- Contact
- Footer
- Back To Top Button
- Media Queries
******************************************/

/*****************************************
Colors:
- Backgrounds - light gray #f9fbfe
- Headings text, buttons - black #252936
- Body text - dark gray #667077
- Buttons, icons - green #25563f
******************************************/


/**************************/
/*     General Styles     */
/**************************/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body,
html {
    width: 100%;
	height: 100%;
}

body, p {
	color: #667077; 
	font: 400 1rem/1.625rem "Raleway", sans-serif;
}

h1 {
	color: #252936;
	font-weight: 500;
	font-size: 3.25rem;
	line-height: 4rem;
}

h2 {
	color: #252936;
	font-weight: 500;
	font-size: 2.5rem;
	line-height: 3.25rem;
}

h3 {
	color: #252936;
	font-weight: 500;
	font-size: 1.875rem;
	line-height: 2.5rem;
}

h4 {
	color: #252936;
	font-weight: 500;
	font-size: 1.5rem;
	line-height: 2rem;
}

h5 {
	color: #252936;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1.625rem;
}

h6 {
	color: #252936;
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.375rem;
}

.p-large {
	font-size: 1.125rem;
	line-height: 1.75rem;
}

.container {
    margin: 0 auto;
    padding: 0 15px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.grid {
    display: grid;
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

img {
	max-width: 100%;
	vertical-align: middle; /* solves a gap when inside image-container */
}

ul {
    list-style-type: none;
}

.li-space-lg li {
	margin-bottom: 0.5rem;
}

a {
	color: #667077;
	text-decoration: underline;
}

a:hover {
	color: #667077;
	text-decoration: underline;
}

.bg-gray {
	background-color: #f9fbfe;
}

.btn-solid-reg {
	display: inline-block;
	padding: 1.5rem 2.375rem 1.5rem 2.375rem;
	border: 2px solid #25563f;
	border-radius: 32px;
	background-color: #25563f;
	color: #ffffff;
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-solid-reg:hover {
	background-color: transparent;
	color: #25563f; /* needs to stay here because of the color property of a tag */
	text-decoration: none;
}

.btn-solid-lg {
	display: inline-block;
	padding: 1.875rem 3rem 1.875rem 3rem;
	border: 2px solid #25563f;
	border-radius: 32px;
	background-color: #25563f;
	color: #ffffff;
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-solid-lg:hover {
	background-color: transparent;
	color: #25563f; /* needs to stay here because of the color property of a tag */
	text-decoration: none;
}

.btn-outline-reg {
	display: inline-block;
	padding: 1.5rem 2.375rem 1.5rem 2.375rem;
	border: 2px solid #252936;
	border-radius: 32px;
	background-color: transparent;
	color: #252936;
	font-weight: 400;
	font-size: 1rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-reg:hover {
	background-color: #252936;
	color: #ffffff;
	text-decoration: none;
}

.btn-outline-lg {
	display: inline-block;
	padding: 1.875rem 3rem 1.875rem 3rem;
	border: 2px solid #252936;
	border-radius: 32px;
	background-color: transparent;
	color: #252936;
	font-weight: 400;
	font-size: 1rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-lg:hover {
	background-color: #252936;
	color: #ffffff;
	text-decoration: none;
}

.btn-outline-sm {
	display: inline-block;
	padding: 1.25rem 1.625rem 1.25rem 1.625rem;
	border: 2px solid #252936;
	border-radius: 32px;
	background-color: transparent;
	color: #252936;
	font-weight: 400;
	font-size: 1rem;
	line-height: 0;
	text-decoration: none;
	transition: all 0.2s;
}

.btn-outline-sm:hover {
	background-color: #252936;
	color: #ffffff;
	text-decoration: none;
}

.form-group {
	position: relative;
	margin-bottom: 1.375rem;
}

.form-control-input,
.form-control-textarea {
	width: 100%;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 1.5rem;
	border: 2px solid #e6e7ec;
	background-color: #ffffff;
	color: #667077;
	font-size: 1rem;
	line-height: 1.5rem;
	font-family: 'Raleway';
	-webkit-appearance: none; /* removes inner shadow on form inputs on ios safari */
}

::placeholder {
	color: #667077;
	opacity: 1; /* Firefox */
}

.form-control-textarea {
	display: block;
	height: 14rem; /* used instead of html rows to normalize height between Chrome and IE/FF */
}

.form-control-input:focus,
.form-control-textarea:focus {
	border: 2px solid #d7d8e1;
	outline: none; /* Removes blue border on focus */
}

.form-control-input:hover,
.form-control-textarea:hover {
	border: 2px solid #d7d8e1;
}

.form-control-submit-button {
	display: inline-block;
	width: 100%;
	height: 3.75rem;
	border: 0px solid #7a85e500;
	border-radius: 32px;
	background:  url('../images/main\ banner.png') center center no-repeat;
	background-size: cover;
	color: #ffffff;
	font-weight: 400;
	font-size: 1rem;
	line-height: 0;
	font-family: "Raleway";
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s;
}

.form-control-submit-button:hover {
	border: 2px solid #7A85E5;
	background: transparent;
	background-color: transparent;
	color: #7A85E5;
}


/**********************/
/*     Navigation     */
/**********************/
.navbar {
	position: absolute;
	top: 26px;
	right: 0;
	left: 0;
    background-color: transparent;
    color: #ffffff;
}

.navbar .flex {
	flex-direction: column;
}

.navbar a {
	text-decoration: none;
}

.navbar .logo-image {
	width: 134px;
	height: 30px;
	margin-top: 0.5rem;
	margin-bottom: 1.25rem;
}

.navbar .logo-text {
	margin-bottom: 0.5rem;
	color: #ffffff;
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.875rem;
}

.navbar ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 0.5rem 0.75rem 0 0.75rem;
	background-color: rgba(0, 0, 0, 0.2);
}

.navbar ul li {
	padding: 0 0.75rem 0.5rem 0.75rem;
}

.navbar ul a {
    color: #ffffff;
}

.navbar ul a:hover {
    border-bottom: 2px #ffffff solid;
}


/******************/
/*     Header     */
/******************/
header {
	padding-top: 5rem;
	padding-bottom: 9rem;
	background:  url('../images/main\ banner.png') center center no-repeat;
	background-size: cover;
	text-align: center;
}

header .h1-large {
	margin-bottom: 2.5rem;
	color: #ffffff;
}

header .btn-outline-lg {
	border: 2px solid #ffffff;
	color: #ffffff;
}

header .btn-outline-lg:hover {
	background-color: #ffffff;
	color: #252936;
}

/********************/
/*     About us     */
/********************/
.aboutus {
	padding-top: 9rem;
	padding-bottom: 6rem;
	text-align: center;
	font-family: 'Raleway';
	background-color: #EFF5F6;
}

.aboutus .p-large {
	margin-bottom: 5rem;
	font-family: 'Raleway';
}

.aboutus .fas {
	margin-bottom: 1.5rem;
	color: #2c8ec4;
	font-size: 4.75rem;
}

.aboutus h4 {
	margin-bottom: 3rem;
}


/********************/
/*     Services     */
/********************/
.services {
	padding-top: 9rem;
	padding-bottom: 6rem;
	text-align: center;
	font-family: 'Raleway';
}

.services .p-large {
	margin-bottom: 5rem;
	font-family: 'Raleway';
}

.services .fas {
	margin-bottom: 1.5rem;
	color: #2c8ec4;
	font-size: 4.75rem;
	font-family: 'Raleway';
}

.services h4 {
	margin-bottom: 3rem;
	font-family: 'Raleway';
}


/********************/
/*     Benefits     */
/********************/
.benefits {
	padding-top: 9rem;
	padding-bottom: 9rem;
	font-family: 'Raleway';
	background-color: #EFF5F6;
}

.benefits .image-container {
	margin-bottom: 3rem;
}

.benefits h2 {
	margin-bottom: 1.5rem;
	font-family: 'Raleway';
}

.benefits p {
	margin-bottom: 1.25rem;
	font-family: 'Raleway';
}


/******************/
/*     Invite     */
/******************/
.invite {
	padding-top: 9rem;
	padding-bottom: 9rem;
	background-color: #2c8ec4;
	text-align: center;
	font-family: 'Raleway';
}

.invite .text-container {
	margin-bottom: 5rem;
	font-family: 'Raleway';
}

.invite h2,
.invite p {
	color: #ffffff;
	opacity: 0.9;
	font-family: 'Raleway';
}

.invite h2 {
	margin-bottom: 1.375rem;
	font-family: 'Raleway';
}

.invite p {
	margin-bottom: 2.25rem;
	font-family: 'Raleway';
}

.invite .btn-outline-reg {
	border: 2px solid #ffffff;
	color: #ffffff;
	opacity: 097;
	font-family: 'Raleway';
}

.invite .btn-outline-reg:hover { 
	background-color: #ffffff;
	color: #667077;
	font-family: 'Raleway';
}


/********************/
/*     Features     */
/********************/
.features {
	padding-top: 9rem;
	padding-bottom: 9rem;
	font-family: 'Raleway';
}

.features .text-container {
	margin-bottom: 2rem;
	font-family: 'Raleway';
}

.features h2 {
	margin-bottom: 1.5rem;
	font-family: 'Raleway';
}

.features p {
	margin-bottom: 1.25rem;
	font-family: 'Raleway';
}


/*********************/
/*     Customers     */
/*********************/
.customers {
	padding-top: 9rem;
	padding-bottom: 6.5rem;
	text-align: center;
	font-family: 'Raleway';
}

.customers h3 {
	margin-bottom: 2.25rem;
	font-family: 'Raleway';
}

.customers .flex {
	flex-wrap: wrap;
	font-family: 'Raleway';
}

.customers .card {
	margin-right: 2rem;
	margin-bottom: 2.5rem;
	margin-left: 2rem;
	font-family: 'Raleway';
}

/*********************/
/*     Team     */
/*********************/
.team {
	padding-top: 9rem;
	padding-bottom: 6.5rem;
	text-align: center;
	font-family: 'Raleway';
}

.team h3 {
	margin-bottom: 1rem;
	font-family: 'Raleway';
}

.team img {
	border-radius: 50%;
	border: 5px solid #7A85E5;
}

.team .flex {
	flex-wrap: wrap;
	font-family: 'Raleway';
}

.team .card {
	margin-right: 2rem;
	margin-bottom: 1rem;
	margin-left: 2rem;
	font-family: 'Raleway';
}


/*******************/
/*     Contact     */
/*******************/
.contact {
	padding-top: 9rem;
	padding-bottom: 9rem;
	text-align: center;
	background-color: #EFF5F6;
	font-family: 'Raleway';
}

.contact h2 {
	margin-bottom: 0.875rem;
	font-family: 'Raleway';
}

.contact p {
	margin-bottom: 3.75rem;
	font-family: 'Raleway';
}

.contact form {
	text-align: left;
	font-family: 'Raleway';
}


/******************/
/*     Footer     */
/******************/
footer {
	padding-top: 5.5rem;
	padding-bottom: 4.5rem;
	background-color: #2c8ec4;
	text-align: center;
	background:  url('../images/main\ banner.png') center center no-repeat;
	background-size: cover;
	font-family: 'Raleway';
}

footer .logo-image {
	display: block;
	width: 160px;
	height: 100%;
	margin-bottom: 0.75rem;
	opacity: 1;
}

footer .logo-text {
	display: block;
	margin-bottom: 1rem;
	color: #ffffff;
	font-weight: 500;
	font-size: 2.5rem;
	text-decoration: none;
	font-family: 'Raleway';
}

footer p,
footer ul li a,
footer ul li a:hover,
footer .fab {
	color: #ffffff;
	opacity: 0.9;
	text-decoration: none;
}

footer p {
	margin-bottom: 1.5rem;
	font-family: 'Raleway';
}

footer ul {
	margin-bottom: 2.25rem;
	font-family: 'Raleway';
}

footer .fab {
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	font-size: 2rem;
}


/******************************/
/*     Back To Top Button     */
/******************************/
#myBtn {
	position: fixed; 
  	z-index: 99; 
	bottom: 10px; 
	left: 10px; 
	display: none; 
	width: 46px;
	height: 46px;
	border: none; 
	border-radius: 50%; 
	outline: none; 
	background-color: #323137; 
	line-height: 44px;
	text-align: center;
	cursor: pointer; 
}

#myBtn:hover {
	background-color: #0f0f11;
}

#myBtn img {
	width: 18px;
}


/*************************/
/*     Media Queries     */
/*************************/	
/* Min-width 992px */
@media (min-width: 992px) {
	
	/* General Styles */
	.container {
		max-width: 1140px;
	}

	.grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.p-heading {
		width: 36rem;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of general styles */


	/* Navigation */
	.navbar {
		top: 36px;
	}

	.navbar .flex {
		flex-direction: row;
		justify-content: space-between;
	}

	.navbar .logo-image {
		margin: 0;
	}

	.navbar .logo-text {
		margin-bottom: 0;
	}

	.navbar ul {
		padding: 0;
		background: none;
	}

	.navbar ul li {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	
	.navbar ul li:last-of-type a {
		margin-right: 0;
		padding-right: 0;
	}
	/* end of navigation */


	/* Header */
	header {
		padding-top: 19.5rem;
		padding-bottom: 18rem;
	}

	header .h1-large {
		width: 75rem;
		margin-right: auto;
		margin-left: auto;
		font-size: 4.75rem;
		line-height: 5.75rem;
	}
	/* end of header */

	/* Services */
	.aboutus .p-large {
		width: 40rem;
		margin-right: auto;
		margin-left: auto;
	}

	.aboutus h4 {
		width: 19rem;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of services */


	/* Services */
	.services .p-large {
		width: 40rem;
		margin-right: auto;
		margin-left: auto;
	}

	.services h4 {
		width: 19rem;
		margin-right: auto;
		margin-left: auto;
	}
	
	.services h5 {
		width: 19rem;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of services */

	/* Services */
	.team .p-large {
		width: 40rem;
		margin-right: auto;
		margin-left: auto;
	}

	.team h4 {
		width: 19rem;
		margin-right: auto;
		margin-left: auto;
	}
	
	.team h5 {
		width: 19rem;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of services */


	/* Benefits */
	.benefits .grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.benefits .grid > *:first-child {
		grid-column: 1 / span 2;
	}

	.benefits .image-container {
		margin-right: 5rem;
		margin-bottom: 0;
	}
	/* end of benefits */


	/* Invite */
	.invite .text-container {
		margin-bottom: 0;
	}
	
	.invite .grid {
		gap: 80px;
	}
	/* end of invite */


	/* Features */
	.features .grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.features .grid > *:last-child {
		grid-column: 2 / span 2;
	}

	.features .text-container {
		margin-bottom: 0;
	}
	
	.features .image-container {
		margin-left: 5rem;
		text-align: right;
	}
	/* end of benefits */


	/* Contact */
	form {
		width: 820px;
		margin-right: auto;
		margin-left: auto;
	}
	/* end of contact */


	/* Footer */
	footer {
		text-align: left;
	}

	footer p,
	footer ul {
		margin-bottom: 0;
	}
	
	footer ul {
		text-align: center;
	}

	footer .grid div:nth-of-type(3) {
		text-align: right;
	}

	footer .fab {
		margin-right: 0.75rem;
		margin-left: 0.75rem;
	}
	/* end of footer */


	/* Back To Top Button */
	#myBtn {
		bottom: 20px; 
		right: 20px; 
		width: 52px;
		height: 52px;
		line-height: 50px;
	}
	/* end of back To Top Button */

}
/* end of min-width 992px */

/* Navbar */
/* .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2); 
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
}

.navbar .container {
	width: 100%;
}

.navbar .logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  
  margin: 0;
  padding: 0;
  gap: 1.5rem; 
  flex-wrap: nowrap;
}

.navbar nav ul li {
  margin-left: 2rem;
}

.logo-text {
	font-family: 'Raleway', sans-serif;
}

.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar nav ul li a:hover {
  color: #46bfd3;
} */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background:#6D68D333;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-text {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  color: #46bfd3;
}

/* Hamburger button */
.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 600px) {
  nav {
    display: none; /* hide by default */
    position: absolute;
    top: 60px;
    right: 1rem;
    background: #6D68D333;
    padding: 1rem;
    border-radius: 8px;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav.show {
    display: block; /* show when toggled */
  }

  .hamburger {
    display: block;
  }
}

/* Blog Header */
.blog-header {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background:  url('../images/main\ banner.png') center center no-repeat;
}

.blog-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
background:  url('../images/main\ banner.png') center center no-repeat;

  color: #ffffff;
}

.blog-header p {
  color: #ffffff;
}

.blog-list {
  display: block;   /* let articles size naturally */
}

.blog-post {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.blog-post img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.post-header h1{
	color: #ffffff;
	word-wrap: break-word;       /* older browsers */
	overflow-wrap: anywhere;     /* modern browsers */
	hyphens: auto;        

}


.post-header p {
	color: #ffffff;

}

.post-content {
	text-align: center;
	max-width: 100%;
	height: auto;
	display: block;
	margin-left:5%;
	max-width: 800px;      /* keeps line length readable */
	margin: 0 auto;        /* centers content on wide screens */
	padding: 0 1rem;
}

.post-content p {
	text-align: left;
}

.post-content ul {
	list-style-type:circle;
	text-align: left;
	padding-left: 50px;
}

.blog-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  font-family: 'Raleway', sans-serif;
}

.blog-content p {
  margin: 0.5rem 0 1rem;
  color: #545454;
}

.read-more {
  color: #46bfd3;
  text-decoration: none;
  font-weight: 600;
}

.read-more:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-post {
    flex-direction: column;
    text-align: center;
  }

  .blog-post img {
    width: 100%;
    height: auto;
  }

  .post-content {
	width: 100%;
  }

  .post-content img {
	
    width: 100%;
    height: auto;
  }
}

/* Sticky footer layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Only main grows to push footer down */
main {
  flex: 1 0 auto;  /* grow, but don’t force children to stretch */
  display: block;  /* ensure it doesn’t become a flex container for articles */
}

footer {
  flex-shrink: 0; /* footer stays at bottom */
}

.footer-contact {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact a {
  color: #f4f4f4;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-contact strong {
  color: #fff;
}