.footer {
	background: linear-gradient(135deg, #f8f7ff 0%, #fff1f7 50%, #f0f9ff 100%);
	color: #1e1b29;
	padding: 40px 10% 20px;
	font-size: 0.95rem;
	box-shadow: 0 -4px 20px rgba(197, 31, 93, 0.14), 0 -2px 10px rgba(138, 43, 226, 0.10);
	transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg,
		transparent 0%,
		rgb(197, 31, 93) 20%,
		rgb(197, 31, 93) 40%,
		transparent 60%,
		rgb(197, 31, 93) 80%,
		transparent 100%);
	background-size: 200% 100%;
	animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
	0%, 100% {
		background-position: -200% 0;
	}
	50% {
		background-position: 200% 0;
	}
}

body.dark-mode .footer {
	background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
	color: #f5f5f5;
	box-shadow: 0 -4px 20px rgba(197, 31, 93, 0.3), 0 -2px 10px rgba(255, 255, 255, 0.1);
}

.footer-upper {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 4rem;
	justify-items: start;
	text-align: left;
	transition: border-bottom-color 0.3s ease;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-mode .footer-upper {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-upper-nav {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	margin-left: auto;
	margin-right: auto;
	align-content: center;
	margin-bottom: 1rem;
	margin-top: 1rem;
}

.brand-logo {
	width: 140px;
	height: auto;
	margin-bottom: 1.25rem;
	transition: all 0.4s ease;
	filter: drop-shadow(0 4px 8px rgba(197, 31, 93, 0.2));
}

.grid-item-brand-bottom:hover .brand-logo {
	transform: scale(1.08) rotate(-2deg);
	filter: drop-shadow(0 8px 16px rgba(197, 31, 93, 0.4));
}

.footer-upper h4 {
	font-size: 1.5rem;
	padding-left: 0;
	margin-bottom: 0.8rem;
	font-weight: 600;
	color: rgb(197, 31, 93);
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
	text-shadow: 0 2px 4px rgba(197, 31, 93, 0.2);
}

.footer-upper h4::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, rgb(197, 31, 93), rgb(255, 0, 255));
	transition: width 0.4s ease;
}

.grid-item-bottom:hover h4::after {
	width: 100%;
}

body.dark-mode .footer-upper h4 {
	color: rgb(197, 31, 93);
	text-shadow: 0 2px 8px rgba(197, 31, 93, 0.4);
}

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

.footer-upper li + li {
	margin-top: 0.65rem;
}

.footer-upper a {
	color: #000;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	padding-left: 0;
}

.footer-upper a::before {
	content: '→';
	position: absolute;
	left: -18px;
	opacity: 0;
	transition: all 0.3s ease;
	color: rgb(197, 31, 93);
}

.footer-upper a:hover::before {
	opacity: 1;
	left: -22px;
}

body.dark-mode .footer-upper a {
	color: #f5f5f5;
}

.footer-upper a:hover {
	color: rgb(197, 31, 93);
	transform: translateX(8px);
	text-shadow: 0 0 8px rgba(197, 31, 93, 0.3);
}

body.dark-mode .footer-upper a:hover {
	color: rgb(197, 31, 93);
}

.contact-list img {
	width: 15px;
	height: auto;
	transition: all 0.3s ease;
}

.bottom-nav-contact:hover img {
	transform: scale(1.3) rotate(10deg);
	filter: brightness(1.2) sepia(50%) saturate(300%) hue-rotate(300deg);
}

.footer-bottom {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	border-top: 2px solid transparent;
	border-image: linear-gradient(90deg,
		transparent 0%,
		rgb(197, 31, 93) 25%,
		rgb(197, 31, 93) 75%,
		transparent 100%) 1;
	padding-top: 15px;
	margin-top: 30px;
	transition: all 0.3s ease;
	position: relative;
}

.footer-bottom::before {
	content: '';
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg,
		transparent 0%,
		rgba(197, 31, 93, 0.5) 25%,
		rgba(197, 31, 93, 0.5) 75%,
		transparent 100%);
	filter: blur(2px);
}

body.dark-mode .footer-bottom {
	border-image: linear-gradient(90deg,
		transparent 0%,
		rgb(197, 31, 93) 25%,
		rgb(197, 31, 93) 75%,
		transparent 100%) 1;
}

.grid-item-bottom {
	display: flex;
	flex-direction: column;
	align-content: center;
	padding: 15px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.grid-item-bottom:hover {
	background: rgba(197, 31, 93, 0.05);
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(197, 31, 93, 0.15);
}

body.dark-mode .grid-item-bottom:hover {
	background: rgba(197, 31, 93, 0.1);
}

.footer-bottom small {
	display: flex;
	justify-content: right;
	color: #000;
	font-size: 0.85rem;
	transition: all 0.3s ease;
	position: relative;
}

.footer-bottom small::before {
	content: '©';
	position: absolute;
	left: -20px;
	font-size: 1.2rem;
	color: rgb(197, 31, 93);
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.6;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.1);
	}
}

body.dark-mode .footer-bottom small {
	color: #f5f5f5;
}

.social-icons-wrapper {
	display: flex;
	gap: 0.5rem;
}

.grid-item img {
	width: 30px;
	height: auto;
}

.bottom-nav ul {
	list-style: none;
	display: flex;
	flex-direction: column;
}

.bottom-nav a {
	font-size: 0.6rem;
	letter-spacing: 0.015em;
	color: #000;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

body.dark-mode .bottom-nav a {
	color: #f5f5f5;
}

.bottom-nav a:hover {
	color: rgb(197, 31, 93);
}

.bottom-nav img {
	width: 20px;
	height: auto;
	transition: filter 0.25s;
}

.bottom-nav-contact {
	display: flex;
	gap: 1rem;
	align-content: center;
	align-items: center;
	font-size: 0.6rem;
	letter-spacing: 0.015em;
	color: #000;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

body.dark-mode .bottom-nav-contact {
	color: #f5f5f5;
}

.bottom-nav-contact a {
	color: #000;
	text-decoration: none;
	transition: color 0.3s ease;
}

body.dark-mode .bottom-nav-contact a {
	color: #f5f5f5;
}

.bottom-nav-contact a:hover {
	color: rgb(197, 31, 93);
}

body.dark-mode .bottom-nav-contact a:hover {
	color: rgb(197, 31, 93);
}

.social-icons-wrapper {
	display: flex;
	gap: 0.65rem;
	margin-top: 0.5rem;
}

.social-icons-wrapper a {
	transition: all 0.3s ease;
	display: inline-block;
	position: relative;
}

.social-icons-wrapper a::after {
	content: '';
	position: absolute;
	inset: -5px;
	border: 2px solid rgb(197, 31, 93);
	border-radius: 50%;
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.3s ease;
}

.social-icons-wrapper a:hover::after {
	opacity: 1;
	transform: scale(1.2);
}

.social-icons-wrapper a:hover {
	transform: translateY(-5px);
}

.social-icons-wrapper a:hover img {
	filter: brightness(0.8) sepia(100%) saturate(300%) hue-rotate(300deg);
	transition: filter 0.3s ease;
	animation: bounce 0.6s ease;
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.link-list a,
.contact-list span {
	font-size: 1rem;
	font-weight: 400;
	color: #000;
	transition: color 0.3s ease;
}

body.dark-mode .link-list a,
body.dark-mode .contact-list span {
	color: #f5f5f5;
}

.link-list a {
	color: #000;
}

body.dark-mode .link-list a {
	color: #f5f5f5;
}


@media (max-width: 768px) {

	.footer-upper {
		flex-direction: column;
		gap: 0;
		align-items: center;
		text-align: center;
	}

	.footer-upper-nav {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}

	.footer-upper h4 {
		font-size: 1.3rem;
		padding-left: 0;
	}

	.footer-upper ul {
		text-align: center;
	}

	.link-list a,
	.contact-list span {
		font-size: 0.9rem;
	}

	.footer-bottom {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding-top: 15px;
		margin-top: 0px;
	}

	.footer-bottom small {
		justify-content: center;
		padding-right: 0;
	}

	.social-icons-wrapper {
		justify-content: center;
		padding-left: 0;
		margin-top: 1rem;
	}

	.bottom-nav ul {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}

	.bottom-nav a,
	.bottom-nav-contact {
		font-size: 0.9rem;
	}

	.bottom-nav-contact {
		justify-content: center;
		margin-top: 0.5rem;
	}

		small::before {
		content: '' !important;
	}

	.grid-item-brand-bottom {
		margin-bottom: 0px;
	}
	
	.brand-logo {
		margin-bottom: 0px;
		margin-top: 15px;
	}
}

@media (max-width: 480px) {
	.footer {
		padding: 10px 5%;
	}

}


#english {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


#english > section:not(:last-child) {
  flex: 1;
}


#english > section:last-of-type {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


#footer-logo {
  width: 140px !important;
  height: auto !important;
  max-width: 100%;
  display: block;
}