/* Careers Page Specific Styles */

.page-banner-careers {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-image: url("../assets/images/contractorBg.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  padding: 80px 0;
}

.page-banner-careers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(17, 31, 53, 0.5);
}

.page-banner-careers .container {
  position: relative;
  z-index: 2;
}

.page-banner-careers h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.page-banner-careers p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}

/* Careers Introduction Section */
.careers-intro {
  padding: 80px 0;
  background: #f8f9fa;
}

.careers-intro .intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.careers-intro .intro-header {
  width: 100%;
  text-align: center;
}

.careers-intro .intro-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.careers-intro .intro-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.intro-grid {
  width: 85%;
  display: grid;
  margin-top: 40px;
  grid-template-columns: 1fr;
  gap: 20px;
}

.intro-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5db5f7, #2980b9);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 1.5rem;
  color: white;
}

.card-text {
  flex: 1;
}

.intro-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.intro-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Values Section */
.careers-values {
  padding: 80px 0;
  background: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5db5f7, #2980b9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-icon i {
  font-size: 2rem;
  color: white;
}

.value-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Benefits Section */
.careers-benefits {
  padding: 80px 0;
  background: #f8f9fa;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  font-size: 2rem;
  color: #5db5f7;
  margin-right: 20px;
  margin-top: 5px;
}

.benefit-item h4 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

/* Job Openings Section */
.job-openings {
  padding: 80px 0;
  background: white;
}

/* Job Cards Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.job-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.job-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #f1f3f4;
}

.job-header h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
}

.job-locations {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.95rem;
}

.job-locations i {
  color: #5db5f7;
}

.job-details {
  padding: 20px 30px;
}

.job-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.job-info span {
  background: #f1f3f4;
  color: #666;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.job-type {
  background: #e3f2fd !important;
  color: #1976d2 !important;
}

.job-department {
  background: #f3e5f5 !important;
  color: #7b1fa2 !important;
}

.job-status {
  background: #e8f5e8 !important;
  color: #388e3c !important;
}

.job-summary {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.job-footer {
  padding: 20px 30px 30px;
}

.job-footer .btn {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #5db5f7, #2980b9);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
}

.job-footer .btn:hover {
  background: linear-gradient(135deg, #2980b9, #1c598a);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(93, 181, 247, 0.3);
}

/* Job Detail Page Styles */
.job-detail {
  padding: 80px 0;
  background: #f8f9fa;
}

.job-detail-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.job-detail-header {
  background: linear-gradient(135deg, #2980b9, #5db5f7);
  color: white;
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  opacity: 0.9;
}

.job-meta i {
  width: 16px;
  text-align: center;
}

/* Override background colors for job detail header */
.job-detail-header .job-department,
.job-detail-header .job-type {
  background: transparent !important;
  color: white !important;
}

.job-apply-button .btn {
  background: white;
  color: #2980b9;
  padding: 15px 30px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.job-apply-button .btn:hover {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.job-detail-body {
  padding: 50px;
}

.job-section {
  margin-bottom: 40px;
}

.job-section:last-child {
  margin-bottom: 0;
}

.job-section h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 2px solid #5db5f7;
  padding-bottom: 10px;
}

.job-section p {
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

.reporting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.report-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #5db5f7;
}

.report-item strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 5px;
  font-weight: 600;
}

.report-item span {
  color: #666;
}

.responsibilities-list,
.requirements-list {
  list-style: none;
  padding: 0;
}

.responsibilities-list li,
.requirements-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.responsibilities-list li:before,
.requirements-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #5db5f7;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Job Application Section */
.job-application {
  padding: 80px 0;
  background: white;
}

.application-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.application-content h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
}

.application-content p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 50px;
}

.application-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.apply-option {
  background: #f8f9fa;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.apply-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.option-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5db5f7, #2980b9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.option-icon i {
  font-size: 2rem;
  color: white;
}

.option-content h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.option-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  color: #2980b9;
  border: 2px solid #2980b9;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background: #2980b9;
  color: white;
}

/* Careers CTA Section */
.careers-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #2980b9, #5db5f7);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn {
  background: white;
  color: #2980b9;
  padding: 18px 40px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-content .btn:hover {
  background: transparent;
  color: white;
  border: 3px solid white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-banner-careers {
    height: auto;
    min-height: 60vh;
    padding: 120px 20px 60px;
    background-attachment: scroll;
  }

  .page-banner-careers h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .page-banner-careers p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 15px;
    margin-bottom: 2rem;
  }

  .careers-intro .intro-header h2 {
    font-size: 2rem;
  }

  /* .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  } */

  .intro-card {
    padding: 25px 20px;
  }

  .card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content .btn {
    padding: 15px 30px;
    font-size: 1rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .job-header {
    padding: 25px 20px 15px;
  }

  .job-details {
    padding: 15px 20px;
  }

  .job-footer {
    padding: 15px 20px 25px;
  }

  .job-info {
    flex-direction: column;
    gap: 8px;
  }

  /* Job Detail Responsive */
  .job-detail-header {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 40px 30px;
  }

  .job-title h2 {
    font-size: 2rem;
  }

  .job-detail-body {
    padding: 30px 20px;
  }

  .reporting-grid {
    grid-template-columns: 1fr;
  }

  .application-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apply-option {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .page-banner-careers h1 {
    font-size: 1.75rem;
  }

  .page-banner-careers p {
    font-size: 0.9rem;
  }

  .careers-intro .intro-header h2 {
    font-size: 1.75rem;
  }

  .intro-card {
    padding: 20px 15px;
  }

  .intro-card h3 {
    font-size: 1.2rem;
  }

  .intro-card p {
    font-size: 0.9rem;
  }
}

/* Job Application Form Styles */
.file-note {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

input[type="file"] {
  padding: 0.75rem;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

input[type="file"]:hover {
  border-color: #007bff;
}

input[type="file"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Modal Message Styling */
.resume-reminder {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 1rem;
  margin: 1rem 0;
  color: #856404;
}

.file-format-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Basic font for cover letter textarea */
#coverLetter {
  font-family: "Galano", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
