@import url('https://fonts.googleapis.com/css2?family=Joan&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500&family=Joan&family=Cinzel:wght@400;500&family=Montserrat:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=WindSong:wght@400;500&display=swap');

/* Icon Utilities */
[data-icon="clock"],
[data-icon="map-pin"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

[data-icon="clock"] {
  background-image: url('../icons/careers/calendar-clock.png');
}

[data-icon="map-pin"] {
  background-image: url('../icons/careers/map-pin-1.png');
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: rgb(239,239,239);
  color: #1e1e3f;
  font-weight: 250;
}

/* Career Section */
.career-section {
  padding: 80px 20px;
  background-color: rgb(239, 241, 243) !important;
  text-align: center !important;
}
.career-container {
  max-width: 900px;
  margin: 0 auto;
}
.career-title {
  font-family: 'Joan', serif !important;
  font-size: 48px;
  line-height: 1.3;
  color: #1e1e3f;
  font-weight: 500 !important;
  margin-bottom: 30px;
}
.career-description {
  font-family: 'Raleway', serif !important;
  font-size: 16px;
  color: #5b5b7b;
  line-height: 1.8;
  font-weight: 300 !important;
  margin-bottom: 40px;
}
.career-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.filter-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-family: 'Raleway', serif !important;
  background-color: #918c83 !important;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:active,
.filter-btn:hover {
  background-color: #63605a !important;
  color: white !important;
  border-color: white !important;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .career-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .filter-btn {
    width: 100%;
    font-size: 15px;
    padding: 12px 0;
    border-radius: 10px;
    text-align: center;
  }
}

/* Job Section */
.job-section {
  padding: 50px 20px;
  background-color: rgb(239, 241, 243) !important;
}
.job-section .job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.job-section .job-card-modern {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  font-family: 'Raleway', sans-serif;
  display: flex;
  flex-direction: column;
  position: relative;
}
.job-section .job-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.job-section .job-role {
  font-family: 'Joan', serif !important;
  font-size: 25px;
  font-weight: 500;
  color: #1e1e3f;
  margin-bottom: 15px;
}
.job-section .job-meta-row {
  display: flex;
  font-family: 'Raleway', serif !important;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #7a7a8a;
  font-weight: 500 !important;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.job-section .job-icon {
  font-size: 16px;
}
.job-section .job-description {
  font-size: 15px;
  font-family: 'Raleway', serif !important;
  font-weight: 500 !important;
  color: #7a7a8a;
  line-height: 1.6;
  min-height: 72px !important;
  margin-bottom: 25px;
}
.job-section .salary-range {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 500;
  color: #1e1e3f;
  margin-bottom: 25px;
}
.job-section .apply-btn {
  background-color: transparent !important;
  border: 1px solid #1e1e3f !important;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1e1e3f !important;
  font-family: 'Raleway', serif !important;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}
.job-section .apply-btn:hover {
  background-color: #63605a !important;
  color: #ffffff !important;
  border-color: #8a703e !important;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    flex-direction: column;
    padding: 60px 6%;
    text-align: center;
    overflow-x: hidden;
  }
  .career-section {
    padding: 60px 6%;
  }
  .career-title {
    font-size: 40px;
    margin-bottom: 20px;
  }
  .career-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .job-section {
    margin-top: 1px !important;
  }
  .job-section .job-grid {
    grid-template-columns: 1fr;
  }
  .job-section .job-card-modern {
    padding: 20px;
  }
  .job-section .salary-range {
    font-size: 20px;
  }
  .job-section .apply-btn {
    width: 100%;
    text-align: center;
  }
}
