/* ==========================================================================
   Site-wide clean-up (loaded last)
   One heading style for every section, refreshed Join Us / News cards,
   a quieter nav and side dots, and a tidier footer.
   ========================================================================== */

/* ---- Shared section heading ------------------------------------------ */
.jt-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ED2524;
}
.jt-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.jt-section-head h2,
.jt-about-head h2,
.jt-expertise-head h2,
.jt-products-head h2,
.jt-agile-head h2,
.jt-contact-head h2 {
  margin: 0 0 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0D0E1F;
}
.jt-products-head h2 { color: #fff; }
/* Old theme underlined the red word in some headings only */
section h2 .jt-red-text { border-bottom: 0; padding-bottom: 0; color: #ED2524; }
.jt-section-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5a6270;
}

/* ---- Navigation ------------------------------------------------------ */
/* Top bar styles live in css/nav.css. Side dots overlapped cards on laptop widths: show them only on wide screens */
@media (max-width: 1299px) { .side-navigation { display: none; } }

/* ---- Join Us --------------------------------------------------------- */
#joinus.jt-join {
  padding: 96px 15px;
  background: #f7f9fc;
}
.jt-jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
}
.jt-job {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  background: #fff;
  border: 1px solid rgba(1, 63, 91, 0.10);
  border-top: 4px solid #013f5b;
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}
.jt-job:hover { transform: translateY(-4px); border-top-color: #ED2524; }
.jt-job-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1C69A1;
}
.jt-job h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #0D0E1F;
}
.jt-job p {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #5a6270;
}
.jt-job-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.jt-job-apply {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 5px;
  background: #ED2524;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}
.jt-job-apply:hover, .jt-job-apply:focus { background: #c81d1c; }
.jt-job-more {
  padding: 8px 2px;
  border: 0;
  background: none;
  color: #013f5b;
  font-size: 14px;
  font-weight: 600;
}
.jt-job-more::after { content: " \2192"; }
.jt-job-more:hover, .jt-job-more:focus { color: #ED2524; }

/* ---- News & Events --------------------------------------------------- */
#news.jt-news {
  padding: 96px 15px;
  background: #fff;
}
.jt-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.jt-news-card {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 22px;
  background: #fff;
  border: 1px solid rgba(1, 63, 91, 0.10);
  border-radius: 6px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}
.jt-news-card:hover { transform: translateY(-4px); border-color: rgba(237, 37, 36, 0.35); }
.jt-news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  color: #5f6876;
}
.jt-news-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #0D0E1F;
}
.jt-news-text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #5a6270;
}
.jt-news-more {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: #013f5b;
}
.jt-news-more::after { content: " \2192"; }
.jt-news-more:hover, .jt-news-more:focus { color: #ED2524; text-decoration: none; }

/* ---- Footer: styles live in css/footer.css -------------------------- */

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 767px) {
  .jt-news-grid { grid-template-columns: 1fr; }

}
@media (max-width: 599px) {
  .jt-section-head h2,
  .jt-about-head h2,
  .jt-expertise-head h2,
  .jt-products-head h2,
  .jt-agile-head h2,
  .jt-contact-head h2 { font-size: 28px; }
  #joinus.jt-join, #news.jt-news { padding: 72px 15px; }
  .jt-section-head { margin-bottom: 36px; }
  .jt-jobs { grid-template-columns: 1fr; }
}

/* ---- Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .jt-job, .jt-news-card { transition: none; }
  .jt-job:hover, .jt-news-card:hover { transform: none; }
}

/* ---- Logo font --------------------------------------------------------
   The logo wordmark is set in Times New Roman; use it for the brand name */
.jt-brandfont {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: 0;
}
