/* Custom Footer Layout Styles - Based on Tailwind Design */
.site-footer {
	background-color: #072B55; /* Primary color */
	color: #ffffff;
	padding: 0;
	margin-top: 0;
    max-width: 100% !important;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 4rem 1rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr 1fr;
		gap: 2rem;
	}
}

/* Footer Brand Section */
.footer-brand {
	margin-bottom: 2rem;
}

.footer-brand-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.footer-brand-header .site-logo img,
.footer-brand-header .custom-logo {
	height: 3rem;
	width: auto;
	filter: brightness(0) invert(1);
}

.footer-brand-text h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	color: #ffffff;
}

.footer-brand-text p {
	font-size: 0.875rem;
	opacity: 0.8;
	margin: 0;
}

.footer-brand-description {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.footer-social {
	display: flex;
	gap: 1rem;
}

.footer-social a {
	background-color: rgba(255, 255, 255, 0.1);
	padding: 0.5rem;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.footer-social a:hover {
	background-color: #322B4F;
}

.footer-social svg {
	width: 20px;
	height: 20px;
}

/* Footer Columns */
.footer-column h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: #ffffff;
}

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

.footer-column ul li {
	margin-bottom: 0.75rem;
}

.footer-column ul li a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-column ul li a:hover {
	color: #ffffff;
}

/* Newsletter Section */
.footer-newsletter {
	margin-bottom: 1.5rem;
}

.footer-newsletter p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 0.75rem;
}

.newsletter-form {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.newsletter-input {
	display: flex !important;
	height: 2.5rem !important;
	width: 100% !important;
	border-radius: 0.375rem !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	padding: 0.5rem 0.75rem !important;
	font-size: 1rem !important;
	line-height: 1.5 !important;
	background-color: rgba(255, 255, 255, 0.1) !important;
	color: #ffffff !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-sizing: border-box !important;
}

.newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-input:focus {
	outline: none !important;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5) !important;
	border-color: #fff !important;
}

.newsletter-input:disabled {
	cursor: not-allowed !important;
	opacity: 0.5 !important;
}

/* Media query for smaller text on mobile */
@media (min-width: 768px) {
	.newsletter-input {
		font-size: 0.875rem !important;
	}
}

.newsletter-button {
	background-color: #dc2e36 !important;
	color: #fff !important;
	border: none;
	padding: 0 0.75rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.newsletter-button:hover {
	background-color: #dc2e37e1 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Info */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
}

.footer-contact-item svg {
	width: 16px;
	height: 16px;
}

.contact-link {
	color: rgba(255, 255, 255, 0.8) !important;
	text-decoration: none !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: inline-block !important;
}

.contact-link:hover {
	color: #3b82f6 !important;
	transform: translateX(2px) !important;
}

.contact-link:focus {
	outline: 2px solid #3b82f6 !important;
	outline-offset: 2px !important;
	border-radius: 2px !important;
}

/* Partners Section */
.footer-partners {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-partners h4 {
	font-size: 1.125rem;
	font-weight: 600;
	color: #ffffff;
	margin-bottom: 1.5rem;
	text-align: center;
}

.partners-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.partner-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.1);
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.2s ease;
	white-space: nowrap;
	min-height: 3rem;
	height: 3rem;
	box-sizing: border-box;
}

.partner-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.partner-emoji {
	font-size: 1.5rem;
	line-height: 1.35;
	display: flex;
	align-items: center;
	justify-content: center;
}

.partner-logo {
	height: 2rem;
	width: auto;
	filter: brightness(0) invert(1);
	display: block;
	object-fit: contain;
}

.partner-name {
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.4;
}

.partner-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.3s ease;
}

.partner-link:hover {
	opacity: 0.8;
}

/* Newsletter form without JavaScript functionality */
.newsletter-form {
	position: relative;
}


/* Support Mission Section */
.footer-support {
	background-color: #322B4F;
	border-radius: 1rem;
	padding: 1.5rem;
	margin-top: 2rem;
	text-align: center;
}

.footer-support-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.footer-support-header svg {
	color: #ffffff;
}

.footer-support h4 {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0;
}

.footer-support p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 1rem;
}

.footer-support-button {
	background-color: #CB2D39 !important;
	color: #fff !important;
	border: none;
	padding: 0.75rem 2rem;
	border-radius: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none !important;
}

.footer-support-button:hover {
	background-color: #CB2D39E1 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid #fff3;
}

.footer-bottom-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.footer-bottom-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.6);
	gap: 1rem;
}

@media (min-width: 768px) {
	.footer-bottom-content {
		flex-direction: row;
		gap: 0;
	}
}

.footer-bottom-links {
	display: flex;
	gap: 1.5rem;
}

.footer-bottom-links a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
	color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
	.footer-container {
		padding: 2rem 1rem;
	}
	
	.newsletter-form {
		flex-direction: column;
	}
	
	.newsletter-input {
		margin-bottom: 0.5rem;
	}
	
	.partners-grid {
		gap: 1rem;
	}
	
	.partner-card {
		font-size: 0.75rem;
		padding: 0.5rem 0.75rem;
		gap: 0.375rem;
	}
}

/* Footer menu styling */
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li {
	margin-bottom: 8px;
}

.footer-menu li a {
	color: #cbd5e1;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-block;
	position: relative;
	font-size: 16px;
	line-height: 24px;
}

.footer-menu li a:hover {
	color: #3b82f6;
	transform: translateX(4px);
}

.footer-menu li em {
	color: #64748b;
	font-style: italic;
	font-size: 0.9em;
}

/* Footer mission section */
.footer-mission {
	margin-top: 2rem;
	padding: 1.5rem;
	background: rgba(59, 130, 246, 0.1);
	border-radius: 12px;
	border-left: 4px solid #3b82f6;
}

.footer-mission p {
	margin: 0;
	color: #e2e8f0;
	font-style: italic;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.6;
}

/* Footer mission section */
.footer-mission {
	margin-top: 2rem;
	padding: 1.5rem;
	background: rgba(59, 130, 246, 0.1);
	border-radius: 12px;
	border-left: 4px solid #3b82f6;
}

.footer-mission p {
	margin: 0;
	color: #e2e8f0;
	font-style: italic;
	text-align: center;
	font-size: 1.1em;
	line-height: 1.6;
}
