/* SAJ Energy Services - 2026 additions. Loaded after style.css / responsive.css; keeps the existing theme. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }

/* ---------- Header / navigation ---------- */
.saj-header .navbar-primary .navbar-nav .nav-link { font-size: 15px; padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }
.saj-header .navbar-primary .navbar-nav .nav-link .fa { font-size: 13px; margin-left: 3px; opacity: .8; }
.saj-header .navbar-primary .nav-item.active > .nav-link { font-weight: 500; }
.saj-header.fixed-header .navbar-primary .nav-item.active > .nav-link { box-shadow: inset 0 -2px 0 #eb5e21; }
.saj-header .navbar-primary .dropdown-menu { padding: 10px 0; min-width: 230px; }
.saj-header .navbar-primary .dropdown-item { font-size: 14px; padding-top: 6px; padding-bottom: 6px; white-space: normal; line-height: 1.35; }
.saj-header:not(.fixed-header) .navbar-primary .dropdown-menu { background-color: rgba(20, 22, 62, 0.95) !important; border-top: solid 2px #eb5e21 !important; }
.saj-header.fixed-header .navbar-primary .dropdown-menu { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); }
.saj-header.fixed-header .navbar-primary .dropdown-item:hover { color: #eb5e21; }

.saj-header .saj-mega { width: 800px; max-width: calc(100vw - 30px); padding: 18px 8px; }
.saj-header .saj-mega-parent:hover > .saj-mega,
.saj-header .saj-mega.show { display: flex; }
.saj-header .saj-mega-col { flex: 1 1 0; padding: 0 6px; }
.saj-header .saj-mega-col.saj-mega-wide { flex: 1.45 1 0; }
.saj-header .saj-mega-col + .saj-mega-col { border-left: solid 1px rgba(150, 150, 170, 0.35); }
.saj-header .saj-mega-title { font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #eb5e21; padding: 0 1rem 6px 1rem; margin: 0; }
.saj-header.fixed-header .saj-mega-parent { position: static; }
.saj-header.fixed-header .navbar { position: relative; }
.saj-header.fixed-header .saj-mega { left: auto; right: 0; top: 100%; }

.saj-brochure-wrap { margin-left: 12px; }
.saj-brochure-btn { font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 3px; border: solid 1px #ffffff; color: #ffffff !important; background-color: transparent; white-space: nowrap; transition: all .25s ease-in-out; }
.saj-brochure-btn:hover { background-color: #eb5e21; border-color: #eb5e21; }
.fixed-header .saj-brochure-btn { background-color: #eb5e21; border-color: #eb5e21; }
.fixed-header .saj-brochure-btn:hover { background-color: #33358f; border-color: #33358f; }

@media (max-width: 991px) {
  .saj-header .navbar-collapse { max-height: calc(100vh - 60px); overflow-y: auto; }
  .saj-header .navbar-primary .navbar-nav .nav-link { padding-top: 10px; padding-bottom: 10px; }
  .saj-header .saj-mega, .saj-header.fixed-header .saj-mega { width: 100%; max-width: 100%; position: static; padding: 6px 0; box-shadow: none !important; }
  .saj-header .saj-mega-parent:hover > .saj-mega, .saj-header .saj-mega.show { display: block; }
  .saj-header .saj-mega-col + .saj-mega-col { border-left: none; margin-top: 12px; }
  .saj-header .navbar-primary .dropdown-menu { box-shadow: none !important; border-top: none !important; }
  .saj-brochure-wrap { margin: 10px 0 14px 1rem; }
}

/* ---------- Buttons / links ---------- */
.saj-btn-primary, .saj-btn-outline, .saj-btn-light { font-size: 15px; font-weight: 500; padding: 9px 20px; border-radius: 3px; transition: all .25s ease-in-out; }
.saj-btn-primary { background-color: #eb5e21; border: solid 1px #eb5e21; color: #ffffff !important; }
.saj-btn-primary:hover { background-color: #33358f; border-color: #33358f; }
.saj-btn-outline { background-color: transparent; border: solid 1px #33358f; color: #33358f !important; }
.saj-btn-outline:hover { background-color: #33358f; color: #ffffff !important; }
.saj-btn-light { background-color: transparent; border: solid 1px #ffffff; color: #ffffff !important; }
.saj-btn-light:hover { background-color: #ffffff; color: #33358f !important; }
a.saj-link { color: #33358f; font-weight: 500; }
a.saj-link:hover { color: #eb5e21; }

/* ---------- Text blocks ---------- */
.saj-p, .saj-details p { font-size: 16px; text-align: justify; line-height: 1.7; }
.saj-lead { font-size: 18px !important; font-weight: 400; color: #303030; }
.saj-h { margin-top: 38px; margin-bottom: 16px; }
.saj-details > .saj-h:first-of-type { margin-top: 28px; }
.saj-h3 { font-family: "Montserrat", sans-serif; font-size: 17px; font-weight: 600; color: #33358f; margin: 22px 0 10px 0; }
ul.saj-list { list-style: none; padding-left: 0; margin-bottom: 18px; }
ul.saj-list li { position: relative; font-size: 16px; line-height: 1.6; padding-left: 22px; margin-bottom: 8px; }
ul.saj-list li:before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; background-color: #eb5e21; border-radius: 50%; }
ul.saj-list li strong { font-weight: 600; color: #33358f; }
@media (min-width: 768px) { ul.saj-list-cols { column-count: 2; column-gap: 30px; } }

.saj-figure { margin: 22px 0 26px 0; padding: 8px; background-color: #ffffff; border: solid 1px #e2e2e2; }
.saj-figure img { width: 100%; height: auto; display: block; }
.saj-figure figcaption { font-size: 13px; color: #6f6f6f; text-align: center; padding: 8px 6px 2px 6px; }
.saj-figure-narrow { max-width: 620px; margin-left: auto; margin-right: auto; }

.saj-table { font-size: 14.5px; margin-bottom: 26px; border: solid 1px #e2e2e2; }
.saj-table thead th { background-color: #33358f; color: #ffffff; font-weight: 500; border: none; white-space: nowrap; }
.saj-table td { vertical-align: top; line-height: 1.55; }
.saj-table td:nth-child(2) { font-weight: 600; color: #33358f; min-width: 150px; }
.saj-table tbody tr:nth-child(even) { background-color: #f8f8fb; }
.saj-table .saj-num { color: #eb5e21; font-weight: 600; white-space: nowrap; }
.saj-table em { display: block; font-style: normal; color: #5a5a5a; font-size: 13.5px; margin-top: 3px; }
.saj-table:not(.saj-table-matrix) thead th:first-child { width: 48px; }

.saj-value-row { margin-bottom: 10px; }
.saj-value { height: calc(100% - 14px); margin-bottom: 14px; padding: 16px; font-size: 15px; font-weight: 500; text-align: center; color: #33358f; background-color: #f6f6f6; border-top: solid 3px #eb5e21; }

.saj-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 40px 0 10px 0; padding: 22px 24px; background-color: #f6f6f6; border-left: solid 4px #eb5e21; }
.saj-cta strong { display: block; font-size: 18px; font-weight: 600; color: #33358f; }
.saj-cta span { font-size: 15px; }
.saj-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.services-link-wrapper .sl-wrapper ul { padding-left: 20px; }
.services-link-wrapper .sl-wrapper li { margin-bottom: 6px; line-height: 1.35; font-size: 16px; }
.services-link-wrapper .sl-wrapper li.saj-current a { font-weight: 600; color: #eb5e21; }
.saj-side-brochure { margin-top: 18px; font-size: 16px; }
.saj-side-brochure a { color: #eb5e21; font-weight: 500; }

/* ---------- Home ---------- */
.saj-hero-text { font-size: 17px !important; line-height: 1.6; max-width: 600px; }
.saj-hero-cert { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .9; margin: 18px 0 22px 0; }
.saj-hero-actions .btn { margin: 0 10px 10px 0; }
.saj-ib-link { color: inherit; }
.saj-ib-link:hover { color: #eb5e21; }
.saj-ib-note { font-size: 15px; color: #7a7a7a; margin-top: 8px; }
.ib-single[data-href] { cursor: pointer; }
.saj-section-intro { font-size: 17px; max-width: 760px; margin: 0 auto 30px auto; }
.saj-card { display: block; height: calc(100% - 26px); margin-bottom: 26px; padding: 26px 24px 22px 24px; background-color: #ffffff; border: solid 1px #e4e4e4; border-bottom: solid 3px #33358f; color: #303030; transition: all .25s ease-in-out; }
.saj-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10); border-bottom-color: #eb5e21; color: #303030; }
.saj-card-icon { display: inline-block; font-size: 30px; color: #eb5e21; margin-bottom: 12px; }
.saj-card h3 { font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 600; color: #33358f; line-height: 1.35; margin-bottom: 10px; }
.saj-card p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.saj-card-more { font-size: 14px; font-weight: 500; color: #eb5e21; }
.saj-why { margin: 24px 0 6px 0; padding-right: 10px; }
.saj-why .fa { font-size: 28px; color: #33358f; }
.saj-why h3 { font-family: "Montserrat", sans-serif; font-size: 18px; font-weight: 600; margin: 12px 0 8px 0; }
.saj-why p { font-size: 15px; line-height: 1.6; }
.saj-certs img { width: 100%; max-width: 560px; display: block; margin: 0 auto; border-radius: 4px; }
.qhse-culture-section .saj-certs { margin-top: 30px; }

/* ---------- About ---------- */
.saj-vm { height: 100%; }
.saj-about-links a { display: block; margin-bottom: 14px; padding: 18px 16px; text-align: center; font-size: 17px; font-weight: 500; color: #33358f; border: solid 1px #dcdcdc; transition: all .25s ease-in-out; }
.saj-about-links a .fa { color: #eb5e21; margin-right: 6px; }
.saj-about-links a:hover { background-color: #33358f; color: #ffffff; border-color: #33358f; }

/* ---------- Team ---------- */
.saj-team-intro { font-size: 18px !important; text-align: center !important; max-width: 860px; margin: 0 auto 20px auto; }
.saj-team-jump { text-align: center; margin: 0; }
.saj-team-jump a { display: inline-block; margin: 4px 6px; padding: 7px 18px; font-size: 14px; font-weight: 500; color: #33358f; border: solid 1px #33358f; border-radius: 30px; }
.saj-team-jump a:hover { background-color: #33358f; color: #ffffff; }
.saj-team-section .con-title { margin-bottom: 34px; }
.saj-team-tier { font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; text-align: center; color: #7a7a7a; margin: 34px 0 22px 0; display: flex; align-items: center; gap: 16px; }
.saj-team-tier:before, .saj-team-tier:after { content: ""; flex: 1; height: 1px; background-color: #dcdcdc; }
.saj-team-card { text-align: center; margin: 0 auto 34px auto; max-width: 300px; }
.saj-team-photo { display: block; position: relative; width: 100%; padding-top: 118%; overflow: hidden; background-color: #e9e9ef; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10); }
.saj-team-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease-in-out; }
.saj-team-photo:hover img { transform: scale(1.04); }
.saj-team-initials { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 500; color: #ffffff; background-color: #33358f; letter-spacing: 2px; }
.saj-team-card-lead { max-width: 320px; }
.saj-team-name { font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 600; color: #33358f; margin: 16px 0 4px 0; }
.saj-team-role { font-size: 15px; font-weight: 400; margin: 0 0 4px 0; line-height: 1.4; }
.saj-team-exp { font-size: 13px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: #eb5e21; margin: 0 0 8px 0; }
.saj-team-more { font-size: 14px; font-weight: 500; color: #33358f; }
.saj-team-more:hover { color: #eb5e21; }
.saj-modal .modal-header { align-items: flex-start; border-bottom: solid 3px #eb5e21; }
.saj-modal-head { display: flex; align-items: center; gap: 18px; }
.saj-modal-photo { width: 84px; height: 100px; object-fit: cover; object-position: center top; border-radius: 4px; }
.saj-modal .modal-title { font-family: "Montserrat", sans-serif; font-size: 22px; font-weight: 600; color: #33358f; }
.saj-modal .modal-body { padding: 22px 26px; }
.saj-modal .modal-body p { font-size: 15px; line-height: 1.7; text-align: justify; }

/* ---------- Policy / ESG ---------- */
.saj-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #eb5e21; margin-bottom: 8px; }
.qb-single a { color: inherit; display: block; }
.saj-policy-panel { margin-top: 10px; padding: 30px 28px; background-color: #33358f; color: #ffffff; }
.saj-policy-panel-alt { background-color: #eb5e21; }
.saj-policy-panel .fa { font-size: 36px; opacity: .9; }
.saj-policy-panel h3 { font-family: "Montserrat", sans-serif; font-size: 19px; font-weight: 600; margin: 14px 0 12px 0; }
.saj-policy-panel ul { padding-left: 20px; margin: 0; }
.saj-policy-panel li { font-size: 15px; line-height: 1.6; margin-bottom: 8px; }
.saj-policy-foot { margin-top: 26px; }
.saj-policy-foot .saj-link { margin-left: 18px; }
.saj-esg { height: calc(100% - 24px); margin-bottom: 24px; padding: 30px 26px; background-color: #ffffff; border-top: solid 4px #33358f; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }
.saj-esg-icon { font-size: 34px; color: #eb5e21; }
.saj-esg h3 { font-family: "Montserrat", sans-serif; font-size: 22px; font-weight: 600; color: #33358f; margin: 12px 0 8px 0; }
.saj-esg > p { font-size: 16px; font-weight: 400; margin-bottom: 16px; }
.saj-esg ul.saj-list li { font-size: 15px; }

/* ---------- Footer ---------- */
footer .footer-section { padding: 70px 0 30px 0; }
footer .footer-section .footer-logo { margin-bottom: 26px; }
footer .footer-col h3 { font-size: 15px; font-weight: 500; color: #303030; margin-bottom: 14px; }
footer .footer-col ul { padding-left: 0; margin-bottom: 24px; }
footer .footer-col ul li { font-size: 14px; line-height: 1.4; margin-bottom: 9px; }
.saj-footer-contact p { font-size: 14px; line-height: 1.6; color: #7a7a7a; margin-bottom: 12px; }
.saj-footer-contact a { color: #7a7a7a; }
.saj-footer-contact a:hover { color: #303030; }
a.saj-footer-brochure { color: #eb5e21; font-weight: 500; }

@media (max-width: 991px) {
  .saj-header .navbar-collapse { background-color: #ffffff; margin: 0 -15px; padding: 0 15px; }
  .saj-header .navbar-primary .dropdown-menu { background-color: #f6f6f6 !important; }
  .saj-header .navbar-primary .navbar-nav .nav-link,
  .saj-header .navbar-primary .dropdown-item { color: #33358f; }
  .saj-header .saj-brochure-btn { background-color: #eb5e21; border-color: #eb5e21; }
  .saj-cta { flex-direction: column; align-items: flex-start; }
  .saj-policy-foot .saj-link { display: block; margin: 14px 0 0 0; }
}
.saj-table.saj-table-plain td:nth-child(2) { font-weight: inherit; color: inherit; }
.saj-table.saj-table-plain td:first-child { font-weight: 600; color: #33358f; }
.saj-table.saj-table-plain thead th:first-child { width: auto; }

/* ---------- Team: detailed profiles (photo left, experience paragraphs right) ---------- */
.saj-profile { display: flex; gap: 28px; padding: 28px 0; border-bottom: solid 1px #e4e4e4; }
.saj-profile:last-child { border-bottom: none; }
.saj-profile-photo { flex: 0 0 220px; }
.saj-profile-photo img { width: 220px; height: 262px; object-fit: cover; object-position: center top; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10); }
.saj-profile-photo .saj-team-initials { position: static; width: 220px; height: 262px; border-radius: 4px; }
.saj-profile-body .saj-team-name { font-size: 22px; margin-top: 0; }
.saj-profile-body .saj-team-role { font-size: 17px; font-weight: 500; color: #33358f; }
.saj-profile-body .saj-team-exp { margin-bottom: 14px; }
.saj-profile-body p:not(.saj-team-role):not(.saj-team-exp) { font-size: 16px; line-height: 1.7; text-align: justify; margin-bottom: 12px; }
@media (max-width: 767px) {
  .saj-profile { flex-direction: column; gap: 16px; }
  .saj-profile-photo { flex: none; }
}

/* ---------- Certification logos ---------- */
.saj-certs { display: flex; justify-content: center; align-items: stretch; gap: 16px; flex-wrap: wrap; }
.saj-cert-item { flex: 1 1 150px; max-width: 200px; padding: 16px 12px 14px 12px; text-align: center; background-color: #ffffff; border: solid 1px #e2e2e2; border-radius: 4px; }
.saj-certs .saj-cert-item img { width: 118px; max-width: 100%; height: 118px; object-fit: contain; display: block; margin: 0 auto 10px auto; border-radius: 0; }
.saj-pec-mark { width: 118px; height: 118px; margin: 0 auto 10px auto; display: flex; align-items: center; justify-content: center; border: solid 3px #33358f; border-radius: 50%; font-size: 30px; font-weight: 700; letter-spacing: 1px; color: #33358f; }
.saj-cert-item span { display: block; font-size: 13px; line-height: 1.4; color: #5a5a5a; }
.saj-cert-item span strong { display: block; font-size: 14px; font-weight: 600; color: #33358f; }
.saj-policy-logo { float: right; width: 96px; height: 96px; object-fit: contain; margin: 0 0 10px 20px; background-color: #ffffff; border: solid 1px #e2e2e2; border-radius: 4px; padding: 4px; }

/* ---------- Full-width service pages with a switch bar on top (replaces the left sidebar) ---------- */
.saj-full { padding-top: 34px; }
.saj-full .services-details-wrapper { padding-top: 34px; }
.saj-switch { padding: 16px 18px 12px 18px; background-color: #f6f6f6; border-top: solid 3px #33358f; }
.saj-switch-title { display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #eb5e21; margin: 0 0 8px 4px; }
.saj-pill { display: inline-block; margin: 0 6px 8px 0; padding: 7px 15px; font-size: 14px; font-weight: 400; line-height: 1.3; color: #33358f; background-color: #ffffff; border: solid 1px #cfd0e3; border-radius: 30px; transition: all .2s ease-in-out; }
.saj-pill:hover { border-color: #33358f; color: #33358f; }
.saj-pill.active { background-color: #33358f; border-color: #33358f; color: #ffffff; font-weight: 500; }
.saj-page-title { margin-bottom: 18px !important; }
.saj-fig-row .saj-figure { margin: 12px 0 16px 0; }
.saj-details .saj-h { margin-top: 30px; margin-bottom: 12px; font-size: 24px; }
.saj-kept-switch { flex: 0 0 100%; max-width: 100%; padding-top: 34px; }
.saj-kept-switch + .col .services-details-wrapper { padding-top: 34px; }

/* ---------- Chemicals: names only ---------- */
.saj-chem-grid { column-count: 3; column-gap: 22px; margin-top: 10px; }
@media (max-width: 991px) { .saj-chem-grid { column-count: 2; } }
@media (max-width: 600px) { .saj-chem-grid { column-count: 1; } }
.saj-chem { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 22px 0; background-color: #ffffff; border: solid 1px #e2e2e2; border-top: solid 3px #33358f; }
.saj-chem h3 { font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 600; color: #33358f; margin: 0; padding: 13px 16px 11px 16px; background-color: #f6f6f8; }
.saj-chem ul { list-style: none; margin: 0; padding: 6px 16px 10px 16px; }
.saj-chem li { display: flex; gap: 10px; font-size: 14px; line-height: 1.4; padding: 6px 0; border-bottom: solid 1px #efefef; }
.saj-chem li:last-child { border-bottom: none; }
.saj-chem li b { flex: 0 0 96px; font-weight: 600; color: #eb5e21; }
.saj-chem.saj-chem-plain li { display: block; position: relative; padding-left: 16px; font-size: 15px; }
.saj-chem.saj-chem-plain li:before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background-color: #eb5e21; }
.saj-chem-note { font-size: 14px !important; color: #6f6f6f; }

/* ---------- Partners: logos only ---------- */
.saj-partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 10px; }
@media (max-width: 991px) { .saj-partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .saj-partner-grid { grid-template-columns: repeat(2, 1fr); } }
.saj-partner { display: flex; align-items: center; justify-content: center; height: 118px; padding: 16px; background-color: #ffffff; border: solid 1px #e2e2e2; border-radius: 4px; transition: box-shadow .25s ease-in-out; }
.saj-partner:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10); }
.saj-partner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.saj-partner-grid-page { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.saj-partner-grid-page .saj-partner { height: 160px; padding: 24px; }
@media (max-width: 520px) { .saj-partner-grid-page { grid-template-columns: repeat(2, 1fr); } }
.saj-chem-wide .saj-chem { display: block; }
.saj-chem-wide .saj-chem ul { column-count: 2; column-gap: 40px; padding-top: 10px; padding-bottom: 14px; }
.saj-chem-wide .saj-chem li { break-inside: avoid; font-size: 15.5px; padding: 9px 0; }
.saj-chem-wide .saj-chem li b { flex-basis: 150px; }
.saj-chem-wide .saj-chem.saj-chem-plain li { padding-left: 16px; }
.saj-chem-wide .saj-chem.saj-chem-plain li:before { top: 17px; }
@media (max-width: 767px) { .saj-chem-wide .saj-chem ul { column-count: 1; } }
.saj-figure-wide { max-width: 900px; margin-left: auto; margin-right: auto; }
