/* Add this to ensure main content starts after the fixed header */
main {
  margin-top: 80px; /* Adjust this value if your header height changes */
}
/* Careers page specific styles */
.careers-hero {
	width: 100%;
	background: linear-gradient(180deg, rgba(8,42,102,0.95), rgba(8,42,102,0.82));
	color: #ffffff;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	text-align: center;
}
.careers-hero h1 {
	margin: 0 0 8px 0;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.5px;
}
.careers-hero p { margin: 0; font-size: 16px; opacity: 0.95; max-width: 860px; }

/* Main container for content below hero */
.careers-container { max-width: 1100px; margin: 28px auto 64px auto; padding: 0 20px; }

/* Job listing grid (kept for future use) */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.job-card { background: #ffffff; border: 1px solid #e6eef8; padding: 18px; border-radius: 6px; box-shadow: 0 4px 10px rgba(13,37,85,0.04); }
.job-title { font-size: 18px; font-weight: 700; color: #082a66; margin: 0 0 6px 0; }
.job-meta { font-size: 13px; color: #6b7b98; margin-bottom: 12px; }
.job-desc { font-size: 14px; color: #21385a; line-height: 1.5; margin-bottom: 12px; }
.apply-btn { display: inline-block; background: #ff9a4d; color: #fff; padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 700; }

@media (max-width: 1000px) { .jobs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.jobs-grid { grid-template-columns: 1fr; }
	.careers-hero h1 { font-size: 28px; }
	.careers-hero { min-height: 260px; padding: 28px 18px; }
	.careers-hero p { font-size: 15px; }
}

/* Life of Finnext hero */
.life-hero { width: 100%; background-color: #fff3e6; }
.life-hero-inner { max-width: 1100px; margin: 0 auto; padding: 40px 20px; position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 220px; }
.life-hero-box { position: relative; left: 0; transform: none; max-width: 52%; margin-left: 5%; }
.life-hero-title { color: #ffffff; display: block; font-size: 36px; font-weight: 800; margin: 0 0 10px 0; }
.life-hero-text { color: #ffffff; font-size: 16px; line-height: 1.7; margin: 0; }

/* Use a strong orange background behind white text for contrast inside the light-orange band */
.life-hero-inner::before {
	content: "";
	position: absolute;
	left: 0; top: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, #ff9a4d 0%, #ff8c2b 100%); /* stronger orange overlay */
	opacity: 0.95;
	z-index: 0;
}
.life-hero-box, .life-hero-title, .life-hero-text { position: relative; z-index: 1; }

@media (max-width: 900px) {
	.life-hero-inner { padding: 44px 18px; }
	.life-hero-box { left: 4%; max-width: 76%; }
	.life-hero-title { font-size: 28px; }
	.life-hero-text { font-size: 15px; }
}

@media (max-width: 520px) {
	.life-hero-box { position: relative; left: auto; top: auto; transform: none; max-width: 100%; padding: 12px 6px; }
	.life-hero-inner::before { opacity: 0.98; }
	.life-hero-title { font-size: 22px; }
}

/* Life description block (white background) */
.life-description { background: #ffffff; color: #111; padding: 36px 0; }
.life-description-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.life-description-inner p { margin: 0 0 18px 0; line-height: 1.8; font-size: 16px; color: #111; text-align: center; }
@media (max-width: 640px) { .life-description-inner p { font-size: 15px; } }


/* Highlight the Careers nav link when on the Careers page */
.main-nav .nav-link[href="careers.html"] {
	color: #ff9a4d; /* orange accent */
	font-weight: 700;
}

/* Button interactions */
.apply-btn:hover,
.apply-btn:focus {
	background: #ff7a1a;
	transform: translateY(-1px);
}
.apply-btn:focus { outline: 3px solid rgba(255,154,77,0.18); outline-offset: 2px; }

/* Job card spacing improvements */
.job-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; }

/* Empty-state helper for when there are no listings yet */
.careers-empty { text-align: center; color: #6b7b98; padding: 40px 20px; border: 1px dashed #e6eef8; border-radius: 8px; background: #fbfdff; }

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
	.apply-btn { transition: none !important; }
}

/* Add to your CSS file (e.g., home.css or styles.css) */

/* Resume Upload Section */
.resume-upload-section {
  background: #142047; /* dark blue */
  padding: 48px 0;
  display: flex;
  justify-content: center;
}

.resume-upload-container {
  background: transparent;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 24px 28px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.resume-upload-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.resume-upload-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.resume-form-row {
  display: flex;
  gap: 18px;
}

.resume-form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

.resume-form-group label {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.resume-form-group input[type="text"],
.resume-form-group input[type="email"],
.resume-form-group input[type="tel"] {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  margin-bottom: 0;
  background: #fff;
  color: #222;
  outline: none;
  transition: box-shadow 0.2s;
}

.resume-form-group input[type="text"]:focus,
.resume-form-group input[type="email"]:focus,
.resume-form-group input[type="tel"]:focus {
  box-shadow: 0 0 0 2px #ff6600;
}

.resume-upload-file-group input[type="file"] {
  color: #fff;
  background: #fff;
  border-radius: 6px;
  margin-top: 4px;
}

.resume-upload-note {
  color: #ffb366;
  font-size: 0.92rem;
  margin-top: 4px;
  display: block;
}

.resume-upload-btn {
  margin-top: 18px;
  padding: 12px 0;
  width: 100%;
  border-radius: 32px;
  border: none;
  background: #ff6600;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.5px;
}

.resume-upload-btn:hover,
.resume-upload-btn:focus {
  background: #fff;
  color: #ff6600;
  outline: none;
}

.resume-file-name {
  display: block;
  color: #fff;
  font-size: 0.98rem;
  margin-top: 6px;
  word-break: break-all;
}

@media (max-width: 700px) {
  .resume-upload-container {
    padding: 18px 4vw;
  }
  .resume-form-row {
    flex-direction: column;
    gap: 0;
  }
}

