/* General Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: url('images/hero-bg.jpg') no-repeat center center/cover;
	min-height: 100svh;
	color: #fff;
	text-align: center;
}

/* Homepage Hero Section */
.hero {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 100svh;
	background-color: rgba(0, 0, 0, 0.65); /* dark overlay for readability */
}

.hero > .logo {
	width: 256px;
}

h1 {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.tagline {
	font-size: 1.2rem;
	margin-bottom: 30px;
	font-style: italic;
}

/* Buttons */
.buttons {
	display: flex;
	gap: 20px;
}

.btn {
	padding: 12px 24px;
	border: none;
	background-color: #ff914d;
	color: white;
	font-size: 1rem;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.3s ease;
}

.btn:hover {
	background-color: #e56b29;
}

.btn.secondary {
	background-color: #0077b6;
}

.btn.secondary:hover {
	background-color: #005f8c;
}

/* Navbar */
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-inline: 16px;
	padding-block: 8px;
	background-color: rgba(0, 0, 0, 0.7);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar .logo {
	height: 56px;
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 25px;
}

.nav-links li a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links li a:hover {
	color: #ff914d;
}

/* About Section */
.about {
	max-width: 900px;
	margin: 100px auto 50px auto;
	padding: 40px;
	background-color: rgba(0, 0, 0, 0.6);
	border-radius: 10px;
	text-align: left;
}

.about h1 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.about p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 15px;
}

/* Page-specific body backgrounds */
body.employers {
	background: url('images/employers-bg.jpg') no-repeat center center/cover;
}

body.jobseekers {
	background: url('images/jobseekers-bg.jpg') no-repeat center center/cover;
}

/* Testimonials Carousel - Single Card with side arrows */
.testimonials-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 800px; /* optional: max width of carousel */
	margin: 0 auto;
}

.testimonials {
	display: flex;
	gap: 16px;
	overflow: hidden;
	width: 100%;
}

.testimonial-card {
	min-width: 100%; /* smaller than container so arrows are visible */
	margin: 0 auto;
	background-color: rgba(255, 255, 255, 0.1);
	padding: 30px;
	border-radius: 10px;
	text-align: left;
	transition: transform 0.5s ease;
}

.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	font-size: 2rem;
	padding: 5px 12px;
	cursor: pointer;
	border-radius: 5px;
	z-index: 10;
}

.arrow-left {
	left: -44px; /* placed outside the card */
}

.arrow-right {
	right: -44px; /* placed outside the card */
}

@media (max-width: 768px) {
	.testimonial-card {
		min-width: 90%; /* slightly wider on mobile */
	}
	.arrow-left {
		left: -20px;
	}
	.arrow-right {
		right: -20px;
	}
}

.contact-info {
	margin-bottom: 30px;
	font-size: 1.1rem;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-form input,
.contact-form textarea {
	padding: 12px;
	border-radius: 6px;
	border: none;
	font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #ff914d;
}

.contact-form button {
	align-self: flex-start;
}

ul.flex-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
