/* ==========================================================
   Turning Point — brand overrides (loaded after style.css)
   Navy  #05254a  |  Blue #0b78d4 (set in style.css / bootstrap)
   ========================================================== */
:root {
  --tp-navy: #05254a;
  --tp-navy-dark: #031a35;
  --tp-blue: #0b78d4;
}

body { color: #4a5568; }
h1, h2, h3, h4, h5, h6 { color: var(--tp-navy); }
.text-black { color: var(--tp-navy) !important; }

/* ---------- Header ---------- */
.site-navbar-top { background: var(--tp-navy); color: #fff; }
.site-navbar-wrap .site-navbar-top a,
.site-navbar-top, .site-navbar-top span { color: rgba(255,255,255,.85); }
.site-navbar-top .tp-iso { letter-spacing: .08em; text-transform: uppercase; font-weight: 700; font-size: .72rem; }
.site-navbar-top .tp-iso .icon-verified_user { color: #5db4ff; margin-right: 6px; }

.site-navbar .site-logo { margin: 0; line-height: 1; }
.site-navbar .site-logo img { height: 68px; width: auto; display: block; }
.site-navbar .site-navigation .site-menu > li > a {
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem;
  color: var(--tp-navy);
}
.site-navbar .site-navigation .site-menu > li > a:hover,
.site-navbar .site-navigation .site-menu .active > a { color: var(--tp-blue); }
.site-navbar .site-navigation .site-menu .active > a { border-bottom: 2px solid var(--tp-blue); }
.site-navbar .site-navigation .site-menu > li.tp-cta:last-child > a {
  background: var(--tp-blue); color: #fff !important; padding: .75rem 1.5rem; margin-left: 10px;
}
.site-navbar .site-navigation .site-menu > li.tp-cta:last-child > a:hover { background: var(--tp-navy); }

/* ---------- Hero ---------- */
.site-blocks-cover.overlay:before {
  background: linear-gradient(100deg, rgba(5,37,74,.92) 0%, rgba(5,37,74,.72) 45%, rgba(5,37,74,.35) 100%);
}
.site-blocks-cover .tp-eyebrow {
  display: inline-block; color: #fff; font-size: .85rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.25rem;
  padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.45);
}
.site-blocks-cover h1 { font-weight: 900; line-height: 1.1; }
.site-blocks-cover h1 strong { color: #5db4ff; }
.site-blocks-cover .tp-lead {
  font-size: 1.15rem; max-width: 680px; margin: 0 auto 2rem; color: rgba(255,255,255,.9);
}
.site-blocks-cover.inner-page, .site-blocks-cover.inner-page .row { min-height: 420px; height: 55vh; }
.site-blocks-cover.inner-page h1 { font-size: 3rem; }
@media (min-width: 768px) { .site-blocks-cover.inner-page h1 { font-size: 4.2rem; } }
@media (max-width: 767.98px) {
  .site-blocks-cover, .site-blocks-cover .row { min-height: 520px; }
  .site-blocks-cover h1 { font-size: 2.2rem; }
}
.btn-white.btn-outline-white { color: #fff; border: 2px solid #fff; background: transparent; }
.btn-white.btn-outline-white:hover { background: #fff; color: var(--tp-navy); }
.btn-primary:hover { background: var(--tp-navy); border-color: var(--tp-navy); }

/* ---------- Section headings ---------- */
.tp-kicker {
  display: block; color: var(--tp-blue); font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: .75rem;
}
.tp-title { font-weight: 300; color: var(--tp-navy); line-height: 1.2; }
.tp-title strong { font-weight: 900; }
.tp-rule { width: 56px; height: 3px; background: var(--tp-blue); margin: 1.25rem auto 0; border: 0; }
.tp-rule.left { margin-left: 0; }

/* ---------- Stats strip ---------- */
.tp-stats { background: #fff; }
.tp-stat { text-align: center; padding: 1.5rem 1rem; }
.tp-stat .tp-stat-num { font-size: 2.6rem; font-weight: 900; color: var(--tp-navy); line-height: 1; }
.tp-stat .tp-stat-num small { font-size: 1.1rem; font-weight: 700; color: var(--tp-blue); }
.tp-stat .tp-stat-label { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: #6b7a90; margin-top: .6rem; }
.tp-stat .tp-stat-icon { font-size: 2.4rem; color: var(--tp-blue); margin-bottom: .75rem; display: block; }
@media (min-width: 768px) {
  .tp-stat + .tp-stat { border-left: 1px solid #e3e8ef; }
}

/* ---------- Image frame (home intro / about story) ---------- */
.tp-frame { position: relative; }
.tp-frame:before {
  content: ""; position: absolute; left: -18px; bottom: -18px; width: 62%; height: 62%;
  border-left: 6px solid var(--tp-blue); border-bottom: 6px solid var(--tp-blue); z-index: 0;
}
.tp-frame .bg-image { position: relative; z-index: 1; min-height: 420px; }
.tp-badge {
  position: absolute; z-index: 2; right: -12px; top: 28px; background: var(--tp-navy); color: #fff;
  padding: 1rem 1.4rem; text-align: center; box-shadow: 0 10px 30px rgba(5,37,74,.35);
}
.tp-badge b { display: block; font-size: 2rem; line-height: 1; font-weight: 900; }
.tp-badge span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; opacity: .85; }
@media (max-width: 767.98px) { .tp-badge { right: 8px; } .tp-frame:before { left: -8px; bottom: -8px; } }

/* ---------- Check list ---------- */
.site-block-check li:before { color: var(--tp-blue); }

/* ---------- Capability / industry cards ---------- */
.tp-card {
  background: #fff; border: 1px solid #e3e8ef; padding: 2rem 1.75rem; height: 100%;
  transition: all .3s ease; position: relative; overflow: hidden;
}
.tp-card:before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--tp-blue);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.tp-card:hover { box-shadow: 0 18px 40px rgba(5,37,74,.12); transform: translateY(-4px); }
.tp-card:hover:before { transform: scaleX(1); }
.tp-card .tp-icon { font-size: 2.6rem; color: var(--tp-blue); display: block; margin-bottom: 1.1rem; line-height: 1; }
.tp-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .6rem; }
.tp-card p { margin-bottom: 0; font-size: .95rem; }
.tp-card .tp-abbr {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .15em; color: #fff;
  background: var(--tp-navy); padding: .25rem .6rem; margin-bottom: .9rem;
}

/* ---------- Component list ---------- */
.tp-components { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.tp-components li {
  break-inside: avoid; padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid #e3e8ef; position: relative;
  font-weight: 700; color: var(--tp-navy);
}
.tp-components li:before {
  content: "\e5ca"; font-family: 'icomoon'; color: var(--tp-blue); position: absolute; left: 0; top: .85rem;
}
@media (max-width: 575.98px) { .tp-components { columns: 1; } }

/* ---------- Dark band ---------- */
.tp-band { background: var(--tp-navy); color: rgba(255,255,255,.85); }
.tp-band h2, .tp-band h3 { color: #fff; }
.tp-band .tp-kicker { color: #5db4ff; }

/* ---------- Industry tiles on dark band ---------- */
.tp-ind { border: 1px solid rgba(255,255,255,.18); padding: 2rem 1.5rem; text-align: center; height: 100%; transition: all .3s ease; }
.tp-ind:hover { background: var(--tp-blue); border-color: var(--tp-blue); }
.tp-ind .tp-num { font-size: 2.6rem; font-weight: 900; color: #5db4ff; display: block; margin-bottom: .6rem; line-height: 1; transition: color .3s; }
.tp-ind:hover .tp-num { color: #fff; }
.tp-ind h3 { font-size: 1.1rem; font-weight: 800; margin: 0; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Journey / timeline (About) ---------- */
.tp-timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.tp-timeline:before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: #d6dfeb;
}
.tp-timeline li { position: relative; padding: 0 0 2rem 70px; }
.tp-timeline li:last-child { padding-bottom: 0; }
.tp-timeline .tp-dot {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tp-blue); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; box-shadow: 0 0 0 6px #fff;
}
.tp-timeline h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; }
.tp-timeline .tp-year { color: var(--tp-blue); font-weight: 800; letter-spacing: .1em; font-size: .8rem; text-transform: uppercase; }
.tp-timeline p { margin: 0; }

/* ---------- Leadership cards (About) ---------- */
.tp-person { background: #fff; border: 1px solid #e3e8ef; border-top: 4px solid #e3e8ef; padding: 2.25rem 1.75rem; height: 100%; text-align: center; position: relative; }
.tp-person.tp-founder { border-top-color: var(--tp-blue); }
.tp-person .tp-avatar {
  width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 1.25rem; overflow: hidden;
  background: linear-gradient(135deg, var(--tp-navy), #0a3f7a); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 2.1rem; font-weight: 800; letter-spacing: .05em;
}
.tp-person .tp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tp-person h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .2rem; }
.tp-person .tp-role { color: var(--tp-blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-bottom: 1rem; display: block; }
.tp-person p { font-size: .95rem; margin-bottom: 0; }

/* ---------- Mission / vision ---------- */
.tp-mv { padding: 2.5rem 2.25rem; height: 100%; position: relative; }
.tp-mv.tp-mission { background: var(--tp-navy); color: rgba(255,255,255,.88); }
.tp-mv.tp-vision { background: var(--tp-blue); color: rgba(255,255,255,.95); }
.tp-mv h3 { color: #fff; font-size: 1.6rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.tp-mv .tp-icon { font-size: 2.4rem; color: rgba(255,255,255,.5); display: block; margin-bottom: .75rem; }
.tp-mv p { margin: 0; font-size: 1.02rem; line-height: 1.8; }

/* ---------- Certificate ---------- */
.tp-cert-img { display: block; border: 1px solid #dfe5ee; box-shadow: 0 18px 45px rgba(5,37,74,.18); background: #fff; }
.tp-cert-img img { width: 100%; height: auto; display: block; }
.tp-cert-facts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tp-cert-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #e3e8ef; }
.tp-cert-facts li span:first-child { color: #6b7a90; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; padding-top: .2rem; }
.tp-cert-facts li span:last-child { color: var(--tp-navy); font-weight: 700; text-align: right; }

/* ---------- CTA ---------- */
.promo.bg-primary { background: var(--tp-blue) !important; }
.promo h2 a { font-size: 1.6rem; }
.promo h2 a:hover { text-decoration: none; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tp-navy-dark); color: rgba(255,255,255,.7); padding: 4.5rem 0 2rem; }
.site-footer .footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #5db4ff; text-decoration: none; }
.site-footer .tp-footer-logo { height: 70px; width: auto; margin-bottom: 1.25rem; }
.site-footer .tp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.site-footer .tp-footer-bottom a { color: rgba(255,255,255,.75); text-decoration: underline; }
.site-footer address { font-style: normal; margin: 0; line-height: 1.8; }

/* ---------- Mobile nav ---------- */
.site-mobile-menu .site-nav-wrap a { color: var(--tp-navy); }
.site-mobile-menu .site-nav-wrap > li.active > a { color: var(--tp-blue); }
@media (max-width: 991.98px) { .site-navbar .site-logo img { height: 52px; } }

/* ==========================================================
   Added: top info bar, steps, FAQ, products, contact, floats
   ========================================================== */
.site-navbar-top .tp-topinfo a { color: rgba(255,255,255,.9); font-size: .85rem; }
.site-navbar-top .tp-topinfo a:hover { color: #5db4ff; text-decoration: none; }
.site-navbar-top .tp-topinfo span { font-size: .85rem; }

/* How we work */
.tp-step { background: #fff; border: 1px solid #e3e8ef; padding: 2.5rem 1.75rem 2rem; height: 100%; position: relative; text-align: center; }
.tp-step b { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; line-height: 44px; border-radius: 50%; background: var(--tp-blue); color: #fff; font-size: 1.2rem; font-weight: 900; box-shadow: 0 0 0 6px #fff; }
.tp-step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .6rem; }
.tp-step p { margin: 0; font-size: .95rem; }

/* FAQ */
.tp-faq-item { background: #fff; border: 1px solid #e3e8ef; margin-bottom: .75rem; }
.tp-faq-item h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.tp-faq-item h3 a { display: block; padding: 1.1rem 3rem 1.1rem 1.5rem; color: var(--tp-navy); position: relative; }
.tp-faq-item h3 a:hover { text-decoration: none; color: var(--tp-blue); }
.tp-faq-item h3 a:after { content: "+"; position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--tp-blue); }
.tp-faq-item h3 a[aria-expanded="true"]:after { content: "\2212"; }
.tp-faq-item .collapse p, .tp-faq-item .collapsing p { padding: 0 1.5rem 1.25rem; margin: 0; }

/* Products */
.tp-prod { padding-top: 2.5rem; }
.tp-prod .tp-num-tag { position: absolute; right: 1.25rem; top: 1rem; font-size: 2.2rem; font-weight: 900; color: #e3e8ef; line-height: 1; }
.tp-prod .tp-link { display: inline-block; margin-top: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; color: var(--tp-blue); }
.tp-prod .tp-link:hover { color: var(--tp-navy); text-decoration: none; }
.tp-infra { padding: 2.5rem 2rem; }

/* Contact */
.tp-contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.tp-contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #e3e8ef; }
.tp-contact-list li > span { flex: 0 0 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--tp-navy); color: #fff; font-size: 1.3rem; }
.tp-contact-list b { display: block; color: var(--tp-navy); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-bottom: .2rem; }
.tp-contact-list a { color: #4a5568; }
.tp-contact-list a:hover { color: var(--tp-blue); text-decoration: none; }
.tp-formbox { background: #fff; border: 1px solid #e3e8ef; border-top: 4px solid var(--tp-blue); padding: 2.25rem; box-shadow: 0 18px 40px rgba(5,37,74,.08); }
.tp-formbox label { font-weight: 700; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--tp-navy); }
.tp-formbox .form-control { height: auto; padding: .8rem 1rem; border-color: #d6dfeb; }
.tp-formbox .form-control:focus { border-color: var(--tp-blue); box-shadow: none; }
.tp-formbox .is-invalid { border-color: #dc3545; }
.tp-map { line-height: 0; background: #e3e8ef; }

/* Floating call / WhatsApp */
.tp-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.tp-float a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.6rem; box-shadow: 0 8px 22px rgba(0,0,0,.3); transition: transform .2s; }
.tp-float a:hover { transform: scale(1.08); color: #fff; text-decoration: none; }
.tp-float-wa { background: #25d366; }
.tp-float-call { background: var(--tp-blue); }

/* ==========================================================
   Larger body text (readability)
   ========================================================== */
body { font-size: 1.125rem; line-height: 1.9; }
p, li { font-size: 1.125rem; }
p.lead, .lead { font-size: 1.3rem; }
.site-section p, .site-section li { line-height: 1.9; }
.tp-card p, .tp-person p, .tp-step p, .tp-timeline p { font-size: 1.05rem; line-height: 1.8; }
.tp-components li, .site-block-check li { font-size: 1.15rem; }
.tp-faq-item h3 { font-size: 1.2rem; }
.tp-faq-item .collapse p, .tp-faq-item .collapsing p { font-size: 1.1rem; }
.tp-mv p { font-size: 1.15rem; }
.tp-cert-facts li span:last-child { font-size: 1.05rem; }
.tp-contact-list li, .tp-contact-list a { font-size: 1.1rem; }
.tp-formbox .form-control { font-size: 1.05rem; }
.site-footer, .site-footer p, .site-footer li, .site-footer address { font-size: 1.05rem; }
.site-footer .tp-footer-bottom, .site-footer .tp-footer-bottom p { font-size: .9rem; }
.site-navbar-top a, .site-navbar-top span { font-size: .9rem; }
@media (max-width: 767.98px) {
  body { font-size: 1.05rem; }
  p, li { font-size: 1.05rem; }
}

/* Floating buttons: WhatsApp left, Call right */
.tp-float { position: static; display: block; }
.tp-float a { position: fixed; bottom: 18px; }
.tp-float-wa { left: 18px; right: auto; }
.tp-float-call { right: 18px; left: auto; }

/* ==========================================================
   Hero slider, loader, counters, marquee, gallery, animations
   ========================================================== */
.tp-loader { position: fixed; inset: 0; background: #fff; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity .5s, visibility .5s; }
.tp-loader.done { opacity: 0; visibility: hidden; }
.tp-loader-in { text-align: center; }
.tp-loader-in img { height: 70px; width: auto; margin-bottom: 1.5rem; animation: tpPulse 1.4s ease-in-out infinite; }
.tp-loader-in span { display: block; width: 46px; height: 46px; margin: 0 auto; border: 4px solid #e3e8ef; border-top-color: var(--tp-blue); border-radius: 50%; animation: tpSpin .8s linear infinite; }
@keyframes tpSpin { to { transform: rotate(360deg); } }
@keyframes tpPulse { 50% { opacity: .55; transform: scale(.96); } }

/* Hero slider */
.tp-hero { position: relative; height: 86vh; min-height: 560px; max-height: 820px; background: var(--tp-navy-dark); overflow: hidden; }
.tp-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; display: flex; align-items: center; }
.tp-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.tp-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.14); transition: transform 9s ease-out; }
.tp-slide.active .tp-bg { transform: scale(1); }
.tp-slide:before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(5,37,74,.92) 0%, rgba(5,37,74,.72) 45%, rgba(5,37,74,.35) 100%); }
.tp-slide-in { position: relative; z-index: 2; color: #fff; }
.tp-slide .tp-eyebrow { display: inline-block; color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.25rem; padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.45); }
.tp-slide h1 { color: #fff; font-weight: 900; line-height: 1.1; font-size: 3rem; text-transform: uppercase; margin-bottom: 1.25rem; }
.tp-slide h1 strong { color: #5db4ff; }
.tp-slide .tp-lead { font-size: 1.2rem; max-width: 720px; margin: 0 auto 2rem; color: rgba(255,255,255,.92); line-height: 1.8; }
@media (min-width: 992px) { .tp-slide h1 { font-size: 4.2rem; } }
@media (max-width: 575.98px) { .tp-slide h1 { font-size: 2rem; } .tp-slide .tp-lead { font-size: 1.05rem; } }
.tp-slide .tp-eyebrow, .tp-slide h1, .tp-slide .tp-lead, .tp-slide .tp-btns { opacity: 0; transform: translateY(34px); }
.tp-slide.active .tp-eyebrow { animation: tpUp .8s .35s forwards; }
.tp-slide.active h1 { animation: tpUp .8s .55s forwards; }
.tp-slide.active .tp-lead { animation: tpUp .8s .75s forwards; }
.tp-slide.active .tp-btns { animation: tpUp .8s .95s forwards; }
@keyframes tpUp { to { opacity: 1; transform: none; } }
.tp-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 54px; height: 54px; border: 2px solid rgba(255,255,255,.5); background: rgba(5,37,74,.35); color: #fff; font-size: 1.6rem; cursor: pointer; transition: all .25s; display: none; align-items: center; justify-content: center; }
.tp-arrow:hover { background: var(--tp-blue); border-color: var(--tp-blue); }
.tp-prev { left: 24px; } .tp-next { right: 24px; }
@media (min-width: 992px) { .tp-arrow { display: flex; } }
.tp-dots { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.tp-dots button { width: 38px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s; }
.tp-dots button.active { background: #5db4ff; width: 60px; }

/* Stat bar (overlaps hero) */
.tp-statbar { position: relative; z-index: 6; margin-top: -64px; }
.tp-statbar .container { background: #fff; box-shadow: 0 20px 50px rgba(5,37,74,.16); border-bottom: 4px solid var(--tp-blue); padding: 1rem 0; }
.tp-statbar .tp-stat { padding: 1.4rem .5rem; }
@media (min-width: 992px) { .tp-statbar .tp-stat + .tp-stat, .tp-statbar [class*="col-"] + [class*="col-"] .tp-stat { border-left: 1px solid #e3e8ef; } }

/* Marquee */
.tp-marquee { overflow: hidden; background: var(--tp-navy); margin-top: 3rem; padding: 1.1rem 0; }
.tp-marquee-track { display: flex; align-items: center; width: max-content; animation: tpMarq 32s linear infinite; }
.tp-marquee:hover .tp-marquee-track { animation-play-state: paused; }
.tp-marquee span { color: #fff; text-transform: uppercase; letter-spacing: .2em; font-weight: 800; font-size: .95rem; white-space: nowrap; padding: 0 1.8rem; }
.tp-marquee i { width: 10px; height: 10px; background: #5db4ff; transform: rotate(45deg); flex: none; }
@keyframes tpMarq { to { transform: translateX(-50%); } }

/* Gallery */
.tp-gal { display: block; position: relative; overflow: hidden; background: #000; }
.tp-gal img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .6s ease, opacity .4s; }
.tp-gal:after { content: "+"; position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; line-height: 56px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--tp-blue); color: #fff; text-align: center; font-size: 2rem; transform: scale(0); transition: transform .35s; }
.tp-gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem 1rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(5,37,74,.92)); font-size: 1rem; line-height: 1.4; }
.tp-gal:hover img { transform: scale(1.1); opacity: .75; }
.tp-gal:hover:after { transform: scale(1); }

/* Cards: lift + top accent */
.tp-card { transition: transform .35s, box-shadow .35s; position: relative; }
.tp-card:before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--tp-blue); transition: width .4s; }
.tp-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(5,37,74,.16); }
.tp-card:hover:before { width: 100%; }
.tp-card .tp-icon { transition: transform .4s; display: inline-block; }
.tp-card:hover .tp-icon { transform: scale(1.15) rotate(-6deg); }
.btn { transition: all .3s; position: relative; overflow: hidden; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,120,212,.35); }
.btn:after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: rgba(255,255,255,.25); transform: skewX(-25deg); transition: left .6s; }
.btn:hover:after { left: 130%; }
.tp-ind { transition: transform .35s, background .35s; }
.tp-ind:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.tp-frame .bg-image { transition: transform .8s; }
.tp-frame:hover .bg-image { transform: scale(1.05); }

/* Services zig-zag */
.tp-svc-row { margin-bottom: 5rem; }
.tp-svc-row:last-child { margin-bottom: 0; }
.tp-h3 { font-size: 2.2rem; font-weight: 900; color: var(--tp-navy); }
.tp-svc-photo, .tp-svc-panel { position: relative; overflow: hidden; box-shadow: 0 20px 45px rgba(5,37,74,.18); border-bottom: 5px solid var(--tp-blue); }
.tp-svc-photo img { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform .7s; }
.tp-svc-photo:hover img { transform: scale(1.06); }
.tp-svc-panel { height: 380px; background: linear-gradient(135deg, var(--tp-navy) 0%, #0a4c8f 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.tp-svc-panel .tp-icon { font-size: 4rem; color: #5db4ff; margin-bottom: 1rem; animation: tpFloat 3.5s ease-in-out infinite; }
.tp-svc-panel b { font-size: 4.5rem; font-weight: 900; letter-spacing: .12em; line-height: 1; }
.tp-svc-no { position: absolute; top: 0; left: 0; background: var(--tp-blue); color: #fff; font-weight: 900; font-size: 1.4rem; padding: .6rem 1.1rem; }
@keyframes tpFloat { 50% { transform: translateY(-10px); } }

/* Component chips */
.tp-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.tp-chips li { background: #fff; border: 1px solid #d6dfeb; padding: .8rem 1.4rem; font-weight: 700; color: var(--tp-navy); font-size: 1.1rem; transition: all .3s; }
.tp-chips li span { color: var(--tp-blue); margin-right: .6rem; }
.tp-chips li:hover { background: var(--tp-blue); color: #fff; border-color: var(--tp-blue); transform: translateY(-4px); }
.tp-chips li:hover span { color: #fff; }
.tp-file { padding: .6rem 0; font-size: 1rem; }

/* Back to top */
.tp-top { position: fixed; right: 18px; bottom: 88px; width: 46px; height: 46px; background: var(--tp-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; z-index: 998; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s; }
.tp-top.show { opacity: 1; visibility: visible; transform: none; }
.tp-top:hover { background: var(--tp-blue); color: #fff; text-decoration: none; }

/* Sticky header on scroll */
.site-navbar-wrap { position: sticky; top: 0; z-index: 1000; transition: box-shadow .3s; }
.site-navbar-wrap.scrolled { box-shadow: 0 6px 24px rgba(5,37,74,.18); }

@media (prefers-reduced-motion: reduce) {
  .tp-marquee-track, .tp-svc-panel .tp-icon, .tp-loader-in img { animation: none; }
  .tp-bg { transition: none; transform: none; }
  .tp-slide .tp-eyebrow, .tp-slide h1, .tp-slide .tp-lead, .tp-slide .tp-btns { opacity: 1; transform: none; animation: none !important; }
}

/* Prevent horizontal scroll from AOS slide animations (clip keeps sticky header working) */
html, body, .site-wrap { overflow-x: clip; }
.tp-statbar .container { padding: 1rem 15px; }

/* ==========================================================
   Typography, header, footer, loader polish
   ========================================================== */
body { font-family: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif; color: #44505f; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -.01em; }
.display-4.tp-title { font-size: 2.5rem; line-height: 1.2; }
@media (min-width: 992px) { .display-4.tp-title { font-size: 2.85rem; } }
.tp-title strong { font-weight: 800; }
.tp-slide h1 { font-size: 2.6rem; line-height: 1.15; letter-spacing: -.015em; }
@media (min-width: 992px) { .tp-slide h1 { font-size: 3.7rem; } }
@media (max-width: 575.98px) { .tp-slide h1 { font-size: 1.8rem; } }
.site-blocks-cover.inner-page h1 { font-size: 2.6rem; line-height: 1.15; }
@media (min-width: 768px) { .site-blocks-cover.inner-page h1 { font-size: 3.5rem; } }
.tp-h3 { font-size: 2rem; }
.tp-lead, .tp-slide .tp-lead { font-weight: 400; }
.btn { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.tp-kicker { font-weight: 700; letter-spacing: .24em; font-size: .8rem; }

/* Header */
.site-navbar-top { background: var(--tp-navy-dark); }
.site-navbar-top .tp-topinfo, .site-navbar-top .tp-topinfo a, .site-navbar-top .tp-topinfo span { color: rgba(255,255,255,.92); font-size: .9rem; font-family: "Roboto", Arial, sans-serif; }
.site-navbar-top .tp-topinfo a:hover { color: #5db4ff; text-decoration: none; }
.site-navbar .site-navigation .site-menu > li { margin: 0 .15rem; }
.site-navbar .site-navigation .site-menu > li > a { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 1.7rem 1rem; color: var(--tp-navy); }
.site-navbar .site-navigation .site-menu > li > a:hover,
.site-navbar .site-navigation .site-menu > li.active > a { color: var(--tp-blue); }
.site-navbar .site-navigation .site-menu .has-children .dropdown { border-top: 3px solid var(--tp-blue); box-shadow: 0 16px 36px rgba(5,37,74,.18); }
.site-navbar .site-navigation .site-menu .has-children .dropdown a { font-family: "Roboto", Arial, sans-serif; font-size: .95rem; text-transform: none; letter-spacing: 0; font-weight: 500; }
.site-logo img { max-height: 62px; width: auto; }

/* Footer */
.site-footer { padding: 5rem 0 0; background: #031a35; }
.site-footer .footer-heading { font-size: .95rem; letter-spacing: .16em; margin-bottom: 1.6rem !important; position: relative; padding-bottom: .9rem; }
.site-footer .footer-heading:after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--tp-blue); }
.site-footer .tp-flist { margin: 0; padding: 0; }
.site-footer .tp-flist li { margin: 0 0 1rem; line-height: 1.6; color: rgba(255,255,255,.75); }
.site-footer .tp-flist li:last-child { margin-bottom: 0; }
.site-footer .tp-faddr li { margin-bottom: 1.1rem; }
.site-footer p { line-height: 1.85; }
.tp-footer-bar { margin-top: 4.5rem; background: #000; border-top: 8px solid #00306b; padding: 1.5rem 0; text-align: center; color: #fff; font-size: 1rem; }
.tp-footer-bar .sep { color: #8a8f98; margin: 0 1.1rem; }
.tp-footer-bar a { color: #8fb0ff; text-decoration: none; }
.tp-footer-bar a:hover { color: #fff; }
@media (max-width: 575.98px) { .tp-footer-bar .sep { display: block; height: 0; overflow: hidden; margin: 0; } .tp-footer-bar { font-size: .95rem; line-height: 1.9; } }

/* Loader (plain spinner) */
.tp-loader { background: #fff; }
.tp-loader-box { width: 340px; height: 340px; max-width: 80vw; max-height: 80vw; background: #fbfbfa; display: flex; align-items: center; justify-content: center; }
.tp-spin { animation: tpSpin 1s linear infinite; }

/* Section rhythm */
.site-section { padding: 5.5rem 0; }
@media (max-width: 767.98px) { .site-section { padding: 3.75rem 0; } }
.tp-svc-row { margin-bottom: 4.5rem; }
.site-navbar-wrap { background: #fff; }

/* Nav: keep all six items on one row */
.site-navbar .site-navigation .site-menu > li { margin: 0; }
.site-navbar .site-navigation .site-menu > li > a { padding: 1.6rem .75rem; letter-spacing: .06em; font-size: .8rem; white-space: nowrap; }
.site-navbar .site-navigation .site-menu .has-children > a:before { right: 0; }
.site-navbar .site-navigation .site-menu { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199.98px) { .site-navbar .site-navigation .site-menu > li > a { padding: 1.6rem .55rem; font-size: .76rem; letter-spacing: .04em; } }
.site-navbar .site-navigation .site-menu .has-children > a { padding-right: 1.6rem; }
.site-navbar .site-navigation .site-menu .has-children > a:before { right: .45rem; font-size: 14px; }
.site-navbar .site-navigation .site-menu > li:last-child > a { padding-right: .75rem; }
.site-navbar.bg-light { background: #fff !important; border-bottom: 1px solid #edf0f4; }

/* ONE font family site-wide (Roboto) */
html, body, h1, h2, h3, h4, h5, h6, p, a, li, span, strong, b, small, label, address, button, input, select, textarea,
.btn, .tp-title, .tp-kicker, .tp-eyebrow, .tp-lead, .tp-stat-num, .tp-stat-label, .tp-num, .tp-abbr, .tp-svc-no, .tp-badge b,
.site-navbar .site-menu a, .footer-heading, .site-navbar-top .tp-topinfo, .site-navbar-top .tp-topinfo a, .site-navbar-top .tp-topinfo span,
.site-navbar .site-navigation .site-menu .has-children .dropdown a {
  font-family: "Roboto", Arial, sans-serif;
}
[class^="icon-"], [class*=" icon-"] { font-family: "icomoon" !important; }

/* Service detail pages */
.tp-crumb { color: rgba(255,255,255,.85); } .tp-crumb:hover { color: #5db4ff; text-decoration: none; }
.tp-svc-main img { height: 440px; }
@media (max-width: 575.98px) { .tp-svc-main img { height: 260px; } }
.tp-sub { font-size: 1.4rem; font-weight: 700; color: var(--tp-navy); margin: 2.2rem 0 1.2rem; }
.tp-mini > div > div { background: #f4f7fb; border-left: 4px solid var(--tp-blue); padding: 1.1rem 1.2rem; height: 100%; }
.tp-mini b { display: block; font-size: 1.35rem; color: var(--tp-navy); font-weight: 900; }
.tp-mini span { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: #6b7a90; font-weight: 700; }
.tp-side { position: sticky; top: 130px; }
.tp-side-box { border: 1px solid #e3e8ef; padding: 1.8rem; margin-bottom: 1.5rem; background: #fff; }
.tp-side-box h3 { font-size: 1.2rem; font-weight: 800; color: var(--tp-navy); margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 3px solid var(--tp-blue); display: inline-block; }
.tp-side-list { list-style: none; margin: 0; padding: 0; }
.tp-side-list li a { display: block; padding: .85rem 1rem; margin-bottom: .4rem; background: #f4f7fb; color: var(--tp-navy); font-weight: 500; font-size: 1.02rem; transition: all .25s; }
.tp-side-list li a span { color: var(--tp-blue); margin-right: .4rem; transition: color .25s; }
.tp-side-list li a:hover, .tp-side-list li.active a { background: var(--tp-blue); color: #fff; text-decoration: none; padding-left: 1.3rem; }
.tp-side-list li a:hover span, .tp-side-list li.active a span { color: #fff; }
.tp-side-cta { background: var(--tp-navy); border-color: var(--tp-navy); }
.tp-side-cta h3 { color: #fff; }
.tp-side-cta p { color: rgba(255,255,255,.85); font-size: 1.02rem; }
.tp-side-call { display: block; text-align: center; color: #fff; margin-top: 1.1rem; font-weight: 700; }
.tp-side-call:hover { color: #5db4ff; text-decoration: none; }

/* ==========================================================
   Justified paragraphs + balanced image/text story blocks
   ========================================================== */
.site-section p,
.site-section .lead {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* keep centred / short UI text centred or left */
.site-section .text-center p,
.site-section p.text-center,
.site-section .tp-stat p,
.site-section .tp-ind p,
.site-section .tp-person p,
.site-section .tp-step p,
.site-section .tp-btns,
.site-section .tp-lead,
.tp-band .text-center p { text-align: center; hyphens: none; }
.site-section .tp-faq-item p,
.site-section .tp-side-box p { text-align: left; hyphens: none; }

/* Story blocks (home "Who We Are", about "A Legacy of Experience"):
   image on the left (never cropped), justified content on the right */
.tp-story-row { align-items: center; }
.tp-story-row .tp-frame { margin-bottom: 0; }
.tp-story-row .tp-frame .bg-image { position: relative; display: block; min-height: 0; height: auto; overflow: hidden; background: none; box-shadow: 0 16px 38px rgba(5,37,74,.18); }
.tp-story-row .tp-frame .bg-image .tp-img-blur { display: none; }
.tp-story-row .tp-frame .bg-image .tp-img-main { display: block; width: 100%; height: auto; }
.tp-story-row .tp-frame:hover .bg-image { transform: none; }
.tp-story-row .tp-frame:before { width: 55%; height: 55%; }
.tp-story-row .tp-badge { right: -12px; top: 24px; }
.tp-story-row .tp-text-cols { column-count: 1; }
.tp-story-row p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.1rem; text-align: justify; text-align-last: left; hyphens: auto !important; -webkit-hyphens: auto !important; }
.tp-story-row p.lead { font-size: 1.05rem; line-height: 1.8; color: inherit; }
.tp-story-row p.mb-0 { margin-bottom: 0; }
.tp-story-row .tp-text-cols + p.mb-0 { margin-top: 1.5rem; }
.tp-story-row p.text-center { text-align: left !important; text-align-last: left !important; margin-top: 1.5rem; }
@media (min-width: 992px) {
  .tp-story-row > .col-lg-6:first-child { padding-right: 2rem !important; }
  .tp-story-row > .col-lg-6:last-child { padding-left: 2rem !important; padding-right: 15px !important; }
}
@media (max-width: 991.98px) {
  .tp-story-row .tp-badge { right: 0; }
  .tp-story-row .tp-frame:before { left: -8px; bottom: -8px; }
}

/* Wider container for the home / about story sections (uses the empty left-right space) */
@media (min-width: 1200px) { .container.tp-wide { max-width: 1320px; } }
@media (min-width: 1600px) { .container.tp-wide { max-width: 1560px; } }
.tp-wide .tp-story-row p { font-size: 1.1rem; }
@media (min-width: 992px) {
  .tp-wide .tp-story-row > .col-lg-6:first-child { padding-right: 2.5rem !important; }
  .tp-wide .tp-story-row > .col-lg-6:last-child { padding-left: 2.5rem !important; }
}

/* highlights bar under the story photo (fills the image side so both sides match in height) */
.tp-story-stats { display: flex; margin-top: 2.4rem; background: var(--tp-navy); color: #fff; box-shadow: 0 14px 30px rgba(5,37,74,.16); position: relative; z-index: 1; }
.tp-story-stats > div { flex: 1 1 0; text-align: center; padding: 1.35rem .6rem; border-right: 1px solid rgba(255,255,255,.15); }
.tp-story-stats > div:last-child { border-right: 0; }
.tp-story-stats b { display: block; font-size: 1.8rem; line-height: 1.1; font-weight: 900; color: #fff; }
.tp-story-stats span { display: block; margin-top: .4rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #8fc9ff; }
@media (max-width: 575.98px) { .tp-story-stats b { font-size: 1.35rem; } .tp-story-stats span { font-size: .6rem; letter-spacing: .06em; } .tp-story-stats { margin-top: 1.75rem; } }
.tp-wide .tp-story-row p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1rem; }
@media (min-width: 992px) and (max-width: 1599.98px) {
  .tp-wide .tp-story-row p { font-size: 1rem; line-height: 1.7; margin-bottom: .9rem; }
  .tp-wide .tp-story-row > .col-lg-6:first-child { padding-right: 1.75rem !important; }
  .tp-wide .tp-story-row > .col-lg-6:last-child { padding-left: 1.75rem !important; }
  .tp-story-stats { margin-top: 2rem; }
}

/* ---------- Infrastructure cards (clean, numbered) ---------- */
.tp-infra-card {
  position: relative; height: 100%; background: #fff; border: 1px solid #e3e8ef;
  border-left: 4px solid var(--tp-blue); padding: 2rem 1.75rem 2rem;
  box-shadow: 0 6px 20px rgba(5,37,74,.05); transition: transform .3s ease, box-shadow .3s ease;
}
.tp-infra-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(5,37,74,.12); }
.tp-infra-card .tp-infra-no {
  display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; color: #dbe5f1; margin-bottom: 1rem;
}
.tp-infra-card .tp-abbr {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .15em; color: #fff;
  background: var(--tp-navy); padding: .25rem .65rem; margin-bottom: .9rem;
}
.tp-infra-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--tp-navy); margin-bottom: .6rem; line-height: 1.3; }
.tp-infra-card p { margin: 0; font-size: 1rem; line-height: 1.75; color: #4a5568; text-align: left; }
.tp-infra-card h3 { hyphens: none !important; -webkit-hyphens: none !important; word-break: normal; overflow-wrap: normal; }

/* ---------- Mission / Vision (refined) ---------- */
.tp-mv { padding: 3rem 2.75rem 3rem; overflow: hidden; box-shadow: 0 18px 40px rgba(5,37,74,.14); }
.tp-mv.tp-mission { background: linear-gradient(145deg, #0a2f5c 0%, var(--tp-navy) 60%, var(--tp-navy-dark) 100%); }
.tp-mv.tp-vision { background: linear-gradient(145deg, #1a8ae6 0%, var(--tp-blue) 60%, #0a63b0 100%); }
.tp-mv:before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: rgba(255,255,255,.35); }
.tp-mv .tp-mv-no { position: absolute; right: 1.75rem; top: .6rem; font-size: 6rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,.08); letter-spacing: -.02em; pointer-events: none; }
.tp-mv .tp-icon { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: #fff; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); margin-bottom: 1.6rem; }
.tp-mv h3 { font-size: 1.55rem; letter-spacing: .1em; margin-bottom: 1.4rem; padding-bottom: 1.1rem; position: relative; }
.tp-mv h3:after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: #5db4ff; }
.tp-mv.tp-vision h3:after { background: #fff; }
.tp-mv p { font-size: 1.08rem; line-height: 1.85; color: rgba(255,255,255,.92); position: relative; }
@media (max-width: 575.98px) { .tp-mv { padding: 2.25rem 1.5rem; } .tp-mv .tp-mv-no { font-size: 4.5rem; } }

/* ---------- Header: slimmer bar, bigger logo ---------- */
.site-navbar .container.py-1 { padding-top: .15rem !important; padding-bottom: .15rem !important; }
.site-navbar .site-logo img { height: 76px; max-height: 76px; width: auto; }
.site-navbar .site-navigation .site-menu > li > a { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.tp-side { top: 112px; }
@media (max-width: 991.98px) { .site-navbar .site-logo img { height: 56px; max-height: 56px; } }

/* One-line heading (About / Home story) */
.display-4.tp-title.tp-title-one { font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.25; }
@media (min-width: 1200px) { .display-4.tp-title.tp-title-one { white-space: nowrap; } }

/* ---------- Infrastructure cards: dark "spec plate" style (different from the white What-We-Do cards) ---------- */
.tp-band .text-center p { color: rgba(255,255,255,.82); }
.tp-infra-card {
  background: linear-gradient(160deg, #0c3b73 0%, #082a52 100%);
  border: 1px solid rgba(93,180,255,.22); border-top: 3px solid #5db4ff; border-left: 1px solid rgba(93,180,255,.22);
  box-shadow: 0 14px 34px rgba(0,0,0,.28); padding-top: 2.2rem;
}
.tp-infra-card:hover { transform: translateY(-6px); border-top-color: #fff; box-shadow: 0 22px 44px rgba(0,0,0,.38); }
.tp-infra-card .tp-infra-no { display: none; }
.tp-infra-card .tp-abbr { display: block; background: none; padding: 0; margin: 0 0 1rem; font-size: 2.3rem; font-weight: 900; letter-spacing: .06em; line-height: 1; color: #5db4ff; }
.tp-infra-card .tp-abbr:after { content: ""; display: block; width: 38px; height: 3px; margin-top: 1rem; background: rgba(255,255,255,.55); }
.tp-infra-card h3 { color: #fff; }
.tp-infra-card p { color: rgba(255,255,255,.82); }

/* ===== Facilities page tables ===== */
.tp-table-wrap { overflow-x: auto; background: #fff; box-shadow: 0 6px 24px rgba(5,37,74,.08); border-top: 4px solid var(--tp-blue); }
.tp-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95rem; }
.tp-table thead th { background: var(--tp-navy); color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; padding: .9rem 1rem; text-align: left; white-space: nowrap; }
.tp-table td { padding: .8rem 1rem; border-bottom: 1px solid #e6ebf1; vertical-align: top; color: #333; }
.tp-table tbody tr:nth-child(even) { background: #f5f8fc; }
.tp-table tbody tr:hover { background: #eaf3fc; }
.tp-table td:first-child { font-weight: 700; color: var(--tp-navy); white-space: nowrap; }

@media (max-width: 767px) {
  .tp-table thead { display: none; }
  .tp-table, .tp-table tbody, .tp-table tr, .tp-table td { display: block; width: 100%; }
  .tp-table tr { border-bottom: 3px solid #e6ebf1; padding: .5rem 0; }
  .tp-table td { border: 0; padding: .35rem 1rem; }
  .tp-table td:before { content: attr(data-label) ": "; font-weight: 700; color: var(--tp-blue); }
  .tp-table td:first-child { white-space: normal; }
}

/* Facilities tables: vertical dividers between columns */
.tp-table th, .tp-table td { border-right: 1px solid #d5dde8; }
.tp-table th:last-child, .tp-table td:last-child { border-right: 0; }
.tp-table thead th { border-right-color: rgba(255,255,255,.25); }
@media (max-width: 767px) {
  .tp-table th, .tp-table td { border-right: 0; }
}

/* ===== Gallery ===== */
.tp-gal { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #0b2a4f; box-shadow: 0 6px 24px rgba(5,37,74,.12); }
.tp-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.tp-gal:hover img { transform: scale(1.06); }
.tp-gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .8rem; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(5,37,74,.88)); }

/* Footer: compact industries list */
.site-footer .tp-flist-compact li { margin: 0 0 .55rem; font-size: .95rem; line-height: 1.45; }
.site-footer .tp-flist-compact li:last-child { margin-bottom: 0; }

/* Footer: Industries in two columns */
.site-footer .tp-flist-2col { column-count: 2; column-gap: 1.5rem; }
.site-footer .tp-flist-2col li { break-inside: avoid; }
@media (max-width: 575.98px) { .site-footer .tp-flist-2col { column-count: 1; } }
/* Visit Us: keep long email inside the narrower column */
.site-footer .tp-faddr li { overflow-wrap: anywhere; }

/* Footer on small desktops (992-1199px): give Visit Us / Quick Links more room */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-footer > .container > .row { grid-template-columns: 1fr .8fr 1.35fr 1.7fr !important; column-gap: 1.5rem !important; }
  .site-footer .tp-faddr li > a { font-size: .92rem; overflow-wrap: normal; word-break: normal; }
}

/* Footer description under logo: justified */
.site-footer .tp-fdesc { text-align: justify; text-justify: inter-word; font-size: .97rem; }

/* Gallery: show the full photo in every card (no cropping), blurred fill behind */
#galleryGrid .tp-gal { aspect-ratio: 4 / 3; background: #0b2a4f; }
#galleryGrid .tp-gal img { position: absolute; inset: 0; width: 100%; height: 100%; }
#galleryGrid .tp-gal .tp-gal-blur { object-fit: cover; filter: blur(18px) brightness(.6); transform: scale(1.15); }
#galleryGrid .tp-gal .tp-gal-main { object-fit: contain; }
#galleryGrid .tp-gal:hover .tp-gal-blur { transform: scale(1.15); opacity: 1; }
#galleryGrid .tp-gal:hover .tp-gal-main { transform: scale(1.04); opacity: 1; }
/* legacy 3 cards (single img) keep working */
#galleryGrid .tp-gal > img:only-of-type { object-fit: cover; }

/* Gallery: caption sits in its own bar below the photo so the image is never covered */
#galleryGrid .tp-gal { aspect-ratio: auto; height: 0; padding-bottom: calc(75% + 3.8rem); }
#galleryGrid .tp-gal img { inset: 0 0 3.8rem 0; height: calc(100% - 3.8rem); }
#galleryGrid .tp-gal > img:only-of-type { object-fit: cover; }
#galleryGrid .tp-gal span { height: 3.8rem; padding: 0 1rem; display: flex; align-items: center; background: #05254a; font-size: .92rem; line-height: 1.3; }
#galleryGrid .tp-gal:after { margin-top: calc(-30px - 1.9rem); }

/* Facilities tables: narrow Sr. No / first column (desktop & tablet only) */
@media (min-width: 768px) {
  .tp-table th:first-child, .tp-table td:first-child { width: 1%; white-space: nowrap; padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Lightbox: caption centered */
.mfp-title { text-align: center; padding: 0 70px; }
.mfp-bottom-bar { text-align: center; }

/* Facilities tables: compact, centered, no stretched columns (desktop & tablet) */
@media (min-width: 768px) {
  .tp-table-wrap { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .tp-table { width: auto; }
  .tp-table th, .tp-table td { padding-left: 1.1rem; padding-right: 1.1rem; }
  .tp-table th:first-child, .tp-table td:first-child { padding-left: 1.1rem; padding-right: 1.1rem; }
}
@media (min-width: 768px) {
  .tp-table-spec td:nth-child(2) { width: 210px; }
  .tp-table-spec td:nth-child(3) { width: 190px; }
  .tp-table-spec td:nth-child(4) { width: 430px; }
}

/* Facilities: all 3 tables share the same width (same as Machine Setup table) */
@media (min-width: 768px) {
  .tp-table-wrap { width: 954px; max-width: 100%; }
  .tp-table { width: 100%; }
}

/* Facilities on mobile: simple tables (Measuring Devices, Cranes) stay real tables; Machine Setup stays compact cards */
@media (max-width: 767px) {
  .tp-table:not(.tp-table-spec) { display: table; width: 100%; font-size: .85rem; }
  .tp-table:not(.tp-table-spec) thead { display: table-header-group; }
  .tp-table:not(.tp-table-spec) tbody { display: table-row-group; width: auto; }
  .tp-table:not(.tp-table-spec) tr { display: table-row; width: auto; padding: 0; border-bottom: 0; }
  .tp-table:not(.tp-table-spec) th, .tp-table:not(.tp-table-spec) td { display: table-cell; width: auto; padding: .6rem .65rem; border-bottom: 1px solid #e6ebf1; border-right: 1px solid #d5dde8; vertical-align: top; }
  .tp-table:not(.tp-table-spec) th { font-size: .68rem; padding: .7rem .65rem; border-right-color: rgba(255,255,255,.25); }
  .tp-table:not(.tp-table-spec) th:last-child, .tp-table:not(.tp-table-spec) td:last-child { border-right: 0; }
  .tp-table:not(.tp-table-spec) td:before { content: none; }
  .tp-table:not(.tp-table-spec) td:first-child { white-space: nowrap; width: 1%; }
  .tp-table-spec td { padding: .25rem 1rem; line-height: 1.45; }
  .tp-table-spec tr { padding: .6rem 0; }
}
@media (max-width: 767px) {
  .tp-table:not(.tp-table-spec) td:last-child { white-space: nowrap; }
}

/* Machine Setup table on mobile: real 4-column table, swipe sideways; Machine No. column stays pinned */
.tp-swipe-hint { display: none; }
@media (max-width: 767px) {
  .tp-swipe-hint { display: block; text-align: center; font-size: .78rem; color: #6b7a90; margin: 0 0 .6rem; font-weight: 700; letter-spacing: .03em; }
  .tp-table.tp-table-spec { display: table; width: auto; min-width: 780px; font-size: .82rem; }
  .tp-table.tp-table-spec thead { display: table-header-group; }
  .tp-table.tp-table-spec tbody { display: table-row-group; width: auto; }
  .tp-table.tp-table-spec tr { display: table-row; width: auto; padding: 0; border-bottom: 0; }
  .tp-table.tp-table-spec th, .tp-table.tp-table-spec td { display: table-cell; width: auto; padding: .65rem .75rem; border-bottom: 1px solid #e6ebf1; border-right: 1px solid #d5dde8; vertical-align: top; line-height: 1.45; }
  .tp-table.tp-table-spec th { font-size: .68rem; border-right-color: rgba(255,255,255,.25); }
  .tp-table.tp-table-spec th:last-child, .tp-table.tp-table-spec td:last-child { border-right: 0; }
  .tp-table.tp-table-spec td:before { content: none; }
  .tp-table.tp-table-spec td:nth-child(2) { min-width: 130px; }
  .tp-table.tp-table-spec td:nth-child(3) { min-width: 140px; }
  .tp-table.tp-table-spec td:nth-child(4) { min-width: 340px; }
  .tp-table.tp-table-spec tbody tr { background: #fff; }
  .tp-table.tp-table-spec th:first-child, .tp-table.tp-table-spec td:first-child { position: sticky; left: 0; z-index: 1; background: inherit; white-space: nowrap; width: 1%; }
  .tp-table.tp-table-spec th:first-child { background: var(--tp-navy); }
}

/* Two unit addresses (footer) */
.site-footer .tp-faddr .tp-unit { display: block; color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .15rem; }

/* Footer: wider container + one common text size (address/phone/email same as Quick Links) */
.site-footer .tp-flist li, .site-footer .tp-fdesc { font-size: 1rem; }

/* Footer (screens 1400px+): Industries names on one line, balanced column widths (footer is a grid, see effects.css) */
@media (min-width: 1400px) {
  .site-footer > .container > .row { grid-template-columns: 1.5fr .7fr .9fr 1.5fr !important; }
  .site-footer .tp-flist-2col li { white-space: nowrap; }
}

/* Footer: Industries as a single column list (all names one below the other) */
.site-footer .tp-flist-2col { column-count: auto; column-width: auto; }

/* Footer Visit Us: Unit 1 is now the first item, so give every item the icon + text row layout */
.site-footer .tp-faddr li:first-child { display: flex; align-items: flex-start; }

/* Contact page: address as a justified paragraph, even spacing in the details list */
.tp-contact-list li > div { flex: 1 1 auto; min-width: 0; }
.tp-contact-list .tp-addr { display: block; text-align: justify; text-justify: inter-word; line-height: 1.7; color: #4a5568; }
.tp-contact-list li { align-items: flex-start; }
.tp-contact-list .nw { white-space: nowrap; }

/* Footer: both phone numbers on one row, each with its own call icon (wraps on small screens) */
.site-footer .tp-faddr li.tp-fphones { display: flex; flex-wrap: wrap; align-items: flex-start; column-gap: 1.6rem; row-gap: .8rem; }
.site-footer .tp-faddr .tp-fpair { display: inline-flex; align-items: flex-start; padding-top: 0; white-space: nowrap; }
.site-footer .tp-faddr .tp-fpair a { padding-top: .3rem; line-height: 1.55; }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-footer .tp-faddr li.tp-fphones { column-gap: .8rem; }
  .site-footer .tp-faddr .tp-fpair .tp-fi { flex-basis: 28px; width: 28px; height: 28px; margin-right: .45rem; font-size: .85rem; }
  .site-footer .tp-faddr .tp-fpair a { font-size: .95rem; padding-top: .15rem; }
}
@media (max-width: 575.98px) {
  .site-footer .tp-faddr li.tp-fphones { column-gap: .7rem; }
  .site-footer .tp-faddr .tp-fpair .tp-fi { flex-basis: 28px; width: 28px; height: 28px; margin-right: .4rem; font-size: .85rem; }
  .site-footer .tp-faddr .tp-fpair a { font-size: .95rem; padding-top: .15rem; }
}
