/* CSS Variables */
:root {
	--primary-blue: #1976d2;
	--secondary-green: #2c2c2c;
	--white: #fff;
	--bg-light: #f5f5f5;
	--text-dark: #333;
	--text-light: #666;
	--gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
	--footer-bg: #3B8AD9;
	--footer-text: #ffffff;
	--footer-link-hover: #e6e6e6;
}

/* Global Body Styles */
body {
	padding-top: 108px;
	color: var(--text-dark);
	background-color: var(--white);
}

/* Footer Base Styles */
.footer {
	background-color: var(--footer-bg);
	color: var(--footer-text);
	padding: 40px 0 20px;
	margin-top: 0;
	position: relative;
	z-index: 1;
	box-shadow: 0 -8px 32px rgba(25,118,210,.2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Footer Headings */
.footer h5 {
	color: var(--footer-text);
	margin-bottom: 20px;
	font-weight: 600;
	border-bottom: 2px solid hsla(0,0%,100%,.3);
	padding-bottom: 1rem;
}

/* Contact Information Section */
.footer .contact-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer .contact-info p {
	display: flex;
	align-items: flex-start;
	margin: 0;
	line-height: 1.5;
	margin-bottom: 10px;
}

.footer .contact-info .label {
	font-weight: 600;
	margin-right: 10px;
	color: hsla(0,0%,100%,.95);
	display: inline-block;
	width: 70px;
	flex-shrink: 0;
}

.footer .contact-info .content,
.footer .contact-info .address-content {
	color: hsla(0,0%,100%,.85);
	display: inline-block;
	padding-left: 15px;
	transition: all .3s ease;
}

.footer .contact-info .address-content {
	width: calc(100% - 85px);
}

/* Quick Links Section */
.footer .quick-links {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 10px 30px;
	list-style: none;
	padding: 0;
}

.footer .quick-links li {
	display: flex;
	align-items: center;
	margin: 0;
	line-height: 1.5;
	margin-bottom: 10px;
}

.footer .quick-links a {
	color: var(--footer-text);
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
	display: inline-block;
	padding-left: 15px;
	position: relative;
	white-space: nowrap;
}

/* Quick Links Hover Effects */
.footer .quick-links a:before {
	content: "•";
	position: absolute;
	left: 0;
	color: hsla(0,0%,100%,.8);
	transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.footer .quick-links a:hover {
	color: #fff;
	text-shadow: 0 0 10px hsla(0,0%,100%,.3);
	transform: translateX(7px);
	letter-spacing: 0.5px;
}

.footer .quick-links a:hover:before {
	transform: translateX(3px) scale(1.2);
	color: #fff;
	text-shadow: 0 0 5px rgba(255,255,255,0.5);
}

/* Social Links Section */
.footer .social-links {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	grid-template-rows: repeat(2, 1fr) !important;
	gap: 20px !important;
	max-width: 180px !important;
	margin: 10px auto 0 !important;
}

/* Social Links Icons */
.footer .social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: hsla(0,0%,100%,.1);
	border-radius: 50%;
	color: hsla(0,0%,100%,.85);
	font-size: 1.2rem;
	transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

/* Social Links Hover Effects */
.footer .social-links a:hover {
	background: hsla(0,0%,100%,.2);
	color: #fff;
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 7px 20px hsla(0,0%,100%,.25);
}

.footer .social-links a:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s ease;
}

.footer .social-links a:hover:after {
	width: 120%;
	height: 120%;
}

.footer .social-links a i {
	position: relative;
	z-index: 2;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer .social-links a:hover i {
	transform: scale(1.2) rotate(5deg);
}

/* Copyright Section */
.footer .copyright {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: hsla(0,0%,100%,.85);
}

.footer .copyright p {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
	/* Global Adjustments */
	body {
		padding-top: 98px;
	}
	
	/* Footer Mobile Styles */
	.footer {
		padding: 30px 0 15px;
	}
	
	.footer .col-md-4 {
		margin-bottom: 30px;
		text-align: center;
	}
	
	/* Center Social Links on Mobile */
	.footer .social-links {
		margin-left: auto;
		margin-right: auto;
	}
	
	/* Center Contact Info on Mobile */
	.footer .contact-info {
		align-items: center;
	}
	
	/* Center Headings on Mobile */
	.footer h5 {
		text-align: center;
	}
	
	/* Adjust Copyright Section on Mobile */
	.footer .copyright {
		margin-top: 20px;
	}
	
	/* Quick Links Mobile Layout */
	.footer .quick-links {
		grid-template-columns: 1fr;
	}
}

/* Grid Layout Adjustments */
@media (min-width: 992px) {
	.row {
		margin: 0 -.8rem;
	}
	[class*=col-] {
		padding: 0 .8rem;
	}
}

.row {
	margin-bottom: 0 !important;
}
