/* AFAMS Aims & Objectives Widget Stylesheet */

.afam-aims-objectives-wrapper {
	width: 100%;
	padding: 50px 0;
	background-color: transparent;
	font-family: 'Montserrat', 'Open Sans', sans-serif;
	box-sizing: border-box;
}

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

.afam-aims-objectives-wrapper .afam-container {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

/* SECTION HEADER */
.afam-aims-header-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 45px;
}

.afam-aims-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 0;
	text-align: center;
}

.afam-aims-heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 800;
	color: #071b38;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
	line-height: 1.2;
}

.afam-aims-line {
	display: inline-block;
	width: 60px;
	height: 2px;
	background-color: #c69214;
	border-radius: 2px;
	flex-shrink: 0;
}

.afam-aims-bottom-line {
	width: 60px;
	height: 3px;
	background-color: #c69214;
	border-radius: 2px;
	margin-top: 12px;
}

.afam-aims-subheading {
	font-family: 'Open Sans', 'Montserrat', sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #526075;
	text-align: center;
	max-width: 750px;
	margin: 12px auto 0 auto;
}



/* GRID LAYOUT */
.afam-aims-grid {
	display: grid;
	gap: 24px;
}

/* Desktop Columns */
.afam-cols-d-6 { grid-template-columns: repeat(6, 1fr); }
.afam-cols-d-5 { grid-template-columns: repeat(5, 1fr); }
.afam-cols-d-4 { grid-template-columns: repeat(4, 1fr); }
.afam-cols-d-3 { grid-template-columns: repeat(3, 1fr); }
.afam-cols-d-2 { grid-template-columns: repeat(2, 1fr); }
.afam-cols-d-1 { grid-template-columns: repeat(1, 1fr); }

/* CARD ITEM */
.afam-aims-card {
	position: relative;
	background-color: #ffffff;
	border: 1px solid rgba(7, 27, 56, 0.08);
	border-radius: 12px;
	padding: 28px 24px 32px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	box-shadow: 0 4px 18px rgba(7, 27, 56, 0.03);
	transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.afam-aims-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(7, 27, 56, 0.09);
	border-color: rgba(198, 146, 20, 0.35);
}

/* NUMBER BADGE */
.afam-aims-card-number {
	position: absolute;
	top: 22px;
	left: 24px;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 800;
	color: #071b38;
	line-height: 1;
}

/* ICON */
.afam-aims-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin: 12px auto 18px auto;
	color: #c69214;
	font-size: 40px;
	transition: transform 0.3s ease, color 0.3s ease;
}

.afam-aims-card:hover .afam-aims-card-icon {
	transform: scale(1.08);
}

.afam-aims-card-icon svg {
	width: 40px;
	height: 40px;
	fill: #c69214;
}

.afam-aims-card-icon .afam-aims-icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* CARD TITLE */
.afam-aims-card-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 16.5px;
	font-weight: 700;
	color: #071b38;
	margin: 0 0 10px 0;
	line-height: 1.35;
}

/* CARD DESCRIPTION */
.afam-aims-card-desc {
	font-family: 'Open Sans', 'Montserrat', sans-serif;
	font-size: 13.5px;
	font-weight: 400;
	color: #526075;
	line-height: 1.6;
	margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
	.afam-cols-t-6 { grid-template-columns: repeat(6, 1fr); }
	.afam-cols-t-5 { grid-template-columns: repeat(5, 1fr); }
	.afam-cols-t-4 { grid-template-columns: repeat(4, 1fr); }
	.afam-cols-t-3 { grid-template-columns: repeat(3, 1fr); }
	.afam-cols-t-2 { grid-template-columns: repeat(2, 1fr); }
	.afam-cols-t-1 { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 768px) {
	.afam-aims-header {
		gap: 12px;
		margin-bottom: 35px;
	}
	.afam-aims-heading {
		font-size: 17px;
		letter-spacing: 1px;
	}
	.afam-aims-line {
		width: 40px;
	}
	.afam-cols-m-2 { grid-template-columns: repeat(2, 1fr); }
	.afam-cols-m-1 { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 480px) {
	.afam-aims-grid {
		grid-template-columns: repeat(1, 1fr) !important;
	}
	.afam-aims-card {
		padding: 24px 20px 28px 20px;
	}
}
