/** ABOUT US**/
@media only screen and (min-width: 480px) {
	.about-wrapper h2 {
		font-size: 40px;
	}

	.about-wrapper h3 {
		font-size: 30px;
	}
}

@media only screen and (min-width: 768px) {
	.about-wrapper h2 {
		font-size: 70px;
	}

	.about-wrapper h3 {
		font-size: 40px;
	}
}

.about-wrapper {
	background-color: #FAFBFD;
	text-align: center;
	padding: 50px 20px;
	font-family: "Trebuchet MS", Verdana, Tahoma;
	font-size: 18px;
	color: #5C667B;
}

.about-wrapper h2,
.about-wrapper h3 {
	margin: 50px;
	font-family: "Josefin Sans", sans-serif;
	color: #333333;
}

.about-wrapper h3 {
	margin-bottom: 20px;
}

.name-slogan {
	font-size: 25px;
	margin-bottom: 30px;
}

.span-name {
	font-family: "Merienda", cursive;
}

.about-stories {
	line-height: 2.5;
	font-weight: 400;
	padding: 30px 150px;
}

hr {
	height: 1px;
	width: 50%;
	border: 0;
	margin: 20px auto;
	background-color: #DDD;
}


/******** OUR HISTORY **********/yy
.history-section {
	text-align: justify;
	font-weight: 500;
	padding: 0 30px;
}

.history-section h3 {
	text-align: center;
}


.timeline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto 30px;
	padding: 0 0 20px 0;
}

.time-card {
	font-size: 14px;
	width: 30%;
	padding: 40px;
	border-radius: 25px;
	background-color: white;
	box-shadow: rgba(0, 17, 51, 0.05) 0px 0px 15px 0px;
	transition: all 0.3s ease 0s;
	margin: 1em;
}

.time-card h4 {
	font-size: 24px;
	color: #333333;
}

.time-card p {
	font-size: 16px;
	margin: 10px 0;
	color: #5C667B;
	line-height: 2;
}


/******** MEET OUR TEAM **********/yy
.team-container {
	text-align: center;
	padding: 2rem;
}

.team-members {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.team-member {
	width: 30%;
	background-color: #f5f5f5;
	margin: 1rem;
	border-radius: 10px;
	padding: 1rem;
	text-align: center;
}

.team-member img {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	margin: 0 auto;
	display: block;
}

.team-member img#emmanuel {
	width: 130px;
	height: 150px;
}

.team-member img#mubby {
	width: 100px;
	height: 150px;
}

.team-member h4,
.team-member h5 {
	margin: 1rem 0;
	color: #333333;
}

.team-member h4 {
	font-size: 20px;
	color: black;
}

.team-member h5 {
	font-size: 16px;
	color: #02226f;
}

.team-member p {
	line-height: 1.5;
	padding: 0.5rem;
	font-weight: 400;
	font-size: 16px;
}

.team-member i {
	font-size: 25px;
	border-radius: 10px;
	transition: all .3s  ease;
}

.team-member i:hover {
	background-color: rgba(2, 34, 111, 0.3);
}

.team-socials i {
	padding: 5px;
}



/* Responsive adjustments for smaller screens */

@media only screen and (max-width: 957px) {
	.team-member {
		width: 40%;
	}

	.time-card {
		padding: 30px;
		width: 40%;
	}

	.about-stories {
		padding: 30px;
	}

}

@media only screen and (max-width: 850px) {
	.about-wrapper {
		padding: 30px 10px;
		font-size: 16px;
	}

	.about-wrapper h2 {
		font-size: 30px;
	}

	.about-wrapper h3 {
		font-size: 20px;
	}

	.name-slogan {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.about-stories {
		padding: 20px;
	}

	.history-section {
		padding: 0 10px;
	}

	.time-card {
		padding: 30px;
		width: 100%;
	}

	.team-member {
		width: 100%;
	}

	.team-member img {
		width: 120px;
		height: 120px;
	}

	.team-member img#emmanuel {
		width: 100px;
		height: 120px;
	}

	.team-member img#mubby {
		width: 70px;
		height: 120px;
	}

	.team-member h4 {
		font-size: 18px;
	}

	.team-member h5 {
		font-size: 14px;
	}
}



/** CONTACT US * */
.contact-wrapper {
	background-image: url('../images/contact-us-bg.jpg');
	background-size: cover;
	background-attachment: fixed;
	color: white;
	font-family: "Josefin Sans", sans-serif;
	padding: 20px;
}

.contact-container {
	margin: 70px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.contact-div {
	margin-bottom: 50px;
}

.contact-h2 {
	margin-bottom: 20px;
	padding: 30px 0;
}

.contact-details {
	display: flex;
	flex-direction: column;
	gap: 70px;
	margin-right: 150px;
}

.icon-details {
	display: flex;
	flex-direction: column;
}

.fa-2xl {
	font-size: 24px;
	margin-right: 10px;
}

.details {
	margin-left: 50px;
	margin-top: -15px;
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 20px;
	color: #707070;
}


.sub-details {
	white-space: nowrap;
	overflow: wrap;
	margin-left: 50px;
	font-size: 18px;
}


/* CONTACT US FORM */

.contact-form {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	border: 1px solid #ccc;
	padding: 30px 50px;
	font-family: "Josefin Sans", sans-serif;
	background-color: white;
	color: black;
	max-width: 500px;
	min-width: 30%;
	flex-grow: 1;
	flex-shrink: 2;
}


.contact-form form {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 15px;
	font-family: "Trebuchet MS", Verdana, Tahoma, Arial,sans-serif;
}

.contact-form h2 {
	margin-bottom: 50px;
}


.contact-form input,
.contact-form textarea {
	border: 1px solid #ccc;

	padding: 10px;
	width: 100%;
	height: 50px;
}


.contact-form textarea {
	height: 100px;
}

.contact-form button {
	margin-top: 20px;
	margin-right: auto;
	background-color: #02226f;
	color: white;
	padding: 12px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-size: 15px;
	font-family: "Trebuchet MS", Verdana, Tahoma, Arial,sans-serif;

}

.contact-form button:hover {
	background-color: #134fa9;
}



.flash-message {
  border-color: #c3e6cb; /* Light green border */
  border: 1px solid transparent; /* Border around the message */
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 5px;
  opacity: 1;
  transition: all 1s ease-in-out;
  collapse: collapse;
}


.flash-message.success {
  background-color: rgba(144, 238, 144, 0.8);
  color: darkgreen;
}

.flash-message.error {
  background-color: rgba(240, 128, 128, 0.8);
  color: darkred;
}

.flash-message.fade-out {
  opacity: 0;
}


/* Responsive adjustments */
@media (max-width: 768px) {
	.contact-container {
		margin: 30px;
		flex-direction: column;
	}
	.contact-h2 {
		margin-top: 30px;
		font-size: 20px;
	}

	.contact-details {
		gap: 50px;
		margin-right: auto;
	}

	.fa-2xl {
		font-size: 18px;
		margin-right: 7px;
	}

	.details {
		margin-left: 40px;
		font-size: 18px;
	}

	.sub-details {
		margin-left: 40px;
	}
}

@media (max-width: 480px) {
	.contact-container {
		margin: 20px;
	}

	.contact-h2 {
		margin-top: 20px;
	}

	.contact-details {
		gap: 30px;
	}

	.fa-2xl {
		font-size: 16px;
		margin-right: 5px;
	}

	.details {
		margin-left: 30px;
		font-size: 16px;
		margin-top: -12px;
	}

	.sub-details {
		margin-left: 30px;
		font-size: 14px;
	}
}
