/* =========================================================
   Hitech Drilling Engineers – brand layer on top of Industrie
   Colours taken from the company logo
   ========================================================= */
:root {
  --hd-blue: #0A6CC2;        /* primary (logo drop, darkened for contrast) */
  --hd-sky: #1A9BE0;         /* logo drop highlight */
  --hd-navy: #0B2A5B;        /* logo wave / dark sections */
  --hd-navy-deep: #071C3E;
  --hd-green: #5BAA35;       /* logo diamond */
  --hd-green-light: #86C440;
  --hd-red: #B3001B;         /* logo wordmark */
  --hd-tint: #F6F7FA;
  --hd-red: #B5021A;         /* client primary */
  --hd-red-dark: #8E0114;
  --hd-red-light: #FF5468;
  --hd-primary: var(--hd-red);

  --rs-theme-orange: var(--hd-primary);
  --rs-theme-blue: var(--hd-red);
  --rs-bg-primary: var(--hd-tint);
  --rs-title-primary: #10213F;
  --rs-black: #10213F;
}

::selection { background: var(--hd-primary); color: #fff; }

.black-bg { background: var(--hd-navy-deep); }
.rs-theme-orange, .rs-theme-green-text { color: var(--hd-primary) !important; }
.hd-green { color: var(--hd-green) !important; }
.hd-red { color: var(--hd-red) !important; }
.hd-sky { color: var(--hd-sky) !important; }

/* ---------- Top bar ---------- */
.hd-topbar {
  background: var(--hd-navy-deep);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  position: relative;
  z-index: 100;
}
.hd-topbar .hd-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 30px; flex-wrap: wrap;
  padding: 9px 45px;
}
.hd-topbar a { color: rgba(255,255,255,.9); }
.hd-topbar a:hover { color: var(--hd-red-light); }
.hd-topbar .hd-tb-list { display: flex; gap: 8px 28px; flex-wrap: wrap; align-items: center; }
.hd-topbar .hd-tb-list span, .hd-topbar .hd-tb-list a { display: inline-flex; align-items: center; gap: 8px; }
.hd-topbar i { color: var(--hd-red-light); font-size: 16px; }
.hd-topbar .hd-tb-badge {
  background: var(--hd-red); color: #fff; font-weight: 600; font-size: 12px;
  letter-spacing: .04em; padding: 3px 10px; border-radius: 30px; text-transform: uppercase;
}
@media (max-width: 1600px) { .hd-topbar .hd-topbar-inner { padding: 9px 25px; } }
@media (max-width: 991px) { .hd-topbar { display: none; } }

/* ---------- Header / big logo ---------- */
.rs-header-one .rs-header-logo-wrapper {
  width: auto;
  height: 124px;
  padding: 0 30px 0 36px;
  background-color: #fff;
}
.rs-header-one .rs-header-logo img { height: 104px; width: auto; max-width: none; }
.rs-header-one .main-menu { margin-inline-start: 10px; }
.rs-header-one.rs-sticky-header .rs-header-logo-wrapper { height: 96px; }
.rs-header-one.rs-sticky-header .rs-header-logo img { height: 80px; }
.rs-header-area { background: #fff; }
.rs-header-one .rs-header-inner { border-bottom: 1px solid rgba(11,42,91,.06); }
.hd-header-call { display: flex; align-items: center; gap: 12px; }
.hd-header-call .hd-call-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(181,2,26,.1); color: var(--hd-primary);
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.hd-header-call span { display: block; font-size: 13px; color: var(--rs-text-primary); line-height: 1.2; }
.hd-header-call a { font-weight: 700; color: var(--hd-navy); font-size: 17px; }
.hd-header-call a:hover { color: var(--hd-primary); }
@media (max-width: 1500px) { .hd-header-call { display: none; } }
@media (max-width: 1600px) {
  .rs-header-one .rs-header-logo-wrapper { padding: 0 20px 0 24px; }
  .rs-header-one .rs-header-logo img { height: 96px; }
}
@media (max-width: 1199px) {
  .rs-header-one .rs-header-logo-wrapper { height: 104px; }
  .rs-header-one .rs-header-logo img { height: 86px; }
}
@media (max-width: 575px) {
  .rs-header-one .rs-header-logo-wrapper { height: 86px; padding: 0 8px 0 12px; width: auto; }
  .rs-header-one .rs-header-logo img { height: 68px; }
  .rs-header-one.rs-sticky-header .rs-header-logo-wrapper { height: 72px; }
  .rs-header-one.rs-sticky-header .rs-header-logo img { height: 52px; }
}
@media (max-width: 380px) {
  .rs-header-one .rs-header-logo img { height: 60px; }
}
.main-menu ul li.active > a, .main-menu ul li > a.active { color: var(--hd-primary) !important; }
.offcanvas-logo img { height: 64px; width: auto; }

/* ---------- Buttons ---------- */
.rs-btn.hd-btn-green { background: var(--hd-blue) !important; color: #fff !important; }
.rs-btn.hd-btn-green::before, .rs-btn.hd-btn-green::after { background: var(--hd-navy) !important; }
.rs-btn.has-theme-orange.has-bg:hover { color:#fff; }

/* ---------- Section subtitle icon colour ---------- */
.rs-section-subtitle svg path { fill: var(--hd-red); }
.rs-section-subtitle.has-white svg path { fill: #fff; }

/* ---------- Banner ---------- */
.rs-banner-one .rs-banner-bg-thumb::before {
  background: linear-gradient(90deg, rgba(7,28,62,.88) 0%, rgba(7,28,62,.65) 45%, rgba(7,28,62,.15) 100%);
}
.rs-banner-one .rs-banner-title { font-size: 64px; }
.rs-banner-one .rs-banner-title span { color: var(--hd-red-light); }
.rs-banner-one .hd-banner-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 15px;
  background: rgba(255,255,255,.1); border-left: 3px solid var(--hd-red); padding: 8px 16px; margin-bottom: 22px;
}
.rs-banner-one .rs-banner-item-wrapper { padding: 170px 0 170px 0; }
@media (max-width: 1600px) { .rs-banner-one .rs-banner-title { font-size: 56px; } .rs-banner-one .rs-banner-item-wrapper { padding: 140px 0; padding-inline-start: 150px; } }
@media (max-width: 1366px) { .rs-banner-one .rs-banner-title { font-size: 48px; } }
@media (max-width: 1199px) { .rs-banner-one .rs-banner-item-wrapper { padding: 120px 0; padding-inline-start: 120px; } }
@media (max-width: 991px) { .rs-banner-one .rs-banner-item-wrapper { padding: 90px 0 110px; } .rs-banner-one .rs-banner-title { font-size: 42px; } }
@media (max-width: 575px) { .rs-banner-one .rs-banner-title { font-size: 32px; } .rs-banner-one .rs-banner-descrip p { font-size: 16px; } .rs-banner-one .hd-banner-kicker{font-size:12px} }
.rs-banner-one .rs-banner-contact-item h6 a { color: var(--rs-text-primary); }

/* ---------- Feature cards with font icons ---------- */
.rs-feature-one .rs-feature-icon i {
  font-size: 58px; line-height: 1; color: var(--hd-primary); transition: all .5s ease; display: inline-block;
}
.rs-feature-one .rs-feature-item:hover .rs-feature-icon i { color: #fff; animation: rs-fold linear .3s; }
.rs-feature-one .rs-feature-item { height: 100%; }
.rs-feature-one .rs-feature-item::before { color: rgba(181,2,26,.06); }
.rs-feature-one .rs-feature-item .hd-card-link { display:inline-flex; gap:6px; align-items:center; margin-top:14px; font-weight:600; color: var(--hd-primary); }
.rs-feature-one .rs-feature-item:hover .hd-card-link { color:#fff; }

/* about wide thumb */
.rs-about-one .rs-about-bg-thumb { background-position: center 70%; }

/* counters */
.rs-counter-one .rs-counter-number-wrapper .prefix { color: var(--hd-red); }

/* services tabs – 8 items */
.rs-services-one .rs-services-tab .nav-link { text-align: start; }
.rs-services-one .rs-services-tab-content-thumb img { width: 100%; aspect-ratio: 770/610; object-fit: cover; }
.rs-services-tab-list ul li::before { color: var(--hd-red) !important; }

/* work steps with icon fonts */
.rs-work-step-one .rs-work-step-icon i { font-size: 54px; color: var(--hd-primary); line-height: 1; }
.rs-work-step-one .rs-work-step-item { height: 100%; }

/* portfolio slider */
.rs-portfolio-one .rs-portfolio-thumb img { width: 100%; aspect-ratio: 768/884; object-fit: cover; }

/* CTA band */
.rs-cta-one .rs-cta-bg { background-color: var(--hd-primary); }
.rs-cta-one .rs-cta-wrapper { background: linear-gradient(120deg, var(--hd-red) 0%, var(--hd-red-dark) 55%, var(--hd-navy) 100%); }

/* brand / client logos */
.rs-brand-item .rs-brand-thumb img, .hd-client-logo img { mix-blend-mode: multiply; max-height: 78px; width: auto; }
.rs-brand-one .rs-brand-item { background: #fff; }
.hd-client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hd-client-logo {
  background: #fff; border: 1px solid rgba(11,42,91,.08); height: 118px;
  display: flex; align-items: center; justify-content: center; padding: 12px; transition: all .3s ease;
}
.hd-client-logo:hover { border-color: var(--hd-primary); box-shadow: 0 12px 30px rgba(11,42,91,.08); transform: translateY(-3px); }
@media (max-width: 1199px) { .hd-client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .hd-client-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .hd-client-logo{height:90px} .hd-client-logo img{max-height:62px} }
@media (max-width: 420px) { .hd-client-grid { grid-template-columns: repeat(2, 1fr); } }

/* contact section (home) */
.rs-contact-one .rs-contact-bg { background: radial-gradient(circle at 20% 20%, rgba(181,2,26,.28), transparent 50%), radial-gradient(circle at 80% 80%, rgba(26,155,224,.16), transparent 45%); }
.rs-contact-icon i { font-size: 26px; color: #fff; line-height: 1; }
.rs-contact-one .rs-contact-form-bg-thumb { display: none; }
.rs-contact-input select, .rs-contact-input .nice-select { width: 100%; }
.ajax-response { margin: 14px 0 0; font-weight: 500; }
.ajax-response.success { color: var(--hd-green); }
.ajax-response.error { color: var(--hd-red); }

/* ---------- Breadcrumb ---------- */
.rs-breadcrumb-one .rs-breadcrumb-bg::before, .hd-bc-overlay::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,28,62,.92) 0%, rgba(7,28,62,.72) 55%, rgba(7,28,62,.45) 100%);
}
.rs-breadcrumb-one .rs-breadcrumb-bg { background-size: cover; background-position: center; }
.rs-breadcrumb-one .rs-breadcrumb-title { color: #fff; }
.rs-breadcrumb-menu ul li span, .rs-breadcrumb-menu ul li a { color: rgba(255,255,255,.88); }
.rs-breadcrumb-menu ul li a:hover { color: var(--hd-red-light); }
.hd-bc-sub { color: rgba(255,255,255,.85); max-width: 640px; margin: 14px 0 0; font-size: 18px; }

/* ---------- Footer ---------- */
.rs-footer-bg-thumb-wrapper { background: var(--hd-navy-deep); position: relative; }
.rs-footer-bg-thumb-wrapper .rs-footer-bg-thumb { opacity: .08; }
.rs-footer-two { background: transparent; }
.rs-footer-stroke-text.has-theme-orange { -webkit-text-stroke-color: var(--hd-red-light) !important; }
.rs-subscribe-one .rs-subscribe-logo img { height: 82px; width: auto; max-width: 100%; }
.hd-footer-cta { display:flex; align-items:center; justify-content: flex-end; gap: 20px 30px; flex-wrap: wrap; }
.hd-footer-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 18px; max-width: 420px; }
.hd-footer-cta .hd-big-phone { color:#fff; font-size: 26px; font-weight: 700; display:flex; align-items:center; gap:10px; white-space: nowrap; }
.hd-footer-cta .hd-big-phone i { color: var(--hd-red-light); }
.hd-footer-cta .hd-big-phone:hover { color: var(--hd-red-light); }
@media (max-width: 991px){ .hd-footer-cta { justify-content: flex-start; } .rs-subscribe-one .rs-subscribe-logo { text-align:left; } }
.rs-footer-widget-links ul li a { color: rgba(255,255,255,.72); }
.rs-footer-two .rs-footer-widget-description, .rs-footer-two p { color: rgba(255,255,255,.72); }
.hd-footer-list li { display: flex; gap: 10px; color: rgba(255,255,255,.75); margin-bottom: 12px; list-style: none; }
.hd-footer-list li i { color: var(--hd-red-light); margin-top: 4px; }
.hd-footer-list li a { color: rgba(255,255,255,.85); }
.hd-footer-list li a:hover { color: var(--hd-red-light); }
.rs-footer-copyright p, .rs-footer-copyright a { color: rgba(255,255,255,.7); }
.hd-tagline { color: var(--hd-red-light); font-weight: 600; letter-spacing: .02em; }

/* ---------- Generic helpers ---------- */
.hd-img-frame { position: relative; overflow: hidden; }
.hd-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hd-rounded { border-radius: 6px; }
.hd-shadow { box-shadow: 0 20px 50px rgba(11,42,91,.12); }
.hd-lead { font-size: 19px; color: var(--hd-navy); font-weight: 500; }
.hd-muted { color: var(--rs-text-primary); }
.hd-check-list { margin: 0; padding: 0; }
.hd-check-list li { list-style: none; position: relative; padding-left: 32px; margin-bottom: 12px; }
.hd-check-list li::before {
  content: "\eb80"; font-family: "remixicon"; position: absolute; left: 0; top: 0;
  color: var(--hd-red); font-size: 21px; line-height: 1.3;
}
.hd-check-list.two-col { columns: 2; column-gap: 30px; }
.hd-check-list.two-col li { break-inside: avoid; }
@media (max-width: 575px) { .hd-check-list.two-col { columns: 1; } }

.hd-pill { display:inline-block; font-size: 13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color: var(--hd-primary); background: rgba(181,2,26,.08); padding: 6px 14px; border-radius: 30px; }

/* Icon cards (industries / strengths) */
.hd-icon-card {
  background: #fff; border: 1px solid rgba(11,42,91,.08); padding: 34px 30px; height: 100%;
  position: relative; transition: all .35s ease; overflow: hidden;
}
.hd-icon-card::after { content:""; position:absolute; left:0; bottom:0; height:3px; width:0; background: linear-gradient(90deg,var(--hd-red),var(--hd-blue)); transition: width .4s ease; }
.hd-icon-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(11,42,91,.10); }
.hd-icon-card:hover::after { width: 100%; }
.hd-icon-card .hd-ic {
  width: 66px; height: 66px; display:flex; align-items:center; justify-content:center; font-size: 30px;
  color: #fff; background: linear-gradient(135deg, var(--hd-red), var(--hd-red-dark));
  clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%); margin-bottom: 22px;
}
.hd-icon-card.green .hd-ic { background: linear-gradient(135deg, var(--hd-blue), var(--hd-sky)); }
.hd-icon-card h5 { margin-bottom: 10px; }
.hd-icon-card p { margin: 0; }
.hd-icon-card .hd-num { position: absolute; right: 22px; top: 16px; font-size: 44px; font-weight: 700; color: rgba(181,2,26,.08); line-height: 1; }
.hd-dark .hd-icon-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.hd-dark .hd-icon-card h5 { color:#fff; }
.hd-dark .hd-icon-card p { color: rgba(255,255,255,.75); }

/* Industry card with image */
.hd-industry-card { background:#fff; height:100%; border:1px solid rgba(11,42,91,.08); transition: all .35s ease; }
.hd-industry-card:hover { box-shadow: 0 24px 50px rgba(11,42,91,.10); transform: translateY(-4px); }
.hd-industry-card .hd-ind-body { padding: 26px 26px 30px; position: relative; }
.hd-industry-card .hd-ind-icon { position:absolute; top:-30px; right:24px; width:60px; height:60px; background: var(--hd-red); color:#fff; display:flex; align-items:center; justify-content:center; font-size: 28px; }
.hd-industry-card img { width:100%; aspect-ratio: 16/10; object-fit: cover; }

/* Dark section */
.hd-dark { background: var(--hd-navy-deep); position: relative; }
.hd-dark .rs-section-title, .hd-dark h2, .hd-dark h3, .hd-dark h4 { color: #fff; }
.hd-dark p { color: rgba(255,255,255,.78); }
.hd-dark-bg-img { position:absolute; inset:0; background-size: cover; background-position:center; opacity:.12; }

/* Borehole steps */
.hd-steps { counter-reset: hdstep; }
.hd-step { display:flex; gap: 22px; padding: 22px 0; border-bottom: 1px dashed rgba(11,42,91,.15); }
.hd-step:last-child { border-bottom: 0; }
.hd-step .hd-step-no {
  flex: 0 0 58px; height: 58px; background: var(--hd-navy); color:#fff; font-weight:700; font-size: 20px;
  display:flex; align-items:center; justify-content:center; clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%);
}
.hd-step:nth-child(even) .hd-step-no { background: var(--hd-primary); }
.hd-step h5 { margin-bottom: 6px; }
.hd-step p { margin: 0; }
.hd-infographic { background:#fff; padding: 14px; box-shadow: 0 25px 60px rgba(11,42,91,.12); }
.hd-infographic img { width: 100%; }

/* Why choose – video thumb */
.rs-why-choose-one .rs-why-choose-thumb img { width: 100%; aspect-ratio: 600/600; object-fit: cover; }
.rs-why-choose-one .rs-why-choose-small-thumb img { width: 100%; aspect-ratio: 300/300; object-fit: cover; }
.rs-why-choose-icon i { font-size: 30px; color: #fff; }
.hd-why-list .rs-why-choose-icon { background: var(--hd-primary); }

/* FAQ image */
.rs-faq-two .rs-faq-thumb img { width: 100%; object-fit: cover; max-height: 640px; }

/* Service details */
.rs-services-details-thumb img { width: 100%; aspect-ratio: 898/468; object-fit: cover; }
.hd-detail-figure { margin: 30px 0; }
.hd-detail-figure img { width: 100%; border: 1px solid rgba(11,42,91,.08); background:#fff; }
.hd-detail-figure figcaption { font-size: 14px; color: var(--rs-text-primary); margin-top: 8px; }
.hd-spec-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 34px; }
.hd-spec { background: var(--hd-tint); padding: 22px 20px; border-left: 3px solid var(--hd-primary); }
.hd-spec strong { display:block; font-size: 26px; color: var(--hd-navy); line-height: 1.2; }
.hd-spec span { font-size: 15px; color: var(--rs-text-primary); }
@media (max-width: 767px) { .hd-spec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .hd-spec-grid { grid-template-columns: 1fr; } }
.hd-method-card { border:1px solid rgba(11,42,91,.1); padding: 24px; height:100%; background:#fff; }
.hd-method-card h6 { color: var(--hd-primary); margin-bottom: 8px; }
.hd-method-card p { margin: 0; font-size: 16px; }
.sidebar-widget.widget-categories-two ul li.active a { background: var(--hd-primary); color:#fff; }
.sidebar-widget.widget-categories-two ul li.active a i { color: #fff; }
.hd-sidebar-contact { background: var(--hd-navy-deep); padding: 34px 30px; color:#fff; }
.hd-sidebar-contact h5 { color:#fff; margin-bottom: 14px; }
.hd-sidebar-contact p { color: rgba(255,255,255,.78); }
.hd-sidebar-contact a.hd-phone { display:flex; gap:10px; align-items:center; color:#fff; font-size: 20px; font-weight:700; margin-top: 10px; }
.hd-sidebar-contact a.hd-phone i { color: var(--hd-red-light); }
.hd-note { background: #FFF8E6; border-left: 3px solid #E5A100; padding: 16px 20px; font-size: 15px; margin: 24px 0; }
.hd-video-card { position: relative; background: #000; max-width: 380px; margin: 0 auto; box-shadow: 0 25px 60px rgba(11,42,91,.2); }
.hd-video-card video { width: 100%; display:block; aspect-ratio: 478/850; object-fit: cover; }

/* Projects table */
.hd-table-wrap { overflow-x: auto; background:#fff; border:1px solid rgba(11,42,91,.08); }
.hd-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.hd-table th { background: var(--hd-navy); color: #fff; font-weight: 600; padding: 16px 18px; text-align: left; font-size: 16px; }
.hd-table td { padding: 14px 18px; border-bottom: 1px solid rgba(11,42,91,.07); font-size: 16px; color: var(--rs-text-primary); }
.hd-table tr:nth-child(even) td { background: var(--hd-tint); }
.hd-table td:first-child { color: var(--hd-primary); font-weight: 700; width: 70px; }
.hd-table td strong { color: var(--hd-navy); font-weight: 600; }

/* Gallery */
.hd-filter { display:flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.hd-filter button { border: 1px solid rgba(11,42,91,.15); background:#fff; padding: 10px 22px; font-weight: 600; color: var(--hd-navy); transition: all .3s ease; }
.hd-filter button.active, .hd-filter button:hover { background: var(--hd-primary); border-color: var(--hd-primary); color:#fff; }
.hd-gallery { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hd-gallery .hd-g-item { position: relative; overflow: hidden; background: #eef3f9; }
.hd-gallery .hd-g-item.hide { display: none; }
.hd-gallery .hd-g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s ease; }
.hd-gallery .hd-g-item.contain img { object-fit: contain; background:#fff; }
.hd-gallery .hd-g-item:hover img { transform: scale(1.06); }
.hd-gallery .hd-g-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color:#fff; font-weight: 600;
  background: linear-gradient(0deg, rgba(7,28,62,.9), transparent); font-size: 16px; pointer-events: none;
}
.hd-gallery .hd-g-zoom { position:absolute; top:14px; right:14px; width:42px; height:42px; background: var(--hd-primary); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; transition: all .3s ease; }
.hd-gallery .hd-g-item:hover .hd-g-zoom { opacity:1; }
@media (max-width: 991px) { .hd-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hd-gallery { grid-template-columns: 1fr; } }

/* Mission / vision cards */
.hd-mv-card { background:#fff; padding: 40px 36px; height:100%; border-top: 4px solid var(--hd-primary); box-shadow: 0 20px 50px rgba(11,42,91,.07); }
.hd-mv-card.green { border-top-color: var(--hd-blue); }
.hd-mv-card .hd-ic { font-size: 40px; color: var(--hd-primary); margin-bottom: 14px; display:block; }
.hd-mv-card.green .hd-ic { color: var(--hd-blue); }

/* Certificates */
.hd-cert { background:#fff; padding: 16px; border: 1px solid rgba(11,42,91,.08); text-align: center; height: 100%; }
.hd-cert img { max-height: 300px; width:auto; max-width: 100%; }
.hd-cert h6 { margin-top: 14px; margin-bottom: 0; }

/* Contact page cards */
.hd-contact-card { background:#fff; border:1px solid rgba(11,42,91,.08); padding: 36px 30px; height: 100%; text-align: center; transition: all .3s ease; }
.hd-contact-card:hover { box-shadow: 0 24px 50px rgba(11,42,91,.1); transform: translateY(-4px); }
.hd-contact-card .hd-ic { width:74px; height:74px; margin: 0 auto 20px; border-radius:50%; background: rgba(181,2,26,.1); color: var(--hd-primary); display:flex; align-items:center; justify-content:center; font-size: 32px; }
.hd-contact-card h5 { margin-bottom: 12px; }
.hd-contact-card p, .hd-contact-card a { display:block; color: var(--rs-text-primary); margin: 0 0 4px; }
.hd-contact-card a:hover { color: var(--hd-primary); }
.hd-map iframe { width: 100%; height: 460px; border: 0; display:block; filter: saturate(.9); }
.hd-form-box { background:#fff; padding: 50px; box-shadow: 0 25px 60px rgba(11,42,91,.10); }
@media (max-width: 575px) { .hd-form-box { padding: 28px 20px; } }
.hd-form-box .rs-contact-input input, .hd-form-box .rs-contact-input textarea, .hd-form-box .nice-select { background: var(--hd-tint); border: 1px solid rgba(11,42,91,.08); }

/* Floating action buttons */
.hd-float { position: fixed; right: 20px; bottom: 96px; z-index: 98; display:flex; flex-direction: column; gap: 12px; }
.hd-float a { width: 54px; height: 54px; border-radius: 50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size: 26px; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: transform .3s ease; }
.hd-float a:hover { transform: scale(1.08); color:#fff; }
.hd-float .wa { background: #25D366; }
.hd-float .call { background: var(--hd-red); }
@media (min-width: 992px) { .hd-float .call { display:none; } }

/* 404 */
.hd-404 h1 { font-size: 150px; line-height: 1; color: var(--hd-primary); }
@media (max-width: 575px) { .hd-404 h1 { font-size: 96px; } }

/* Video popup */
.hd-video-pop { max-width: 440px; margin: 0 auto; position: relative; }
.hd-video-pop video { width: 100%; max-height: 86vh; background: #000; display:block; }
.hd-video-pop .mfp-close { color:#fff; right:-6px; top:-44px; }

/* misc responsiveness */
img { max-width: 100%; }
@media (max-width: 767px) {
  .rs-section-title { font-size: 32px; line-height: 1.25; }
  .section-space { padding-top: 70px; padding-bottom: 70px; }
}
.rs-preloader-logo, #pre-load .loader-icon img { width: 60px; height: auto; }

/* counters: keep numbers on one line */
.rs-counter-one .rs-counter-number-wrapper { white-space: nowrap; display: flex; align-items: baseline; }
.rs-counter-one .rs-counter-number, .rs-counter-one .prefix { font-size: 72px; }
@media (max-width: 1399px) { .rs-counter-one .rs-counter-number, .rs-counter-one .prefix { font-size: 58px; } }
@media (max-width: 767px) { .rs-counter-one .rs-counter-number, .rs-counter-one .prefix { font-size: 48px; } }

/* enquiry form on brand-blue panel */
.rs-contact-one .rs-contact-form { background: linear-gradient(160deg, var(--hd-red) 0%, var(--hd-red-dark) 100%); }
.rs-contact-one .rs-contact-input .nice-select {
  width: 100%; height: 52px; line-height: 50px; padding: 0 25px; border-radius: 2px; float: none;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); font-size: 16px;
}
.rs-contact-one .rs-contact-input .nice-select::after { border-color: #fff; }
.rs-contact-one .rs-contact-input .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }
.rs-contact-one .rs-contact-input .nice-select .option { color: var(--hd-navy); line-height: 40px; min-height: 40px; }
.rs-contact-one .ajax-response.success { color: #fff; }
.rs-contact-one .ajax-response.error { color: #FFE0E0; }
.rs-cta-one .rs-btn.has-white { background: #fff !important; color: var(--hd-navy) !important; }
.rs-cta-one .rs-btn.has-white:hover { color: #fff !important; }

/* stand-alone form box (contact / service pages) */
.hd-form-box .rs-contact-form-title { font-size: 32px; margin-bottom: 8px; }
.hd-form-box .descrip { margin-bottom: 26px; }
.hd-form-box .rs-contact-input input, .hd-form-box .rs-contact-input textarea {
  width: 100%; height: 54px; padding: 0 20px; outline: 0; border-radius: 2px;
  background: var(--hd-tint); border: 1px solid rgba(11,42,91,.10); color: var(--hd-navy);
}
.hd-form-box .rs-contact-input textarea { height: 140px; padding: 15px 20px; resize: vertical; }
.hd-form-box .rs-contact-input input:focus, .hd-form-box .rs-contact-input textarea:focus { border-color: var(--hd-primary); background: #fff; }
.hd-form-box .rs-contact-input .nice-select { width: 100%; height: 54px; line-height: 52px; padding: 0 20px; float: none; background: var(--hd-tint); border: 1px solid rgba(11,42,91,.10); border-radius: 2px; font-size: 16px; color: var(--hd-navy); }
.hd-form-box .rs-contact-input .nice-select .list { width: 100%; max-height: 260px; overflow-y: auto; }

/* approach (history) tabs on photo background */
.rs-history-one { position: relative; }
.rs-history-one .rs-history-bg-thumb::after { content: ""; position: absolute; inset: 0; background: rgba(242,247,252,.94); }
.rs-history-one .container { position: relative; z-index: 2; }
.rs-history-one .rs-history-tab-content p { color: var(--rs-text-primary); }

/* equal-height service cards */
.rs-services-three .rs-services-wrapper, .rs-services-three .rs-services-item { height: 100%; }
.rs-services-three .rs-services-item { display: flex; flex-direction: column; }
.rs-services-three .rs-services-content { flex: 1; display: flex; flex-direction: column; }
.rs-services-three .rs-services-btn-wrapper { margin-top: auto; }

/* progress label wrap */
.rs-why-choose-progress .progress-top { flex-wrap: wrap; gap: 4px 16px; }
/* project table on phones */
@media (max-width: 575px) {
  .hd-table { min-width: 0; }
  .hd-table thead { display: none; }
  .hd-table tr { display: grid; grid-template-columns: 46px 1fr; border-bottom: 1px solid rgba(11,42,91,.07); }
  .hd-table tr:nth-child(even) { background: var(--hd-tint); }
  .hd-table td { border: 0; padding: 12px 10px 4px; background: transparent !important; }
  .hd-table td:first-child { grid-row: span 2; padding-top: 12px; width: auto; }
  .hd-table td:nth-child(3) { grid-column: 2; padding-top: 0; padding-bottom: 12px; font-size: 14px; }
}
@media (max-width: 575px) { .hd-float { right: 14px; bottom: 84px; } .hd-float a { width: 48px; height: 48px; font-size: 23px; } }

/* ---- red theme refinements ---- */
.rs-contact-one .rs-contact-form .rs-btn.hd-btn-green { background: var(--hd-navy) !important; }
.rs-contact-one .rs-contact-form .rs-btn.hd-btn-green:hover { background: #fff !important; color: var(--hd-red) !important; }
.rs-banner-one .rs-banner-navigation .rs-swiper-btn { background: var(--hd-red); }
.hd-dark .hd-icon-card .hd-ic { background: linear-gradient(135deg, var(--hd-red), var(--hd-red-dark)); }
.hd-dark .hd-icon-card.green .hd-ic { background: linear-gradient(135deg, var(--hd-blue), var(--hd-sky)); }
.rs-why-choose-progress .progress-bar { background: linear-gradient(90deg, var(--hd-red), var(--hd-blue)) !important; }
.hd-step:nth-child(even) .hd-step-no { background: var(--hd-red); }

/* drilling in action showcase */
.hd-showcase-img { position: relative; }
.hd-showcase-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%); }
.hd-showcase-badge { position: absolute; left: -12px; bottom: 28px; background: var(--hd-red); color: #fff; padding: 16px 22px; box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.hd-showcase-badge strong { display: block; font-size: 30px; line-height: 1.1; }
.hd-showcase-badge span { font-size: 14px; opacity: .9; }
@media (max-width: 575px) { .hd-showcase-badge { left: 0; } }
.hd-reel { position: relative; max-width: 330px; margin: 0 auto; border: 6px solid #fff; box-shadow: 0 25px 60px rgba(11,42,91,.22); background: #000; }
.hd-reel video { display: block; width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.hd-reel-btn { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; background: var(--hd-red); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 16px; display: inline-flex; gap: 6px; align-items: center; }
.hd-reel-btn:hover { color: #fff; background: var(--hd-navy); }
.hd-btn-green .icon-box i { font-size: 18px; }

/* hide desktop nav below 1200px (mobile menu lives in the off-canvas panel) */
@media (max-width: 1199px) { .rs-header-one .rs-header-menu .main-menu { display: none !important; } .rs-header-one .rs-header-menu { padding: 0; margin-inline-end: auto; } }

/* =================== v4 premium homepage components =================== */
/* hero quick facts */
.hd-facts-wrap { position: relative; z-index: 5; margin-top: -58px; }
.hd-facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 25px 60px rgba(11,42,91,.14); border-top: 4px solid var(--hd-red); }
.hd-fact { display: flex; gap: 16px; align-items: center; padding: 26px 26px; border-right: 1px solid rgba(11,42,91,.08); }
.hd-fact:last-child { border-right: 0; }
.hd-fact-ic { flex: 0 0 54px; height: 54px; border-radius: 50%; background: rgba(181,2,26,.08); color: var(--hd-red); display: flex; align-items: center; justify-content: center; font-size: 25px; }
.hd-fact strong { display: block; font-size: 20px; color: var(--hd-navy); line-height: 1.2; }
.hd-fact span { font-size: 14.5px; color: var(--rs-text-primary); }
@media (max-width: 1199px) { .hd-facts { grid-template-columns: repeat(2, 1fr); } .hd-fact:nth-child(2) { border-right: 0; } .hd-fact:nth-child(-n+2) { border-bottom: 1px solid rgba(11,42,91,.08); } }
@media (max-width: 575px) { .hd-facts-wrap { margin-top: -30px; } .hd-fact { padding: 18px 14px; gap: 10px; } .hd-fact-ic { flex-basis: 40px; height: 40px; font-size: 19px; } .hd-fact strong { font-size: 16px; } .hd-fact span { font-size: 12.5px; } }

/* about v2 */
.hd-about-media { position: relative; padding: 0 70px 70px 0; }
.hd-about-main img { width: 100%; aspect-ratio: 1/1.02; object-fit: cover; clip-path: polygon(0 0, 86% 0, 100% 14%, 100% 100%, 0 100%); }
.hd-about-inset { position: absolute; right: 0; bottom: 0; width: 46%; border: 8px solid #fff; box-shadow: 0 25px 60px rgba(11,42,91,.2); }
.hd-about-inset img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; display: block; }
.hd-about-badge { position: absolute; left: -18px; bottom: 110px; background: var(--hd-red); color: #fff; padding: 22px 26px; display: flex; align-items: center; gap: 12px; box-shadow: 0 20px 40px rgba(181,2,26,.35); }
.hd-about-badge strong { font-size: 54px; line-height: 1; font-weight: 700; }
.hd-about-badge sup { font-size: 26px; top: -1.1em; }
.hd-about-badge span { font-size: 15px; line-height: 1.3; font-weight: 600; }
.hd-about-iso { position: absolute; left: 22px; top: 22px; background: rgba(7,28,62,.88); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 14px; display: inline-flex; gap: 8px; align-items: center; }
.hd-about-iso i { color: var(--hd-red-light); font-size: 18px; }
.hd-hl { display: flex; gap: 14px; padding: 18px; background: var(--hd-tint); height: 100%; border-left: 3px solid var(--hd-red); }
.hd-hl-ic { flex: 0 0 44px; height: 44px; background: #fff; color: var(--hd-red); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 16px rgba(11,42,91,.08); }
.hd-hl h6 { margin: 0 0 4px; font-size: 17px; }
.hd-hl p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.hd-about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hd-about-call { display: flex; align-items: center; gap: 12px; color: var(--hd-navy); }
.hd-about-call span { width: 52px; height: 52px; border-radius: 50%; background: var(--hd-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; animation: hdPulse 2s infinite; }
.hd-about-call small { display: block; font-size: 13px; color: var(--rs-text-primary); }
.hd-about-call strong { font-size: 20px; }
@keyframes hdPulse { 0% { box-shadow: 0 0 0 0 rgba(11,42,91,.45); } 70% { box-shadow: 0 0 0 14px rgba(11,42,91,0); } 100% { box-shadow: 0 0 0 0 rgba(11,42,91,0); } }
@media (max-width: 575px) { .hd-about-media { padding: 0 30px 40px 0; } .hd-about-badge { left: -6px; bottom: 60px; padding: 14px 16px; } .hd-about-badge strong { font-size: 38px; } .hd-about-iso { font-size: 12px; left: 10px; top: 10px; } }

/* service cards */
.hd-svc-card { display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: 0 10px 30px rgba(11,42,91,.06); transition: transform .35s ease, box-shadow .35s ease; color: inherit; position: relative; overflow: hidden; }
.hd-svc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(11,42,91,.14); color: inherit; }
.hd-svc-img { overflow: hidden; aspect-ratio: 16/10; background: #EEF3F9; }
.hd-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hd-svc-img.is-illus img { object-fit: cover; object-position: center 35%; }
.hd-svc-card:hover .hd-svc-img img { transform: scale(1.07); }
.hd-svc-body { position: relative; padding: 38px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.hd-svc-ic { position: absolute; top: -32px; left: 28px; width: 64px; height: 64px; background: var(--hd-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%); transition: background .3s ease; }
.hd-svc-card:hover .hd-svc-ic { background: var(--hd-navy); }
.hd-svc-no { position: absolute; top: 14px; right: 24px; font-size: 40px; font-weight: 700; color: rgba(11,42,91,.07); line-height: 1; }
.hd-svc-body h5 { font-size: 21px; line-height: 1.3; margin-bottom: 10px; }
.hd-svc-body p { font-size: 15.5px; margin-bottom: 18px; }
.hd-svc-more { margin-top: auto; font-weight: 600; color: var(--hd-red); display: inline-flex; align-items: center; gap: 6px; }
.hd-svc-more i { transition: transform .3s ease; }
.hd-svc-card:hover .hd-svc-more i { transform: translateX(5px); }
.hd-svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--hd-red), var(--hd-blue)); transition: width .45s ease; }
.hd-svc-card:hover::after { width: 100%; }

/* stats band */
.hd-stats-band { position: relative; padding: 70px 0; background: linear-gradient(115deg, var(--hd-red) 0%, var(--hd-red-dark) 45%, var(--hd-navy) 100%); overflow: hidden; }
.hd-stats-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; mix-blend-mode: luminosity; }
.hd-stats-band .container { position: relative; }
.hd-stat { text-align: center; color: #fff; padding: 10px; }
.hd-stat > i { font-size: 38px; color: rgba(255,255,255,.85); display: inline-block; margin-bottom: 8px; }
.hd-stat-num { display: flex; justify-content: center; align-items: baseline; font-size: 56px; font-weight: 700; line-height: 1.1; color: #fff; }
.hd-stat-num em { font-style: normal; font-size: 36px; margin-left: 2px; }
.hd-stat p { color: rgba(255,255,255,.88); margin: 6px 0 0; font-weight: 500; }
@media (max-width: 991px) { .hd-stat-num { font-size: 42px; } .hd-stat-num em { font-size: 26px; } }
@media (max-width: 575px) { .hd-stats-band { padding: 46px 0; } .hd-stat-num { font-size: 34px; } .hd-stat p { font-size: 14px; } .hd-stat > i { font-size: 28px; } }

/* showcase v2 (dark) */
.hd-showcase2 .rs-section-title { color: #fff; }
.hd-check-white li { color: rgba(255,255,255,.9); }
.hd-check-white li::before { color: var(--hd-red-light) !important; }
.hd-media-pair { display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; align-items: end; }
.hd-media-photo { position: relative; }
.hd-media-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; }
.hd-media-pair .hd-reel { max-width: none; margin: 0 0 40px; border-color: rgba(255,255,255,.12); }
@media (max-width: 575px) { .hd-media-pair { grid-template-columns: 1fr; } .hd-media-pair .hd-reel { max-width: 300px; margin: 0 auto; } }

/* CTA banner */
.hd-cta-banner { position: relative; padding: 90px 0; background: var(--hd-navy-deep); overflow: hidden; }
.hd-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; }
.hd-cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(142,1,20,.94) 0%, rgba(142,1,20,.82) 45%, rgba(7,28,62,.75) 100%); }
.hd-cta-banner h2 { color: #fff; font-size: 44px; line-height: 1.2; }
.hd-cta-banner p { color: rgba(255,255,255,.88); font-size: 18px; margin: 14px 0 0; max-width: 620px; }
.hd-pill-light { background: rgba(255,255,255,.14); color: #fff; }
.hd-cta-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 992px) { .hd-cta-actions { align-items: flex-end; } }
.hd-cta-phone { color: #fff; font-size: 24px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }
.hd-cta-phone:hover { color: #fff; opacity: .85; }
.hd-cta-banner .rs-btn.has-white { background: #fff !important; color: var(--hd-red) !important; }
@media (max-width: 767px) { .hd-cta-banner { padding: 60px 0; } .hd-cta-banner h2 { font-size: 30px; } }

/* industries v2 */
.hd-ind2 { background: #fff; height: 100%; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(11,42,91,.06); transition: transform .35s ease, box-shadow .35s ease; }
.hd-ind2:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(11,42,91,.12); }
.hd-ind2-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hd-ind2-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s ease; }
.hd-ind2:hover .hd-ind2-img img { transform: scale(1.06); }
.hd-ind2-img span { position: absolute; left: 18px; bottom: -22px; width: 48px; height: 48px; background: var(--hd-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hd-ind2-body { padding: 34px 22px 24px; }
.hd-ind2-body h5 { font-size: 19px; margin-bottom: 8px; }
.hd-ind2-body p { font-size: 15px; margin: 0; }
.hd-ind2-cta { background: linear-gradient(145deg, var(--hd-red), var(--hd-navy)); color: #fff; padding: 34px 26px; justify-content: center; }
.hd-ind2-cta i { font-size: 44px; color: #fff; }
.hd-ind2-cta h5 { color: #fff; margin: 14px 0 8px; }
.hd-ind2-cta p { color: rgba(255,255,255,.85); }
.hd-ind2-cta .rs-btn.has-white { background: #fff !important; color: var(--hd-red) !important; align-self: flex-start; margin-top: 10px; }

/* credentials */
.hd-trust-box { background: #fff; border: 1px solid rgba(11,42,91,.08); box-shadow: 0 20px 50px rgba(11,42,91,.07); padding: 40px; border-top: 4px solid var(--hd-red); }
.hd-cred { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--hd-tint); padding: 18px; height: 100%; color: var(--hd-navy); font-weight: 700; font-size: 15.5px; line-height: 1.35; }
.hd-cred img { height: 130px; width: auto; object-fit: contain; box-shadow: 0 8px 20px rgba(11,42,91,.12); background: #fff; }
.hd-cred small { font-weight: 500; color: var(--rs-text-primary); font-size: 13px; }
.hd-cred-plain i { font-size: 64px; color: var(--hd-red); line-height: 130px; height: 130px; }
@media (max-width: 575px) { .hd-trust-box { padding: 24px 18px; } }

/* generic figure variants */
.hd-figure-sm { max-width: 460px; margin: 30px auto; }
.hd-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; margin: 30px 0; }
.hd-pair figure { margin: 0; }
.hd-pair img { width: 100%; border: 1px solid rgba(11,42,91,.08); background: #fff; }
.hd-pair figcaption { font-size: 14px; color: var(--rs-text-primary); margin-top: 8px; }
@media (max-width: 767px) { .hd-pair { grid-template-columns: 1fr; } }
.hd-detail-figure img[src$=".svg"], .hd-pair img[src$=".svg"] { background: #fff; }

/* approach tabs – balanced two-column layout */
.rs-history-one .rs-history-tab-item { display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; background: #fff; padding: 26px; box-shadow: 0 20px 50px rgba(11,42,91,.08); }
.rs-history-one .rs-history-tab-thumb, .rs-history-one .rs-history-tab-content { width: auto !important; max-width: none !important; margin: 0 !important; position: static !important; }
.rs-history-one .rs-history-tab-thumb img { aspect-ratio: 4/3 !important; }
.rs-history-one .rs-history-tab-title { font-size: 26px; margin-bottom: 12px; }
@media (max-width: 767px) { .rs-history-one .rs-history-tab-item { grid-template-columns: 1fr; gap: 18px; padding: 16px; } }
@media (max-width: 575px) { .rs-why-choose-progress .progress-top { flex-direction: column; align-items: flex-start; } .rs-banner-one .rs-feature-video { display: none; } }

/* ================= v5 homepage refinements ================= */
/* hero: full-width image, no side strip */
.rs-banner-one .rs-banner-bg-thumb { width: 100% !important; inset-inline-end: 0; }
.rs-banner-one .rs-banner-item-wrapper { padding-inline-start: 0 !important; }
@media (min-width: 1200px) { .rs-banner-one .rs-banner-item-wrapper { padding-top: 150px !important; padding-bottom: 190px !important; } }
.rs-banner-one .rs-banner-navigation { inset-inline-end: 60px !important; }
.rs-banner-one .rs-banner-navigation .rs-swiper-btn { width: 54px; height: 54px; background: rgba(255,255,255,.14); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.rs-banner-one .rs-banner-navigation .rs-swiper-btn:hover { background: var(--hd-red); border-color: var(--hd-red); }

/* process (Our Approach) */
.hd-process { background: var(--hd-tint); position: relative; }
.hd-proc-row { position: relative; }
@media (min-width: 1200px) { .hd-proc-row::before { content: ""; position: absolute; left: 12%; right: 12%; top: 58px; border-top: 2px dashed rgba(181,2,26,.35); } }
.hd-proc { position: relative; background: #fff; padding: 30px 28px 32px; height: 100%; box-shadow: 0 14px 40px rgba(11,42,91,.07); border-bottom: 3px solid transparent; transition: all .35s ease; }
.hd-proc:hover { transform: translateY(-6px); border-bottom-color: var(--hd-red); box-shadow: 0 26px 60px rgba(11,42,91,.12); }
.hd-proc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hd-proc-no { width: 58px; height: 58px; border-radius: 50%; background: var(--hd-red); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px #fff, 0 0 0 9px rgba(181,2,26,.25); position: relative; z-index: 1; }
.hd-proc:nth-child(even) .hd-proc-no { background: var(--hd-navy); }
.hd-proc-ic { font-size: 40px; color: var(--hd-navy); opacity: .9; line-height: 1; }
.hd-proc h5 { font-size: 20px; margin-bottom: 10px; }
.hd-proc p { font-size: 15.5px; margin: 0; }

/* industries: badge placement */
.hd-ind2-img span { left: auto; right: 18px; top: auto; bottom: -24px; box-shadow: 0 10px 24px rgba(181,2,26,.3); }
.hd-ind2-img img { object-position: center 40%; }

/* sliders: no partial slide bleeding at edges */
.rs-portfolio-one .rs-portfolio-slider-wrapper, .rs-brand-one .rs-brand-wrapper { overflow: hidden; }

/* subtitles on dark backgrounds */
.black-bg .rs-section-subtitle, .hd-dark .rs-section-subtitle { color: #FF8A98 !important; }
.black-bg .rs-section-subtitle svg path, .hd-dark .rs-section-subtitle svg path { fill: #FF8A98; }
.rs-banner-one .rs-banner-title { text-transform: none; }
@media (max-width: 1199px) { .rs-banner-one .rs-banner-title br { display: none; } }
.hd-why-tag { margin-top: 30px; display: inline-flex; gap: 10px; align-items: center; background: #fff; border-left: 4px solid var(--hd-red); padding: 14px 20px; font-weight: 600; color: var(--hd-navy); box-shadow: 0 10px 30px rgba(11,42,91,.07); font-size: 15.5px; line-height: 1.5; }
.hd-why-tag i { color: var(--hd-red); font-size: 22px; }

/* ===== v6: gallery tall photos + landscape videos ===== */
.hd-gallery { grid-auto-flow: dense; }
.hd-gallery .hd-g-item.tall { grid-row: span 2; }
.hd-gallery .hd-g-item.tall a { display:block; height:100%; }
.hd-gallery .hd-g-item.tall img { aspect-ratio: auto; height: 100%; object-position: center 35%; }
.hd-video-card.wide { max-width: none; }
.hd-video-card.wide video { aspect-ratio: 16/9; }
@media (max-width: 480px) {
  .hd-gallery .hd-g-item.tall { grid-row: span 1; }
  .hd-gallery .hd-g-item.tall img { aspect-ratio: 3/4; height: auto; }
}

/* ===== v6: justified body copy ===== */
main p, main li, .accordion-body, .rs-footer-area p, .offcanvas-area p {
  text-align: justify; text-justify: inter-word;
  -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word;
}
/* keep intentionally centred items centred */
main .text-center p, main p.text-center, main .text-center li,
.hd-stat p, .hd-contact-card p, .hd-cert p, .hd-cred, .hd-cta-banner p,
.hd-filter, .hd-g-cap, .hd-video-card + h5 + p { text-align: justify; text-align-last: center; }
/* short UI lists are not paragraphs – keep natural alignment */
main nav li, main .main-menu li, .rs-breadcrumb-area li, .hd-table td, .hd-table th, .nice-select li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.rs-breadcrumb-area p { text-align: justify; }
::placeholder { font-family: var(--rs-ff-body) !important; }

/* ===== v6: header MENU font only (Barlow) – headings & body unchanged ===== */
:root { --hd-ff-menu: "Barlow", "Space Grotesk", sans-serif; }
.rs-header-area .main-menu ul li a,
.rs-sticky-header .main-menu ul li a,
.offcanvas-area .mean-container .mean-nav ul li a {
  font-family: var(--hd-ff-menu); font-weight: 600; letter-spacing: .03em;
}
.rs-header-area .main-menu > ul > li > a, .rs-header-area .main-menu nav > ul > li > a,
#mobile-menu > ul > li > a, #mobile-menu-sticky > ul > li > a { font-size: 17px; }
.rs-header-area .main-menu .submenu li a { font-weight: 500; letter-spacing: .02em; }
main p.text-center { text-align: justify !important; text-align-last: center; }
