* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: #2c3e50;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	min-height: 100vh;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background: linear-gradient(135deg, #0E4E96, #ED1B2F);
	color: white;
	padding: 15px 0;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}

.logo {
	height: 35px;
	width: auto;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

header h1 {
	font-size: 1.8rem;
	font-weight: 600;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	letter-spacing: -0.5px;
}

main {
	padding: 50px 0;
	margin-top: 60px;
	background: transparent;
}

/* Main content layout */
.main-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.calculator-wrapper {
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-bottom: 40px;
	margin-top: 20px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	width: 70%;
	min-width: 0;
}

/* Sidebar Styles */
.sidebar {
	width: 30%;
	margin-top: 20px;
	flex-shrink: 0;
	height: fit-content;
}

.sidebar-content {
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	padding: 30px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: -webkit-sticky;
	position: sticky;
	top: 20px;
	align-self: flex-start;
}

.sidebar-content h3 {
	color: #0E4E96;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #0E4E96;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	position: relative;
	line-height: 1.3;
}

.sidebar-content h3::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 50px;
	height: 3px;
	background: #ED1B2F;
	border-radius: 2px;
}

.resource-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.resource-links a {
	display: block;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border: 2px solid rgba(14, 78, 150, 0.1);
	border-radius: 12px;
	text-decoration: none;
	color: #2c3e50;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.resource-links a:hover {
	border-color: #0E4E96;
	background: linear-gradient(135deg, #0E4E96 0%, #1a5fa8 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(14, 78, 150, 0.15);
}

.resource-links a::before {
	content: '→';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	transition: all 0.3s ease;
}

.resource-links a:hover::before {
	opacity: 1;
	right: 15px;
}



footer {
	background: #343a40;
	color: white;
	text-align: center;
	padding: 20px 0;
	margin-top: 40px;
}

/* Calculator Styles */
.epro-calculator {
	padding: 40px;
}

.epro-calculator h2 {
	color: #0E4E96;
	margin-bottom: 40px;
	text-align: center;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.calculator-form {
	display: grid;
	gap: 35px;
	max-width: 700px;
	margin: 0 auto;
}

/* Form Sections */
.form-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border: 1px solid rgba(14, 78, 150, 0.1);
	border-radius: 16px;
	padding: 30px;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.form-section:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.section-title {
	color: #0E4E96;
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #0E4E96;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 50px;
	height: 3px;
	background: #ED1B2F;
	border-radius: 2px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 25px;
}

.form-group:last-child {
	margin-bottom: 0;
}

.form-group label {
	font-weight: 600;
	color: #2c3e50;
	font-size: 15px;
	line-height: 1.4;
}

.form-group input,
.form-group select {
	padding: 16px 20px;
	border: 2px solid rgba(14, 78, 150, 0.2);
	border-radius: 12px;
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	transition: all 0.3s ease;
	background: white;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: #0E4E96;
	box-shadow: 0 0 0 3px rgba(14, 78, 150, 0.1);
	transform: translateY(-1px);
}

.form-group input::placeholder {
	color: #9CA3AF;
	font-weight: 400;
}

.calculate-btn {
	background: linear-gradient(135deg, #0E4E96, #ED1B2F);
	color: white;
	border: none;
	padding: 20px 40px;
	border-radius: 16px;
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(14, 78, 150, 0.3);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 20px;
}

.calculate-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(14, 78, 150, 0.4);
}

.calculate-btn:active {
	transform: translateY(-1px);
}

.results {
	margin-top: 40px;
	padding: 40px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 20px;
	border: 1px solid rgba(14, 78, 150, 0.1);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.results h3 {
	color: #0E4E96;
	margin-bottom: 30px;
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: -0.5px;
}

.result-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid rgba(14, 78, 150, 0.1);
	transition: all 0.3s ease;
}

.result-item:hover {
	background: rgba(14, 78, 150, 0.02);
	transform: translateX(5px);
}

.result-item:last-child {
	border-bottom: none;
}

.result-section {
	margin-bottom: 35px;
	padding: 25px;
	background: white;
	border-radius: 16px;
	border: 2px solid rgba(14, 78, 150, 0.1);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.result-section:last-child {
	margin-bottom: 0;
}

.result-section h4 {
	color: #0E4E96;
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	position: relative;
	padding-bottom: 10px;
}

.result-section h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: #ED1B2F;
	border-radius: 2px;
}

.result-item.highlight {
	background: linear-gradient(135deg, #0E4E96, #ED1B2F);
	color: white;
	padding: 20px 25px;
	border-radius: 12px;
	margin: 15px 0;
	font-weight: 700;
	font-size: 18px;
	box-shadow: 0 6px 20px rgba(14, 78, 150, 0.3);
	border: none;
}

.result-item.highlight:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(14, 78, 150, 0.4);
}

.result-item.highlight .result-value {
	color: white;
	font-size: 22px;
	font-weight: 800;
}

.result-label {
	font-weight: 600;
	color: #2c3e50;
	font-size: 15px;
}

.result-value {
	font-weight: 700;
	color: #27AE60;
	font-size: 16px;
}

/* Calculator Footer Styles */
.calculator-footer {
	margin-top: 10px;
	padding: 30px 40px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-top: 1px solid rgba(14, 78, 150, 0.1);
	border-radius: 0 0 20px 20px;
}

.calculator-footer-content {
	max-width: 700px;
	margin: 0 auto;
}

.footer-disclaimer {
	margin-bottom: 25px;
}

.disclaimer-header {
	margin-bottom: 15px;
	text-align: center;
}

.last-updated {
	display: inline-block;
	padding: 8px 16px;
	background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
	color: black;
	font-size: 10px;
	font-weight: 600;
	border-radius: 20px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: 0 2px 10px rgba(14, 78, 150, 0.2);
}

.disclaimer-text {
	font-size: 14px;
	line-height: 1.6;
	color: #5a6c7d;
	text-align: center;
	margin: 0;
	padding: 0 20px;
	font-weight: 400;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.footer-link {
	display: inline-block;
	padding: 12px 20px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border: 2px solid rgba(14, 78, 150, 0.2);
	border-radius: 25px;
	text-decoration: none;
	color: #0E4E96;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.footer-link:hover {
	background: linear-gradient(135deg, #0E4E96 0%, #1a5fa8 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(14, 78, 150, 0.25);
	border-color: #0E4E96;
}

.footer-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.footer-link:hover::before {
	left: 100%;
}

footer {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: white;
	margin-top: 60px;
	padding: 40px 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
}

.footer-left h3 {
	font-size: 1.4rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: white;
	letter-spacing: 1px;
}

.footer-left p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 8px;
	font-size: 1rem;
	line-height: 1.4;
}

.footer-phone {
	font-weight: 700;
	font-size: 1.1rem;
	margin-top: 15px;
	margin-bottom: 25px;
}

.footer-legal {
	margin-top: 25px;
}

.footer-legal p {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 5px;
	line-height: 1.4;
}

.footer-logo {
	height: 60px;
	width: auto;
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
	header .container {
		flex-direction: column;
		text-align: center;
		gap: 15px;
		justify-content: center;
	}

	header h1 {
		font-size: 1.5rem;
	}

	/* Mobile layout - hide sidebar, show floating button */
	.main-content {
		flex-direction: column;
		gap: 20px;
	}

	.calculator-wrapper {
		width: 100%;
	}

	.sidebar {
		display: none;
	}

	.floating-help-btn {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	.epro-calculator {
		padding: 25px;
	}

	.epro-calculator h2 {
		font-size: 1.8rem;
		margin-bottom: 30px;
	}

	.calculator-form {
		gap: 25px;
	}

	.form-section {
		padding: 20px;
	}

	.section-title {
		font-size: 18px;
	}

	.calculate-btn {
		padding: 18px 30px;
		font-size: 16px;
	}

	.results {
		padding: 20px;
		margin: 20px 0;
	}

	.results h3 {
		font-size: 1.6rem;
		text-align: center;
		margin-bottom: 25px;
	}

	.result-section {
		padding: 20px;
		margin-bottom: 25px;
	}

	.result-section h4 {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.result-item {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 12px 15px;
		margin-bottom: 8px;
		background: rgba(248, 249, 250, 0.8);
		border-radius: 8px;
		border: 1px solid rgba(14, 78, 150, 0.1);
	}

	.result-item:last-child {
		margin-bottom: 0;
	}

	.result-label {
		font-size: 14px;
		flex: 1;
		padding-right: 10px;
	}

	.result-value {
		font-size: 15px;
		font-weight: 700;
		text-align: right;
		white-space: nowrap;
	}

	.result-item.highlight {
		padding: 16px 18px;
		margin: 15px 0;
		font-size: 16px;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.result-item.highlight .result-label {
		font-size: 15px;
		color: white;
	}

	.result-item.highlight .result-value {
		font-size: 18px;
		color: white;
		font-weight: 800;
	}

	/* Hide the fancy hero section on mobile */
	.total-savings-hero {
		display: none;
	}

	/* Create a simple mobile total savings display */
	.mobile-total-savings {
		display: block;
		padding: 15px 18px;
		background: linear-gradient(135deg, #0E4E96, #ED1B2F);
		color: white;
		border-radius: 12px;
		margin: 20px 0;
		font-weight: 700;
		box-shadow: 0 4px 15px rgba(14, 78, 150, 0.3);
	}

	.mobile-total-savings .result-label {
		font-size: 16px;
		color: white;
		margin-bottom: 8px;
	}

	.mobile-total-savings .result-value {
		font-size: 24px;
		color: white;
		font-weight: 800;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}

	.footer-logo {
		height: 50px;
	}

	.footer-left h3 {
		font-size: 1.2rem;
	}

	.footer-phone {
		font-size: 1rem;
	}

	/* Calculator Footer Mobile Styles */
	.calculator-footer {
		padding: 20px 25px;
		margin-top: 10px;
	}

	.disclaimer-text {
		font-size: 13px;
		padding: 0 10px;
	}

	.footer-links {
		gap: 15px;
		flex-direction: column;
		align-items: center;
	}

	.footer-link {
		padding: 10px 16px;
		font-size: 13px;
		width: fit-content;
		min-width: 180px;
		text-align: center;
	}

	.last-updated {
		font-size: 12px;
		padding: 6px 12px;
	}
}

/* Hide floating button on desktop */
@media screen and (min-width: 769px) {
	.floating-help-btn {
		display: none !important;
	}
}

/* Show floating button on mobile */
@media screen and (max-width: 768px) {
	.floating-help-btn {
		display: block !important;
	}
}

@media screen and (max-device-width: 768px) {
	.floating-help-btn {
		display: block !important;
	}
}

/* Total Savings Hero Section */
.total-savings-hero {
	background: linear-gradient(135deg, #0E4E96 0%, #ED1B2F 100%);
	color: white;
	padding: 40px 30px;
	border-radius: 20px;
	margin: 20px 0;
	text-align: center;
	box-shadow: 0 8px 30px rgba(14, 78, 150, 0.3);
	position: relative;
	overflow: hidden;
}

.total-savings-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

.savings-amount {
	font-size: 3.5rem;
	font-weight: 900;
	margin-bottom: 15px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 1;
}

.savings-label {
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 25px;
	opacity: 0.95;
	position: relative;
	z-index: 1;
}

.savings-breakdown {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	font-size: 1.1rem;
	font-weight: 500;
	opacity: 0.9;
	position: relative;
	z-index: 1;
}

.breakdown-separator {
	font-size: 1.5rem;
	font-weight: 700;
	color: #FFD700;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hide mobile total savings on desktop */
.mobile-total-savings {
	display: none;
}

/* Floating Help Button - Hidden on desktop */
.floating-help-btn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #0E4E96 0%, #ED1B2F 100%);
	color: white;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	font-weight: bold;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 4px 20px rgba(14, 78, 150, 0.3);
	transition: all 0.3s ease;
}

.floating-help-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(14, 78, 150, 0.4);
}

.floating-help-btn:active {
	transform: translateY(-1px);
}

/* Modal Styles */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1001;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal-overlay.active {
	display: flex;
	opacity: 1;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal-content {
	background: white;
	border-radius: 20px;
	padding: 30px;
	max-width: 90vw;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	transform: translateY(50px);
	transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
	transform: translateY(0);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 3px solid #0E4E96;
}

.modal-title {
	color: #0E4E96;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin: 0;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: #999;
	cursor: pointer;
	padding: 5px;
	transition: color 0.3s ease;
}

.modal-close:hover {
	color: #ED1B2F;
}

.modal-resources {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modal-resources a {
	display: block;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border: 2px solid rgba(14, 78, 150, 0.1);
	border-radius: 12px;
	text-decoration: none;
	color: #2c3e50;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	transition: all 0.3s ease;
}

.modal-resources a:hover {
	border-color: #0E4E96;
	background: linear-gradient(135deg, #0E4E96 0%, #1a5fa8 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(14, 78, 150, 0.15);
}