/* General Styling */
body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	color: #2b2d42;
	background-color: #f7f7f7;
}

.container {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto;
}

/* Header Styling */
#header-wrapper {
	padding: 0.5em 0;
	background: #ffffff;
	box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#logo img {
	max-width: 250px;
	vertical-align: middle;
}

#nav {
	margin-left: auto;
}

#nav > ul {
	display: flex;
	list-style: none;
	gap: 2rem;
	margin: 0;
	padding: 0;
}

#nav ul li a {
	color: #2b2d42;
	text-decoration: none;
	font-weight: 600;
	padding: 0.5rem 1rem;
	transition: color 0.3s;
	display: block;
}

#nav ul li a:hover {
	color: #00509e;
}

/* Dropdown Styling */
.dropotron {
	display: none; /* Hide dropdown by default */
	background: #ffffff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 0.5rem 0;
	min-width: 200px;
	margin-top: 0.5rem;
	list-style-type: none;
	position: absolute; /* Position the dropdown absolutely */
	z-index: 1000; /* Ensure it appears above other elements */
}

/* Show dropdown on hover */
#nav > ul > li:hover > .dropotron {
	display: block;
}

/* Ensure proper positioning of dropdown parent */
#nav > ul > li {
	position: relative;
}

#nav .dropotron li {
	border-top: solid 1px #f0f0f0;
	line-height: 2.5em;
	padding-left: 0;
}

#nav .dropotron li:first-child {
	border-top: 0;
}

#nav .dropotron li > a, .dropotron li > span {
	transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
	text-decoration: none;
	color: #333;
	display: block;
	padding: 0 1.5em;
	font-size: 0.9rem;
}

#nav .dropotron li > a:hover, .dropotron li > span:hover {
	background: #f8f9fa;
	color: #00509e;
}

#nav .dropotron li.active > a, .dropotron li.active > span {
	background: #f0f0f0;
	color: #00509e;
}

#nav .dropotron.level-0 {
	font-size: 0.9em;
	margin-left: 0;
	margin-top: 1em;
}

#nav .dropotron.level-0:before {
	content: '';
	position: absolute;
	top: -10px;
	left: 1em;
	border-bottom: solid 10px #ffffff;
	border-left: solid 10px transparent;
	border-right: solid 10px transparent;
	z-index: 1;
}

/* Animation for smooth appearance */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

#nav > ul > li:hover > .dropotron {
	animation: fadeIn 0.3s ease-out;
}

/* Animation */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.dropotron {
	animation: fadeIn 0.3s ease-out;
}
/* Animation */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.dropotron {
	animation: fadeIn 0.3s ease-out;
}

/* Banner Styling */
#banner-wrapper {
	position: relative;
	background-image: url('../../images/banner2.png');
	background-size: cover;
	background-position: center;
	min-height: 750px;
	display: flex;
	align-items: center;
	justify-content: flex-start; /* Align content to the left */
	padding: 0 5%; /* Add some padding on the sides */
}

#banner-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right,
	rgba(0, 0, 0, 0.8),  /* Darkest on the left */
	rgba(0, 0, 0, 0.4),  /* Medium opacity in the middle */
	rgba(0, 0, 0, 0.2)   /* Lightest on the right */
	);
	z-index: 1;
}

#banner {
	position: relative;
	z-index: 2;
	text-align: left; /* Left-align the text */
	color: #ffffff;
	max-width: 50%; /* Limit the width of the content */
}

#banner h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2; /* Improve readability for long headlines */
}

#banner p {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.5; /* Improve readability */
}

/* Button Styling */
.button {
	background: #731c14;
	color: #ffffff;
	padding: 0.75rem 2rem;
	border-radius: 50px;
	border: none;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

.button:hover {
	background: #320000;
}

#features-wrapper {
	padding: 4rem 0;
	text-align: center;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	font-family: 'Montserrat', sans-serif;
	color: #2b2d42;
}

#features-wrapper {
	padding: 2rem 0;
	text-align: center;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	font-family: 'Montserrat', sans-serif;
	color: #2b2d42;
}

.features-container {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem; /* Increased gap slightly */
	justify-content: center;
}

.feature {
	flex: 0 1 calc(30% - 1rem); /* Reduced width to ensure 3 items fit */
	max-width: calc(30% - 1rem);
	text-align: center;
	background: #ffffff;
	padding: 1rem;
	border-radius: 10px;
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	margin-bottom: 1rem;
}

.feature:hover {
	transform: translateY(-5px);
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.feature img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.feature header h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.3rem; /* Further reduced font size */
	margin-top: 0.75rem;
}

.feature header p {
	font-size: 0.9rem;
	color: #4a5568;
}

@media (max-width: 1024px) {
	.feature {
		flex: 0 1 calc(45% - 0.75rem);
		max-width: calc(45% - 0.75rem);
	}
}

@media (max-width: 768px) {
	.feature {
		flex: 0 1 calc(100% - 1rem);
		max-width: calc(100% - 1rem);
	}
}


#footer-wrapper {
	background-color: #f8f9fa;
	padding: 4rem 0 2rem;
}


#footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px; /* Add padding to prevent content from touching the edges on smaller screens */
}

.row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* Center the content horizontally */
	margin: 0 -15px;
}

.col-6 {
	flex: 0 0 50%;
	max-width: 50%;
	padding: 0 15px;
}

.widget {
	margin-bottom: 2rem;
}

.widget h3 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: #333;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget ul li {
	margin-bottom: 0.5rem;
}

.widget ul li a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s ease;
}

.widget ul li a:hover {
	color: #007bff;
}

.widget.contact p {
	color: #666;
	margin-bottom: 0.5rem;
}

#copyright {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #e9ecef;
	text-align: center; /* Center the copyright text */
}

#copyright ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: center; /* Center the copyright items */
	flex-wrap: wrap;
}

#copyright ul li {
	color: #999;
	font-size: 0.9rem;
	margin: 0 10px; /* Add some spacing between copyright items */
}

#copyright ul li a {
	color: #999;
	text-decoration: none;
	transition: color 0.3s ease;
}

#copyright ul li a:hover {
	color: #007bff;
}

@media (max-width: 768px) {
	.col-12-medium {
		flex: 0 0 100%;
		max-width: 100%;
	}

	#copyright ul {
		flex-direction: column; /* Stack copyright items vertically on small screens */
		align-items: center;
	}

	#copyright ul li {
		margin: 5px 0; /* Adjust vertical spacing for stacked items */
	}
}



/* Footer-specific list styling */
#footer-wrapper .widget ul,
#footer-wrapper .widget ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Specific link styling for footer to prevent dropdown effects */
#footer-wrapper .widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer-wrapper .widget ul li a:hover {
    color: #007bff;
}
