/* Careers Page Styles */

/* Current Openings Section */
.careers-openings {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.careers-intro {
  margin-bottom: var(--space-lg);
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.careers-intro h2 {
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.careers-intro h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.careers-intro p {
  color: var(--dark-gray);
  margin-bottom: var(--space-sm);
}

.job-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--primary-black);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.job-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.job-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  background: var(--white);
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.job-card-header {
  padding: var(--space-md);
  background: var(--light-gray);
  border-bottom: 1px solid var(--border-color);
}

.job-title {
  color: var(--primary-black);
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.job-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.job-meta div {
  display: flex;
  align-items: center;
}

.job-meta i {
  margin-right: 5px;
  color: var(--primary-red);
}

.job-card-body {
  padding: var(--space-md);
}

.job-description {
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.job-tag {
  background: var(--light-gray);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--dark-gray);
}

.job-card-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-gray);
}

.job-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.apply-btn {
  background: var(--primary-red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-medium);
}

.apply-btn:hover {
  background: var(--red-gradient);
  transform: translateY(-2px);
}

/* Why Join Us Section */
.why-join-us {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.section-title {
  margin-bottom: var(--space-lg);
  text-align: center;
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.benefit-card {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--primary-red);
  font-size: 1.8rem;
  transition: all var(--transition-medium);
}

.benefit-card:hover .benefit-icon {
  background: var(--primary-red);
  color: var(--white);
}

.benefit-title {
  margin-bottom: var(--space-sm);
  color: var(--primary-black);
}

.benefit-description {
  color: var(--dark-gray);
}

/* Culture Section */
.our-culture {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.culture-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.culture-image img {
  width: 100%;
  display: block;
}

.culture-content h2 {
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.culture-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.culture-content p {
  margin-bottom: var(--space-md);
  color: var(--dark-gray);
}

.culture-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-item {
  display: flex;
  gap: var(--space-sm);
}

.value-icon {
  color: var(--primary-red);
  font-size: 1.5rem;
  min-width: 30px;
}

.value-text h4 {
  margin-bottom: 5px;
  color: var(--primary-black);
}

.value-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Application Process */
.application-process {
  padding: var(--space-xl) 0;
  background-color: var(--light-gray);
}

.process-heading {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 30px;
  width: calc(100% - 60px);
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 20%;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
  font-size: 1.5rem;
  position: relative;
}

.step-number::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--primary-red);
  opacity: 0.3;
}

.step-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary-black);
}

.step-description {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* CTA Section */
.careers-cta {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--primary-red), #ff5757);
  color: var(--white);
  text-align: center;
}

.cta-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.cta-wrapper h2 {
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
}

.cta-wrapper p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 30px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all var(--transition-medium);
}

.cta-btn-primary {
  background: var(--white);
  color: var(--primary-red);
}

.cta-btn-primary:hover {
  background: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cta-btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .job-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .culture-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    width: 100%;
    margin-bottom: var(--space-lg);
  }

  .process-steps {
    flex-direction: column;
  }

  .positions-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
  }

  .process-step-content {
    min-height: auto;
    padding: var(--space-md);
  }

  .process-step-number {
    width: 90px;
    height: 90px;
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 767px) {
  .benefit-card {
    padding: var(--space-sm);
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .culture-values {
    grid-template-columns: 1fr;
  }

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

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

  .position-card {
    padding: var(--space-md);
  }

  .position-title {
    font-size: 1.3rem;
  }

  .process-step-number {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .process-step-number::before,
  .process-step-number::after {
    display: none;
  }

  .process-step-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
  }

  .search-box {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .job-card {
    min-width: 100%;
  }

  .job-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .position-header {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
  }

  .position-title {
    font-size: 1.2rem;
  }

  .position-tags {
    margin-bottom: var(--space-sm);
  }

  .position-card p {
    font-size: 0.95rem;
  }

  .process-step-content {
    padding: var(--space-sm);
  }
}

/* Open Positions Section */
.open-positions {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.open-positions h2 {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
}

.open-positions h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.positions-filter {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  align-items: center;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-bottom: var(--space-md);
}

.search-box input {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--body-font);
  font-size: 1rem;
  color: var(--primary-black);
  transition: all var(--transition-medium);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(243, 0, 0, 0.1);
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-gray);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--primary-black);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.positions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.position-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-lg);
}

.position-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.position-header {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: var(--space-md);
}

.position-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--primary-black);
}

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

.location i {
  color: var(--primary-red);
}

.position-card p {
  color: var(--dark-gray);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.position-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.position-tags span {
  background: var(--light-gray);
  color: var(--dark-gray);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.position-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Application Process */
.application-process {
  position: relative;
  padding: var(--space-xl) 0;
  background: linear-gradient(120deg, #fcfcfc, #f7f7f7);
  overflow: hidden;
}

.application-process h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 2.2rem;
  color: var(--primary-black);
  font-weight: 700;
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
}

.application-process h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1200px;
  margin: var(--space-xl) auto 0;
  padding: 0 var(--space-lg);
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), #ff5757);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24%;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-xs);
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  background-color: var(--primary-red);
  color: var(--white);
  border-radius: 50%;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 3;
  font-family: "Orbitron", sans-serif;
  box-shadow: 0 5px 15px rgba(243, 0, 0, 0.3);
  transition: all var(--transition-medium);
}

.process-step-number::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85px;
  height: 85px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  animation: spin 30s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.process-step-number::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  animation: ripple 2s linear infinite;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.process-step-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  text-align: center;
  border: 1px solid rgba(243, 0, 0, 0.1);
  transition: all var(--transition-medium);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.process-step-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--primary-red);
  transition: height var(--transition-medium);
}

.process-step:hover .process-step-content::before {
  height: 100%;
}

.process-step-content h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--primary-black);
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 1.4;
}

.process-step-content h3::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-red);
}

.process-step-content p {
  color: var(--dark-gray);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
  flex-grow: 1;
}

.process-step:hover .process-step-number {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(243, 0, 0, 0.4);
}

.process-step:hover .process-step-content {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(243, 0, 0, 0.2);
}

/* Culture Gallery */
.culture-gallery {
  padding: var(--space-xl) 0;
  background-color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--white);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Employee Benefits Section */
.employee-benefits {
  padding: var(--space-xl) 0;
  background: linear-gradient(120deg, #fcfcfc, #f7f7f7);
  position: relative;
}

.employee-benefits .section-title {
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
}

.employee-benefits .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-red);
}

.employee-benefits .section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--dark-gray);
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.benefit-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-lg);
  transition: all var(--transition-medium);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--primary-red);
  font-size: 1.8rem;
  transition: all var(--transition-medium);
}

.benefit-card:hover .benefit-icon {
  background: var(--primary-red);
  color: var(--white);
  transform: scale(1.1);
}

.benefit-card h3 {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--primary-black);
  position: relative;
  padding-bottom: var(--space-sm);
  font-weight: 600;
}

.benefit-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-red);
}

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

.benefit-list li {
  display: flex;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--light-gray);
  color: var(--dark-gray);
  font-size: 1rem;
}

.benefit-list li:last-child {
  border-bottom: none;
}

.benefit-list li i {
  color: var(--primary-red);
  margin-right: var(--space-sm);
  font-size: 0.9rem;
}

/* Responsive Styles for Benefits Section */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

@media (max-width: 767px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    padding: var(--space-md);
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .benefit-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .employee-benefits .section-title {
    font-size: 1.8rem;
  }

  .employee-benefits .section-subtitle {
    font-size: 1rem;
  }

  .benefit-card {
    padding: var(--space-sm);
  }

  .benefit-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
  }

  .benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
  }

  .benefit-list li {
    font-size: 0.95rem;
    padding: var(--space-xs) 0;
  }
}
