
html{
    scroll-behavior: smooth;
}
/* HERO SECTION */
.employer-hero {
  position: relative;
  height: 60vh;
  background: url("../img/recruitmentsign.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.employer-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,20,0.8), rgba(30,30,60,0.9));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.subtitle {
  opacity: 0.85;
  margin-bottom: 2rem;
}

.hero-btn {
  background: #eb0000;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: 0.4s ease;
}

.hero-btn:hover {
  background: white;
  border: 1px solid white;
  color: #eb0000;
  transform: translateY(-4px);
}


/* FORM SECTION */
.info-capture {
  padding: 6rem 2rem;
  background: #0f0f1a;
  color: white;
}

.form-container {
  max-width: 1000px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.info-capture h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

/* GRID */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  border: 2px solid white;
}

input, textarea {
  padding: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: white;
  outline: none;
  transition: 0.3s;
}

input:focus, textarea:focus {
  border-color: #ff003c;
  box-shadow: 0 0 10px rgba(255,0,60,0.4);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* CHECKBOX */
.checkbox-group label {
  margin: 1rem auto;
  display: block;
  text-align: left;
}

/* BUTTONS */
.form-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  /* border: 2px solid red; */
}

.primary-btn {
  background: #eb0000;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(255,0,60,0.4);
  border: 2px solid white;
  color: #eb0000;
  background: white;
}

.secondary-btn {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  cursor: pointer;
}

footer{
  margin-top: 0 !important;
}


/* =========================
   SUCCESS POPUP
========================= */
.success-popup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem 0;
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.success-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 550px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* animated top glow border */
.success-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #25d366, #1B2E83, #db292f, #25d366);
  background-size: 300%;
  animation: borderSlide 4s linear infinite;
}

@keyframes borderSlide {
  0%   { background-position: 0%; }
  100% { background-position: 300%; }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1a9e4b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 0 50px rgba(37,211,102,0.7); }
}

.success-icon i {
  font-size: 2.2rem;
  color: white;
}

.success-card h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.success-card p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.success-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.home-btn {
  background: linear-gradient(90deg, #db292f, #1B2E83);
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.home-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.new-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
}

.new-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

/* =========================
   ERROR BANNER
========================= */
.error-banner {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(219,41,47,0.15);
  border: 1px solid #db292f;
  color: #ff6b6b;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* =========================
   LABEL FIX
========================= */
label {
  border: none !important;
}
