/* =====================================
   VM Workforce Solutions - Legal Pages CSS
   legal.css - for Terms, Privacy & Disclaimer
   ===================================== */

/* Root Variables */
:root {
	--wv-primary-color: #004b87;
	--wv-secondary-color: #0066b3;
	--wv-accent-color: #ff6b35;
	--wv-dark-bg: #1a1a1a;
	--wv-light-bg: #f8f9fa;
	--wv-text-dark: #333333;
	--wv-text-light: #666666;
	--wv-border-color: #ddd;
	--wv-hover-color: #003d6e;
}

/* =====================================
   Legal Container
===================================== */

.wv-legal-container {
	width: 100%;
	padding: 80px 0;
}

.wv-legal-wrapper {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
	background: #ffffff;
	border-radius: 10px;
	box-shadow: 0 4px 15px rgba(0, 75, 135, 0.1);
	overflow: hidden;
}

/* =====================================
   Legal Content
===================================== */

.wv-legal-content {
	padding: 50px 40px;
}

.wv-legal-intro {
	background: #f0f6fb;
	padding: 25px;
	border-left: 4px solid var(--wv-accent-color);
	border-radius: 5px;
	margin-bottom: 30px;
}

.wv-legal-intro p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--wv-text-dark);
	letter-spacing: 1px;
}

/* =====================================
   Legal Sections
===================================== */

.wv-legal-section {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wv-border-color);
}

.wv-legal-section:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.wv-legal-section-title {
	font-size: 24px;
	font-weight: 500;
	color: var(--wv-primary-color);
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--wv-accent-color);
	display: inline-block;
	letter-spacing: 1px;
	font-family: inherit;
	line-height: 35px;
}

.wv-legal-section > p {
	font-size: 15px;
	line-height: 1.8;
	color: var(--wv-text-light);
	margin-bottom: 18px;
	letter-spacing: 1px;
}

.wv-legal-section > p:last-child {
	margin-bottom: 0;
}

/* =====================================
   Legal Lists
===================================== */

.wv-legal-list {
	list-style: none;
	padding: 0;
	margin: 20px 0 20px 0;
}

.wv-legal-list li {
	padding-left: 30px;
	margin-bottom: 15px;
	position: relative;
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: 1px;
	color: var(--wv-text-light);
}

.wv-legal-list li::before {
	content: '▸';
	position: absolute;
	left: 0;
	color: var(--wv-accent-color);
	font-weight: bold;
	font-size: 18px;
}

.wv-legal-list li strong {
	color: var(--wv-primary-color);
	font-weight: 600;
}

/* =====================================
   Contact Section
===================================== */

.wv-legal-contact {
	background: #f0f6fb;
	padding: 30px;
	border-radius: 8px;
	margin-top: 25px;
	border-left: 4px solid var(--wv-primary-color);
}

.wv-legal-contact p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--wv-text-dark);
	letter-spacing: 1px;
}

.wv-legal-contact a {
	color: var(--wv-primary-color);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.wv-legal-contact a:hover {
	color: var(--wv-accent-color);
	text-decoration: underline;
}

/* =====================================
   Links Styling
===================================== */

.wv-legal-section a {
	color: var(--wv-primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	position: relative;
}

.wv-legal-section a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -2px;
	left: 0;
	background-color: var(--wv-accent-color);
	transition: width 0.3s ease;
}

.wv-legal-section a:hover {
	color: var(--wv-accent-color);
}

.wv-legal-section a:hover::after {
	width: 100%;
}

/* =====================================
   Responsive Design
===================================== */

@media (max-width: 768px) {
	.wv-legal-wrapper {
		margin: 20px;
		border-radius: 8px;
	}

	.wv-legal-content {
		padding: 35px 25px;
	}

	.wv-legal-section-title {
		font-size: 20px;
		margin-bottom: 15px;
	}

	.wv-legal-section > p {
		font-size: 14px;
		margin-bottom: 15px;
	}

	.wv-legal-list li {
		padding-left: 25px;
		margin-bottom: 12px;
		font-size: 14px;
	}

	.wv-legal-contact {
		padding: 20px;
	}

	.wv-legal-contact p {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.wv-legal-wrapper {
		margin: 10px;
		border-radius: 5px;
		box-shadow: 0 2px 8px rgba(0, 75, 135, 0.08);
	}

	.wv-legal-container {
		padding: 50px 15px;
	}

	.wv-legal-content {
		padding: 20px 0px;
	}

	.wv-legal-intro {
		padding: 15px;
		margin-bottom: 30px;
	}

	.wv-legal-intro p {
		font-size: 14px;
		line-height: 1.6;
	}

	.wv-legal-section {
		margin-bottom: 30px;
		padding-bottom: 25px;
	}

	.wv-legal-section-title {
		font-size: 18px;
		margin-bottom: 12px;
	}

	.wv-legal-section > p {
		font-size: 14px;
		line-height: 1.6;
		margin-bottom: 12px;
	}

	.wv-legal-list {
		margin: 15px 0;
	}

	.wv-legal-list li {
		padding-left: 20px;
		margin-bottom: 10px;
		font-size: 14px;
		line-height: 1.6;
	}

	.wv-legal-list li::before {
		font-size: 16px;
	}

	.wv-legal-contact {
		padding: 15px;
		margin-top: 15px;
	}

	.wv-legal-contact p {
		font-size: 13px;
		line-height: 1.6;
	}
}

/* =====================================
   Print Styles
===================================== */

@media print {
	.wv-legal-container {
		margin: 0;
		padding: 0;
		background: #ffffff;
	}

	.wv-legal-wrapper {
		box-shadow: none;
		border-radius: 0;
		max-width: 100%;
	}

	.wv-legal-section a {
		color: var(--wv-primary-color);
		text-decoration: underline;
	}

	.wv-legal-header {
		background: var(--wv-primary-color);
	}
}

/* =====================================
   Animations
===================================== */

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.wv-legal-wrapper {
	animation: slideInUp 0.6s ease-out;
}

/* =====================================
   Accessibility
===================================== */

.wv-legal-section-title:focus,
.wv-legal-section a:focus {
	outline: 2px solid var(--wv-accent-color);
	outline-offset: 2px;
}

/* Smooth scrolling */
html {
	scroll-behavior: smooth;
}

/* Better text rendering */
.wv-legal-title,
.wv-legal-section-title {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
