/* Custom styles for index.php */

/* Icon Box Styles */
.icon_box_all.style_eight {
	min-height: 100px !important;
	padding: 15px 30px 15px 30px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

@media (min-width: 1200px) {
	.h3,
	h3 {
		font-size: 1.45rem !important;
	}

	.container {
		max-width: 1300px !important;
	}
}

/* Tier Items Styles */
.tier-items-container {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0;
}

.tier-items-wrapper {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	flex-wrap: nowrap;
	width: 100%;
	justify-content: space-between;
}

.tier-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	padding: 15px 8px;
	flex: 1 1 0;
	min-width: 0;
	max-width: calc(33.333% - 14px);
	position: relative;
}

.tier-item-icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #C8B56D;
	margin-bottom: 16px;
	flex-shrink: 0;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-item-icon svg {
	width: 100%;
	height: 100%;
}

.tier-item-title {
	font-size: 15px;
	font-weight: 700;
	color: #282F3B;
	margin: 0 0 10px 0;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: normal;
	word-wrap: break-word;
}

.tier-item-tier {
	display: inline-block;
	padding: 5px 14px;
	background: #C8B56D;
	color: #282F3B;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 20px;
	margin-bottom: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

.tier-item-location {
	font-size: 13px;
	color: #282F3B;
	margin: 0;
	opacity: 0.7;
	font-weight: 500;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

/* Hover States */
.tier-item:hover {
	transform: translateY(-5px);
}

.tier-item:hover .tier-item-icon {
	color: #282F3B;
	transform: scale(1.1);
}

.tier-item:hover .tier-item-title {
	color: #C8B56D;
}

.tier-item:hover .tier-item-tier {
	background: #282F3B;
	color: #ffffff;
}

.tier-item:hover .tier-item-location {
	color: #282F3B;
	opacity: 1;
}

/* Award Logo Styles */
.award-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.award-logo-link:hover {
	transform: scale(1.01);
	filter: drop-shadow(0 10px 25px rgba(40, 47, 59, 0.25));
}

.award-logo-link:active {
	transform: scale(1.01);
}

.section-title-responsive {
	font-size: 30px !important;
}

.description-text-responsive {
	font-size: inherit;
}

/* Award Logo Container Styles */
.award-logo-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	overflow: hidden;
	margin-top: 25px;
}

.award-logo-container {
	position: relative;
	width: 100%;
	padding: 50px 20px;
	min-height: 500px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.award-logo-img {
	max-width: 275px;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

/* CRITICAL: Restore Bootstrap gutter that theme removes */
.about-section .container .row.responsive-about-row {
	--bs-gutter-x: 1.5rem !important;
	margin-left: calc(-0.5 * var(--bs-gutter-x)) !important;
	margin-right: calc(-0.5 * var(--bs-gutter-x)) !important;
	display: flex !important;
	flex-wrap: wrap !important;
}

.about-section .container .row.responsive-about-row > * {
	padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
	padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
}

/* Desktop Layout - Only for XL screens (≥1200px) where col-xl-8 and col-xl-4 apply */
@media (min-width: 1200px) {
	.about-section .container .row.responsive-about-row {
		flex-direction: row !important;
	}
	
	/* Ensure columns don't have float or display issues */
	.about-section .container .row.responsive-about-row .about-content-col,
	.about-section .container .row.responsive-about-row .award-logo-col {
		float: none !important;
		display: block !important;
	}
	
	/* Position award logo to the right */
	.about-section .container .row.responsive-about-row .about-content-col {
		order: 1 !important;
	}
	
	.about-section .container .row.responsive-about-row .award-logo-col {
		order: 2 !important;
	}
}

/* For LG screens (992-1199px): Use side-by-side layout */
@media (min-width: 992px) and (max-width: 1199px) {
	.about-section .container .row.responsive-about-row {
		flex-direction: row !important;
	}
	
	.about-section .container .row.responsive-about-row .about-content-col {
		order: 1 !important;
	}
	
	.about-section .container .row.responsive-about-row .award-logo-col {
		order: 2 !important;
	}
}

/* Responsive Styles */
@media (max-width: 1199px) {
	.tier-items-wrapper {
		gap: 15px;
	}

	.tier-item {
		padding: 12px 6px;
		max-width: calc(33.333% - 10px);
	}

	.tier-item-icon {
		width: 48px;
		height: 48px;
		margin-bottom: 12px;
	}

	.tier-item-title {
		font-size: 13px;
		letter-spacing: 0.4px;
	}

	.tier-item-tier {
		font-size: 10px;
		padding: 4px 12px;
		letter-spacing: 0.8px;
	}

	.tier-item-location {
		font-size: 12px;
	}

	.section-title-responsive {
		font-size: 36px !important;
		line-height: 46px !important;
	}

	.description-text-responsive {
		font-size: 17px;
		line-height: 27px;
	}
}

@media (max-width: 991px) {
	/* For tablets and mobile: stack vertically with logo first */
	.about-section .container .row.responsive-about-row {
		flex-direction: column !important;
	}

	.about-section .container .row.responsive-about-row .award-logo-col {
		order: -1 !important;
	}

	.about-section .container .row.responsive-about-row .about-content-col {
		order: 1 !important;
	}

	.tier-items-container {
		justify-content: center;
	}

	.tier-items-wrapper {
		flex-direction: row;
		gap: 8px;
		justify-content: center;
		align-items: center;
		flex-wrap: wrap;
	}

	.tier-item {
		min-width: auto;
		max-width: calc(33.333% - 6px);
		padding: 8px 4px;
		flex: 1 1 calc(33.333% - 6px);
	}

	.tier-item-icon {
		width: 32px;
		height: 32px;
		margin-bottom: 6px;
	}

	.tier-item-title {
		font-size: 10px;
		letter-spacing: 0.2px;
		margin: 0 0 6px 0;
	}

	.tier-item-tier {
		font-size: 8px;
		padding: 2px 8px;
		letter-spacing: 0.5px;
		margin-bottom: 4px;
	}

	.tier-item-location {
		font-size: 9px;
	}

	.title_all_box.style_one .title_sections .section-title-responsive,
	.section-title-responsive {
		font-size: 25px !important;
		line-height: 32px !important;
		text-align: center !important;
	}

	.description-text-responsive {
		font-size: 13px;
		line-height: 20px;
		text-align: center;
	}

	.title_all_box.style_one.text-left {
		text-align: center !important;
	}

	.about_content {
		text-align: center;
	}

	.award-logo-container {
		padding: 20px 10px !important;
		min-height: 250px !important;
		margin-top: 0 !important;
		margin-bottom: 20px;
	}
	
	.award-logo-wrapper {
		margin-top: 0 !important;
	}

	.award-logo-img {
		max-width: 150px !important;
	}

	.tier-spacing-responsive {
		margin-bottom: 15px !important;
	}

	.tier-items-container {
		justify-content: center;
	}

}

@media (max-width: 550px) {

	.tier-items-wrapper {
		gap: 6px;
	}

	.tier-item {
		padding: 6px 3px;
		max-width: calc(33.333% - 4px);
		flex: 1 1 calc(33.333% - 4px);
	}

	.tier-item-icon {
		width: 28px;
		height: 28px;
		margin-bottom: 4px;
	}

	.tier-item-title {
		font-size: 9px;
		letter-spacing: 0.1px;
		margin: 0 0 4px 0;
	}

	.tier-item-tier {
		font-size: 7px;
		padding: 2px 6px;
		letter-spacing: 0.3px;
		margin-bottom: 3px;
	}

	.tier-item-location {
		font-size: 8px;
	}

	.section-title-responsive {
		font-size: 20px !important;
		line-height: 28px !important;
		text-align: center !important;
	}

	.description-text-responsive {
		font-size: 12px;
		line-height: 18px;
		text-align: center;
	}

	.title_all_box.style_one.text-left {
		text-align: center !important;
	}

	.about_content {
		text-align: center;
	}

	.award-logo-container {
		padding: 15px 8px !important;
		min-height: 200px !important;
		margin-top: 0 !important;
		margin-bottom: 15px;
	}

	.award-logo-img {
		max-width: 120px !important;
	}

	.tier-spacing-responsive {
		margin-bottom: 12px !important;
	}

}
