/* ==========================================================================
   JK International - Modern design system (2026 refresh)
   Loaded after every other stylesheet. Typography, colour, buttons, cards,
   floating glass navbar, page heroes, footer and motion.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  --m-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --m-ink: #0b1033;
  --m-navy: #0c154a;
  --m-navy-2: #1b2671;
  --m-green: #22c55e;
  --m-green-brand: #37ab32;
  --m-lime: #4ade80;
  --m-sky: #38bdf8;
  --m-body: #475569;
  --m-muted: #64748b;
  --m-line: #e6e9f2;
  --m-surface: #f6f7fb;
  --m-radius-sm: 12px;
  --m-radius: 20px;
  --m-radius-lg: 28px;
  --m-shadow: 0 1px 2px rgba(11, 16, 51, 0.04), 0 10px 30px rgba(11, 16, 51, 0.06);
  --m-shadow-lg: 0 2px 6px rgba(11, 16, 51, 0.05), 0 24px 60px rgba(11, 16, 51, 0.12);
  --m-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m-grad-text: linear-gradient(100deg, #4ade80 0%, #38bdf8 100%);
}

/* --- 2. Typography ------------------------------------------------------- */
html body,
html body :where(h1, h2, h3, h4, h5, h6, p, a, span, li, div, button, input, textarea, select, label, small, strong, b, em, td, th, blockquote, article, section, nav, footer) {
  font-family: var(--m-font) !important;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3,
.section-title-large,
.section-heading-text,
.catalogue-title,
.history-title,
.trustedclients {
  letter-spacing: -0.025em !important;
}

h1 { font-weight: 800 !important; }
h2, h3 { font-weight: 800; }

/* Accent words in green headings become a gradient */
.hero-slide-headline .accent,
.manufacturing-power-section h2 span,
.jk-grad {
  background: var(--m-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
}

/* Section headings, everywhere */
.section-title-large,
.section-heading-text,
.catalogue-title {
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: var(--m-ink) !important;
}

.section-desc-lead,
.section-desc-sub,
.catalogue-desc {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--m-muted) !important;
}

/* Eyebrow labels */
.section-tag,
.section-label-tag,
.catalogue-division-badge,
.jk-page-intro__tag,
.jk-branches__tag {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.1) !important;
  color: #15803d !important;
  border: 1px solid rgba(34, 197, 94, 0.22) !important;
}

/* --- 3. Buttons ---------------------------------------------------------- */
.btn-jk-primary, .btn-jk-outline,
.btn-hero-solid, .btn-hero-trans,
.hero-btn-primary, .hero-btn-outline,
.division-action-btn,
.cat-btn-details, .cat-btn-enquire,
.btn-product-inquire, .btn-product-detail,
.header-btn-quote, .header-btn-phone,
.jk-btn-quote-submit,
.facility-btn-link, .facility-btn-action,
.jk-cta-band__btn, .jk-branch__btn {
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
  transition: transform 0.35s var(--m-ease), box-shadow 0.35s var(--m-ease),
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease !important;
}

.btn-jk-primary, .btn-hero-solid, .hero-btn-primary,
.cat-btn-enquire, .btn-product-inquire, .header-btn-quote,
.jk-btn-quote-submit, .facility-btn-action {
  background: linear-gradient(180deg, #34d27a 0%, #22c55e 100%) !important;
  color: #04260f !important;
  border: 0 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 22px rgba(34, 197, 94, 0.32) !important;
}

.btn-jk-primary:hover, .btn-hero-solid:hover, .hero-btn-primary:hover,
.cat-btn-enquire:hover, .btn-product-inquire:hover, .header-btn-quote:hover,
.jk-btn-quote-submit:hover, .facility-btn-action:hover {
  transform: translateY(-2px);
  color: #04260f !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 32px rgba(34, 197, 94, 0.42) !important;
}

.btn-jk-primary:active, .btn-hero-solid:active, .hero-btn-primary:active,
.cat-btn-enquire:active, .btn-product-inquire:active, .header-btn-quote:active {
  transform: translateY(0) scale(0.98);
}

.btn-jk-outline, .btn-hero-trans, .hero-btn-outline {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-jk-outline:hover, .btn-hero-trans:hover, .hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-2px);
}

.cat-btn-details, .btn-product-detail, .division-action-btn {
  background: #fff !important;
  border: 1px solid var(--m-line) !important;
  color: var(--m-ink) !important;
}

.cat-btn-details:hover, .btn-product-detail:hover, .division-action-btn:hover {
  border-color: var(--m-ink) !important;
  background: var(--m-ink) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* --- 4. Cards ------------------------------------------------------------ */
.cat-product-card,
.division-card-box,
.product-item-card,
.leader-card,
.jk-branch,
.facility-card,
.contact-detail-white,
.contact-form,
.jk-quote-panel {
  border-radius: var(--m-radius) !important;
}

.cat-product-card,
.division-card-box,
.product-item-card {
  border: 1px solid var(--m-line) !important;
  box-shadow: var(--m-shadow) !important;
  transition: transform 0.5s var(--m-ease), box-shadow 0.5s var(--m-ease), border-color 0.3s ease !important;
}

.cat-product-card:hover,
.division-card-box:hover,
.product-item-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--m-shadow-lg) !important;
  border-color: #d5dbea !important;
}

.cat-product-img img,
.division-card-thumb img,
.product-thumb-wrap img,
.product-img-frame img {
  transition: transform 1.1s var(--m-ease) !important;
}

.cat-product-card:hover .cat-product-img img,
.division-card-box:hover .division-card-thumb img,
.product-item-card:hover .product-thumb-wrap img {
  transform: scale(1.07) !important;
}

/* Image badges become frosted pills */
.cat-product-badge,
.division-card-badge,
.product-cat-tag,
.product-tag-badge {
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* --- 5. Floating glass navbar (desktop) ---------------------------------- */
@media (min-width: 992px) {
  .header {
    top: 14px !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 40px) !important;
    max-width: 1320px;
    transform: translateX(-50%);
    height: 72px !important;
    border-radius: 22px !important;
    background: rgba(11, 16, 51, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: saturate(160%) blur(18px) !important;
    backdrop-filter: saturate(160%) blur(18px) !important;
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.25) !important;
  }

  .header.shrink {
    top: 10px !important;
    height: 64px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    border-color: rgba(11, 16, 51, 0.08);
    box-shadow: 0 10px 40px rgba(11, 16, 51, 0.12) !important;
  }

  .header .header-container {
    padding: 0 14px 0 20px !important;
  }

  .header a.navbar-brand img {
    height: 46px !important;
  }

  .header.shrink a.navbar-brand img {
    height: 40px !important;
  }

  .header #navbar ul.navbar-nav > li > a {
    border-radius: 999px !important;
    font-weight: 600 !important;
  }

  .header #navbar ul.navbar-nav > li.active > a::after {
    left: 50% !important;
    right: auto !important;
    width: 5px;
    height: 5px !important;
    bottom: 2px !important;
    border-radius: 50% !important;
    transform: translateX(-50%);
  }

  .header .dropdown-menu {
    border-radius: 18px !important;
    border: 1px solid rgba(11, 16, 51, 0.08) !important;
    border-top: 1px solid rgba(11, 16, 51, 0.08) !important;
    padding: 8px !important;
    box-shadow: 0 24px 60px rgba(11, 16, 51, 0.18) !important;
  }

  .header .dropdown-menu > li > a {
    border-radius: 10px !important;
  }

  .header-btn-phone {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
  }

  .header.shrink .header-btn-phone {
    background: rgba(11, 16, 51, 0.05) !important;
    border-color: rgba(11, 16, 51, 0.1) !important;
  }
}

/* Mobile header: glass bar */
@media (max-width: 991px) {
  .header {
    background: rgba(11, 16, 51, 0.82) !important;
    -webkit-backdrop-filter: saturate(160%) blur(16px) !important;
    backdrop-filter: saturate(160%) blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-toggle {
    border-radius: 14px !important;
  }

  .header #navbar.in,
  .header #navbar.collapsing {
    background: #0b1033 !important;
  }
}

/* --- 6. Page hero (shared by every inner page) --------------------------- */
.division-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: 176px !important;
  padding-bottom: 112px !important;
  background: #0b1033 !important;
}

/* Animated mesh gradient */
.division-page-hero::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: -30%;
  z-index: -2;
  background:
    radial-gradient(38% 45% at 18% 30%, rgba(34, 197, 94, 0.38), transparent 70%),
    radial-gradient(35% 40% at 82% 22%, rgba(56, 189, 248, 0.32), transparent 70%),
    radial-gradient(45% 50% at 65% 95%, rgba(99, 102, 241, 0.3), transparent 70%);
  filter: blur(20px);
  animation: m-mesh 18s ease-in-out infinite alternate;
}

/* Fine grid that fades out */
.division-page-hero::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%);
}

@keyframes m-mesh {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(4%, -3%) rotate(8deg) scale(1.08); }
  100% { transform: translate(-3%, 4%) rotate(-6deg) scale(1.02); }
}

.division-page-hero h1 {
  font-size: clamp(36px, 6vw, 68px) !important;
  font-weight: 800 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em !important;
  max-width: 15ch;
  margin-bottom: 20px !important;
}

.division-page-hero p.lead {
  font-size: clamp(16px, 1.5vw, 19px) !important;
  color: rgba(226, 232, 240, 0.82) !important;
  max-width: 640px !important;
}

.division-page-hero .hero-pill-badge {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  letter-spacing: 0.08em !important;
}

.division-page-hero .hero-cta-group {
  gap: 12px !important;
}

.division-page-hero .hero-cta-group a {
  min-height: 50px;
  padding: 13px 26px !important;
  font-size: 15px !important;
}

/* Breadcrumbs */
.m-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.6);
}

.m-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}

.m-crumbs a {
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
}

.m-crumbs a:hover {
  color: #fff;
  text-decoration: none;
}

.m-crumbs [aria-current] {
  color: #fff;
}

@media (max-width: 991px) {
  .division-page-hero {
    padding-top: 120px !important;
    padding-bottom: 84px !important;
  }
}

@media (max-width: 600px) {
  .division-page-hero {
    padding-top: 108px !important;
    padding-bottom: 72px !important;
  }

  .division-page-hero .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }
}

/* Content that overlaps the hero */
.m-overlap {
  position: relative;
  z-index: 2;
  margin-top: -56px !important;
}

/* --- 7. Legacy banners become calm surfaces ------------------------------ */
.about-banner,
.infrastructure-banner,
.contact-banner,
.project-slider-bg,
.product-basket {
  background: var(--m-surface) !important;
  background-image: none !important;
}

.about-banner .lines,
.infrastructure-banner .lines,
.contact-banner .lines {
  background: none !important;
}

/* --- 8. Footer ----------------------------------------------------------- */
.jk-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(34, 197, 94, 0.12), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(56, 189, 248, 0.1), transparent 60%),
    #070b26 !important;
}


.jk-footer .footer-grid {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.jk-footer .footer-bottom-bar {
  margin-top: 28px !important;
}

.footer-social-btn {
  border-radius: 12px !important;
  transition: transform 0.3s var(--m-ease), background 0.2s ease !important;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
}

.footer-nav-list a {
  transition: color 0.2s ease, padding-left 0.3s var(--m-ease) !important;
}

.footer-nav-list a:hover {
  padding-left: 4px;
}

/* --- 9. Motion ----------------------------------------------------------- */
[data-aos] {
  transition-timing-function: var(--m-ease) !important;
}

[data-aos^="fade"][data-aos^="fade"] {
  transition-duration: 0.9s !important;
}

@media (prefers-reduced-motion: reduce) {
  .division-page-hero::before {
    animation: none;
  }

  .btn-jk-primary, .btn-hero-solid, .hero-btn-primary, .cat-btn-enquire,
  .cat-product-card, .division-card-box, .product-item-card {
    transition: none !important;
    transform: none !important;
  }
}

/* --- 10. Legacy banner wrappers sit under the new hero ------------------- */
.about-banner,
.infrastructure-banner,
.contact-banner {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
}

.about-banner-content,
.infrastructure-banner-content {
  padding-top: 0 !important;
  padding-bottom: 72px !important;
}

.product-basket {
  padding-top: 0 !important;
}

.project-slider-bg {
  padding-top: 0 !important;
}

/* --- 11. Home: trust marquee --------------------------------------------- */
.m-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: #0b1033;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.m-marquee__track {
  display: flex;
  width: max-content;
  animation: m-marquee 38s linear infinite;
}

.m-marquee:hover .m-marquee__track {
  animation-play-state: paused;
}

.m-marquee__group {
  display: flex;
  flex: none;
  gap: 44px;
  list-style: none;
  margin: 0;
  padding: 0 22px;
}

.m-marquee__group li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(226, 232, 240, 0.85);
}

.m-marquee__group svg {
  width: 14px;
  height: 14px;
  fill: #4ade80;
}

@keyframes m-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .m-marquee__track { animation: none; }
}

/* --- 12. Home: bento project gallery ------------------------------------- */
.m-bento {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
  margin: 0 !important;
}

.m-bento::before,
.m-bento::after {
  display: none !important;
}

.m-bento > [class*="col-"] {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.m-bento > :nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.m-bento .product-img-frame {
  position: relative;
  height: 100% !important;
  border-radius: var(--m-radius) !important;
  overflow: hidden;
}

.m-bento .product-img-frame img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.m-bento .product-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 16, 51, 0.55));
  pointer-events: none;
}

.m-bento .product-cat-tag {
  top: auto !important;
  bottom: 16px;
  left: 16px !important;
  z-index: 2;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 14px !important;
}

.m-bento .product-img-frame:hover img {
  transform: scale(1.06);
}

@media (max-width: 991px) {
  .m-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 200px;
  }
}

@media (max-width: 600px) {
  .m-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .m-bento > :nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Odd item left over after the 2-up rows: make it full width */
  .m-bento > :last-child:nth-child(even) {
    grid-column: span 2;
  }

  .m-bento .product-cat-tag {
    bottom: 10px;
    left: 10px !important;
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
}

/* --- 13. Home: metrics & factory cards ----------------------------------- */
.mfg-metric-box {
  border-radius: var(--m-radius) !important;
}

.mfg-metric-num,
.trust-stat-num {
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
}

/* --- 14. Infrastructure highlights: light bento cards -------------------- */
.highlight-row-mgn .row-disp-none:not(.highlight-wide),
.highlight-row-mgn .col-md-2.row-disp-none {
  display: none !important;
}

.highlight-row-mgn .row > .highlight-wide {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
}

.highlight-row-mgn .row > .col-md-12 {
  flex: 1 1 100% !important;
  padding: 0;
}

.highlight {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left !important;
  background: #fff !important;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius) !important;
  box-shadow: var(--m-shadow) !important;
  padding: 26px !important;
}

.highlight:hover {
  border-color: #cfe9d6;
  box-shadow: var(--m-shadow-lg) !important;
}

.highlight-image img {
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  border-radius: 18px !important;
  border: 0 !important;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1) !important;
}

.highlight p {
  text-align: left !important;
  color: var(--m-ink) !important;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.55 !important;
}

.infrastructure {
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.infrastructure h2,
.infrastructure h1 {
  font-size: clamp(30px, 4vw, 48px) !important;
  color: var(--m-ink) !important;
}

@media (max-width: 767px) {
  .highlight-row-mgn .row {
    flex-direction: column;
  }

  .highlight {
    flex-direction: row;
    align-items: center;
    padding: 18px !important;
  }

  .highlight-image img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
  }

  .highlight p {
    font-size: 15px !important;
  }
}

/* Long-form split sections (About / Infrastructure / Quality) */
.about-img img,
.erp-img img {
  border-radius: var(--m-radius-lg) !important;
}

.infrastructure-desc-content h1,
.quality-desc-content h1,
.glasserp h1,
.experience-title-about h1 {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: var(--m-ink) !important;
}

.infrastructure-desc-content p,
.quality-desc-content p,
.about-desc-content p,
.about-desc-content h5 {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: var(--m-body) !important;
}

/* --- 15. About intro: a card lifted over the hero ------------------------ */
.about-intro {
  position: relative;
  z-index: 2;
  margin-top: -64px !important;
  padding: 48px 48px 32px !important;
  border-radius: var(--m-radius-lg) !important;
  box-shadow: var(--m-shadow-lg);
}

.experience-title-about h2 {
  float: none;
  font-size: clamp(26px, 3vw, 38px) !important;
  font-weight: 800 !important;
  line-height: 1.15;
  color: var(--m-ink);
  margin: 8px 0 24px;
  letter-spacing: -0.03em;
}

.experience-img img {
  border-radius: var(--m-radius) !important;
}

.experience-desc-about p {
  font-size: 16.5px !important;
  line-height: 1.75 !important;
  color: var(--m-body) !important;
}

.about-more a:link,
.about-more a:visited {
  border-radius: 999px !important;
  background: var(--m-ink) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(11, 16, 51, 0.2) !important;
  transition: transform 0.35s var(--m-ease), background 0.25s ease !important;
}

.about-more a:hover {
  border-radius: 999px !important;
  background: var(--m-green) !important;
  color: #04260f !important;
  transform: translateY(-2px);
}

/* Product, contact & projects cards also lift over the hero */
.basket-white-wrap,
.projects-wrap {
  position: relative;
  z-index: 2;
  margin-top: -64px !important;
  border-radius: var(--m-radius-lg) !important;
  box-shadow: var(--m-shadow-lg) !important;
}

.contact-banner .about-banner-content {
  padding-top: 0 !important;
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

@media (max-width: 767px) {
  .about-intro {
    margin-top: -40px !important;
    padding: 28px 20px 16px !important;
    border-radius: 22px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    width: auto !important;
  }

  .about-intro > .row,
  .about-intro > a > .row {
    margin-left: 0;
    margin-right: 0;
  }

  .basket-white-wrap,
  .projects-wrap {
    margin-top: -40px !important;
  }

  .contact-banner .about-banner-content {
    margin-top: -40px;
  }
}

/* --- 16. Projects: enquiry band & client logos --------------------------- */
.work-enquiry {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0 !important;
  padding: 72px 0 !important;
  background: #0b1033 !important;
  background-image: none !important;
}

.work-enquiry::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(35% 45% at 80% 30%, rgba(34, 197, 94, 0.35), transparent 70%),
    radial-gradient(35% 45% at 15% 80%, rgba(56, 189, 248, 0.25), transparent 70%);
  filter: blur(20px);
  animation: m-mesh 18s ease-in-out infinite alternate;
}

.enquiry-content h1 {
  color: #fff !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
}

.enquiry-content h5 {
  color: rgba(226, 232, 240, 0.8) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

.enquiry-email a:link,
.enquiry-email a:visited,
.enquiry-email a:hover {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #34d27a, #22c55e) !important;
  color: #04260f !important;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.35) !important;
}

.enquiry-email a:hover {
  transform: translateY(-2px);
}

.client-logo img {
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s var(--m-ease);
}

.client-logo img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* --- 17. Division pages: capability boxes -------------------------------- */
.row:has(> [class*="col-"] > .spec-grid-box) {
  display: flex;
  flex-wrap: wrap;
}

.row > [class*="col-"]:has(> .spec-grid-box) {
  display: flex;
  margin-bottom: 20px;
}

.spec-grid-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 28px 24px 24px !important;
  border-radius: var(--m-radius) !important;
  background: #fff !important;
  border: 1px solid var(--m-line) !important;
  box-shadow: var(--m-shadow) !important;
  transition: transform 0.45s var(--m-ease), box-shadow 0.45s var(--m-ease), border-color 0.3s ease !important;
}

.spec-grid-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--m-ease);
}

.spec-grid-box:hover {
  transform: translateY(-5px);
  border-color: #d5dbea !important;
  box-shadow: var(--m-shadow-lg) !important;
}

.spec-grid-box:hover::before {
  transform: scaleX(1);
}

.spec-grid-box h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--m-ink) !important;
  letter-spacing: -0.015em;
}

.spec-grid-box p {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: var(--m-muted) !important;
}

/* Filter pills on catalogues */
.filter-pill-btn {
  border-radius: 999px !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--m-ease) !important;
}

.filter-pill-btn:hover {
  transform: translateY(-1px);
}

/* --- 18. Motion: smart navbar & scroll-linked image reveal --------------- */
.header {
  transition: transform 0.5s var(--m-ease), top 0.3s ease, height 0.3s ease,
    background-color 0.3s ease, box-shadow 0.3s ease !important;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cat-product-img img,
    .division-card-thumb img,
    .m-bento .product-img-frame img,
    .experience-img img,
    .about-img img,
    .basket-white-wrap .gallery-img,
    .basket-white-wrap .tough-img,
    .project-lightbox a img.example-image {
      animation: m-img-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }
  }
}

@keyframes m-img-in {
  from { opacity: 0.35; scale: 1.12; filter: saturate(0.6); }
  to   { opacity: 1; scale: 1; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
}


/* --- 19. Footer (2026) --------------------------------------------------- */
.jk-footer.mf {
  padding: 72px 0 0 !important;
  color: rgba(226, 232, 240, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mf svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mf svg.mf-fill {
  fill: currentColor;
  stroke: none;
}

/* CTA card */
.mf-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 32px;
  align-items: center;
  padding: 40px 44px;
  border-radius: var(--m-radius-lg);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(34, 197, 94, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 30px 60px rgba(2, 6, 23, 0.35);
}

.mf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  margin-bottom: 10px;
}

.mf-cta__title {
  font-size: clamp(26px, 3.2vw, 38px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  margin: 0 0 10px !important;
}

.mf-cta p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.72);
  margin: 0;
  max-width: 46ch;
}

.mf-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.35s var(--m-ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.35s var(--m-ease);
}

.mf-btn:hover,
.mf-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.mf-btn--primary {
  color: #04260f !important;
  background: linear-gradient(180deg, #34d27a, #22c55e);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.35);
}

.mf-btn--primary:hover,
.mf-btn--primary:focus-visible {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.45);
}

.mf-btn--primary svg {
  transition: transform 0.35s var(--m-ease);
}

.mf-btn--primary:hover svg {
  transform: translateX(3px);
}

/* Grid */
.mf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  padding: 64px 0 56px;
}

.mf-logo {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--m-ease);
}

.mf-logo:hover {
  transform: translateY(-2px);
}

.mf-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.mf-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.68);
  margin: 20px 0 18px;
  max-width: 36ch;
}

.mf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.mf-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.mf-badges svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
  color: #4ade80;
}

.mf-socials {
  display: flex;
  gap: 10px;
}

.mf-socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--m-ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mf-socials a:hover {
  transform: translateY(-3px);
  color: #04260f;
  background: #4ade80;
  border-color: #4ade80;
}

.mf-col__title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  color: #fff !important;
  margin: 6px 0 20px !important;
}

.mf-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.mf-links a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  color: rgba(226, 232, 240, 0.7) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.mf-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: #4ade80;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--m-ease);
}

.mf-links a:hover,
.mf-links a:focus-visible {
  color: #fff !important;
}

.mf-links a:hover::after,
.mf-links a:focus-visible::after {
  transform: scaleX(1);
}

/* Contact list */
.mf-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.mf-contact li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mf-ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.mf-ico svg {
  width: 17px;
  height: 17px;
}

.mf-contact li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mf-contact small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 2px;
}

.mf-contact a,
.mf-contact span:not(.mf-ico) {
  font-size: 15px;
  font-weight: 500;
  color: #fff !important;
  text-decoration: none !important;
  word-break: break-word;
}

.mf-contact a:hover {
  color: #4ade80 !important;
}

.mf-contact a.mf-more {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4ade80 !important;
}

/* Bottom bar */
.mf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-bottom p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(148, 163, 184, 0.85);
}

/* Responsive */
@media (max-width: 1199px) {
  .mf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
  }

  .mf-brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 32px;
    align-items: start;
  }

  .mf-brand .mf-logo {
    grid-row: span 3;
  }

  .mf-desc {
    margin: 0 0 4px;
    max-width: 60ch;
  }

  .mf-badges {
    margin: 6px 0 10px;
  }
}

@media (max-width: 860px) {
  .mf-cta {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }

  .mf-cta__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .jk-footer.mf {
    padding-top: 48px !important;
  }

  .mf-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
    padding: 44px 0 36px;
  }

  .mf-brand {
    display: block;
  }

  .mf-desc {
    margin: 18px 0 16px;
  }

  .mf-grid > .mf-col:last-child {
    grid-column: 1 / -1;
  }

  .mf-bottom {
    flex-direction: column;
    padding-bottom: 96px; /* room for the mobile quick-action bar */
  }
}

@media (max-width: 480px) {
  .mf-cta {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .mf-cta__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mf-cta__actions .mf-btn--primary {
    grid-column: 1 / -1;
  }

  .mf-btn {
    padding: 12px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mf-btn,
  .mf-socials a,
  .mf-logo,
  .mf-links a::after {
    transition: none !important;
  }
}

/* --- 20. Footer: compact sizing ------------------------------------------ */
.jk-footer.mf {
  padding-top: 40px !important;
}

/* Slim one-line action bar */
.mf-cta {
  gap: 20px 28px;
  padding: 22px 28px;
  border-radius: 20px;
}

.mf-eyebrow {
  font-size: 11px;
  margin-bottom: 4px;
}

.mf-cta__title {
  font-size: clamp(20px, 2vw, 24px) !important;
  margin: 0 !important;
}

.mf-cta p {
  display: none;
}

.mf-btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

/* Tighter grid */
.mf-grid {
  gap: 32px;
  padding: 36px 0 28px;
}

.mf-logo {
  padding: 7px 11px;
  border-radius: 12px;
}

.mf-logo img {
  height: 36px;
}

.mf-desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 12px;
}

.mf-badges {
  gap: 6px;
  margin-bottom: 14px;
}

.mf-badges li {
  font-size: 11.5px;
  padding: 4px 10px 4px 8px;
}

.mf-socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.mf-socials svg {
  width: 16px;
  height: 16px;
}

.mf-col__title {
  font-size: 12px !important;
  margin: 2px 0 14px !important;
}

.mf-links {
  gap: 9px;
}

.mf-links a {
  font-size: 14px;
}

.mf-contact {
  gap: 12px;
}

.mf-contact li {
  gap: 11px;
  align-items: center;
}

.mf-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.mf-ico svg {
  width: 15px;
  height: 15px;
}

.mf-contact small {
  font-size: 11px;
  margin: 0;
}

.mf-contact a,
.mf-contact span:not(.mf-ico) {
  font-size: 14px;
}

.mf-inline {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1200px) {
  .mf-inline {
    flex-direction: row;
    gap: 10px;
  }

  .mf-inline a + a::before {
    content: "\00B7";
    margin-right: 10px;
    color: rgba(148, 163, 184, 0.6);
  }
}

@media (max-width: 767px) {
  .mf-inline {
    flex-direction: row;
    gap: 10px;
  }

  .mf-inline a + a::before {
    content: "\00B7";
    margin-right: 10px;
    color: rgba(148, 163, 184, 0.6);
  }
}

.mf-bottom {
  padding: 16px 0 20px;
}

.mf-bottom p {
  font-size: 12.5px;
}

/* Legal identity strip — brand ↔ registered firm, both GSTINs, official WhatsApp */
.mf-legal {
  padding: 14px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mf-legal p {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.85);
}

.mf-legal p:last-child {
  margin-bottom: 0;
}

.mf-legal strong,
.mf-legal__unit span {
  color: rgba(226, 232, 240, 0.95);
  font-weight: 600;
}

.mf-legal a {
  color: #4ade80 !important;
}

/* Keep four columns down to tablet landscape */
@media (max-width: 1199px) and (min-width: 992px) {
  .mf-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 28px;
  }

  .mf-brand {
    grid-column: auto;
    display: block;
  }

  .mf-desc {
    margin: 14px 0 12px;
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .mf-brand {
    gap: 4px 24px;
  }

  .mf-brand .mf-logo {
    grid-row: span 3;
  }
}

@media (max-width: 767px) {
  .jk-footer.mf {
    padding-top: 28px !important;
  }

  .mf-cta {
    padding: 20px;
  }

  .mf-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .mf-cta__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .mf-cta__actions .mf-btn--primary {
    grid-column: 1 / -1;
  }

  .mf-btn {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 13px;
    gap: 6px;
  }

  .mf-btn svg {
    width: 15px;
    height: 15px;
  }

  /* Brand: logo, badges and socials on one compact block */
  .mf-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
  }

  .mf-desc {
    display: none;
  }

  .mf-badges {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .mf-socials {
    margin-left: auto;
  }

  .mf-grid {
    gap: 24px 16px;
    padding: 26px 0 20px;
  }

  .mf-bottom {
    padding: 14px 0 90px;
    gap: 2px;
  }
}

