/* ==========================================================================
   CAREERS ARCHIVE STYLES (archive-career.php)
   ========================================================================== */

/* Main wrapper */
.careers-archive {
  background: #fff;
  min-height: 100vh;
}

/* Hero Section */
.careers-hero {
  background: linear-gradient(to bottom, #0a1436, #153521) !important;
  color: #fff;
  padding: 80px 20px !important;
  text-align: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

.careers-hero .container {
  text-align: center;
  width: 100%;
}

.careers-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Join Us Section */
.join-us-section {
  padding: 80px 0;
  background: #fff;
}

.join-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.join-us-text h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 25px;
  color: #5a6c7d;
  line-height: 1.3;
}

.join-us-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #5a6c7d;
}

.join-us-description p {
  margin-bottom: 20px;
  color: #5a6c7d;
}

.join-us-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Positions Section */
.positions-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.positions-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #4a5568;
}

.positions-subheading {
  text-align: center;
  font-size: 1.05rem;
  color: #718096;
  margin: 0 auto 50px;
  max-width: 700px;
  line-height: 1.6;
}

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

.position-card {
  background: #fff;
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.position-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(31, 181, 122, 0.06);
  flex-shrink: 0;
}

.position-icon i {
  font-size: 36px;
  color: #39a63d;
}

.position-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #2d3748;
}

.position-content > p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #718096;
  margin: 0 0 20px;
}

.job-listings {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.job-title {
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
}

.apply-link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 181, 122, 0.1);
  color: #39a63d;
  transition: all 0.2s ease;
  text-decoration: none;
}

.apply-link:hover {
  background: #39a63d;
  color: #fff;
  transform: scale(1.1);
}

.no-positions {
  font-size: 0.9rem;
  color: #a0aec0;
  font-style: italic;
  padding: 10px 0;
}

/* Office Section */
.office-section {
  background: linear-gradient(to bottom, #0a1436, #153521) !important;
  color: #fff;
  padding: 80px 20px !important;
  text-align: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

.office-section .container {
  text-align: center;
  width: 100%;
}

.office-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.office-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Perks Section */
.perks-section {
  padding: 80px 0;
  background: #fff;
}

.perks-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #4a5568;
}

.perks-subheading {
  text-align: center;
  font-size: 1.05rem;
  color: #718096;
  margin: 0 auto 50px;
  max-width: 700px;
  line-height: 1.6;
}

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

.perk-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  border-radius: 12px;
  background: #f8f9fa;
  border-top: 3px solid #39a63d;
  transition: transform 0.3s ease;
}

.perk-item:hover {
  transform: translateY(-3px);
}

.perk-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(31, 181, 122, 0.06);
  flex-shrink: 0;
}

.perk-icon i {
  font-size: 26px;
  color: #39a63d;
}

.perk-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #2d3748;
}

.perk-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #718096;
  margin: 0;
}

/* CTA Section */
.careers-cta {
  padding: 80px 20px !important;
  background: linear-gradient(135deg, #0a1436, #153521) !important;
  text-align: center;
  display: flex !important;
  align-items: center !important;
  justify-content: center;
}

.cta-content {
  text-align: center;
  width: 100%;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #39a63d;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(162, 212, 94, 0.05);
}

.cta-button:hover {
  background: #39a63d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 181, 122, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .careers-hero,
  .office-section,
  .careers-cta {
    padding: 60px 15px !important;
  }

  .join-us-section,
  .positions-section,
  .perks-section {
    padding: 50px 15px;
  }

  .join-us-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .join-us-image {
    order: -1;
  }

  .positions-grid,
  .perks-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .position-card {
    padding: 30px 25px;
  }

  .perk-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .careers-hero,
  .office-section,
  .careers-cta {
    padding: 40px 10px !important;
  }

  .position-card,
  .perk-item {
    padding: 25px 20px;
  }

  .position-icon {
    width: 60px;
    height: 60px;
  }

  .position-icon i {
    font-size: 30px;
  }
}
