/* ==========================================================================
   J-eTech – visual polish (2026)
   Loaded after style.css and stylemain.css. Keeps the existing look and
   layout; only refines typography, spacing, consistency, states and mobile.
   ========================================================================== */

/* ---------- Typography ---------- */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #3a3a3a;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
p { font-size: 15px; line-height: 1.75; }
h1, h2, h3, h4, h5 { font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif; color: #231F20; }
.jt-title h2, h2.maintitle {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
}
.jt-red-text { padding-bottom: 2px; }
.text-bold, .jt-black-text { font-weight: 700; }

/* ---------- Focus states (keyboard users) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 2px solid #ED2524 !important;
  outline-offset: 3px;
}
.navbar-custom a:focus-visible, .jt-footer a:focus-visible, #products button:focus-visible { outline-color: #fff !important; }

/* ---------- Skip link ---------- */
.skip-link.sr-only-focusable:focus {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  padding: 10px 16px; background: #ED2524; color: #fff; font-weight: 700;
}

/* ---------- Navigation ---------- */
.navbar-custom .nav li a {
  letter-spacing: 0.02em;
  transition: color .2s ease;
}
.navbar-custom .navbar-nav > .active > a,
.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
  background-color: transparent;
  color: #ED2524;
}
.navbar-custom .nav li a[href="#contact"] { color: #ED2524; }
.searcharea::placeholder { color: #cfcfcf; }
.searcharea:focus { border-color: #fff; outline: none; }
@media (min-width: 768px) {
  .navbar-custom.affix { box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
}
@media (max-width: 812px) {
  .navbar-custom .nav li a { font-size: 14px; line-height: 20px; }
  .navbar-custom .navbar-collapse .navbar-nav li a { padding-top: 12px; padding-bottom: 12px; }
  .navbar-custom .navbar-toggle { width: 48px; height: 44px; padding: 0; margin-top: 14px; }
}

/* ---------- Hero ---------- */
.header .welcome {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.header p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.arrow a { display: inline-block; transition: transform .3s ease; }
.arrow a:hover { transform: translateY(4px); }
@media (max-width: 768px) {
  .header p { font-size: 15px; width: 88%; }
}

/* ---------- Our Software ---------- */
.jt-software { margin: 96px 0 72px; }
.jt-software.clearfix { display: flex; flex-wrap: wrap; justify-content: center; }
.jt-software > h2 { flex: 0 0 100%; }
.jt-software .our-sw-types {
  float: none;
  flex: 0 0 auto;
  width: 33.333%;
  padding: 0 20px;
  margin-bottom: 28px;
}
.jt-software .our-sw-types p {
  height: auto;
  margin: 0;
  font-size: 15px;
  color: #4a4a4a;
}
@media (max-width: 767px) {
  .jt-software .our-sw-types { width: 100%; margin-bottom: 18px; }
}

/* ---------- Living Software ---------- */
.about-jt-section { padding-bottom: 72px; }
.about-jt-section .about-jt h4 { font-size: 18px; font-weight: 600; color: #555; margin-bottom: 6px; }
.about-jt-section .about-jt p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 16px;
}

/* ---------- Join Us ---------- */
.joinus-jt-section { padding: 96px 15px; }
.joinus-jt-section .jt-joinus p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 16px;
}
.vacancy-items {
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(35, 31, 32, .08);
  transition: background-color .4s ease, box-shadow .4s ease, transform .4s ease;
}
.vacancy-items:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(237, 37, 36, .25); }
.vacancy-items > h4 { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0; }
.discription { font-weight: 400; font-size: 14px; color: #6b6b6b; margin: 12px 0 0; }
.ts-btn-wrap { position: static; margin-top: 24px; gap: 8px; }
.applynow, .readmore { min-height: 44px; }
.readmore { background: none; border: 0; padding: 0 8px; margin-left: 8px; margin-right: 0 !important; white-space: nowrap; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.vacancy-items:hover .readmore { color: #fff; }
.applynow:hover { background-color: #c81d1c; color: #fff; }

/* ---------- News & Events ---------- */
.jt-news-section { padding: 96px 0 72px; }
.jt-news-section .news-container .news-item { padding: 28px 24px; }
.news-date { font-size: 13px; color: #777; margin-bottom: 6px; }
.news-title { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.news-readmore { display: inline-block; font-size: 13px; font-weight: 600; padding: 8px 0; }
.news-readmore::after { content: " \2192"; transition: margin .2s ease; }
.news-readmore:hover { text-decoration: none; }
.news-readmore:hover::after { margin-left: 4px; }
.jt-news-section .news-container { display: flex; flex-wrap: wrap; }
@media (min-width: 768px) {
  .jt-news-section .news-container .news-item + .news-item { border-left: 1px solid #e5e5e5; }
}

/* ---------- Tools & Expertise ---------- */
.jt-tools-expertise { padding: 96px 15px 72px; }
.jt-tools-expertise h4 { font-size: 20px; font-weight: 700; margin: 24px 0 10px; }
.jt-tools-expertise .topics { margin-bottom: 36px; }
.jt-tools-expertise .topics p { color: #555; }
.jt-tools-expertise .topics .topic-title { font-size: 15px; color: #231F20; }
.jt-tools-expertise ul { padding-left: 1.2em; }
.jt-tools-expertise ul li { font-size: 15px; line-height: 1.9; }

/* ---------- Product Suite ---------- */
.jt-product-suite { padding: 96px 15px; background-size: cover; background-position: center; }
.jt-product-suite h2 { color: #fff; }
.productitem {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .3s ease;
}
.productitem:hover { transform: translateY(-4px); }
.productitem h4 { font-size: 19px; font-weight: 700; margin: 18px 0 10px; }
.productitem { height: auto; min-height: 470px; display: flex; flex-direction: column; align-items: center; padding-bottom: 24px; }
.productitem > p { height: auto !important; flex: 1; font-size: 13.5px; line-height: 1.7; color: #555; padding: 0 18px; margin-bottom: 16px; }
.productitem .thumbnail { display: block; border: 0; margin: 0; background: transparent; }

/* Shared outline button (READ MORE / READMORE) */
.readmorebtn {
  min-height: 44px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background-color .2s ease, color .2s ease;
}
.readmorebtn:hover, .readmorebtn:focus { background-color: #013f5b; color: #fff; }

/* ---------- Agile Process ---------- */
#agile-process { padding: 96px 15px 80px; }
#agile-process .agile-process img { margin: 0 auto; }
.agile-readmore { text-align: center; margin-top: 32px; }
.agile-description { max-width: 900px; margin: 40px auto 0; text-align: center; }
.agile-description h3 { font-size: 24px; font-weight: 700; }
.agile-description h5 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.agile-description ul { display: inline-block; max-width: 720px; font-weight: 600; line-height: 1.8; }
@media (max-width: 767px) {
  /* Let visitors scroll the diagram sideways instead of shrinking it to an unreadable size */
  #agile-process .agile-process { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0; }
  #agile-process .agile-process img { min-width: 640px; max-width: none; }
}

/* ---------- Contact ---------- */
.jt-contact-section { padding: 96px 0; }
.contact-us #map { height: 100% !important; min-height: 340px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.contact-us .col-md-6 { margin-bottom: 24px; }
.support p { font-size: 16px; margin-bottom: 20px; }
.support .form-control { height: 46px; font-size: 15px; box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease; }
.support textarea.form-control { height: auto; min-height: 130px; }
.support .form-control:focus { border-color: #ED2524; box-shadow: 0 0 0 3px rgba(237, 37, 36, .15); }
.support .btn { min-width: 110px; min-height: 44px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.support .btn[type="reset"] { background: #fff !important; color: #ED2524 !important; border: 1px solid #ED2524 !important; }
.support .btn[type="submit"]:hover { background-color: #c81d1c !important; }
.contact-status { margin: 0 0 14px; padding: 12px 14px; background: #f1f8f4; color: #1e6b3a; font-size: 14px; }

/* ---------- Footer ---------- */
.jt-footer { padding: 48px 20px 24px; }
.jt-footer .logo-without-test { text-align: center; margin-bottom: 24px; }
.jt-footer .footer-title { color: #fff; font-weight: 700; margin-bottom: 16px; }
.jt-footer a { color: #fff; transition: color .2s ease; }
.jt-footer a:hover, .jt-footer a:focus { color: #ED2524; text-decoration: none; }
.jt-footer .footer-item { font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; }
.jt-footer .jt-copyright { color: #bdbdbd; }

/* ---------- Side navigation dots ---------- */
.side-navigation li > a { transition: opacity .2s ease; }
.side-navigation li > a:hover { opacity: .7; }
@media (max-width: 991px) { .side-navigation { display: none; } } /* overlapped the hero text on small screens */

/* ---------- Modals ---------- */
.jt-modal .modal-content { box-shadow: 0 30px 80px rgba(0, 0, 0, .35); border: 0; }
.jt-modal .modal-header { padding: 22px 60px 14px 24px; border-bottom: 1px solid #eee; }
.jt-modal .modal-title { font-size: 22px; font-weight: 700; }
.jt-modal .modal-body { padding: 24px; font-size: 15px; line-height: 1.75; color: #3a3a3a; }
.jt-modal .modal-body ul { margin-top: 10px; }
.jt-modal .close { width: 44px; height: 44px; font-size: 24px; top: 0; }
.jt-modal-media { text-align: center; padding: 10px 0 18px; }
.jt-modal-media img { max-width: 160px; }
.jt-modal .jetechlabel { font-weight: 600; color: #231F20; }
.jt-modal .form-control { height: 44px; }
.jt-modal textarea.form-control { height: auto; }
.jt-apply-submit { min-width: 130px; min-height: 44px; border-radius: 0; background: #ED2524; border-color: #ED2524; font-weight: 600; }
.jt-apply-submit:hover, .jt-apply-submit:focus { background: #c81d1c; border-color: #c81d1c; }
.vacancy-pdf { margin-top: 16px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .wow { visibility: visible !important; }
}
