/* ===========================================================
   Career page — job listing cards, badges, and detail page
   Matches existing site design tokens (colors, radius, shadow)
=========================================================== */

.job-listing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.job-listing-card {
  display: block;
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  padding: 26px 28px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(16, 34, 0, 0.04);
  position: relative;
}
.job-listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
  border-color: #b1d269;
}

.job-listing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.job-type-badge {
display: inline-block;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 14px;
    border-radius: 30px;
    color: #fff;
    background: #0f3a53;
}

.job-type-badge:hover {
  color: #fff;
}
.job-type-badge.job-type-full_time { background: #76b413; }
.job-type-badge.job-type-part_time { background: #3e7bd6; }
.job-type-badge.job-type-contract { background: #b8860b; }
.job-type-badge.job-type-internship { background: #8a5cf6; }
.job-type-badge.job-type-remote { background: #17a2a2; }

.job-dept {
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

.job-listing-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1c1f26;
}

.job-listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #666;
}
.job-listing-meta i { color: #76b413; margin-right: 4px; }

.job-listing-cta {
  font-size: 14px;
  font-weight: 700;
  color: #1c1f26;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.job-listing-card:hover .job-listing-cta { color: #76b413; }

/* --- Job detail page --- */
.career-detail-page {
  padding-top: 140px;
  padding-bottom: 70px;
}

/* Fix: menu.css's ".content h1" is white by default (designed for dark
   hero sections). On plain content pages (page.php, career-detail.php's
   404 state) that white text on a light background is unreadable. */
.content h1 {
  color: #1c1f26;
}

.job-detail-header {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
}
.job-detail-header h1 {
  color: #1c1f26;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  margin: 16px 0 12px;
}
.job-detail-header .job-listing-meta { margin-bottom: 0; font-size: 14px; }

.job-detail-body h3 {
    font-size: 30px;
    margin: 0 0 20px;
    color: #1c1f26;
}
.job-detail-body h3:first-child { margin-top: 0; }
.job-detail-body ol,
.job-detail-body ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.job-detail-body ol li,
.job-detail-body ul li {
  margin-bottom: 10px;
  color: #000000a4;
  position: relative;
  padding-left: 20px;
}

.job-detail-body ol li::before,
.job-detail-body ul li::before {
  content: '\f105';
  font-family: 'fontawesome';
  position: absolute;
  left: 0;
  top: 0;
  color: #1c1f26;
  font-size: 15px;
}

.job-detail-body p { color: #555; line-height: 1.7; }

.job-apply-sidebar {
  background: #15283a;
  padding: 40px 30px;
  border-radius: 12px;
}

.job-apply-sidebar h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.job-apply-sidebar p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 20px; }
.job-apply-sidebar .job-listing-meta { color: rgba(255,255,255,0.8); margin-bottom: 20px; }
.job-apply-sidebar .job-listing-meta i { color: #b1d269; }
.job-apply-sidebar .cmn-btn { width: 100%; text-align: center; justify-content: center; }
.job-apply-sidebar .cmn-btn span { justify-content: center; width: 100%; }

/* Embedded lead form inside the dark sidebar card (service detail page) */
.lead-form-embed .form-col { margin-bottom: 16px; }
.lead-form-embed label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 9px;
}
.lead-form-embed label sup { color: #b1d269; }
.lead-form-embed input,
.lead-form-embed textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 4px;
    padding: 7px 14px;
    font-size: 14px;
    color: #fff;
}
.lead-form-embed input::placeholder,
.lead-form-embed textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.lead-form-embed input:focus,
.lead-form-embed textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}
.lead-form-embed textarea { resize: vertical; min-height: 90px; }
.lead-form-embed .form-col.has-error input,
.lead-form-embed .form-col.has-error textarea { border-color: #e0453c; }
.lead-form-embed h3 { color: #fff; }
.lead-form-embed p { color: rgba(255, 255, 255, 0.7); font-size: 13px; }

/* Service overview tie-in cards (link to process / case studies) */
.service-tie-in-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.service-tie-in-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f7f8fa;
  border-radius: 6px;
    padding: 24px 20px;
  text-decoration: none;
  background: linear-gradient(157.1deg, rgb(63 83 111) 1.82%, rgb(2 5 10) 96.68%);
  transition: background 0.2s ease;
}
.service-tie-in-card:hover { background: linear-gradient(157.1deg, rgb(63 83 111) 1.82%, rgb(2 5 10) 96.68%); }
.service-tie-in-card i { color: #76b413; font-size: 20px; margin-top: 3px; }
.service-tie-in-card h4 { font-size: 19px; color: #ffffff; margin-bottom: 4px; }
.service-tie-in-card p { font-size: 15px; color: #9f9f9f; line-height: 1.4; margin: 0; }

/* Services listing grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.service-card {
  display: block;
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  padding: 30px 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
  border-color: #b1d269;
}
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(118, 180, 19, 0.12);
  color: #4c8f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 19px; font-weight: 700; color: #1c1f26; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 16px; }

@media (max-width: 991px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-tie-in-row { grid-template-columns: 1fr; }
}

/* --- Apply modal file upload field --- */
.lead-modal .file-upload-field {
  border: 1.5px dashed #dcdfe4;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.lead-modal .file-upload-field:hover { border-color: #76b413; background: #f9fdf4; }
.lead-modal .file-upload-field input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.lead-modal .file-upload-field .file-upload-label {
  font-size: 13px;
  color: #666;
}
.lead-modal .file-upload-field .file-upload-label i { color: #76b413; margin-right: 6px; }
.lead-modal .file-upload-field.has-file { border-color: #76b413; background: #f9fdf4; }
.lead-modal .file-upload-field.has-file .file-upload-label { color: #2f7a1f; font-weight: 600; }

@media (max-width: 991px) {
  .job-listing-grid { grid-template-columns: 1fr; }
  .job-apply-sidebar { position: static; margin-bottom: 30px; }
}

/* ===========================================================
   About Us page — values grid, team teaser, breadcrumb schema helpers
=========================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.value-card {
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
  border-color: #b1d269;
}
.value-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(118, 180, 19, 0.12);
  color: #4c8f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.value-card h3 { font-size: 16px; font-weight: 700; color: #1c1f26; margin-bottom: 8px; line-height: 1.3; }
.value-card p { font-size: 13.5px; color: #666; line-height: 1.6; margin: 0; }

@media (max-width: 991px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .values-grid { grid-template-columns: 1fr; } }

.team-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.team-teaser-card {
  background: #f7f8fa;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.team-teaser-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(118, 180, 19, 0.15);
  color: #4c8f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}
.team-teaser-card h4 { font-size: 15px; font-weight: 700; color: #1c1f26; margin-bottom: 2px; }
.team-teaser-card .role { font-size: 12px; font-weight: 600; color: #4c8f0f; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 10px; display: block; }
.team-teaser-card p { font-size: 13px; color: #666; font-style: italic; line-height: 1.6; margin: 0; }

@media (max-width: 767px) { .team-teaser-grid { grid-template-columns: 1fr; } }

.about-pull-quote {
  border-left: 4px solid #76b413;
  background: #f7f8fa;
  border-radius: 0 14px 14px 0;
  padding: 28px 30px;
  margin: 30px 0;
}
.about-pull-quote p {
  font-size: 19px;
  font-style: italic;
  color: #1c1f26;
  line-height: 1.6;
  margin: 0;
}

.about-content-gap-note {
  background: #fff8e6;
  border: 1px solid #f0d68a;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 12.5px;
  color: #7a5c00;
  margin-top: 14px;
}

/* ===========================================================
   Case Studies — listing cards, quote block, tech tags
=========================================================== */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}

.case-study-card {
  display: block;
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
}

.case-study-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  z-index: 1;
}
.case-study-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-study-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(18, 34, 55, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 30px;
}

.case-study-card-cont { padding: 24px 26px 26px; }
.case-study-card-cont h3 {
  font-size: 19px;
  font-weight: 700;
  color: #1c1f26;
  margin-bottom: 10px;
}
.case-study-card-cont p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-study-quote {
  background: #f7f8fa;
  border-left: 4px solid #76b413;
  border-radius: 0 12px 12px 0;
  padding: 26px 28px;
  margin: 30px 0;
}
.case-study-quote i.fa-quote-left {
  color: #b1d269;
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}
.case-study-quote p {
  font-size: 16px;
  font-style: italic;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}
.case-study-quote cite {
  font-size: 13px;
  color: #888;
  font-style: normal;
  font-weight: 600;
}

.case-study-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.tech-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .case-study-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Industries page — industry cards
=========================================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.industry-card {
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
  border-color: #b1d269;
}
.industry-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(118, 180, 19, 0.12);
  color: #4c8f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.industry-card h3 { font-size: 16px; font-weight: 700; color: #1c1f26; margin-bottom: 8px; line-height: 1.3; }
.industry-card p { font-size: 13px; color: #666; line-height: 1.6; margin: 0; }

@media (max-width: 991px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .industry-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   Global page — region cards
=========================================================== */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}
.region-card {
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  padding: 28px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.region-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
  border-color: #b1d269;
}
.region-card-icon {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 16px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(118, 180, 19, 0.1);
  border-radius: 14px;
}
.region-card h3 { font-size: 19px; font-weight: 700; color: #1c1f26; margin-bottom: 8px; }
.region-card-countries {
  font-size: 12px;
  font-weight: 600;
  color: #4c8f0f;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.region-card p { font-size: 14px; color: #666; line-height: 1.6; margin: 0; }

@media (max-width: 991px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .region-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   Products — listing cards + interactive gallery
=========================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.product-card {
  display: block;
  background: #fff;
  border: 1px solid #ecedf0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(16, 34, 0, 0.1);
}
.product-card-img { height: 280px; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-cont { padding: 22px 24px 24px; }
.product-card-cont h3 { font-size: 18px; font-weight: 700; color: #1c1f26; margin-bottom: 8px; }
.product-card-cont p { font-size: 13.5px; color: #666; line-height: 1.6; margin-bottom: 14px; }

@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: 1fr; } 
  .product-card-img {
    height: 240px;
  }
}

/* Interactive gallery on the product detail page */
.product-gallery-main {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}
.product-gallery-main img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.product-gallery-zoom {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(18, 34, 55, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.product-gallery-main:hover .product-gallery-zoom { opacity: 1; }

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.product-gallery-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  height: 80px;
  cursor: zoom-in;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}
.product-gallery-thumb:hover { border-color: #76b413; }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 575px) {
  .product-gallery-main img { max-height: 260px; }
  .product-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================================================
   How We Work page — 6-step process grid variant.
   Base .process-grid is hardcoded to 5 columns; this mirrors
   the same breakpoint pattern for a clean 6-item layout.
=========================================================== */
.process-grid.process-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .process-grid.process-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .process-grid.process-grid-6 {
    grid-template-columns: repeat(1, 1fr);
  }
}
