/**
 * pages/services.css — Services Page Styles
 *
 * Figma reference: node 90:831 (Services page)
 *
 * Structure:
 *   1. Hero section — Gradient background, breadcrumb, title, subtitle
 *   2. Service Cards — 2×2 grid of service offerings
 *   3. Why Choose Us — 5-column icon grid
 *   4. CTA Section — Gradient background with 3 buttons
 *
 * @package MJC_Fintech_Child
 */

/* =====================================================
   GLOBAL UTILITIES
   ===================================================== */

.svc-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 64px;
}

.svc-bar {
	width: 64px;
	height: 4px;
	background-color: #2bbfce;
	border-radius: 2px;
	margin-top: 16px;
}

.svc-bar--center {
	margin-left: auto;
	margin-right: auto;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */

.svc-hero {
	background: linear-gradient(102deg, #0a2540 1.8%, #1e5f8c 98.1%);
	border-bottom: 1px solid #1e2939;
	padding: 64px 0 48px;
}

.svc-hero__title {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	margin: 48px 0 0 0;
	display: block;
	line-height: 1.2;
}

.svc-hero__subtitle {
	font-family: var(--font-body);
	font-size: 18px;
	color: #2bbfce;
	text-align: center;
	margin: 24px 0 0 0;
	line-height: 1.6;
}

/* =====================================================
   SECTION 2 — SERVICE CARDS
   ===================================================== */

.svc-services {
	background-color: #ffffff;
	padding: 80px 0;
}

.svc-services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
}

.svc-card {
	background-color: #e8f4f8;
	border: 1px solid #1e2939;
	border-radius: 24px;
	padding: 48px;
	min-height: 507px;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
}

.svc-card:hover {
	box-shadow: 0 8px 24px rgba(43, 191, 206, 0.1);
	border-color: #2bbfce;
}

.svc-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 24px;
	background-color: rgba(43, 191, 206, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.svc-card__icon svg {
	width: 32px;
	height: 32px;
}

.svc-card__heading {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: #0a2540;
	margin: 48px 0 0 0;
	display: block;
	line-height: 1.3;
}

.svc-card .svc-bar {
	margin-top: 8px;
	margin-bottom: 0;
}

.svc-card__intro {
	font-family: var(--font-body);
	font-size: 16px;
	color: #364153;
	margin: 24px 0 0 0;
	line-height: 1.6;
}

.svc-card__list {
	list-style: none;
	padding: 0;
	margin: 24px 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.svc-card__list li {
	font-family: var(--font-body);
	font-size: 16px;
	color: #364153;
	line-height: 1.6;
}

.svc-card__list li::before {
	content: '• ';
	color: #2bbfce;
	font-weight: bold;
	margin-right: 8px;
}

.svc-card__link {
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #0a2540;
	text-decoration: none;
	margin-top: auto;
	display: block;
	padding-top: 24px;
	transition: color 0.25s ease;
}

.svc-card__link:hover {
	color: #2bbfce;
}

.svc-card__link:focus-visible {
	outline: 2px solid #2bbfce;
	outline-offset: 2px;
}

/* =====================================================
   SECTION 3 — WHY CHOOSE OUR SERVICES
   ===================================================== */

.svc-why {
	background-color: #e8f4f8;
	padding: 80px 0;
}

.svc-why__heading {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	margin: 0;
	display: block;
	line-height: 1.3;
}

.svc-why .svc-bar {
	background-color: #1e5f8c;
}

.svc-why-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin-top: 64px;
	text-align: center;
}

.svc-why__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.svc-why__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba(43, 191, 206, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.svc-why__icon svg {
	width: 28px;
	height: 28px;
}

.svc-why__label {
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	color: #0a2540;
	text-align: center;
	line-height: 1.4;
}

/* =====================================================
   SECTION 4 — CTA
   ===================================================== */

.svc-cta {
	background: linear-gradient(173deg, #0a2540 7.5%, #1e5f8c 92.5%);
	padding: 64px 0;
	text-align: center;
}

.svc-cta__heading {
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	display: block;
	text-align: center;
	line-height: 1.3;
}

.svc-cta__subtext {
	font-family: var(--font-body);
	font-size: 18px;
	color: #e8f4f8;
	margin: 24px 0 0 0;
	line-height: 1.6;
}

.svc-cta__buttons {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 48px;
	flex-wrap: wrap;
}

.svc-cta__button {
	border: 1px solid #ffffff;
	border-radius: 100px;
	height: 56px;
	padding: 0 40px;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 500;
	color: #ffffff;
	background-color: transparent;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s, color 0.25s;
	cursor: pointer;
}

.svc-cta__button:hover {
	background-color: #ffffff;
	color: #0a2540;
	border-color: #ffffff;
}

.svc-cta__button:focus-visible {
	outline: 2px solid #67E8F9;
	outline-offset: 2px;
}

/* =====================================================
   RESPONSIVE — TABLET (1024px and below)
   ===================================================== */

@media (max-width: 1024px) {
	.svc-container {
		padding: 0 40px;
	}

	.svc-services-grid {
		grid-template-columns: 1fr;
	}

	.svc-why-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 32px;
	}
}

/* =====================================================
   RESPONSIVE — MOBILE (768px and below)
   ===================================================== */

@media (max-width: 768px) {
	.svc-container {
		padding: 0 24px;
	}

	.svc-hero {
		padding: 48px 0 32px;
	}

	.svc-hero__title {
		font-size: 32px;
		margin-top: 32px;
	}

	.svc-hero__subtitle {
		font-size: 16px;
		margin-top: 16px;
	}

	.svc-services {
		padding: 64px 0;
	}

	.svc-services-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.svc-card {
		padding: 32px;
		min-height: auto;
	}

	.svc-card__heading {
		margin-top: 32px;
		font-size: 20px;
	}

	.svc-card__intro {
		margin-top: 16px;
		font-size: 14px;
	}

	.svc-card__list {
		margin-top: 16px;
		gap: 6px;
	}

	.svc-card__list li {
		font-size: 14px;
	}

	.svc-card__link {
		padding-top: 16px;
		font-size: 14px;
	}

	.svc-why {
		padding: 64px 0;
	}

	.svc-why__heading {
		font-size: 24px;
	}

	.svc-why-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		margin-top: 48px;
	}

	.svc-cta {
		padding: 48px 0;
	}

	.svc-cta__heading {
		font-size: 24px;
	}

	.svc-cta__subtext {
		font-size: 16px;
		margin-top: 16px;
	}

	.svc-cta__buttons {
		flex-direction: column;
		gap: 12px;
		margin-top: 32px;
	}

	.svc-cta__button {
		width: 100%;
		height: 48px;
		font-size: 14px;
		padding: 0 24px;
	}
}
