/* Import Poppins font family - Must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ===================================
   AUFG GLOBAL FOOTER STYLES
   Matching exact Elementor footer styling
   =================================== */

/* Override Tailwind CSS text wrapping defaults for footer */
.aufg-global-footer * {
	white-space: normal;
	font-family: "Poppins", sans-serif !important;
}

.aufg-global-footer .aufg-footer-heading,
.aufg-global-footer .aufg-footer-link {
	white-space: nowrap !important;
	word-wrap: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	text-wrap: nowrap !important;
	font-family: "Poppins", sans-serif !important;
}

.aufg-global-footer {
	font-family: "Poppins", Sans-serif !important;
	color: #ffffff;
	background-color: #112A3B;
	background-image: url('/assets/images/footer-image.png'), linear-gradient(180deg, #112A3B1A 0%, #112A3B1A 100%);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-blend-mode: overlay;
	position: relative;
	overflow: hidden;
	margin: 0;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
}

/* Ensure all footer elements use Poppins font - Maximum specificity */
.aufg-global-footer *,
.aufg-global-footer *::before,
.aufg-global-footer *::after,
.aufg-global-footer h1, .aufg-global-footer h2, .aufg-global-footer h3, .aufg-global-footer h4, .aufg-global-footer h5, .aufg-global-footer h6,
.aufg-global-footer p, .aufg-global-footer a, .aufg-global-footer span, .aufg-global-footer div, .aufg-global-footer li, .aufg-global-footer ul {
	font-family: "Poppins", sans-serif !important;
}

/* Additional high-specificity font overrides */
footer.aufg-global-footer * {
	font-family: "Poppins", sans-serif !important;
}

#aufgGlobalFooter * {
	font-family: "Poppins", sans-serif !important;
}

.aufg-footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
	z-index: 1;
}

/* ===== NEWSLETTER SECTION ===== */
.aufg-footer-newsletter {
	background: rgba(3, 139, 185, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding: 60px 0;
}

.aufg-newsletter-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.aufg-newsletter-text {
	flex: 1;
}

.aufg-newsletter-title {
	font-family: "Poppins", Sans-serif !important;
	font-size: 2rem;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: #ffffff;
	line-height: 1.2;
}

.aufg-newsletter-subtitle {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
	line-height: 1.5;
}

.aufg-newsletter-form {
	flex: 1;
	max-width: 450px;
}

.aufg-newsletter-input-wrapper {
	display: flex;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	overflow: hidden;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.aufg-newsletter-input-wrapper:focus-within {
	border-color: #038BB9;
	box-shadow: 0 0 0 3px rgba(3, 139, 185, 0.2);
}

.aufg-newsletter-input {
	flex: 1;
	padding: 16px 20px;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 1rem;
	outline: none;
}

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

.aufg-newsletter-btn {
	padding: 16px 24px;
	background: linear-gradient(135deg, #038BB9 0%, #025a7a 100%);
	color: #ffffff;
	border: none;
	font-weight: 500;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	border-radius: 0 12px 12px 0;
}

.aufg-newsletter-btn:hover {
	background: linear-gradient(135deg, #025a7a 0%, #038BB9 100%);
	transform: translateY(-1px);
}

.aufg-newsletter-privacy {
	margin: 12px 0 0 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	text-align: left;
	font-family: "Poppins", sans-serif !important;
}

.aufg-privacy-link {
	color: #038BB9;
	text-decoration: none;
	transition: color 0.3s ease;
}

.aufg-privacy-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* ===== MAIN FOOTER CONTENT ===== */
.aufg-footer-main {
	padding: 80px 0 60px;
}

.aufg-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 2fr 2fr 1.5fr 2fr;
	gap: 40px;
	align-items: start;
}

.aufg-footer-column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

/* Brand Section */
.aufg-footer-brand {
	padding-right: 20px;
}

.aufg-footer-logos {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}

.aufg-footer-logo-link {
	display: inline-block;
	transition: transform 0.3s ease;
}

.aufg-footer-logo-link:hover {
	transform: scale(1.05);
}

.aufg-footer-logo {
	height: 80px;
	width: auto;
	filter: brightness(1.1);
}

.aufg-footer-vision-logo {
	height: 60px;
	width: auto;
	opacity: 0.9;
	transition: opacity 0.3s ease;
}

.aufg-footer-vision-logo:hover {
	opacity: 1;
}

/* Footer Headings */
.aufg-footer-heading {
	font-family: "Poppins", Sans-serif !important;
	font-size: 1rem;
	font-weight: 500;
	color: #ffffff;
	margin: 0 0 16px 0;
	position: relative;
	padding-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap !important;
	word-wrap: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	flex-shrink: 0;
	display: block;
}

.aufg-footer-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background: linear-gradient(90deg, #038BB9 0%, #025a7a 100%);
	border-radius: 1px;
}

/* Footer Links */
.aufg-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aufg-footer-links li {
	margin: 0;
}

.aufg-footer-link {
	font-family: "Poppins", Sans-serif !important;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.6;
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
	white-space: nowrap !important;
	word-wrap: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

.aufg-footer-link:hover {
	color: #038BB9;
	transform: translateX(4px);
}

.aufg-footer-link::before {
	content: '';
	position: absolute;
	left: -16px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 2px;
	background: #038BB9;
	transition: width 0.3s ease;
}

.aufg-footer-link:hover::before {
	width: 12px;
}

/* Contact Section */
.aufg-footer-contact {
	margin: 15px 0 32px 0;
}

.aufg-contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px 0;
}

.aufg-contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(3, 139, 185, 0.2);
	border-radius: 10px;
	color: #038BB9;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.aufg-contact-item:hover .aufg-contact-icon {
	background: rgba(3, 139, 185, 0.3);
	transform: scale(1.1);
}

.aufg-contact-text {
	font-family: "Poppins", Sans-serif !important;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 400;
	transition: color 0.3s ease;
	white-space: nowrap;
}

.aufg-contact-text:hover {
	color: #038BB9;
}

/* Social Media */
.aufg-footer-social {
	display: flex;
	gap: 16px;
	align-items: center;
}

.aufg-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	color: rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease;
	text-decoration: none;
}

.aufg-social-link:hover {
	background: #038BB9;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(3, 139, 185, 0.3);
}

.aufg-social-link.linkedin:hover {
	background: #0077b5;
}

.aufg-social-link.x-twitter:hover {
	background: #000000;
}

.aufg-social-link.instagram:hover {
	background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.aufg-social-link.facebook:hover {
	background: #1877f2;
}

/* ===== FOOTER BOTTOM ===== */
.aufg-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 30px 0;
	background: rgba(0, 0, 0, 0.2);
}

.aufg-footer-bottom-content {
	display: grid;
	grid-template-columns: 2fr auto 1fr;
	align-items: center;
	gap: 30px;
}

.aufg-footer-left {
	text-align: left;
}

.aufg-footer-center {
	text-align: center;
}

.aufg-footer-right {
	text-align: right;
}

.aufg-footer-copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	white-space: nowrap;
	font-family: "Poppins", sans-serif !important;
}

.aufg-footer-credits {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	white-space: nowrap;
	font-family: "Poppins", sans-serif !important;
}

.aufg-footer-legal {
	display: flex;
	gap: 24px;
	align-items: center;
}

.aufg-legal-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
	position: relative;
	white-space: nowrap;
	font-family: "Poppins", sans-serif !important;
}

.aufg-legal-link:hover {
	color: #038BB9;
}

.aufg-legal-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 1px;
	background: #038BB9;
	transition: width 0.3s ease;
}

.aufg-legal-link:hover::after {
	width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (max-width: 1400px) {
	.aufg-footer-container {
		max-width: 1140px;
	}
}

/* Desktop */
@media (max-width: 1200px) {
	.aufg-footer-grid {
		grid-template-columns: 1.2fr 1.8fr 1.8fr 1.2fr 1.8fr;
		gap: 20px;
	}
	
	.aufg-footer-container {
		padding: 0 16px;
	}
}

/* Large Desktop - Reduce spacing slightly for better fit */
@media (max-width: 1400px) {
	.aufg-footer-grid {
		gap: 30px;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	.aufg-newsletter-content {
		flex-direction: column;
		text-align: left !important;
		gap: 32px;
	}
	
	.aufg-newsletter-form {
		max-width: 100%;
	}
	
	.aufg-footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
	
	.aufg-footer-brand {
		grid-column: 1 / -1;
		text-align: left !important;
		padding-right: 0;
	}
	
	.aufg-footer-logos {
		flex-direction: row;
		justify-content: flex-start !important;
		align-items: flex-start !important;
		gap: 32px;
	}
	
	.aufg-footer-column {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 16px;
	}
	
	.aufg-footer-links {
		flex-direction: column;
		gap: 10px;
	}
	
	.aufg-footer-main {
		padding: 60px 0 40px;
	}
	
	.aufg-footer-newsletter {
		padding: 50px 0;
	}
}

/* Mobile Large */
@media (max-width: 768px) {
	.aufg-newsletter-title {
		font-size: 1.75rem;
	}
	
	.aufg-newsletter-subtitle {
		font-size: 1rem;
	}
	
	.aufg-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
		text-align: left !important;
	}
	
	.aufg-footer-brand {
		text-align: left !important;
	}
	
	.aufg-footer-logos {
		align-items: flex-start !important;
	}
	
	.aufg-footer-column {
		flex-direction: column;
		align-items: flex-start !important;
		text-align: left !important;
		gap: 16px;
	}
	
	.aufg-footer-links {
		flex-direction: column;
		align-items: flex-start !important;
		text-align: left !important;
		gap: 8px;
	}
	
	.aufg-footer-heading::after {
		left: 0;
		transform: none;
	}
	
	.aufg-footer-link::before {
		display: none;
	}
	
	.aufg-footer-link:hover {
		transform: none;
	}
	
	.aufg-footer-bottom-content {
		grid-template-columns: 1fr !important;
		text-align: left !important;
		gap: 16px;
	}
	
	.aufg-footer-left,
	.aufg-footer-center,
	.aufg-footer-right {
		text-align: left !important;
	}
	
	.aufg-footer-legal {
		justify-content: flex-start !important;
		text-align: left !important;
		flex-wrap: wrap;
	}
	
	/* Newsletter section */
	.aufg-newsletter-content {
		text-align: left !important;
	}
	
	/* Ensure footer links and content stay within screen bounds */
	.aufg-footer-links,
	.aufg-footer-heading,
	.aufg-footer-link,
	.aufg-footer-copyright,
	.aufg-footer-credits {
		white-space: normal !important;
		word-wrap: break-word !important;
		overflow-wrap: break-word !important;
		max-width: 100% !important;
		text-align: left !important;
	}
	
	/* Social media links */
	.aufg-footer-social {
		justify-content: flex-start !important;
	}
}

/* Mobile */
@media (max-width: 480px) {
	.aufg-footer-newsletter {
		padding: 40px 0;
	}
	
	.aufg-newsletter-title {
		font-size: 1.5rem;
	}
	
	.aufg-newsletter-input-wrapper {
		flex-direction: column;
		border-radius: 8px;
	}
	
	.aufg-newsletter-input {
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
	
	.aufg-newsletter-btn {
		border-radius: 0;
	}
	
	.aufg-footer-main {
		padding: 40px 0 30px;
	}
	
	.aufg-footer-logos {
		flex-direction: column;
		gap: 20px;
	}
	
	.aufg-footer-logo {
		height: 70px;
	}
	
	.aufg-footer-vision-logo {
		height: 50px;
	}
	
	.aufg-footer-social {
		justify-content: center;
	}
	
	.aufg-footer-legal {
		gap: 16px;
	}
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */

/* Focus States */
.aufg-newsletter-input:focus {
	outline: 2px solid #038BB9;
	outline-offset: 2px;
}

.aufg-newsletter-btn:focus,
.aufg-footer-link:focus,
.aufg-social-link:focus,
.aufg-legal-link:focus {
	outline: 2px solid #038BB9;
	outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
	.aufg-global-footer {
		background: #000000;
	}
	
	.aufg-footer-link,
	.aufg-contact-text {
		color: #ffffff;
	}
	
	.aufg-footer-link:hover,
	.aufg-contact-text:hover {
		color: #00bfff;
	}
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.aufg-newsletter-btn,
	.aufg-footer-logo-link,
	.aufg-footer-link,
	.aufg-social-link,
	.aufg-contact-icon {
		transition: none;
	}
	
	.aufg-footer-link:hover {
		transform: none;
	}
	
	.aufg-social-link:hover {
		transform: none;
	}
}

/* Print Styles */
@media print {
	.aufg-global-footer {
		background: #ffffff !important;
		color: #000000 !important;
	}
	
	.aufg-footer-social {
		display: none;
	}
	
	.aufg-newsletter-content {
		display: none;
	}
}

/* Ultra-specific overrides to prevent text wrapping - highest priority */
footer#aufgGlobalFooter .aufg-footer-heading,
footer#aufgGlobalFooter .aufg-footer-link,
#aufgGlobalFooter .aufg-footer-heading,
#aufgGlobalFooter .aufg-footer-link,
.aufg-global-footer .aufg-footer-heading,
.aufg-global-footer .aufg-footer-link {
	white-space: nowrap !important;
	word-wrap: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	text-wrap: nowrap !important;
	hyphens: none !important;
}