.footer {
	position: relative;
	background: #f8f9fa;
	padding: 0;
	margin-top: 0;
}

.footer-box {
	position: relative;
	width: 100%;
	background: #fff;
	border-top: 1px solid #eef1f6;
	padding: 0 0 40px;
	overflow: hidden;
}

.logos-strip {
	position: relative;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid #eef1f6;
	padding: 25px 0;
	margin-bottom: 40px;
	overflow: hidden;
}

.logos-track {
	display: flex;
	align-items: center;
	gap: 40px;
	width: max-content;
	animation: footer-scroll 40s linear infinite;
}

.logos-strip .logo img {
	height: 50px;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: all 0.3s ease;
}

.logos-strip .logo:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

@keyframes footer-scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.footer-links {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
	margin-bottom: 40px;
}

.footer-links h4 {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

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

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

.footer-links a {
	color: #555;
	text-decoration: none;
	font-size: 13.5px;
	line-height: 1.4;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #ea0029;
	text-decoration: none;
}

.footer-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid #eee;
	padding: 20px 0;
	font-size: 13px;
	color: #666;
}

.hlist {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.hlist li {
	display: flex;
	align-items: center;
}

.hlist a {
	color: #666;
	text-decoration: none;
}

.hlist a:hover {
	color: #ea0029;
}

.sep {
	color: #ccc;
	font-size: 10px;
	margin: 0 5px;
}

.copyright {
	margin: 0;
	font-weight: 500;
}

.partners-row {
	justify-content: center;
	border-top: none;
	padding-top: 0;
}

.partners img {
	height: 24px;
	margin: 0 10px;
	filter: grayscale(100%);
	opacity: 0.5;
	transition: 0.3s;
}

.partners img:hover {
	filter: grayscale(0);
	opacity: 1;
}

.footer .socials {
	display: flex;
	gap: 10px;
}

.footer .socials a {
	width: 32px;
	height: 32px;
	background: #f0f0f0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: 0.3s;
}

.footer .socials a:hover {
	background: #ea0029;
	color: #fff;
}

.footer-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, #ea0029 0%, #ff0033 100%);
	z-index: 10;
}

.logos-strip img[src*="ghiseul"] {
	height: 60px !important;
}

.partners img[src*="ep-logo"] {
	height: 65px !important;
	width: auto !important;
}

@media (max-width: 1200px) {
	.footer-links {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.footer-links {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (max-width: 480px) {
	.footer-links {
		grid-template-columns: 1fr;
	}
}
