/* ============================================================
   DHANSHREE PREFAB — MOTION & POLISH LAYER
   Loaded AFTER premium.css. Extends the existing design tokens
   with: scroll-reveal choreography, cinematic hero treatments,
   micro-interactions, inner-page heroes, stat counters, CTA
   band, conversion FAB, ticker, and accessibility polish.

   Honours prefers-reduced-motion throughout.
   ============================================================ */

/* ============================================================
   T0. EXTENDED TOKENS
   ============================================================ */
:root {
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --ring: 0 0 0 3px rgba(212, 164, 55, 0.45);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-dark: rgba(6, 27, 56, 0.55);

  --shadow-glow: 0 18px 50px -12px rgba(10, 46, 92, 0.35);
  --shadow-gold: 0 12px 34px -10px rgba(212, 164, 55, 0.55);

  --nav-h: 86px;
}

/* ============================================================
   T1. SCROLL REVEAL SYSTEM
   Elements only hide when JS is confirmed alive (html.ds-js),
   so a JS failure can never blank the page.
   ============================================================ */
.ds-js [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, 32px), 0) scale(var(--rs, 1));
  transition:
    opacity 0.85s var(--ease-out-quint) var(--rd, 0ms),
    transform 0.85s var(--ease-out-quint) var(--rd, 0ms),
    filter 0.85s var(--ease-out-quint) var(--rd, 0ms);
  filter: blur(var(--rb, 0px));
  will-change: opacity, transform;
}

.ds-js [data-reveal="left"]  { --rx: -40px; --ry: 0; }
.ds-js [data-reveal="right"] { --rx: 40px;  --ry: 0; }
.ds-js [data-reveal="zoom"]  { --ry: 18px; --rs: 0.94; }
.ds-js [data-reveal="blur"]  { --ry: 20px; --rb: 10px; }
.ds-js [data-reveal="fade"]  { --ry: 0; }

.ds-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* premium.css §25 fires entrance animations on load for everything
   at once — the reveal system replaces that with scroll timing. */
.ds-js .sec-title,
.ds-js .single-service-item,
.ds-js .single-latest-project,
.ds-js .our-specialization-section .card-box .card {
  animation: none !important;
}

/* ============================================================
   T2. PAGE ENTRY
   ============================================================ */
@keyframes dsPageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ds-js body {
  animation: dsPageIn 0.5s ease both;
}

/* Scroll progress bar — premium.css §28 defines the element,
   this drives it from JS via --ds-progress. */
body::before {
  width: var(--ds-progress, 0%) !important;
  transition: width 0.12s linear !important;
  box-shadow: 0 0 12px rgba(212, 164, 55, 0.6);
}

/* ============================================================
   T3. HEADER — sticky choreography, active state, dropdowns
   ============================================================ */
#header-section {
  position: relative;
  z-index: 9000;
  will-change: transform;
}

#header-section.my-sticky {
  animation: dsHeaderDrop 0.45s var(--ease-out-quint) both;
  box-shadow: 0 8px 34px -12px rgba(10, 46, 92, 0.28) !important;
}

@keyframes dsHeaderDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* Hide on scroll-down, reveal on scroll-up (desktop only) */
@media (min-width: 769px) {
  #header-section.my-sticky.ds-hide {
    transform: translateY(-105%);
    transition: transform 0.4s var(--ease-out-quint);
    animation: none;
  }
  #header-section.my-sticky.ds-show {
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out-quint);
    animation: none;
  }
}

.navbar-box .logo img {
  transition: transform 0.45s var(--ease-spring) !important;
}
.navbar-box .logo:hover img {
  transform: scale(1.05) rotate(-1deg);
}

/* Animated underline that also marks the current page */
.header-links > a::after {
  height: 2.5px !important;
  background: linear-gradient(90deg, var(--accent), var(--accent-light)) !important;
  box-shadow: 0 1px 6px rgba(212, 164, 55, 0.55);
}

.header-links.ds-active > a {
  color: var(--primary) !important;
}
.header-links.ds-active > a::after {
  width: calc(100% - 28px) !important;
}

/* Dropdowns stay display:none until hovered — an opacity/visibility
   transition keeps closed panels in the paint tree, which stacked every
   sibling flyout on top of the open one. Entrance is a keyframe instead.
   !important throughout: header.php's inline <style> is parsed after this
   file and re-declares display for both menu levels. */
.my-dropdown .my-dropdown-box,
.my-dropdown-row .my-sub-dropdown-box {
  display: none !important;
  background: #fff !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid rgba(10, 46, 92, 0.07) !important;
  border-bottom: 3px solid var(--accent) !important;
  border-radius: 14px !important;
  padding: 8px !important;
  /* No overflow clipping: the second-level menu sits at left:100% of its
     row, so hiding overflow would cut it off entirely. */
}

.my-dropdown:hover > .my-dropdown-box,
.my-dropdown:focus-within > .my-dropdown-box {
  display: block !important;
  animation: dsMenuIn 0.24s var(--ease-out-quint) both;
}

.my-dropdown-row .my-sub-dropdown-box {
  top: 0 !important;
  margin-left: 4px;
}

.my-dropdown-row:hover > .my-sub-dropdown-box,
.my-dropdown-row:focus-within > .my-sub-dropdown-box {
  display: block !important;
  animation: dsSubMenuIn 0.24s var(--ease-out-quint) both;
}

@keyframes dsMenuIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@keyframes dsSubMenuIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: none; }
}

.header-links.my-dropdown .my-dropdown-box .my-dropdown-row a {
  border-radius: 9px !important;
  padding: 10px 14px !important;
  color: var(--text-body) !important;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s var(--ease-out-quint) !important;
  position: relative;
}

.header-links.my-dropdown .my-dropdown-box .my-dropdown-row a:hover {
  background: linear-gradient(135deg, rgba(10, 46, 92, 0.06), rgba(212, 164, 55, 0.1)) !important;
  color: var(--primary) !important;
  transform: translateX(5px);
  scale: 1 !important;
}

.header-links.my-dropdown .my-dropdown-box .my-dropdown-row a i {
  transition: transform 0.25s var(--ease-out-quint);
  color: var(--accent);
}
.my-dropdown-row:hover > a i {
  transform: translateX(4px);
}

/* "Become a partner" CTA */
#become-a-partner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  box-shadow: var(--shadow-gold) !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
  isolation: isolate;
}
#become-a-partner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-130%);
  z-index: -1;
}
#become-a-partner:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px -10px rgba(212, 164, 55, 0.7) !important;
}
#become-a-partner:hover::before {
  animation: dsShine 0.85s var(--ease-out-quint);
}

@keyframes dsShine {
  to { transform: translateX(130%); }
}

/* Hamburger → X */
.menu-toggle-btn {
  background: linear-gradient(135deg, rgba(10, 46, 92, 0.07), rgba(212, 164, 55, 0.12)) !important;
  border: 1px solid rgba(10, 46, 92, 0.08);
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}
.menu-toggle-btn:active { transform: scale(0.94); }

.menu-toggle-btn .line {
  background: var(--primary) !important;
  transition: transform 0.38s var(--ease-out-quint), opacity 0.2s ease, width 0.3s ease;
  transform-origin: center;
}
.menu-toggle-btn.ds-open .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle-btn.ds-open .line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle-btn.ds-open .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav: measured height (fixes the hard-coded 270px clip) */
@media (max-width: 768px) {
  .my-navbar {
    box-shadow: 0 24px 40px -18px rgba(10, 46, 92, 0.35);
    border-top: 1px solid var(--border-light);
    transition: height 0.45s var(--ease-out-quint) !important;
    max-height: calc(100vh - var(--nav-h));
  }
  .my-navbar .header-links {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .my-navbar.ds-open .header-links {
    opacity: 1;
    transform: none;
  }
  .my-navbar.ds-open .header-links:nth-child(1) { transition-delay: 0.06s; }
  .my-navbar.ds-open .header-links:nth-child(2) { transition-delay: 0.11s; }
  .my-navbar.ds-open .header-links:nth-child(3) { transition-delay: 0.16s; }
  .my-navbar.ds-open .header-links:nth-child(4) { transition-delay: 0.21s; }

  /* Submenus collapse on phones — showing all of them at once made the
     menu ~1500px tall. They open on tap via the .ds-sub-open class, and
     hover never opens anything here. */
  .my-dropdown .my-dropdown-box,
  .my-dropdown-row .my-sub-dropdown-box,
  .my-dropdown:hover > .my-dropdown-box,
  .my-dropdown:focus-within > .my-dropdown-box,
  .my-dropdown-row:hover > .my-sub-dropdown-box,
  .my-dropdown-row:focus-within > .my-sub-dropdown-box {
    display: block !important;
    animation: none;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid var(--accent) !important;
    border-radius: 0 !important;
    background: var(--bg-off) !important;
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    transition: max-height 0.4s var(--ease-out-quint), padding 0.3s ease;
  }

  .my-dropdown.ds-sub-open > .my-dropdown-box,
  .my-dropdown-row.ds-sub-open > .my-sub-dropdown-box {
    max-height: 1200px;
    padding: 6px 0 !important;
  }

  /* Caret flips when its branch is open */
  .header-links.my-dropdown > a,
  .my-dropdown-row > a {
    position: relative;
  }
  .my-dropdown-row.ds-sub-open > a i {
    transform: rotate(90deg);
  }
  .header-links.my-dropdown > a::before {
    content: '\f107'; /* fa-angle-down */
    font-family: FontAwesome;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    transition: transform 0.3s var(--ease-out-quint);
  }
  .header-links.my-dropdown.ds-sub-open > a::before {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* ============================================================
   T4. HOME HERO — cinematic slider
   ============================================================ */
.home-page-slider-section {
  position: relative;
  background: var(--primary-dark);
  /* style.css ships 50px of vertical padding here, which showed as navy
     bands above and below the slide. */
  padding: 0 !important;
}

/* The banner is a 2.2:1 letterbox — at phone width that collapses to a
   ~180px sliver, so crop toward the headline panel instead. */

.home-page-slider-section .owl-carousel .item {
  position: relative;
  overflow: hidden;
}

/* owl.carousel.css is never linked on this site, so the stage clips
   nothing and its height drifts a few px off the slide. Pin the hero to
   the banner's own ratio and let every owl wrapper inherit it: no navy
   sliver, no bleed from the Ken Burns zoom, no layout shift on load. */
.home-page-slider-section {
  /* width must stay definite: with `width: auto`, max-height clamps the
     height and aspect-ratio then shrinks the WIDTH to match (680 * 2.2 =
     1496px), leaving white space on any viewport wider than that. Pinned
     at 100%, the ratio only drives height and the img's object-fit crops. */
  width: 100%;
  aspect-ratio: 22 / 10;
  max-height: 680px;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.home-page-slider-section .owl-carousel,
.home-page-slider-section .owl-stage-outer,
.home-page-slider-section .owl-stage,
.home-page-slider-section .owl-item,
.home-page-slider-section .owl-carousel .item {
  height: 100%;
  line-height: 0;
  font-size: 0;
}

.home-page-slider-section .owl-carousel,
.home-page-slider-section .owl-stage-outer {
  overflow: hidden;
}

.home-page-slider-section .owl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Phone: the 2.2:1 banner collapses to a sliver, so pin a taller box and
   crop toward the headline panel baked into the right of the artwork. */
@media (max-width: 767px) {
  .home-page-slider-section {
    aspect-ratio: auto;
    height: 270px;
  }
  .home-page-slider-section .owl-item img { object-position: right center; }
  /* Ken Burns would push the slide's baked-in headline out of the crop */
  .home-page-slider-section .owl-item.active img { animation: none; }
}


/* Light vignette only — the slide artwork already carries its own
   headline, so a heavy scrim would wash it out. */
.home-page-slider-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0%, transparent 74%, rgba(6, 27, 56, 0.22) 100%);
}

/* Ken Burns on the active slide only */
.home-page-slider-section .owl-item img {
  transform: scale(1.001);
}
.home-page-slider-section .owl-item.active img {
  animation: dsKenBurns 9s ease-out both;
}

@keyframes dsKenBurns {
  from { transform: scale(1.001) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}

/* Dot rail — absolutely placed so owl's dots never add height below the
   slide (which used to leave a dark band above the trust strip). The
   active dot is a pill that fills with gold across the autoplay window. */
.home-page-slider-section .owl-dots {
  position: absolute;
  z-index: 6;
  right: max(24px, calc((100% - 1170px) / 2));
  bottom: 88px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-page-slider-section .owl-dot {
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}

.home-page-slider-section .owl-dot span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: width 0.45s var(--ease-out-quint), background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.home-page-slider-section .owl-dot:hover span { background: #fff; }

.home-page-slider-section .owl-dot.active span {
  width: 42px;
  background: rgba(255, 255, 255, 0.35);
}

.home-page-slider-section .owl-dot.active span::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform-origin: left;
  animation: dsDotFill 5.2s linear both;
}

@keyframes dsDotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (max-width: 991px) {
  .home-page-slider-section .owl-dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 16px;
  }
}

/* Trust strip riding the bottom of the hero */
.ds-hero-strip {
  position: relative;
  z-index: 6;
  margin-top: -58px;
  margin-bottom: 26px;
}

.ds-hero-strip .ds-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(10, 46, 92, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.ds-hero-strip .ds-strip-item {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  transition: background 0.35s ease, transform 0.35s var(--ease-out-quint);
}
.ds-hero-strip .ds-strip-item:hover {
  background: #fff;
  transform: translateY(-3px);
}

.ds-hero-strip .ds-strip-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 18px -8px rgba(10, 46, 92, 0.7);
}

.ds-hero-strip .ds-strip-text strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ds-hero-strip .ds-strip-text span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 3px;
}

@media (max-width: 991px) {
  .ds-hero-strip { margin-top: 24px; }
  .ds-hero-strip .ds-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .ds-hero-strip .ds-strip-inner { grid-template-columns: 1fr; }
  .ds-hero-strip .ds-strip-item { padding: 16px; }
}

/* ============================================================
   T5. SECTION TITLES — animated accent
   ============================================================ */
.sec-title {
  position: relative;
}
.sec-title h1,
.sec-title h2 {
  letter-spacing: -0.02em;
}

.sec-title::after {
  transition: width 0.9s var(--ease-out-expo) 0.25s;
}
.ds-js .sec-title[data-reveal]::after { width: 0; }
.ds-js .sec-title[data-reveal].is-in::after { width: 60px; }

/* ============================================================
   T6. SERVICE CARDS — lift, zoom, shine, gold reveal
   ============================================================ */
.single-service-item {
  position: relative;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm) !important;
  transition:
    transform 0.5s var(--ease-out-quint),
    box-shadow 0.5s var(--ease-out-quint) !important;
  will-change: transform;
}

.single-service-item::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out-quint);
  z-index: 4;
}

.single-service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow) !important;
}
.single-service-item:hover::after { transform: scaleX(1); }

.single-service-item .img-holder {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
}

.single-service-item .img-holder::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 27, 56, 0.72) 100%);
  opacity: 0.55;
  transition: opacity 0.5s ease;
}
.single-service-item:hover .img-holder::before { opacity: 0.9; }

.single-service-item .img-holder img {
  transition: transform 0.9s var(--ease-out-quint) !important;
}
.single-service-item:hover .img-holder img { transform: scale(1.1); }

/* Shine sweep */
.single-service-item .img-holder::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
}
.single-service-item:hover .img-holder::after {
  animation: dsSweep 0.9s var(--ease-out-quint);
}

@keyframes dsSweep {
  to { left: 130%; }
}

.single-service-item .text-holder {
  position: relative;
  z-index: 4;
  transition: background 0.4s ease;
}
.single-service-item .text-holder h3 {
  transition: color 0.35s ease, transform 0.35s var(--ease-out-quint);
}
.single-service-item:hover .text-holder h3 {
  color: var(--primary) !important;
  transform: translateY(-1px);
}

/* ============================================================
   T7. SPECIALIZATION CARDS
   ============================================================ */
.our-specialization-section .card-box .card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.5s var(--ease-out-quint),
    box-shadow 0.5s var(--ease-out-quint),
    border-color 0.4s ease !important;
  height: auto !important;
  min-height: 228px;
  padding: 24px 22px !important;
  will-change: transform;
}

/* Cursor-tracked glow */
.our-specialization-section .card-box .card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(212, 164, 55, 0.16),
    transparent 62%
  );
}
.our-specialization-section .card-box .card:hover::before { opacity: 1; }

.our-specialization-section .card-box .card:hover {
  transform: translateY(-8px);
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-glow);
}

.our-specialization-section .card-box .card .top {
  border-bottom: 1px solid var(--border-light) !important;
  padding-bottom: 14px !important;
  margin-bottom: 16px !important;
  transition: border-color 0.4s ease;
}
.our-specialization-section .card-box .card:hover .top {
  border-bottom-color: var(--accent) !important;
}

.our-specialization-section .card-box .card .top img {
  border: none !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, rgba(10, 46, 92, 0.07), rgba(212, 164, 55, 0.16));
  padding: 9px !important;
  transition: transform 0.5s var(--ease-spring), background 0.4s ease;
}
.our-specialization-section .card-box .card:hover .top img {
  transform: rotate(-6deg) scale(1.09);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.our-specialization-section .card-box .card .top h2 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin: 0 !important;
  letter-spacing: -0.01em;
}

.our-specialization-section .card-box .card .content p {
  text-align: left !important;
  color: var(--text-body);
  font-size: 14.5px !important;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 991px) {
  .our-specialization-section .card-box .card { max-width: 48.5% !important; }
}
@media (max-width: 640px) {
  .our-specialization-section .card-box .card { max-width: 100% !important; }
}

/* style.css pins this wrapper to `height: 1275px !important` between 320
   and 767px — a number fitted to the old 3-across card grid. Once the
   cards stack one per row the grid runs past it and collides with the
   section below, so let the wrapper size to its content. */
@media (max-width: 767px) {
  .cotrhnght,
  .our-specialization-section .cotrhnght {
    height: auto !important;
  }
}

/* ============================================================
   T8. STAT COUNTERS
   ============================================================ */
.ds-stats {
  position: relative;
  padding: 78px 0;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(212, 164, 55, 0.18), transparent 60%),
    radial-gradient(760px 380px at 92% 110%, rgba(26, 79, 139, 0.55), transparent 60%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  isolation: isolate;
}

/* Blueprint grid — on-brand for a steel fabricator */
.ds-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, #000 40%, transparent 100%);
}

/* Hairline that turns the stats/projects colour seam into a deliberate rule */
.ds-stats::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 164, 55, 0.55), transparent);
}

.ds-stats .ds-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ds-stats .ds-stat {
  text-align: center;
  padding: 10px 14px;
  position: relative;
}
.ds-stats .ds-stat + .ds-stat::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.ds-stats .ds-stat-num {
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #fff 30%, var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.ds-stats .ds-stat-label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 767px) {
  .ds-stats { padding: 56px 0; }
  /* Hairline that turns the stats/projects colour seam into a deliberate rule */
.ds-stats::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 164, 55, 0.55), transparent);
}

.ds-stats .ds-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; }
  .ds-stats .ds-stat + .ds-stat::before { display: none; }
  .ds-stats .ds-stat-num { font-size: 40px; }
}

/* ============================================================
   T9. FEATURED PROJECTS
   ============================================================ */
.latest-project-area .single-latest-project {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  transition:
    transform 0.55s var(--ease-out-quint),
    box-shadow 0.55s var(--ease-out-quint) !important;
  will-change: transform;
}

.latest-project-area .single-latest-project:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.6) !important;
}

.latest-project-area .single-latest-project .img-holder {
  border-radius: 0 !important;
  position: relative;
}

.latest-project-area .single-latest-project .img-holder img {
  transition: transform 1s var(--ease-out-quint) !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
.latest-project-area .single-latest-project:hover .img-holder img {
  transform: scale(1.12);
}

.latest-project-area .overlay-box {
  background: linear-gradient(140deg, rgba(10, 46, 92, 0.82), rgba(6, 27, 56, 0.88)) !important;
  opacity: 0;
  transition: opacity 0.45s ease !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.latest-project-area .single-latest-project:hover .overlay-box { opacity: 1; }

.latest-project-area .overlay-box .content a {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--primary-dark) !important;
  font-size: 20px;
  box-shadow: var(--shadow-gold);
  transform: scale(0.55) rotate(-25deg);
  opacity: 0;
  transition: transform 0.5s var(--ease-spring) 0.06s, opacity 0.35s ease 0.06s;
}
.latest-project-area .single-latest-project:hover .overlay-box .content a {
  transform: scale(1) rotate(0);
  opacity: 1;
}
.latest-project-area .overlay-box .content a:hover {
  transform: scale(1.12) rotate(6deg);
}

.latest-project-area .project-count {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(6, 27, 56, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.4s var(--ease-out-quint), background 0.4s ease;
}
.latest-project-area .single-latest-project:hover .project-count {
  transform: translateY(-4px);
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
}

.latest-project-area .title-holder h4 {
  transition: color 0.3s ease;
}
.latest-project-area .single-latest-project:hover .title-holder h4 {
  color: var(--primary) !important;
}

/* ============================================================
   T10. CUSTOMER LOGOS — readable, with colour-on-hover
   ============================================================ */
.brand-area .single-item {
  display: grid;
  place-items: center;
  padding: 18px 16px;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #fff;
  transition:
    transform 0.4s var(--ease-out-quint),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.brand-area .single-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 164, 55, 0.6);
  box-shadow: var(--shadow-md);
}

.brand-area .single-item img {
  max-height: 62px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s var(--ease-out-quint);
}
.brand-area .single-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* ============================================================
   T11. FAQ ACCORDION — real height animation
   ============================================================ */
.faq-section {
  background:
    radial-gradient(800px 380px at 88% 0%, rgba(212, 164, 55, 0.08), transparent 60%),
    var(--bg-off) !important;
}

.faq-container .item {
  max-height: none !important;
  overflow: hidden !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 14px !important;
  background: #fff;
  padding: 0 !important;
  margin-bottom: 12px !important;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.35s ease, border-color 0.35s ease !important;
}
.faq-container .item:hover { border-color: rgba(212, 164, 55, 0.55) !important; }
.faq-container .item.open {
  max-height: none !important;
  border-color: var(--accent) !important;
  box-shadow: var(--shadow-md);
}

.faq-container .item .title {
  cursor: pointer;
  user-select: none;
  padding: 18px 22px !important;
  border: none !important;
  background: transparent !important;
  gap: 18px;
  transition: background 0.3s ease !important;
}
.faq-container .item:hover .title { background: rgba(10, 46, 92, 0.025) !important; }
.faq-container .item.open .title {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
}
.faq-container .item.open .title > span { color: #fff !important; }

.faq-container .item .title > span:first-child {
  font-size: 16.5px !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  line-height: 1.5;
}

/* Must follow the rule above — same specificity, so order decides. */
.faq-container .item.open .title > span:first-child {
  color: #fff !important;
}

.faq-container .item .title .fa-chevron-down,
.faq-container .item .title .fas {
  /* premium.css sets `font-family: Inter !important` on `.title > span`,
     which outranks `.fa` and renders the glyph as tofu. */
  font-family: FontAwesome !important;
  font-weight: 400 !important;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px !important;
  background: rgba(10, 46, 92, 0.06);
  color: var(--primary) !important;
  transition: transform 0.4s var(--ease-out-quint), background 0.3s ease, color 0.3s ease !important;
}
.faq-container .item.open .title .fa-chevron-down,
.faq-container .item.open .title .fas {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--primary-dark) !important;
}

.faq-container .item .text {
  max-height: 0 !important;
  padding: 0 22px !important;
  border: none !important;
  background: transparent !important;
  opacity: 0;
  transition:
    max-height 0.5s var(--ease-out-quint),
    padding 0.4s var(--ease-out-quint),
    opacity 0.35s ease !important;
}
.faq-container .item.open .text {
  max-height: 800px !important;
  padding: 20px 22px 22px !important;
  opacity: 1;
  border: none !important;
}
.faq-container .item .text p,
.faq-container .item .text li {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 8px;
}
.faq-container .item .text a {
  color: var(--primary-light);
  font-weight: 600;
  border-bottom: 1px solid rgba(26, 79, 139, 0.35);
}
.faq-container .item .text a:hover { color: var(--accent-dark); }

.faq-section h2 {
  text-decoration: none !important;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 18px;
}
.faq-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* ============================================================
   T12. INNER PAGE HERO — tames the off-brand banner and
   merges it with the breadcrumb into one cinematic block
   ============================================================ */
.ds-page-hero {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--primary-dark);
  line-height: 0;
}

.ds-page-hero > img,
.ds-page-hero > .img-responsive {
  width: 100%;
  height: clamp(230px, 30vw, 390px);
  object-fit: cover;
  /* Crop past the banner's own baked-in headline and soften what
     remains, so the injected page title is the only thing readable. */
  object-position: 78% 45%;
  display: block;
  transform: scale(1.08);
  animation: dsHeroSettle 1.6s var(--ease-out-expo) both;
  filter: saturate(0.5) blur(2.5px) brightness(0.82);
}

@keyframes dsHeroSettle {
  from { transform: scale(1.16); opacity: 0; }
  to   { transform: scale(1.08); opacity: 1; }
}

/* Navy brand scrim — pulls the red banner back into palette */
.ds-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 27, 56, 0.95) 0%, rgba(10, 46, 92, 0.86) 45%, rgba(10, 46, 92, 0.6) 78%, rgba(6, 27, 56, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 27, 56, 0.45) 0%, transparent 38%, rgba(6, 27, 56, 0.6) 100%);
}

/* Blueprint texture on the hero */
.ds-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(105deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 65%);
}

/* Title lockup injected over the hero */
.ds-hero-caption {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 34px;
  line-height: normal;
}

.ds-hero-caption .ds-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
  opacity: 0;
  animation: dsCaptionIn 0.8s var(--ease-out-quint) 0.25s both;
}
.ds-hero-caption .ds-hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.ds-hero-caption h1,
.ds-hero-caption .ds-hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  animation: dsCaptionIn 0.9s var(--ease-out-quint) 0.36s both;
  max-width: 18ch;
}

@keyframes dsCaptionIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* Breadcrumb becomes a glass rail under the hero */
.breadcrumb-bottom-area {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}
.breadcrumb-bottom-area::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 55%);
}

.breadcrumb-bottom-area .left a {
  background: none !important;
  padding: 0 !important;
  position: relative;
  padding-left: 16px !important;
  font-size: 16px !important;
}
.breadcrumb-bottom-area .left a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
}

.breadcrumb-bottom-area .right ul li a {
  transition: color 0.25s ease;
}

@media (max-width: 767px) {
  .ds-hero-caption { padding-bottom: 22px; }
  .ds-hero-caption h1,
  .ds-hero-caption .ds-hero-title { max-width: 100%; }
}

/* ============================================================
   T13. SERVICE DETAIL BODY — readable, structured
   ============================================================ */
.services-section {
  padding: 74px 0 84px !important;
}

.services-section .service-name {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 22px !important;
  letter-spacing: -0.025em;
}
.services-section .service-name::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

/* Most detail pages put a closing paragraph directly inside .row, outside
   any column. Bootstrap 3 columns are floats, so that paragraph's box
   starts level with them and only its line boxes dodge the images — clear
   the floats and match the column gutter so it lines up with the heading. */
.services-section .row > p {
  clear: both;
  padding: 0 15px;
  margin-top: 10px;
}

.services-section .service-details,
.services-section p {
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.9;
  text-align: left !important;
}

.services-section .sevices-img {
  position: relative;
}
.services-section .sevices-img img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease-out-quint), box-shadow 0.6s ease;
}
.services-section .sevices-img img:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 32px 70px -26px rgba(10, 46, 92, 0.55);
}

/* Gold corner bracket — reads as a deliberate accent without
   colliding with the copy that follows the image. */
/* Anchored to the column's top-left, which is where the image starts —
   `bottom`-anchored accents drift because the column runs taller. */
.services-section .sevices-img::before {
  content: '';
  position: absolute;
  left: 2px;
  top: -14px;
  width: 88px;
  height: 88px;
  border-left: 3px solid var(--accent);
  border-top: 3px solid var(--accent);
  border-top-left-radius: var(--radius-lg);
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 767px) {
  .services-section { padding: 48px 0 56px !important; }
  .services-section .sevices-img::before { display: none; }
  .services-section .sevices-img { margin-top: 26px; }
}

/* ============================================================
   T14. CTA BAND (injected before the footer)
   ============================================================ */
.ds-cta {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 8% 0%, rgba(212, 164, 55, 0.22), transparent 62%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  isolation: isolate;
}

.ds-cta::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 164, 55, 0.22), transparent 66%);
  animation: dsFloat 14s ease-in-out infinite;
}

@keyframes dsFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-28px, 34px, 0) scale(1.08); }
}

.ds-cta .ds-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ds-cta .ds-cta-copy { flex: 1 1 440px; }

.ds-cta .ds-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.ds-cta .ds-cta-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.ds-cta h2 {
  color: #fff !important;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.ds-cta p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  max-width: 58ch;
}

.ds-cta .ds-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease-spring),
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}
.ds-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.45) 50%, transparent 78%);
  transform: translateX(-130%);
}
.ds-btn:hover::before { animation: dsShine 0.9s var(--ease-out-quint); }

.ds-btn-gold {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--primary-dark) !important;
  box-shadow: var(--shadow-gold);
}
.ds-btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -12px rgba(212, 164, 55, 0.75);
  color: var(--primary-dark) !important;
}

.ds-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ds-btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

@media (max-width: 767px) {
  .ds-cta { padding: 52px 0; }
  .ds-cta .ds-cta-actions { width: 100%; }
  .ds-btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   T15. FOOTER POLISH
   ============================================================ */
.footer-area .quick-links li a,
.footer-area .quick-links li {
  display: block;
  white-space: normal;
  line-height: 1.55;
}
.footer-area .quick-links li {
  margin-bottom: 9px;
  padding: 0;
}

/* premium.css owns the '›' marker on the anchor — block display keeps a
   wrapped second line aligned with the first instead of under the arrow. */
.footer-area .quick-links li a {
  display: block;
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.25s ease, transform 0.28s var(--ease-out-quint);
}
.footer-area .quick-links li a:hover {
  color: var(--accent-light) !important;
  transform: translateX(3px);
}

.footer-area .contact-address li {
  transition: transform 0.35s var(--ease-out-quint);
}
.footer-area .contact-address li:hover { transform: translateX(3px); }

.footer-area .input-field input,
.footer-area .input-field textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.footer-area .input-field input:focus,
.footer-area .input-field textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(212, 164, 55, 0.18) !important;
  outline: none;
}

.ds-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.ds-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 15px;
  transition:
    transform 0.35s var(--ease-spring),
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
.ds-social a:hover {
  transform: translateY(-3px) scale(1.06);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-color: transparent;
  color: var(--primary-dark) !important;
}

/* ============================================================
   T16. LOCATION TICKER (replaces <marquee>)
   ============================================================ */
.ds-ticker {
  position: relative;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-dark));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ds-ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: dsTicker var(--ticker-duration, 90s) linear infinite;
}
.ds-ticker:hover .ds-ticker__track { animation-play-state: paused; }

.ds-ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ds-ticker a {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 18px;
  transition: color 0.25s ease;
}
.ds-ticker a::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  margin-left: 18px;
}
.ds-ticker a:hover { color: var(--accent-light) !important; }

@keyframes dsTicker {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ============================================================
   T17. FLOATING CONTACT ACTIONS
   ============================================================ */
.ds-fab {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ds-fab a {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  font-size: 23px;
  text-decoration: none;
  transform: translateY(14px) scale(0.85);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-spring),
    opacity 0.4s ease,
    box-shadow 0.35s ease;
}
.ds-fab.is-ready a { transform: none; opacity: 1; }
.ds-fab.is-ready a:nth-child(2) { transition-delay: 0.08s; }

.ds-fab a:hover { transform: scale(1.1); }

.ds-fab .ds-fab-wa {
  background: linear-gradient(135deg, #25D366, #1da851);
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, 0.75);
}
.ds-fab .ds-fab-call {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 10px 26px -8px rgba(10, 46, 92, 0.7);
  font-size: 20px;
}

/* Attention pulse on the WhatsApp action */
.ds-fab .ds-fab-wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: dsPulse 2.6s var(--ease-out-quint) infinite;
}

@keyframes dsPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.65); opacity: 0; }
  100% { transform: scale(1.65); opacity: 0; }
}

.ds-fab .ds-fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--primary-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out-quint);
  box-shadow: var(--shadow-md);
}
.ds-fab a:hover .ds-fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 767px) {
  .ds-fab { right: 14px; bottom: 76px; gap: 10px; }
  .ds-fab a { width: 48px; height: 48px; font-size: 21px; }
  .ds-fab .ds-fab-label { display: none; }
}

/* Scroll-to-top: only show when scrolled, animate in */
.scroll-to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.85);
  transition:
    opacity 0.35s ease,
    visibility 0.35s,
    transform 0.45s var(--ease-spring),
    box-shadow 0.35s ease !important;
  cursor: pointer;
  position: fixed !important;
  right: 20px;
  bottom: 22px;
}
.scroll-to-top.ds-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.scroll-to-top:hover { transform: translateY(-4px) !important; }

@media (max-width: 767px) {
  .scroll-to-top { right: 16px; bottom: 18px; }
}

/* ============================================================
   T18. FORMS & MODAL
   ============================================================ */
#my-form-box {
  transition:
    top 0.55s var(--ease-out-quint),
    opacity 0.4s ease,
    transform 0.55s var(--ease-out-quint) !important;
}
.my-box {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.my-box.ds-open { opacity: 1; }

#my-form-box .form-item input:focus,
#my-form-box .form-item textarea:focus,
#my-form-box .form-item select:focus {
  box-shadow: var(--ring);
  outline: none;
}

#my-form-box .form-item button {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease !important;
}
#my-form-box .form-item button:hover {
  transform: translateY(-2px);
  scale: 1 !important;
  opacity: 1 !important;
}

#my-close-btn {
  transition: transform 0.35s var(--ease-spring), background 0.3s ease;
}
#my-close-btn:hover { transform: rotate(90deg); }

/* Contact page inputs */
.contact-page input:focus,
.contact-page textarea:focus,
.single-footer-widget input:focus,
.single-footer-widget textarea:focus,
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
}

/* ============================================================
   T19. ACCESSIBILITY
   ============================================================ */
.ds-skip {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 10000;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 14px;
  transition: top 0.3s var(--ease-out-quint);
}
.ds-skip:focus {
  top: 0;
  color: #fff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   T20. IMAGE / LAYOUT STABILITY
   ============================================================ */
img { max-width: 100%; }

.single-service-item .img-holder img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  height: auto !important;
}

.welcome-industry-area .product img {
  width: 100%;
  height: auto;
}

/* ============================================================
   T21. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .ds-js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .ds-ticker__track { animation: none !important; }
  .home-page-slider-section .owl-item.active img { animation: none !important; }
  .home-page-slider-section .owl-dot.active span::after { animation: none !important; transform: none; }
  .ds-fab a { opacity: 1 !important; transform: none !important; }
}


/* ============================================================
   T22. ABOUT — "WHY CHOOSE US" GRID
   The bundled icon PNGs are bright red, which fights the navy/gold
   palette; a hue rotation brings them onto the accent without
   re-cutting the artwork.
   ============================================================ */
.choosing-area {
  padding: 84px 0 !important;
  background:
    radial-gradient(760px 340px at 92% 0%, rgba(212, 164, 55, 0.09), transparent 62%),
    var(--bg-off) !important;
}

.choosing-area .content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.choosing-area .content ul li {
  display: flex !important;
  align-items: center;
  gap: 16px;
  padding: 18px 18px !important;
  margin-bottom: 16px !important;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  transition:
    transform 0.45s var(--ease-out-quint),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.choosing-area .content ul li:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 164, 55, 0.7);
  box-shadow: var(--shadow-md);
}

.choosing-area .content ul li .icon-holder {
  /* style.css pins this absolutely at left:0; that keeps it out of the flex
     flow and lays it over the first ~30px of every heading. */
  position: static !important;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 46, 92, 0.06), rgba(212, 164, 55, 0.16));
  transition: transform 0.45s var(--ease-spring), background 0.35s ease;
}

.choosing-area .content ul li:hover .icon-holder {
  transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.choosing-area .content ul li .icon-holder img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border: none !important;
  filter: hue-rotate(38deg) saturate(1.05) brightness(0.95);
}

.choosing-area .content ul li .text-holder {
  flex: 1 1 auto;
}

.choosing-area .content ul li .text-holder h3,
.choosing-area .content ul li .text-holder h3.abt {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  color: var(--primary) !important;
}

@media (max-width: 767px) {
  .choosing-area { padding: 52px 0 !important; }
}

/* ============================================================
   T23. GALLERY GRID (Gallery.php / project thumbnails)
   ============================================================ */
#solution-single-area .bord2 {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease-out-quint), box-shadow 0.45s ease;
}
#solution-single-area .bord2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
#solution-single-area .bord2 img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease-out-quint);
}
#solution-single-area .bord2:hover img { transform: scale(1.07); }

/* ============================================================
   T24. GENERIC INNER CONTENT (services.php and similar pages
   that use inline-styled rows rather than .services-section)
   ============================================================ */
.services-section h2,
.services-section h3 {
  color: var(--primary) !important;
  letter-spacing: -0.02em;
}

.services-section ul li,
.services-section ol li {
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 6px;
}

/* Images inside plain inner-page rows get the same card treatment */
.services-section .row > [class^="col-"] > img,
.services-section .row > [class*=" col-"] > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-out-quint), box-shadow 0.6s ease;
}
.services-section .row > [class^="col-"] > img:hover,
.services-section .row > [class*=" col-"] > img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   T25. ALTERNATING IMAGE/TEXT ROWS (services.php)
   Bootstrap 3 rows are float-based, so a short caption and a tall
   photo never line up. Centre them on desktop and keep the natural
   stacking order on phones.
   ============================================================ */
.ds-alt-rows .row + .row { margin-top: 18px; }

@media (min-width: 992px) {
  .ds-alt-rows .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .ds-alt-rows .row > [class^="col-"],
  .ds-alt-rows .row > [class*=" col-"] {
    float: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.ds-alt-rows h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  letter-spacing: -0.02em;
  margin: 0 0 14px !important;
  padding-bottom: 12px;
  position: relative;
}
.ds-alt-rows h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.ds-alt-rows p {
  text-align: left !important;
  padding: 0 !important;
  font-size: 16px;
  line-height: 1.9;
}

.ds-alt-rows img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.6s var(--ease-out-quint), box-shadow 0.6s ease;
}
.ds-alt-rows img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
