/**
 * Professional eLearning Footer Styles
 * 
 * Modern, responsive styles for footer
 *
 * @package kadence
 */

/* ============================================
   FOOTER STYLES
   ============================================ */

.elearning-footer {
	position: relative;
	width: 100%;
}

/* Footer Main */
.footer-main {
	background: #2c3e50;
	color: #fff;
	padding: 80px 0 40px;
}

.footer-content-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.footer-column {
	min-width: 0;
}


.footer-description {
	color: #bdc3c7;
	line-height: 1.7;
	margin-bottom: 25px;
	font-size: 0.95rem;
}

.footer-title {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #fff;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #bdc3c7;
	text-decoration: none;
	transition: color 0.3s ease, padding-inline-start 0.3s ease;
	font-size: 0.95rem;
	display: inline-block;
}

.footer-links a:hover {
	color: #667eea;
	padding-inline-start: 5px;
}

/* Social Icons */
.footer-social {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.social-icon {
	width: 40px;
	height: 40px;
	background: rgba(255,255,255,0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: background 0.3s ease, transform 0.3s ease;
	font-size: 1.2rem;
}

.social-icon:hover {
	background: rgba(255,255,255,0.2);
	transform: translateY(-3px);
}

/* Newsletter */
.footer-newsletter-desc {
	color: #bdc3c7;
	line-height: 1.7;
	margin-bottom: 20px;
	font-size: 0.95rem;
}

.footer-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-newsletter-form input[type="email"] {
	padding: 12px 15px;
	border: none;
	border-radius: 8px;
	font-size: 0.95rem;
	outline: none;
	transition: box-shadow 0.3s ease;
}

.footer-newsletter-form input[type="email"]:focus {
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.footer-newsletter-form button[type="submit"] {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 12px 20px;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-newsletter-form button[type="submit"]:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Payment Methods */
.footer-payment-methods {
	margin-top: 25px;
}

.footer-payment-methods p {
	color: #bdc3c7;
	font-size: 0.85rem;
	margin-bottom: 10px;
}

.payment-icons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.payment-icons span {
	font-size: 1.5rem;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.payment-icons span:hover {
	opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
	background: #1a252f;
	padding: 25px 0;
	border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	text-align: center;
}

.footer-copyright {
	color: #95a5a6;
	font-size: 0.9rem;
}

.footer-copyright p {
	margin: 0;
}

.footer-legal-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-legal-links a {
	color: #95a5a6;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.footer-legal-links a:hover {
	color: #667eea;
}

/* Back to Top Button */
.back-to-top {
	display: none;
	position: fixed;
	bottom: 30px;
	inset-inline-end: 30px;
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
	z-index: 999;
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
}

.back-to-top.show {
	display: block;
	opacity: 1;
}

.back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
	.footer-content-grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 15px;
	}
}

@media (max-width: 1024px) {
	.footer-content-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.footer-content-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}
}

@media (max-width: 480px) {
	.footer-content-grid {
		grid-template-columns: 1fr !important;
		gap: 25px !important;
	}
	
	.footer-bottom-content {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-legal-links {
		flex-direction: column;
		gap: 10px !important;
	}
	
	.back-to-top {
		bottom: 20px;
		inset-inline-end: 20px;
		width: 45px;
		height: 45px;
		font-size: 1.3rem;
	}
}

@media (max-width: 480px) {
	.footer-content-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}
