
/* Careers Page Specific Styles */

/* Page Header */
.page-header {
  background: linear-gradient(rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.7)),
              url('../assets/career header.jpg') center/cover no-repeat;
  padding: 90px 0 60px;
  text-align: center;
  color: var(--white);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.1);
}

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

.page-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Why Work Section */
.why-work-section {
  background: var(--white);
  padding: 90px 0;
  overflow: visible;
  max-height: none;
}

.why-work-section .container {
  overflow: visible;
  max-height: none;
}

.why-work-section .row {
  overflow: visible;
  max-height: none;
}

.benefit-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  border: 1px solid rgba(59, 130, 246, 0.1);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  max-height: none;
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.08), transparent);
  transition: left 0.6s ease;
}

.benefit-card:hover::after {
  left: 100%;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.benefit-icon {
  width: 75px;
  height: 75px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.benefit-card h4 {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
}

.benefit-card p {
  color: var(--medium-gray);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

/* Job Openings Section */
.job-openings {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 90px 0;
}

/* Compact Job Cards */
.job-card-compact {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  height: 100%;
  width: 100%;
}

.job-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.job-info {
  flex: 1;
}

.job-info .job-title {
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.job-info .job-type {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 12px;
}

.job-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.job-location i {
  color: var(--primary-blue);
  font-size: 1rem;
}

.job-salary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.job-salary i {
  color: #f59e0b;
  font-size: 1rem;
}

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

.job-actions .btn {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* Modal Styles */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
  border-bottom: 2px solid #f1f5f9;
  padding: 25px 30px 20px;
}

.modal-title {
  font-weight: 700;
  color: var(--dark-gray);
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
}

.modal-body {
  padding: 25px 30px;
}

.job-detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.job-detail-header .job-type {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.job-detail-header .job-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--medium-gray);
  font-size: 0.95rem;
}

.job-detail-header .job-salary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1rem;
}

.job-description h6 {
  font-weight: 600;
  color: var(--dark-gray);
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
}

.job-description ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.job-description li {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
}

.job-description li::before {
  content: '•';
  color: var(--primary-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

.job-description p {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1rem;
}

.modal-footer {
  border-top: 2px solid #f1f5f9;
  padding: 20px 30px 25px;
}

/* Call to Action Section */
.cta-section {
  background: var(--white);
  padding: 90px 0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-section .btn {
  padding: 15px 35px;
  font-weight: 600;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-section .btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cta-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.cta-section .btn-outline-primary {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.cta-section .btn-outline-primary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  padding: 90px 0;
}

.benefits-list {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.08);
  transition: all 0.3s ease;
}

.benefits-list:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefits-list h4 {
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 25px;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.benefits-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1rem;
}

.benefits-list i {
  color: var(--primary-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-header {
    padding: 100px 20px 60px;
  }

  .why-work-section,
  .job-openings,
  .cta-section,
  .benefits-section {
    padding: 70px 20px;
  }

  .job-card-compact {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .job-actions {
    flex-direction: row;
    justify-content: center;
    min-width: auto;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .modal-body,
  .modal-header,
  .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Laptop screens - Reduce content width */
@media (min-width: 1024px) and (max-width: 1920px) {
  .page-header .container,
  .careers-section .container,
  .job-listings .container,
  .cta-section .container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 80px 15px 50px;
    min-height: auto;
  }

  .page-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .why-work-section,
  .job-openings,
  .cta-section,
  .benefits-section {
    padding: 60px 15px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .job-card-compact {
    padding: 18px;
    margin-bottom: 20px;
  }

  .job-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .job-actions .btn {
    width: 100%;
    font-size: 0.8rem;
  }

  .benefit-card {
    padding: 35px 25px;
    margin-bottom: 25px;
  }

  .application-form-container {
    padding: 30px 20px;
  }

  .benefits-list {
    padding: 30px 25px;
    margin-bottom: 25px;
  }

  .modal-dialog {
    margin: 15px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 70px 15px 40px;
  }

  .why-work-section,
  .job-openings,
  .application-form,
  .benefits-section {
    padding: 50px 15px;
  }

  .job-card-compact {
    padding: 15px;
  }

  .job-info .job-title {
    font-size: 1.1rem;
  }

  .job-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .benefit-card {
    padding: 30px 20px;
  }

  .benefit-icon {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
  }

  .benefits-list {
    padding: 25px 20px;
  }

  .cta-section .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 25px;
    font-size: 1rem;
  }

  .modal-body,
  .modal-header,
  .modal-footer {
    padding-left: 15px;
    padding-right: 15px;
  }
}
