/*
CTC Separate Stylesheet
Updated: 2026-03-11 06:23:54
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Segoe UI",
    Roboto,
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  background: #f4f7fc;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.career-page {
  max-width: 1300px;
  width: 100%;
  background: white;
  border-radius: 2rem 2rem 2rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* header / top bar (no menu – only brand & subtle tag) */
.top-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid #eef2f5;
  flex-wrap: wrap;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-icon {
  background: #0b2b4f;
  color: white;
  font-weight: 800;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0b2b4f;
}
.logo-text span {
  color: #2469e3;
  font-weight: 300;
}
.tech-tag {
  background: #e7edf8;
  border-radius: 40px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  color: #0b2b4f;
  font-size: 0.9rem;
  border: 1px solid #cdddec;
}

/* main CAREER heading & big "WE'RE HIRING" */
.career-headline {
  padding: 1.2rem 2.5rem 0 2.5rem;
}
.career-headline h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #0a2540;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 1.6rem;
}
.hiring-block {
  background: linear-gradient(145deg, #162b45, #0b1e33);
  border-radius: 2rem;
  padding: 2.5rem 3rem;
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.5rem 0;
  box-shadow: 0 15px 25px rgba(0, 40, 80, 0.2);
}
.hiring-text {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}
.hiring-text small {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: #bfd8ff;
  margin-top: 0.5rem;
}
.hiring-badge {
  background: #3174f6;
  border-radius: 100px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}
.hiring-badge i {
  margin-right: 8px;
}

/* job openings grid */
.openings-section {
  padding: 1rem 2.5rem 2rem 2.5rem;
}
.section-label {
  font-size: 1.8rem;
  font-weight: 700;
  color: #112b42;
  margin-bottom: 1.5rem;
}
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.job-card {
  background: #ffffff;
  border-radius: 2rem;
  padding: 2rem 2rem 1.8rem 2rem;
  box-shadow: 0 12px 28px rgba(0, 30, 60, 0.06);
  border: 1px solid #eaf0f6;
  transition: transform 0.2s;
}
.job-card:hover {
  transform: translateY(-4px);
  border-color: #b6d0e8;
}
.job-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #122b44;
  margin-bottom: 0.75rem;
}
.job-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #567594;
  font-weight: 500;
}
.openings-count {
  background: #e9f0fa;
  border-radius: 60px;
  padding: 0.3rem 1.2rem;
  font-weight: 600;
  color: #1b4c7c;
}
.apply-btn {
  background: transparent;
  border: 2px solid #1f5fcf;
  color: #1f5fcf;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.apply-btn i {
  font-size: 0.9rem;
}
.apply-btn:hover {
  background: #1f5fcf;
  color: white;
}

/* submit resume banner (exactly as screenshot) */
.resume-banner {
  background: #f0f6fd;
  margin: 1.8rem 2.5rem 2rem 2.5rem;
  padding: 2rem 3rem;
  border-radius: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dde9f5;
}
.resume-quote {
  font-size: 1.5rem;
  font-weight: 500;
  color: #163753;
}
.resume-quote i {
  color: #3773e0;
  margin-right: 10px;
  font-size: 1.8rem;
  vertical-align: middle;
}
.join-link {
  background: #0b2b4f;
  color: white;
  border-radius: 60px;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
  border: none;
  box-shadow: 0 8px 16px rgba(0, 40, 80, 0.15);
  transition: background 0.2s;
}
.join-link:hover {
  background: #3a55a6;
}

/* CONTACT FORM — exactly as requested */
.contact-form-section {
  padding: 0 2.5rem 3rem 2.5rem;
}
.form-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #122b44;
  margin-bottom: 2rem;
  border-left: 8px solid #3a55a6;
  padding-left: 1.2rem;
}
.career-form {
  background: white;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid #dbe6f2;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  color: #3a55a6;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select {
  padding: 0.9rem 1.2rem;
  border: 1px solid #cbd9ea;
  border-radius: 60px;
  font-size: 1rem;
  background: #fafcff;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #3a55a6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(36, 105, 227, 0.1);
  background: white;
}
.form-group input[type="file"] {
  padding: 0.65rem 1.2rem;
  border-radius: 4px;
  background: #f5f9ff;
  border-style: dashed;
}
.file-hint {
  font-size: 0.8rem;
  color: #54718f;
  margin-top: 0.3rem;
}
#custom-select-container {
  margin-top: 0px;
}
.form-submit {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}
.submit-btn {
  background: #3a55a6;
  border: none;
  color: white;
  font-weight: 700;
  padding: 1rem 3rem;
  border-radius: 60px;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  border: 1px solid #3a55a6;
  box-shadow: 0 8px 18px rgba(0, 42, 78, 0.1);
}
.submit-btn:hover {
  background: #1a4a78;
}
.submit-btn i {
  font-size: 1rem;
}

/* tiny extra: no menu, no footer */
.attribution {
  text-align: center;
  font-size: 0.8rem;
  color: #95adc7;
  padding: 1rem 2.5rem 2rem;
  border-top: 1px solid #eef3f9;
}
/* ensure the new button uses same base style as .apply-btn */
.readmore-btn {
  background: transparent;
  border: 2px solid #1f5fcf;
  color: #1f5fcf;
  font-weight: 700;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.readmore-btn:hover {
  background: #1f5fcf;
  color: white;
}
/* optional job description spacing */
.job-description {
  background: #f8fbfe;
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  margin: 1rem 0 1.2rem 0;
  border-left: 4px solid #2469e3;
}
/* small adjust for mobile */
@media (max-width: 600px) {
  .job-description {
    font-size: 0.9rem;
  }
}
/* keep consistency with existing style (already in your CSS, but added for completeness) */
.apply-btn i {
  font-size: 0.9rem;
}
/* job description style: matches the "read more" look but actually we show it always */
.job-description {
  background: #f5f9ff;
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  margin: 1rem 0 1.2rem 0;
  border-left: 4px solid #2469e3;
  font-size: 0.95rem;
  color: #1e3b5c;
  line-height: 1.5;
  border: 1px solid #e0ebf9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}
.job-description i {
  font-size: 1.1rem;
}
/* ensure apply button remains the same style */
.apply-btn {
  background: transparent;
  border: 2px solid #1f5fcf;
  color: #1f5fcf;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.apply-btn:hover {
  background: #1f5fcf;
  color: white;
}
/* optional responsive touch */
@media (max-width: 600px) {
  .job-description {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}
/* responsive */
@media (max-width: 750px) {
  .top-brand {
    padding: 1.2rem 1.5rem;
  }
  .career-headline {
    padding: 1rem 1.5rem;
  }
  .career-headline h1 {
    font-size: 3rem;
  }
  .hiring-block {
    padding: 2rem 1.8rem;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }
  .hiring-text {
    font-size: 1.8rem;
  }
  .openings-section {
    padding: 1rem 1.5rem;
  }
  .resume-banner {
    margin: 1.5rem;
    padding: 1.8rem;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }
  .resume-quote {
    font-size: 1.3rem;
  }
  .contact-form-section {
    padding: 0 1.5rem 2.5rem 1.5rem;
  }
  .career-form {
    padding: 1.8rem;
  }
  .submit-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.4rem;
  }
  .hiring-badge {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  .job-title {
    font-size: 1.6rem;
  }
}
