/* HR Bureau - Landing Page Styles */

/* Hero Section */
.hero-section {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
	color: white;
	padding: 5rem 0;
	position: relative;
	overflow: hidden;
	margin-top: 76px; /* Account for fixed navbar */
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff10"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom;
	background-size: cover;
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-icon {
	font-size: 15rem;
	opacity: 0.2;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

/* Stats Section */
.stats-section {
	background-color: white;
	padding: 3rem 0;
	margin-top: -3rem;
	position: relative;
	z-index: 3;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Onboarding Section */
.onboarding-section {
	padding: 4rem 0;
}

.onboarding-card {
	background: white;
	border-radius: 15px;
	padding: 3rem;
	box-shadow: 0 6px 20px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	border: 2px solid transparent;
}

.onboarding-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.onboarding-icon {
	width: 80px;
	height: 80px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: white;
	font-size: 2rem;
	transition: all 0.3s ease;
}

.onboarding-card:hover .onboarding-icon {
	background: var(--accent-color);
	transform: scale(1.1);
}

/* Feature Cards - Landing Specific */
.feature-card {
	position: relative;
	overflow: hidden;
}

.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
	transition: left 0.5s;
}

.feature-card:hover::before {
	left: 100%;
}

/* Navigation Enhancements */
.navbar {
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background-color: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(10px);
}

.nav-link {
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 50%;
	background-color: var(--primary-color);
	transition: all 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
	left: 0;
}

/* Modal Enhancements */
.modal-content {
	border-radius: 15px;
	border: none;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
	color: white;
	border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
	filter: invert(1);
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-section .display-4 {
	animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .lead {
	animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section .d-flex {
	animation: fadeInUp 1s ease-out 0.6s both;
}

/* Counter Animation */
.stat-number {
	transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
	transform: scale(1.1);
	color: var(--accent-color);
}

/* Section Transitions */
section {
	scroll-margin-top: 100px;
}

/* Enhanced Buttons */
.btn-lg {
	padding: 15px 40px;
	font-size: 1.1rem;
	font-weight: 600;
}

/* Scroll Animations */
.animate-on-scroll {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.6s ease;
}

.animate-on-scroll.in-view {
	opacity: 1;
	transform: translateY(0);
}

/* Progress Indicators for Features */
.feature-card {
	position: relative;
}

.feature-card:hover .feature-icon {
	transform: scale(1.1);
	color: var(--accent-color);
}

/* Mobile Specific Enhancements */
@media (max-width: 768px) {
	.hero-section {
		padding: 3rem 0;
		text-align: center;
	}

	.hero-icon {
		font-size: 8rem;
	}

	.onboarding-card {
		padding: 2rem;
		margin-bottom: 2rem;
	}

	.display-4 {
		font-size: 2.5rem;
	}

	.stats-section {
		margin-top: -2rem;
	}
}

@media (max-width: 576px) {
	.hero-section {
		padding: 2rem 0;
	}

	.hero-icon {
		font-size: 6rem;
	}

	.display-4 {
		font-size: 2rem;
	}

	.display-5 {
		font-size: 1.8rem;
	}

	.onboarding-card {
		padding: 1.5rem;
	}

	.feature-card {
		margin-bottom: 1.5rem;
	}
}

/* Print Styles */
@media print {
	.navbar,
	.hero-section,
	.modal {
		display: none !important;
	}
}