/* AFAMS Main Footer Widget Stylesheet */

.afam-footer-wrapper {
	background-color: #051327;
	color: #ffffff;
	padding-top: 50px;
	font-family: 'Montserrat', 'Open Sans', sans-serif;
	box-sizing: border-box;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.afam-footer-wrapper *,
.afam-footer-wrapper *::before,
.afam-footer-wrapper *::after {
	box-sizing: border-box;
}

/* MAIN FOOTER GRID */
.afam-footer-grid {
	display: grid;
	grid-template-columns: 2.2fr 1fr 1.2fr 1fr 1.3fr;
	gap: 24px;
	padding-bottom: 45px;
}

.afam-footer-col {
	border-right: 1px solid rgba(255, 255, 255, 0.09);
	padding-right: 20px;
}

.afam-footer-col:last-child {
	border-right: none;
	padding-right: 0;
}

/* COL 1: BRAND */
.afam-footer-logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	text-decoration: none;
}

.afam-footer-logo-emblem {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
}

.afam-footer-custom-logo {
	max-width: 180px;
	height: auto;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}

.afam-footer-logo-text {
	display: flex;
	flex-direction: column;
}

.afam-footer-logo-text .afam-brand-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: 2px;
	line-height: 1.1;
}

.afam-footer-logo-text .afam-brand-sub {
	font-size: 7.5px;
	font-weight: 700;
	color: #d4af37;
	letter-spacing: 1px;
	margin-top: 2px;
	text-transform: uppercase;
}

.afam-footer-tagline {
	font-size: 12.5px;
	line-height: 1.6;
	color: #94a8c4;
	margin: 0 0 20px 0;
	max-width: 320px;
	font-weight: 400;
}

/* SOCIAL ICONS */
.afam-footer-social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.afam-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.afam-footer-social a:hover {
	background: #e0a948;
	color: #051327;
	border-color: #e0a948;
	transform: translateY(-2px);
}

/* COLUMN HEADINGS */
.afam-footer-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 18px 0;
	letter-spacing: 0.2px;
}

/* FOOTER MENUS */
.afam-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.afam-footer-menu li a {
	color: #a3b8d4;
	font-size: 13px;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
	font-weight: 400;
}

.afam-footer-menu li a:hover {
	color: #e0a948;
	padding-left: 3px;
}

/* CONTACT LIST */
.afam-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.afam-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #a3b8d4;
	font-size: 13px;
	line-height: 1.5;
}

.afam-footer-contact li i {
	color: #e0a948;
	font-size: 13px;
	margin-top: 3px;
	flex-shrink: 0;
}

.afam-footer-contact li a {
	color: #a3b8d4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.afam-footer-contact li a:hover {
	color: #ffffff;
}

/* BOTTOM COPYRIGHT BAR */
.afam-copyright-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 18px 0;
	font-size: 12px;
	color: #7b94b5;
	background-color: #040f20;
}

.afam-copyright-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
	.afam-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
	.afam-footer-col {
		border-right: none;
		padding-right: 0;
	}
	.afam-col-brand {
		grid-column: span 2;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding-bottom: 20px;
	}
}

@media (max-width: 600px) {
	.afam-footer-grid {
		grid-template-columns: 1fr;
	}
	.afam-col-brand {
		grid-column: span 1;
	}
	.afam-copyright-inner {
		flex-direction: column;
		text-align: center;
	}
}
