/* =============================================================
   join-us.css — Join Us / Employee Benefits page styles
   All rem values: rem = figma_px / 19
   Base: 19px → scaled via global.css media queries
   Reuses: .container, .gl-hero / .gl-hero-bg (global.css)
           .ct-info-card* (contact.css) for the Apply Now cards
   ============================================================= */

/* ---------------------------------------------------------------
   1. HERO
--------------------------------------------------------------- */


.ju-hero-overlay {
  position: absolute;
  inset: 0;
  /* Combines the flat dark tint + diagonal gradient from the Figma design */
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.65) 46%, rgba(0, 0, 0, 0.33) 99%),
    rgba(0, 0, 0, 0.55);
  z-index: 1;
}



.ju-hero-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 3.368rem; /* 64px / 19 */
  line-height: 4.316rem; /* 82px / 19 */
  color: #ffffff;
}

.ju-hero-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.632rem; /* 31px / 19 */
  color: #ffffff;
}

@media (max-width: 768px) {
  
  .ju-hero-title {
    font-size: 2.105rem;
    line-height: 1.3;
  }
}

/* ---------------------------------------------------------------
   2. EMPLOYEE BENEFITS GRID
--------------------------------------------------------------- */
.ju-benefits-section {
  background-color: var(--bg-light);
  padding-top: 7.579rem; /* 144px / 19 */
  padding-bottom: 7.579rem;
}

.ju-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem; /* 19px / 19 */
}

.ju-benefit-card {
  background-color: #ffffff;
  border: 0.053rem solid var(--border-gray); /* 1px */
  border-radius: 0.316rem; /* 6px / 19 */
  box-shadow: 0 0.211rem 0.421rem rgba(113, 75, 103, 0.05); /* 4px 8px / 19 */
  padding: 1.474rem; /* ~28px / 19 */
  min-height: 15.684rem; /* 298px / 19 */
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ju-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(8, 75, 129, 0.09);
  border-color: var(--primary-blue);
}

.ju-benefit-number {
  flex-shrink: 0;
  font-family: "Sofia Pro", var(--font-primary);
  font-weight: 600;
  font-size: 5.263rem; /* 100px / 19 */
  line-height: 1;
  color: #e2e2e2;
}

.ju-benefit-content {
  display: flex;
  flex-direction: column;
  gap: 0.789rem; /* ~15px / 19 */
}

.ju-benefit-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.474rem; /* 28px / 19 */
  line-height: 1.474rem;
  color: var(--base-dark);
}

.ju-benefit-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.316rem; /* 25px / 19 */
  color: var(--text-sub);
}

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

@media (max-width: 768px) {
  .ju-benefit-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: auto;
    padding: 1.5rem;
  }
  .ju-benefit-number {
    font-size: 3rem;
  }
}

/* ---------------------------------------------------------------
   3. JOIN TECHNAUREUS AND EXPERIENCE MORE
--------------------------------------------------------------- */
.ju-join-section {
  background-color: var(--bg-white);
  padding-top: 7.158rem; /* ~136px / 19 */
  padding-bottom: 7.158rem;
}

.ju-join-container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4.842rem; /* 92px / 19 */
  align-items: start;
}

.ju-join-title {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 3.211rem; /* 61px / 19 */
  line-height: 4.105rem; /* 78px / 19 */
  color: #060606;
  margin-bottom: 1.5rem;
}

.ju-join-title span {
  font-weight: 600;
  color: var(--primary-blue);
}

.ju-join-desc {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: 1rem; /* 19px / 19 */
  line-height: 1.474rem; /* 28px / 19 */
  color: var(--text-sub);
  max-width: 38rem;
}

.ju-join-gallery {
  display: flex;
  gap: 1.053rem; /* 20px / 19 */
}

.ju-join-img-main {
  width: 15.789rem; /* 300px / 19 */
  height: 23.474rem; /* 446px / 19 */
  border-radius: 0.316rem;
  overflow: hidden;
  background-color: #d9d9d9;
}

.ju-join-img-stack {
  display: flex;
  flex-direction: column;
  gap: 0.842rem; /* 16px / 19 */
}

.ju-join-img-small {
  width: 15.789rem; /* 300px / 19 */
  height: 11.316rem; /* 215px / 19 */
  border-radius: 0.316rem;
  overflow: hidden;
  background-color: #d9d9d9;
}

.ju-join-img-main img,
.ju-join-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .ju-join-container {
    grid-template-columns: 1fr;
  }
  .ju-join-gallery {
    margin-top: 2rem;
  }
}

@media (max-width: 575px) {
  .ju-join-gallery {
    flex-direction: column;
  }
  .ju-join-img-main,
  .ju-join-img-small {
    width: 100%;
  }
}

/* ---------------------------------------------------------------
   4. APPLY NOW
--------------------------------------------------------------- */
.ju-apply-section {
  padding-top: 0;
  padding-bottom: 7.158rem;
}

.ju-apply-heading {
  display: flex;
  align-items: center;
  gap: 0.368rem; /* 7px / 19 */
  margin-bottom: 1.737rem; /* 33px / 19 */
}

.ju-apply-title {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.579rem; /* 30px / 19 */
  color: #060606;
}

.ju-apply-arrow {
  flex-shrink: 0;
}

.ju-apply-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.895rem; /* 17px / 19 */
}

@media (max-width: 1024px) {
  .ju-apply-cards {
    grid-template-columns: 1fr;
  }
}
