/* Careers Page Styles - Developed according to design drawings */
.careers-page {
  background: rgba(234, 235, 235, 1);
}

.careers-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.careers-hero-section .careers-container {
  position: relative;
  z-index: 5;
}

.careers-hero-title {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 32px 0;
  padding-top: 230px;
}

.careers-hero-subtitle {
  font-size: 28px;
  margin: 0 0 150px 0;
}

.careers-hero-description {
  font-size: 16px;
  line-height: 1.8;
}

/* Section Styles */
.careers-section {
  padding: 80px 0;
}

.careers-section-life {
  background-color: rgba(248, 248, 248, 1);
}

.careers-section-label {
  font-size: 20px;
  margin-bottom: 16px;
}

.careers-section-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
}

/* LIFE AT HanabiAI Section */
.careers-life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.careers-life-card {
  text-align: center;
  padding: 30px 45px;
  border: 1px solid rgba(128, 128, 128, 1);
}

.careers-life-card-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

.careers-life-card-description {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  color: #666;
}

/* WHO WE LOOK FOR Section */
.careers-who-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 0 100px;
}

.who-wrapper {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(128, 128, 128, 1);
}

.careers-who-column {
  margin: 60px 0 0;
  padding: 0 20px 0 0;
}

.careers-who-column:nth-child(1) {
  border-right: 1px solid rgba(128, 128, 128, 1);
}

.careers-who-column-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(51, 51, 51, 1);
  margin: 0 0 24px 0;
  line-height: 1.4;
}

.careers-who-list {
  width: 456px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.careers-who-list li {
  font-size: 16px;
  color: rgba(51, 51, 51, 1);
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.careers-who-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(51, 51, 51, 1);
  font-size: 20px;
  line-height: 1.6;
}

/* OPEN ROLES Section */
.careers-roles-description {
  font-size: 16px;
  margin: 0 0 60px 0;
}

.careers-roles-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.careers-carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(200, 200, 200, 0.5);
  background-color: rgba(255, 255, 255, 1);
  color: rgba(51, 51, 51, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.careers-carousel-btn:hover {
  background-color: rgba(51, 51, 51, 1);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(51, 51, 51, 1);
}

.careers-carousel-btn svg {
  width: 24px;
  height: 24px;
}

.careers-roles-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.careers-roles-list::-webkit-scrollbar {
  display: none;
}

.careers-role-card {
  min-width: calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  background-color: rgba(248, 248, 248, 1);
  padding: 30px 42px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  align-items: center;
  flex-shrink: 0;
}

.careers-role-card:nth-child(2n) {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.8);
}

.careers-role-card:nth-child(2n) .careers-role-description {
  color: #fff !important;
}

.careers-role-card:nth-child(2n) .careers-role-link {
  background: #fff !important;
}

.careers-role-card-highlight {
  background-color: rgba(51, 51, 51, 1);
  border-color: rgba(51, 51, 51, 1);
}

.careers-role-card-highlight .careers-role-title,
.careers-role-card-highlight .careers-role-description {
  color: rgba(255, 255, 255, 1);
}

.careers-role-card-highlight .careers-role-link {
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.5);
}

.careers-role-card-highlight .careers-role-link:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.5);
}

.careers-role-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.careers-role-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.careers-role-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 38px;
  width: fit-content;
  transition: all 0.3s ease;
  color: #333;
  background: rgba(255, 255, 255, 0.8);
}

.careers-role-link:hover {
  box-shadow: 0 8px 10px rgba(235, 232, 232, 0.5);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .careers-hero-title {
    font-size: 32px;
    padding-top: 120px;
  }

  .careers-hero-subtitle {
    font-size: 22px;
    margin-bottom: 80px;
  }

  .careers-section {
    padding: 60px 20px;
  }

  .careers-section-title {
    font-size: 24px;
  }

  /* Life Grid */
  .careers-life-grid {
    grid-template-columns: 1fr;
  }

  .careers-life-card {
    padding: 25px 20px;
  }

  /* Who Grid */
  .careers-who-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .who-wrapper {
    padding-bottom: 40px;
  }

  .careers-who-column {
    margin-top: 40px;
    padding-right: 0;
  }

  .careers-who-column:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid rgba(128, 128, 128, 1);
    padding-bottom: 40px;
  }

  .careers-who-list {
    width: 100%;
  }

  /* Roles Carousel */
  .careers-carousel-btn {
    display: none;
  }

  .careers-roles-list {
    flex-direction: column;
  }

  .careers-role-card {
    min-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .careers-hero-title {
    font-size: 28px;
  }

  .careers-hero-subtitle {
    font-size: 20px;
  }
}