

/* ============================================================
   IBEX HOMEPAGE — HERO SECTION + SERVICE CARDS
   ============================================================ */

/* ── Hero Banner ── */
.ibex-hero {
	width: 100%;
	font-family: var(--ibex-font);
}

.ibex-hero .banner_img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Light center overlay so text is readable over the busy image */
.ibex-hero__overlay {
	z-index: 1;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgba(255,255,255,0.05) 0%,
		rgba(255,255,255,0.40) 25%,
		rgba(255,255,255,0.50) 50%,
		rgba(255,255,255,0.40) 75%,
		rgba(255,255,255,0.05) 100%
	);
	pointer-events: none;
}

/* ── Hero Text Content (Styles kept for consistency) ── */
.ibex-hero__content-wrap {
	width: 100%;
}

.ibex-hero__content {
	text-align: center;
	width: 100%;
	max-width: 896px;
	min-height: 310px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 16px 8px;
	border-radius: 12px;
}

.ibex-hero__eyebrow {
	font-family: 'Onest', 'Inter', sans-serif;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.34; /* 67px / 50px */
	color: var(--ibex-navy);
	margin-bottom: 0;
	text-transform: capitalize;
	letter-spacing: 0;
}

.ibex-hero__title {
	font-family: 'Onest', 'Inter', sans-serif;
	font-size: 45px;
	font-weight: 700;
	line-height: 1.34;
	color: var(--ibex-navy);
	margin-bottom: 24px;
	text-transform: capitalize;
	letter-spacing: 0;
}

.ibex-hero__title-brand {
	color: var(--ibex-red);
}

.ibex-hero__title-accent {
	color: var(--ibex-red);
}

.ibex-hero__desc {
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 500;
	color: #252525;
	line-height: 2.05; /* 37px / 18px */
	margin-bottom: 36px;
	max-width: 606px;
	text-align: center;
}

.ibex-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 36px;
	background-color: var(--ibex-red);
	color: var(--ibex-white) !important;
	font-size: 16px;
	font-weight: 700;
	border-radius: 50px;
	letter-spacing: 0.3px;
	box-shadow: 0 4px 15px rgba(227,28,46,0.35);
	transition: all 0.3s ease;
	text-decoration: none !important;
}
.ibex-hero__cta:hover {
	background-color: var(--ibex-red-hover);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(227,28,46,0.45);
	color: var(--ibex-white) !important;
}

/* ── Service Cards Row ── */
.ibex-hero__cards-row {
	position: relative;
	z-index: 2;
	margin-top: 36px;
	padding-bottom: 0;
}

.ibex-hero__cards-inner {
	max-width: var(--ibex-max-width);
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

/* ── Service Card Base ── */
.ibex-service-card {
	background: var(--ibex-white);
	border-radius: 12px;
	padding: 22px 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.10);
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}
.ibex-service-card:hover {
	box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

/* Dotted decoration pattern */
.ibex-service-card::after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	width: 80px;
	height: 60px;
	background-image: radial-gradient(circle, #d1d5db 1.2px, transparent 1.2px);
	background-size: 10px 10px;
	opacity: 0.6;
	pointer-events: none;
}

/* Blue border for Loans */
.ibex-service-card--loans {
	border-bottom: 3px solid #1e6bd4;
}

/* Green border for Investments */
.ibex-service-card--investments {
	border-bottom: 3px solid #16a34a;
}

/* ── Card Header ── */
.ibex-service-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
}

.ibex-service-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ibex-service-card__icon--blue {
	background-color: #1e6bd4;
	color: #ffffff;
}

.ibex-service-card__icon--green {
	background-color: #16a34a;
	color: #ffffff;
}

.ibex-service-card__title {
	font-size: 17px;
	font-weight: 800;
	color: #1e6bd4;
	letter-spacing: 0.5px;
	line-height: 1;
	margin-bottom: 4px;
}

.ibex-service-card__title--green {
	color: #16a34a;
}

.ibex-service-card__sub {
	font-size: 12px;
	color: var(--ibex-muted);
	font-weight: 400;
	position: relative;
}

/* Underline accent beneath subtitle */
.ibex-service-card__sub::after {
	content: '';
	display: block;
	width: 36px;
	height: 2px;
	background: #1e6bd4;
	margin-top: 5px;
	border-radius: 2px;
}

.ibex-service-card--investments .ibex-service-card__sub::after {
	background: #16a34a;
}

/* ── Card Items Grid ── */
.ibex-service-card__items {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px 4px;
}

.ibex-service-card__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 10px 6px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	color: var(--ibex-text) !important;
	text-decoration: none !important;
}

.ibex-service-card__item:hover {
	background: #f0f4ff;
	transform: translateY(-2px);
	color: #1e6bd4 !important;
}

.ibex-service-card__item--green:hover {
	background: #f0faf4;
	color: #16a34a !important;
}

.ibex-service-card__item-icon {
	width: 52px;
	height: 52px;
	border-radius: 10px;
	background: #eef3fd;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1e6bd4;
	transition: background 0.2s ease;
	flex-shrink: 0;
}

.ibex-service-card__item:hover .ibex-service-card__item-icon {
	background: #dbeafe;
}

.ibex-service-card__item-icon--green {
	background: #ecfdf5;
	color: #16a34a;
}

.ibex-service-card__item--green:hover .ibex-service-card__item-icon--green {
	background: #d1fae5;
}

.ibex-service-card__item span {
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--ibex-text);
}

/* ── Main content area ── */
.ibex-main {
	min-height: 50vh;
}

.ibex-page-content {
	max-width: var(--ibex-max-width);
	margin: 0 auto;
	padding: 40px 24px;
}

/* ── Hero Responsive ── */
@media (max-width: 1024px) {
	.ibex-hero__cards-inner {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.ibex-service-card__items {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 768px) {
	.ibex-hero {
		min-height: auto;
	}
	.ibex-hero__content-wrap {
		padding: 40px 16px 16px;
	}
	.ibex-hero__eyebrow {
		font-size: 18px;
	}
	.ibex-hero__title {
		font-size: 45px;
	}
	.ibex-hero__desc {
		font-size: 13.5px;
	}
	.ibex-hero__cards-inner {
		grid-template-columns: 1fr;
		gap: 14px;
		padding: 0 16px;
	}
	.ibex-service-card__items {
		grid-template-columns: repeat(5, 1fr);
	}
}

@media (max-width: 480px) {
	.ibex-hero__title {
		font-size: 20px;
	}
	.ibex-service-card__items {
		grid-template-columns: repeat(3, 1fr);
	}
	.ibex-service-card__item-icon {
		width: 44px;
		height: 44px;
	}
	.ibex-service-card {
		padding: 16px 14px;
	}
}

.banner_img{
	width: 100%;
}








