/* ======================================================
   AQUASENSE CAREERS PAGE STYLES
   ====================================================== */

/* Careers Hero */
.careers-hero {
  background: linear-gradient(135deg, #06192d 0%, #0a2540 50%, #0d3863 100%);
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.careers-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
}

.careers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 128, 237, 0.2);
  border: 1px solid rgba(47, 128, 237, 0.4);
  color: #64b5f6;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.careers-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.careers-hero h1 span {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.careers-hero p {
  max-width: 720px;
  margin: 0 auto 2.2rem auto;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #b0c4de;
  line-height: 1.6;
}

.careers-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #2f80ed 0%, #1e5bb8 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 8px 25px rgba(47, 128, 237, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(47, 128, 237, 0.5);
  color: #ffffff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Culture & Benefits Section */
.culture-section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: #f8fafc;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.section-subtitle-tag {
  color: #2f80ed;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-main-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0a2540;
  font-weight: 700;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.culture-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.8rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.culture-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(47, 128, 237, 0.12);
  border-color: #cbd5e1;
}

.culture-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(47, 128, 237, 0.1);
  color: #2f80ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.culture-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 0.6rem;
}

.culture-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* Open Positions Section */
.jobs-section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: #ffffff;
}

.jobs-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.job-filter-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-filter-btn.active,
.job-filter-btn:hover {
  background: #0a2540;
  color: #ffffff;
  border-color: #0a2540;
}

.jobs-list {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.job-card:hover {
  border-color: #2f80ed;
  box-shadow: 0 12px 30px rgba(47, 128, 237, 0.1);
}

.job-main-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 0.5rem;
}

.job-tags {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
}

.job-tag i {
  color: #2f80ed;
}

.job-desc {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  max-width: 650px;
}

.btn-apply-job {
  background: #2f80ed;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-apply-job:hover {
  background: #1e5bb8;
  color: #ffffff;
}

@media (max-width: 768px) {
  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-apply-job {
    width: 100%;
    justify-content: center;
  }
}

/* Quick Application Form Card */
.careers-form-section {
  padding: clamp(3rem, 6vw, 5rem) 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 70%, #ffffff 100%);
}

.careers-form-card {
  max-width: 850px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.careers-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.careers-form-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 0.4rem;
}

.careers-form-header p {
  color: #64748b;
  font-size: 0.95rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 0.4rem;
  display: block;
}

.form-control, .form-select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #2f80ed;
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15);
}

.btn-submit-career {
  background: linear-gradient(135deg, #0a2540 0%, #1e3a8a 100%);
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-career:hover {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* File Upload Box */
.file-upload-wrapper {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.file-upload-wrapper:hover {
  border-color: #2f80ed;
  background: #f0f7ff;
}

.file-upload-icon {
  font-size: 1.8rem;
  color: #2f80ed;
  margin-bottom: 0.5rem;
}

.file-upload-text {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
}

.file-name-display {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 600;
}
