/* Footer styles */
.footer {
	padding: 20px 0;
	background-color: #fff;
	border-top: 1px solid #eee;
	text-align: center;
}

.footer-content {
    padding: 40px 60px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-main {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 20px;
	flex-wrap: wrap;
	align-items: flex-start;
	position: relative;
}

.footer-left {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 33%;
	padding-left: 60px;
}

.footer-logo {
	margin-bottom: 15px;
}

.footer-logo img {
	max-width: 140px;
	height: auto;
}

.ministry-logo {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.ministry-logo img {
	max-width: 140px;
	height: auto;
	margin-right: 10px;
}

.ministry-text {
	text-align: left;
	font-size: 12px;
	color: #555;
}

.social-media {
	margin: 15px 0;
	text-align: left;
}

.social-icon {

	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid;
	margin-right: 10px;
	color: #555;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-icon:hover {
	background-color: #f5f5f5;
}

.footer-center {
	width: 33%;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
}

.download-app {
	text-align: center;
}

.download-app p {
	margin-bottom: 10px;
	font-size: 14px;
}

.download-app img {
	max-width: 180px;
	height: auto;
}

.footer-right {
	text-align: right;
	width: 33%;
	align-self: flex-start;
	padding-right: 60px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.footer-links a {
	display: block;
	margin-bottom: 10px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
	cursor: pointer;
}

.footer-links a:hover {
	color: #0066cc;
}

.copyright {
	margin-top: 10px;
	font-size: 12px;
	color: #666;
}

.initiative {
	font-size: 12px;
	color: #666;
}


.custom-modal .modal-content {
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.custom-modal .modal-dialog {
	max-width: 600px;
}

.custom-modal .modal-header {
	background-color: #003366;
	color: white;
	border-bottom: none;
}

.custom-modal .modal-title {
	font-size: 24px;
	font-weight: bold;
}

.custom-modal .btn-close {
	color: white;
	opacity: 1;
	filter: brightness(0) invert(1);
}

.custom-modal .modal-body {
	padding: 30px 20px;
}

.custom-modal .form-group {
	margin-bottom: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.custom-modal .form-label {
	margin-bottom: 15px;
	font-size: 18px;
	color: #555;
	text-align: center;
	width: 100%;
	white-space: nowrap;
}

.custom-modal .required {
	color: red;
}

.custom-modal .form-select {
	width: 300px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	margin: 0 auto;
}

.custom-modal .form-info {
	margin-top: 30px;
	text-align: center;
	font-size: 18px;
	color: #555;
}

.custom-modal .coordinator-name {
	color: #0066cc;
	font-weight: bold;
	text-decoration: none !important;
}

.coordinator-name a {
    text-decoration: none !important;
}

@media (max-width: 1000px) {
	.footer-main {
		flex-direction: column;
		align-items: center;
	}

	.footer-left,
	.footer-center,
	.footer-right {
		margin-bottom: 20px;
		text-align: center;
		width: 100%;
		position: relative;
		transform: none;
		left: auto;
	}

	.footer-right {
		padding-left: 10px;
		padding-right: 10px;
	}

	.footer-left {
	    padding-left: 0px;
		align-items: center;
	}

	.ministry-logo {
		flex-direction: column;
	}

	.ministry-text {
		text-align: center;
		margin-top: 10px;
	}

	.social-media {
		text-align: center;
	}

	.social-icon {
		margin: 0 5px;
	}

	.footer-links {
	    display: ruby;
		align-items: center;
	}

	.footer-links a {
		padding: 5px;
		margin: 5px 0;
	}

	.custom-modal .form-select {
		width: 80%;
		min-width: 150px;
		max-width: 300px;
		font-size: 14px;
		padding: 8px;
	}

	.custom-modal .form-label {
		font-size: 16px;
		white-space: normal;
	}
}
