/* ==========================================================================
   Footer CSS - Digital Marketing Company Chandigarh
   ========================================================================== */

/* --- Footer Base --- */
.site-footer {
	font-family: var(--font-primary);
	color: var(--color-white);
	position: relative;
	background-color: var(--color-navy);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color var(--transition-fast);
}

.site-footer a:hover {
	color: var(--color-white);
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* --- Top CTA Section --- */
.footer-cta-section {
	background: var(--gradient-primary);
	padding: clamp(3rem, 5vw, 4rem) 0;
	position: relative;
	overflow: hidden;
}

/* Subtle pattern/shape overlay for premium feel */
.footer-cta-section::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: radial-gradient(circle at right top, rgba(255,255,255,0.1) 0%, transparent 40%);
	pointer-events: none;
}

.footer-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.footer-cta-content {
	flex: 1 1 500px;
}

.footer-cta-heading {
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 700;
	margin: 0 0 1rem 0;
	color: var(--color-white);
	line-height: 1.2;
}

.footer-cta-text {
	font-size: var(--text-lg);
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	max-width: 600px;
}

.btn-secondary {
	background: var(--gradient-secondary);
	color: var(--color-white);
	padding: 1rem 2rem;
	font-size: var(--text-lg);
}

.btn-secondary:hover {
	box-shadow: 0 8px 20px rgba(255, 126, 95, 0.4);
	color: var(--color-white);
}

/* --- Main Footer Columns --- */
.footer-main {
	padding: clamp(4rem, 6vw, 6rem) 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2.5fr 1fr 1fr 1fr 1.5fr;
	gap: 3rem;
}

/* Widget Titles */
.footer-widget-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-white);
	margin-bottom: 1.5rem;
	position: relative;
	padding-bottom: 0.75rem;
}

.footer-widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background-color: var(--color-secondary);
}

/* Brand Column */
.footer-logo img {
	max-height: 50px;
	width: auto;
	margin-bottom: 1.5rem;
	/* Add brightness filter if the logo is dark */
	filter: brightness(0) invert(1); 
}

.site-title-footer {
	font-size: 1.5rem;
	margin: 0 0 1.5rem 0;
}

.footer-description {
	color: rgba(255, 255, 255, 0.7);
	font-size: var(--text-base);
	line-height: 1.6;
	margin-bottom: 1.5rem;
	max-width: 300px;
}

.footer-socials {
	display: flex;
	gap: 1rem;
}

.footer-socials a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transition: all var(--transition-fast);
}

.footer-socials a:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: translateY(-3px);
}

/* Menu Links Columns */
.footer-menu li {
	margin-bottom: 0.75rem;
}

.footer-menu a {
	display: inline-block;
	font-size: var(--text-sm);
	position: relative;
	padding-left: 0;
	transition: all var(--transition-fast);
}

.footer-menu a:hover {
	padding-left: 5px;
	color: var(--color-secondary);
}

/* Contact List */
.footer-contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.5;
}

.footer-contact-list svg {
	color: var(--color-secondary);
	flex-shrink: 0;
	margin-top: 2px;
}

/* --- Bottom Bar --- */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 0;
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.footer-legal-links {
	display: flex;
	gap: 1.5rem;
}

.footer-legal-links a {
	color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a:hover {
	color: var(--color-white);
}

/* ==========================================================================
   Footer Responsive Queries
   ========================================================================== */
@media (max-width: 1200px) {
	.footer-grid {
		grid-template-columns: 2fr 1fr 1fr 1fr;
	}
	.footer-col-contact {
		grid-column: span 4;
		margin-top: 1rem;
	}
	.footer-contact-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

@media (max-width: 991px) {
	.footer-cta-inner {
		text-align: center;
		flex-direction: column;
	}
	.footer-cta-content {
		flex: none;
		width: 100%;
	}
	.footer-cta-text {
		margin: 0 auto;
	}
	
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
	.footer-col-brand,
	.footer-col-contact {
		grid-column: span 2;
	}
	.footer-contact-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 576px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-col-brand,
	.footer-col-contact {
		grid-column: span 1;
	}
	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}
	.footer-legal-links {
		justify-content: center;
	}
}