/* Basic footer styles */
.app-footer {
	background-color: hsl(211, 89%, 82%);
	color: var(--contrast-dark-color);
	padding: 3rem 0rem;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	position: relative;
	overflow: hidden;
	font-family: var(--font-family);
}

.app-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Main footer container */
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	padding: 0 2rem;
	position: relative;
}

/* Info section */
.footer-info {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.footer-info p {
	line-height: 1.6;
	font-size: 0.95rem;
}

/* Disclaimer message */
.disclaimer-message {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	background-color: rgba(255, 255, 255, 0.281);
	border-left: 3px solid #55a6ff38;
	padding: 1rem;
	border-radius: 0 6px 6px 0;
	margin-top: 0.5rem;
}

.disclaimer-message i {
	font-size: 1.2rem;
	margin-top: 0.2rem;
}

.disclaimer-message p {
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0;
}

/* Logo section */
.footer-logo {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 0.5rem;
}

.footer-logo-img {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.footer-logo h3 {
	font-size: 2rem;
	margin: 0;
	background: var(--primary-color);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	font-family: var(--font-family-logo);
	align-self: center;
	padding: 20px 0px;
}

/* Titles in footer sections */
.footer-links h4,
.footer-social h4 {
	color: #4d4d4d;
	margin-bottom: 1.2rem;
	position: relative;
	padding-bottom: 0.8rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.footer-links h4::after,
.footer-social h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 2px;
	transition: width 0.3s ease;
}

.footer-links:hover h4::after,
.footer-social:hover h4::after {
	width: 60px;
}

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

.footer-links li {
	margin-bottom: 0.9rem;
}

.footer-link {
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.3rem 0;
}

.footer-link:hover {
	transform: translateX(8px);
}

.footer-link i {
	font-size: 0.9rem;
}

/* Social icons */
.social-icons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background-color: rgba(255, 255, 255, 0.486);
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

.social-icon:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 1;
}

.social-icon i {
	position: relative;
	z-index: 2;
}

.social-icon:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.social-icon:hover::before {
	transform: translateY(0);
}

/* Footer bottom part */
.footer-bottom {
	max-width: 1200px;
	margin: 3rem auto 0;
	padding: 1.5rem 2rem 0;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 1rem;
	color: #000;
	font-weight: bold;
}

.footer-bottom a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-bottom a:hover {
	color: var(--primary-color-hover);
}

/* Media queries for footer */
@media (max-width: 1200px) {
	.footer-content {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 3rem 2rem;
	}

	.disclaimer-message {
		grid-column: span 2;
	}
}

@media (max-width: 768px) {
	.app-footer {
		padding: 3rem 0 1rem;
	}
	.footer-content {
		grid-template-columns: 1fr;
	}
	.social-icons {
		justify-content: flex-start;
	}
	.footer-bottom {
		margin-top: 2rem;
	}

	.disclaimer-message {
		grid-column: span 1;
	}
}

@media (max-width: 480px) {
	.app-footer {
		padding: 2rem 0 1rem;
	}
	.footer-content {
		padding: 0 1rem;
		gap: 2rem;
	}
	.social-icons {
		gap: 0.8rem;
	}
	.social-icon {
		width: 38px;
		height: 38px;
	}
	.footer-logo h3 {
		font-size: 1.2rem;
	}
	.footer-bottom {
		padding: 1rem 1rem 0;
	}

	.disclaimer-message {
		padding: 0.75rem;
	}

	.disclaimer-message i {
		font-size: 1rem;
	}

	.disclaimer-message p {
		font-size: 0.85rem;
	}
}
