/* =========================================
   FAIRYTALES — CAREER PAGE CSS
   ========================================= */

:root {
  --purple-dark:  #3b1f6b;
  --purple-mid:   #6b3fa0;
  --pink:         #e91e8c;
  --pink-light:   #f472b6;
  --teal:         #1aabbb;
  --section-bg:   #faf5ff;
  --white:        #ffffff;
  --text-body:    #4a4a5a;
  --text-muted:   #7a7a8a;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Playfair Display', Georgia, serif;
}


/* =========================================
   SECTION 1 — HERO
   ========================================= */
.career_hero {
    padding: 40px 0;
}

.career_hero_wrap {
    position: relative;
    /* Increased radius to match the soft design aesthetic */
    border-radius: 60px; 
    overflow: hidden;
    min-height: 540px;
    display: flex;
    align-items: center;
    /* Added a white border like your 'About Us' image */
    border: 12px solid #ffffff;
    box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.career_hero_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Updated overlay to match the soft pink tint in the design */
.career_hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(255, 182, 213, 0.85) 0%,   /* Soft warm pink */
        rgba(255, 182, 213, 0.60) 40%,
        rgba(255, 255, 255, 0.10) 100%
    );
    z-index: 1;
}

.career_hero_content {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    max-width: 700px;
}

.career_hero_content h1 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.1;
    color: #602C7F; /* Your brand dark purple */
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 500px;
}

/* Designing the two-tone heading */
.career_hero_content h1 strong {
    font-weight: 800;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.career_hero_content p {
    font-size: 18px;
    line-height: 32.5px;
    color: #602C7F;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 480px;
}

/* Button with soft shadow */
.btn_career_hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #602C7F;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 25px 12px 25px 12px; /* Matches your 'blob' icon shape */
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(90, 44, 160, 0.3);
    transition: all 0.3s ease;
}

.btn_career_hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(90, 44, 160, 0.4);
    color: #fff;
}


/* =========================================
   SECTION 2 — CURRENT OPENINGS
   ========================================= */
.career_openings {
  background: var(--section-bg);
  padding: 80px 0 90px;
}

.career_openings .heading {
  text-align: center;
  margin-bottom: 56px;
}

/* Badge */
.career_openings .top_txt_badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
  background: #E77FB1;
  padding: 9px 23px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.career_openings .heading h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 800;
  color: #602C7F;
  margin: 0 0 14px;
}

.career_openings .heading p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* 3-col grid */
.openings_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Job card */
.job_card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  box-shadow: 0 2px 20px rgba(107,63,160,0.06);
  border: 1px solid #f0e8fb;
}

.job_card--featured {
  box-shadow: 0 4px 32px rgba(233,30,140,0.12);
  border-color: #fce4f3;
}

/* Icon circle */
.job_icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--job-icon-bg, #6b3fa0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Job title */
.job_card h3 {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px;
}

/* Description */
.job_card > p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 20px;
  flex: 1;
}

/* Tags */
.job_tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.job_tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background: #6b3fa0;
  padding: 5px 16px;
  border-radius: 100px;
}

/* Apply button */
.btn_apply {
  display: block;
  width: 100%;
  background: var(--apply-bg, #602C7F);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 16px;
  border-radius: 100px;
  transition: opacity 0.2s, transform 0.2s;
}

.btn_apply:hover {
  opacity: 0.88;
  transform: translateY(-1px);
color: var(--white);
}


/* =========================================
   SECTION 3 — APPLICATION FORM + CONTACT
   ========================================= */
.career_apply {
  background: #FFF7FC;
  padding: 80px 0 100px;
}

.apply_wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Left: Form ── */
.apply_form_wrap {
  background: #FFF8FA;
  border-radius: 48px;
  padding: 48px 44px;
  border: 4px solid #FFFFFF;
  box-shadow: 0px 10px 30px 0px #602C7F26;
}

.apply_form_wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--purple-dark);
  margin: 0 0 36px;
  line-height: 1.2;
}

.apply_form_wrap h2 .highlight {
  color: #E77FB1;
  font-style: italic;
}

/* Form shared styles */
.apply_form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form_row {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form_row--two {
  flex-direction: row;
  gap: 16px;
}

.form_row--two .form_group {
  flex: 1;
}

.form_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form_group label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form_group input,
.form_group select {
  font-family: var(--font-body);
  font-size: 15px;
  color: #1a1a2e;
  background: #f7f3fc;
  border: 1.5px solid #ede5f8;
  border-radius: 100px;
  padding: 15px 22px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form_group input::placeholder {
  color: #c0b4d4;
}

.form_group input:focus,
.form_group select:focus {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(107,63,160,0.12);
}

/* Select dropdown arrow */
.form_group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b3fa0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-color: #f7f3fc;
  padding-right: 46px;
}

/* File upload */
.file_input_hidden {
  display: none;
}

.file_upload_area {
  border: 2px dashed var(--pink);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.file_upload_area:hover {
  background: #fef0f7;
}

.file_upload_label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.file_upload_label span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #602C7F;
}

/* Submit button */
.btn_submit_apply {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  background: #E881B3;
  border: none;
  border-radius: 100px;
  padding: 20px 36px;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s, transform 0.2s;
}

.btn_submit_apply:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


/* ── Right: Contact cards ── */
.apply_contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Contact card base */
.contact_card {
  border-radius: 100px;
  padding: 28px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--contact-bg, #3b1f6b);
}

/* Light card (branches) overrides pill shape */
.contact_card--light {
  background: #FFF8FA;
  border-radius: 20px;
  align-items: flex-start;
  padding: 28px 28px;
  border: 4px solid #FFFFFF;
  box-shadow: 0px 10px 30px 0px #602C7F26;
}

/* Icon circle inside card */
.contact_card_icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact_card--light .contact_card_icon {
  background: #fff;
  box-shadow: 0px 1px 2px 0px #0000000D;
}

/* Text inside card */
.contact_card_txt h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}

.contact_card_txt p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

.contact_card_txt span {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* Light card overrides text colors */
.contact_card--light .contact_card_txt h4 {
  color: #E881B3;
  margin-bottom: 16px;
  font-size: 24px;
}

/* Branch 2-col layout */
.branches_two_col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.branch_entry {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.branch_entry strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}

.branch_entry span {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
}


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .career_hero_content {
    padding: 48px 36px;
  }

  .openings_grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .apply_wrap {
    grid-template-columns: 1fr;
  }

  .apply_form_wrap {
    padding: 36px 28px;
  }

  .contact_card {
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .career_hero_wrap {
    min-height: 420px;
  }

  .career_hero_content {
    padding: 40px 28px;
  }

  .form_row--two {
    flex-direction: column;
  }

  .branches_two_col {
    grid-template-columns: 1fr;
  }
}