/* ==========================================================================
   RPM Homepage Styles
   ========================================================================== */

:root {
	--rpm-primary: #1a1a4e;
	--rpm-primary-light: #2d2d7f;
	--rpm-accent: #4a90d9;
	--rpm-text-dark: #1a1a2e;
	--rpm-text-body: #444444;
	--rpm-bg-light: #f7f8fc;
	--rpm-white: #ffffff;
	--rpm-gradient: linear-gradient(135deg, #1a1a4e 0%, #2d2d7f 50%, #1a3a6e 100%);
	--rpm-gold: #f5a623;
}

/* ==========================================================================
   Section Base
   ========================================================================== */

.rpm-section {
	padding: 80px 0;
}

.rpm-section--dark {
	background: var(--rpm-gradient);
	color: var(--rpm-white);
}

.rpm-section--light {
	background-color: var(--rpm-bg-light);
}

.rpm-section--white {
	background-color: var(--rpm-white);
}

.rpm-section__title {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--rpm-text-dark);
}

.rpm-section--dark .rpm-section__title {
	color: var(--rpm-white);
}

.rpm-section__subtitle {
	font-size: 18px;
	color: var(--rpm-text-body);
	margin-bottom: 40px;
}

/* ==========================================================================
   Section Images (Pain Points / Solution two-column)
   ========================================================================== */

.rpm-section-image {
	text-align: center;
}

.rpm-section-image img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.rpm-btn {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 2px solid transparent;
}

.rpm-btn-primary {
	background-color: var(--rpm-white);
	color: var(--rpm-primary);
}

.rpm-btn-primary:hover {
	background-color: var(--rpm-accent);
	color: var(--rpm-white);
}

.rpm-btn-outline {
	background-color: transparent;
	border-color: var(--rpm-white);
	color: var(--rpm-white);
}

.rpm-btn-outline:hover {
	background-color: var(--rpm-white);
	color: var(--rpm-primary);
}

.rpm-btn-primary--dark {
	background-color: var(--rpm-primary);
	color: var(--rpm-white);
}

.rpm-btn-primary--dark:hover {
	background-color: var(--rpm-primary-light);
	color: var(--rpm-white);
}

.rpm-btn + .rpm-btn {
	margin-left: 16px;
}

/* ==========================================================================
   Section 1: Hero
   ========================================================================== */

.rpm-hero {
	min-height: 728px;
	padding: 250px 0 150px;
	color: var(--rpm-white);
	overflow: hidden;
	position: relative;
	background:
		linear-gradient(135deg, rgba(26, 26, 78, 0.1) 0%, rgba(45, 45, 127, 0.93) 50%, rgba(26, 58, 110, 0.1) 100%),
		url('../img/hero-bg.jpg') center / cover no-repeat;
	background-color: #1a1a4e;
}

.rpm-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rpm-hero__eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--rpm-accent);
	margin-bottom: 20px;
	padding: 8px 20px;
	border: 1px solid rgba(74, 144, 217, 0.4);
	border-radius: 50px;
}

.rpm-hero__title {
	font-size: 52px;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 20px;
	color: var(--rpm-white);
	text-align: center;
}

.rpm-hero__text {
	font-size: 20px;
	line-height: 1.6;
	margin-bottom: 32px;
	opacity: 0.9;
	text-align: center;
}

/* ==========================================================================
   Section 2: Pain Points
   ========================================================================== */

.rpm-pain__copy {
	font-size: 18px;
	line-height: 1.8;
	color: var(--rpm-text-body);
}

.rpm-pain__copy p {
	margin-bottom: 24px;
}

.rpm-pain__stat {
	margin-top: 40px;
	padding: 32px;
	background-color: var(--rpm-bg-light);
	border-left: 4px solid var(--rpm-accent);
	border-radius: 4px;
}

.rpm-pain__stat p {
	font-size: 20px;
	font-weight: 600;
	color: var(--rpm-text-dark);
	margin: 0;
}

/* ==========================================================================
   Section 3: Solution
   ========================================================================== */

.rpm-solution__copy {
	font-size: 18px;
	line-height: 1.8;
	color: var(--rpm-text-body);
}

.rpm-solution__copy p {
	margin-bottom: 24px;
}

.rpm-solution__copy p:last-child {
	font-weight: 600;
	color: var(--rpm-text-dark);
}

/* ==========================================================================
   Section 4: Value Propositions
   ========================================================================== */

.rpm-value__card {
	padding: 36px 32px;
	background-color: var(--rpm-white);
	border-radius: 12px;
	height: 100%;
	border: 1px solid #e8eaf0;
	border-top: 4px solid #e8eaf0;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
	position: relative;
}

.rpm-value__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* Per-card color themes */
.rpm-value__card--blue  { --card-color: #4a90d9; --card-light: rgba(74, 144, 217, 0.10); --card-glow: rgba(74, 144, 217, 0.25); }
.rpm-value__card--green { --card-color: #34a853; --card-light: rgba(52, 168, 83, 0.10);  --card-glow: rgba(52, 168, 83, 0.25); }
.rpm-value__card--amber { --card-color: #e8860c; --card-light: rgba(232, 134, 12, 0.10); --card-glow: rgba(232, 134, 12, 0.25); }
.rpm-value__card--purple { --card-color: #7c3aed; --card-light: rgba(124, 58, 237, 0.10); --card-glow: rgba(124, 58, 237, 0.25); }

.rpm-value__card--blue  { border-top-color: #4a90d9; }
.rpm-value__card--green { border-top-color: #34a853; }
.rpm-value__card--amber { border-top-color: #e8860c; }
.rpm-value__card--purple { border-top-color: #7c3aed; }

.rpm-value__card--blue:hover  { box-shadow: 0 12px 40px rgba(74, 144, 217, 0.15); }
.rpm-value__card--green:hover { box-shadow: 0 12px 40px rgba(52, 168, 83, 0.15); }
.rpm-value__card--amber:hover { box-shadow: 0 12px 40px rgba(232, 134, 12, 0.15); }
.rpm-value__card--purple:hover { box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15); }

.rpm-value__icon {
	width: 60px;
	height: 60px;
	border-radius: 14px;
	background-color: var(--card-light, rgba(74, 144, 217, 0.10));
	color: var(--card-color, var(--rpm-accent));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.rpm-value__card:hover .rpm-value__icon {
	background-color: var(--card-color, var(--rpm-accent));
	color: var(--rpm-white);
	box-shadow: 0 4px 16px var(--card-glow, rgba(74, 144, 217, 0.30));
}

.rpm-value__card-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--rpm-text-dark);
	margin-bottom: 14px;
	line-height: 1.3;
}

.rpm-value__card-text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--rpm-text-body);
	margin: 0;
}

/* ==========================================================================
   Section 5: Services Grid
   ========================================================================== */

.rpm-services__column-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--rpm-white);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	gap: 10px;
}

.rpm-services__icon {
	flex-shrink: 0;
	opacity: 0.85;
}

.rpm-services__cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rpm-services__card {
	display: block;
	background-color: rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.rpm-services__card:hover {
	background-color: rgba(255, 255, 255, 0.16);
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

.rpm-services__card-img {
	width: 100%;
	height: 120px;
	background: linear-gradient(135deg, rgba(74, 144, 217, 0.25) 0%, rgba(45, 45, 127, 0.35) 100%);
	overflow: hidden;
}

.rpm-services__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rpm-services__card-body {
	padding: 16px 20px 20px;
}

.rpm-services__card-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff !important;
	margin-bottom: 6px;
}

.rpm-services__card-desc {
	display: block;
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.7) !important;
	line-height: 1.5;
}

/* ==========================================================================
   Section 6: Testimonials
   ========================================================================== */

.rpm-testimonial__card {
	padding: 32px;
	background-color: var(--rpm-white);
	border-radius: 8px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.rpm-testimonial__stars {
	color: var(--rpm-gold);
	font-size: 20px;
	letter-spacing: 2px;
	margin-bottom: 16px;
}

.rpm-testimonial__quote {
	font-size: 18px;
	line-height: 1.7;
	color: var(--rpm-text-dark);
	font-style: italic;
	margin-bottom: 24px;
	flex-grow: 1;
}

.rpm-testimonial__quote::before {
	content: "\201C";
	font-size: 48px;
	color: var(--rpm-accent);
	line-height: 0;
	display: block;
	margin-bottom: 8px;
}

.rpm-testimonial__footer {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rpm-testimonial__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: var(--rpm-white);
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	letter-spacing: 1px;
}

.rpm-testimonial__author strong {
	display: block;
	font-size: 16px;
	color: var(--rpm-text-dark);
}

.rpm-testimonial__author span {
	font-size: 14px;
	color: var(--rpm-text-body);
}

.rpm-testimonials__more {
	margin-top: 40px;
}

.rpm-testimonials__more a {
	font-size: 16px;
	font-weight: 600;
	color: var(--rpm-primary);
	text-decoration: none;
}

.rpm-testimonials__more a:hover {
	color: var(--rpm-accent);
}

/* ==========================================================================
   Section 7: Objection Handling
   ========================================================================== */

.rpm-objection__icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba(74, 144, 217, 0.12);
	color: var(--rpm-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.rpm-objection__card {
	padding: 32px;
	background-color: var(--rpm-bg-light);
	border-radius: 8px;
	height: 100%;
	text-align: center;
}

.rpm-objection__card-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--rpm-text-dark);
	margin-bottom: 16px;
	font-style: italic;
}

.rpm-objection__card-text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--rpm-text-body);
	margin: 0;
	text-align: left;
}

/* ==========================================================================
   Section 8: Final CTA
   ========================================================================== */

.rpm-cta {
	padding: 120px 0;
	color: var(--rpm-white);
	text-align: center;
	position: relative;
	background:
		linear-gradient(135deg, rgba(26, 26, 78, 0.93) 0%, rgba(45, 45, 127, 0.88) 50%, rgba(26, 58, 110, 0.85) 100%),
		url('../img/cta-bg.jpg') center / cover no-repeat;
	background-color: #1a1a4e;
}

.rpm-cta__title {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--rpm-white);
}

.rpm-cta__text {
	font-size: 18px;
	line-height: 1.7;
	margin-bottom: 36px;
	opacity: 0.9;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
	.rpm-hero__title {
		font-size: 40px;
	}

	.rpm-section__title {
		font-size: 30px;
	}

	.rpm-cta__title {
		font-size: 34px;
	}

	.rpm-value__card,
	.rpm-testimonial__card,
	.rpm-objection__card {
		margin-bottom: 24px;
	}

	.rpm-services__column {
		margin-bottom: 32px;
	}

	.rpm-section-image {
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.rpm-hero {
		padding: 100px 0 60px;
		text-align: center;
	}

	.rpm-hero__title {
		font-size: 30px;
	}

	.rpm-hero__text {
		font-size: 18px;
	}

	.rpm-hero__actions {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.rpm-btn + .rpm-btn {
		margin-left: 0;
	}

	.rpm-section {
		padding: 60px 0;
	}

	.rpm-section__title {
		font-size: 26px;
	}

	.rpm-pain__copy,
	.rpm-solution__copy {
		font-size: 16px;
	}

	.rpm-pain__stat p {
		font-size: 18px;
	}

	.rpm-cta {
		padding: 60px 0;
	}

	.rpm-cta__title {
		font-size: 28px;
	}

	.rpm-cta__text {
		font-size: 16px;
	}

	.rpm-cta__actions {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.rpm-section-image {
		margin-top: 32px;
	}

	.rpm-section-image img {
		border-radius: 8px;
	}
}
