/* Techno Defence Private Limited - Dedicated Careers & Job Pages Styles (css/careers.css) */

/* Careers Intro Header Banner */
.careers-intro-banner {
  background: linear-gradient(135deg, #102348 0%, #0b1731 100%);
  color: #ffffff;
  position: relative;
  border-bottom: 4px solid #4FBDC1;
  overflow: hidden;
}

.careers-intro-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 189, 193, 0.12) 0%, rgba(16, 35, 72, 0) 70%);
  pointer-events: none;
}

.careers-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 189, 193, 0.15);
  border: 1px solid #4FBDC1;
  color: #4FBDC1;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.careers-banner-title {
  font-family: 'Josefin Sans', 'PT Sans', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.careers-banner-title span {
  color: #4FBDC1;
}

.careers-banner-desc {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 750px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.careers-stats-row {
  display: flex;
  gap: 36px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.careers-stat-box h4 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 30px;
  color: #4FBDC1;
  margin: 0;
  font-weight: 700;
}

.careers-stat-box p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Why Join Us Section */
.careers-why-section {
  padding: 80px 0;
  background-color: #f8fafc;
}

.careers-section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.careers-section-heading h2 {
  font-family: 'Josefin Sans', 'PT Sans', sans-serif;
  font-size: 36px;
  color: #102348;
  font-weight: 700;
}

.careers-section-heading h2 span {
  color: #4FBDC1;
}

.careers-section-heading p {
  font-size: 18px;
  color: #566785;
  max-width: 1024px;
  margin: 10px auto 0;
}

.careers-culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.careers-culture-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid #e1e7ec;
  box-shadow: 0 4px 12px rgba(16, 35, 72, 0.05);
  transition: all 0.3s ease;
}

.careers-culture-card:hover {
  transform: translateY(-5px);
  border-color: #4FBDC1;
  box-shadow: 0 10px 24px rgba(16, 35, 72, 0.1);
}

.careers-culture-icon {
  width: 56px;
  height: 56px;
  background: rgba(79, 189, 193, 0.12);
  color: #4FBDC1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.careers-culture-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #102348;
  margin-bottom: 10px;
}

.careers-culture-card p {
  font-size: 15px;
  color: #566785;
  margin: 0;
  line-height: 1.5;
}

/* Job Listings Container */
.careers-listings-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.job-listing-card {
  background: #ffffff;
  border: 1px solid #e1e7ec;
  border-left: 5px solid #4FBDC1;
  border-radius: 8px;
  padding: 30px 32px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.job-listing-card:hover {
  border-left-color: #102348;
  box-shadow: 0 8px 24px rgba(16, 35, 72, 0.08);
  transform: translateX(4px);
}

.job-listing-main {
  flex: 1;
  padding-right: 30px;
}

.job-pill-tag {
  display: inline-block;
  background: #eef9f9;
  color: #37a3a7;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.job-listing-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #102348;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.job-listing-title:hover {
  color: #4FBDC1;
}

.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 15px;
  color: #566785;
  margin-bottom: 14px;
}

.job-meta-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-meta-row i {
  color: #4FBDC1;
}

.job-listing-desc {
  font-size: 16px;
  color: #566785;
  margin: 0;
  line-height: 1.5;
}

.job-listing-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.btn-careers-accent {
  background-color: #4FBDC1;
  color: #102348 !important;
  border: 1px solid #4FBDC1;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s linear;
  text-decoration: none;
  cursor: pointer;
}

.btn-careers-accent:hover {
  background-color: #102348;
  border-color: #102348;
  color: #ffffff !important;
}

.btn-careers-outline {
  background-color: transparent;
  color: #102348 !important;
  border: 1px solid #102348;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s linear;
  text-decoration: none;
}

.btn-careers-outline:hover {
  background-color: #4FBDC1;
  border-color: #4FBDC1;
  color: #102348 !important;
}

/* Job Role Detail Layout */
.job-detail-header {
  background: #102348;
  color: #ffffff;
  border-bottom: 4px solid #4FBDC1;
}

.job-detail-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 40px;
}

.job-detail-block {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e1e7ec;
}

.job-detail-block:last-child {
  border-bottom: none;
}

.job-detail-block h3 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 24px;
  color: #102348;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-detail-block h3 i {
  color: #4FBDC1;
}

.careers-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.careers-check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: #102348;
  line-height: 1.6;
}

.careers-check-list li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  position: absolute;
  left: 0;
  top: 3px;
  color: #4FBDC1;
  font-size: 14px;
  font-weight: 900;
}

.job-sidebar-card {
  background: #f8fafc;
  border: 1px solid #e1e7ec;
  border-radius: 8px;
  padding: 28px;
  position: sticky;
  top: 120px;
}

.sidebar-info-group {
  margin-bottom: 18px;
}

.sidebar-info-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #566785;
  font-weight: 700;
  display: block;
}

.sidebar-info-group span {
  font-size: 16px;
  font-weight: 700;
  color: #102348;
}

/* Application Form Styling */
.careers-form-wrapper {
  background: #ffffff;
  border: 1px solid #e1e7ec;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(16, 35, 72, 0.06);
}

.careers-form-group {
  margin-bottom: 22px;
}

.careers-form-label {
  display: block;
  font-weight: 700;
  color: #102348;
  margin-bottom: 8px;
  font-size: 15px;
}

.careers-form-label span {
  color: #d90429;
}

.careers-form-input, .careers-form-select, .careers-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'PT Sans', sans-serif;
  border: 1px solid #d1d9e0;
  border-radius: 4px;
  background-color: #f8fafc;
  transition: all 0.2s;
}

.careers-form-input:focus, .careers-form-select:focus, .careers-form-textarea:focus {
  outline: none;
  border-color: #4FBDC1;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 189, 193, 0.2);
}

.careers-file-dropzone {
  border: 2px dashed #4FBDC1;
  background: #eef9f9;
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s;
}

.careers-file-dropzone:hover {
  background: rgba(79, 189, 193, 0.15);
}

.careers-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Modal Popup */
.careers-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 35, 72, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.careers-modal-box {
  background: #ffffff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.careers-modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(79, 189, 193, 0.2);
  color: #37a3a7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

@media (max-width: 992px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
  .job-sidebar-card {
    position: static;
  }
  .job-listing-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-listing-actions {
    width: 100%;
    margin-top: 18px;
  }
}
