/* ============================================================
   MOHINDRA MECHANICAL WORKS — V2 THEME (part 1: core)
   Home + shared site-wide styles.
   ============================================================ */
:root {
  --v2-ink: #141414;
  --v2-ink-2: #1d1d1f;
  --v2-ink-3: #26262a;
  --v2-yellow: #ffc422;
  --v2-red: #d21f2b;
  --v2-red-dark: #a91620;
  --v2-grey: #f4f5f7;
  --v2-grey-2: #eef0f3;
  --v2-line: #e6e8ec;
  --v2-text: #4a4d55;
  --v2-text-strong: #22242a;
  --v2-font:
    "Manrope", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--v2-font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--v2-text);
  background: #fff;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
}
a {
  color: var(--v2-red);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--v2-red-dark);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--v2-font);
  color: var(--v2-text-strong);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.mmw-wide-container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 26px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.mmw-utility-bar {
  background: var(--v2-ink);
  color: #cfcfcf;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.mmw-utility-inner {
  max-width: 1600px;
  margin-inline: auto;
  padding: 8px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mmw-utility-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.mmw-utility-inner > span i {
  color: var(--v2-yellow);
}
.mmw-utility-inner > div {
  display: flex;
  gap: 22px;
}
.mmw-utility-inner a {
  color: #e9e9e9;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.mmw-utility-inner a:hover {
  color: var(--v2-yellow);
}
.mmw-utility-inner a i {
  color: var(--v2-yellow);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar.sticky-top {
  top: 0;
  z-index: 1030;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  margin: 0;
}
.navbar-brand img {
  width: auto;
  height: 60px;
  object-fit: contain;
}
.navbar-brand > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--v2-ink);
}
.navbar-brand small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8e98;
}
.navbar-nav {
  gap: 4px;
}
.navbar-nav .nav-link {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--v2-ink);
  padding: 10px 13px !important;
  border-radius: 8px;
}
.navbar-nav .nav-link:hover {
  color: var(--v2-red);
}
.navbar-nav .nav-link.active {
  color: var(--v2-red);
}
.navbar-nav .nav-link.dropdown-toggle:after {
  border: 0;
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 9px;
  vertical-align: middle;
  margin-left: 7px;
}
.dropdown-menu {
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.14);
  padding: 8px;
  min-width: 250px;
}
.dropdown-item {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--v2-text-strong);
  padding: 9px 14px;
  border-radius: 8px;
  letter-spacing: 0.01em;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--v2-grey);
  color: var(--v2-red);
}
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-menu {
  position: absolute;
  left: 100%;
  top: -8px;
  margin-left: 4px;
  margin-top: 0;
}
.dropdown-submenu > .dropdown-toggle:after {
  border: 0;
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  float: right;
  margin-top: 4px;
}
.dropdown-menu.long-dropdown {
  width: 440px;
  columns: 2;
  column-gap: 6px;
}
.dropdown-menu.long-dropdown .dropdown-item {
  break-inside: avoid;
}

/* mega products menu (restructured: solutions strip + category grid + footer) */
.dropdown-menu.mega-products {
  width: min(1100px, calc(100vw - 40px));
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.dropdown-menu.mega-products.show {
  display: block !important;
}

/* --- solutions strip --- */
.mega-solutions {
  border-bottom: 1px solid var(--v2-line);
  background: var(--v2-ink);
}
.mega-solutions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 10px;
}
.mega-solutions-head span {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--v2-yellow);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.mega-solutions-head span:before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--v2-red);
}
.mega-solutions-head a {
  font-size: 12.5px;
  font-weight: 700;
  color: #c9c9d1;
}
.mega-solutions-head a:hover {
  color: var(--v2-yellow);
}
.mega-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 6px 24px 20px;
}
.mega-solutions-grid a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e8ec;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s ease;
}
.mega-solutions-grid a i {
  font-size: 11px;
  color: var(--v2-yellow);
  margin-left: auto;
  transition: transform 0.2s ease;
}
.mega-solutions-grid a:hover {
  background: var(--v2-yellow);
  color: var(--v2-ink);
  border-color: var(--v2-yellow);
  transform: translateY(-2px);
}
.mega-solutions-grid a:hover i {
  color: var(--v2-ink);
  transform: translateX(3px);
}

/* --- category grid --- */
.mega-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 18px;
  padding: 20px 24px 8px;
}
.mega-block {
  margin: 0;
  min-width: 0;
  break-inside: avoid;
  list-style: none;
}
.mega-block.wide {
  grid-column: span 2;
}
.mega-block-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--v2-text-strong);
  text-transform: uppercase;
  padding: 10px 12px;
  margin-bottom: 5px;
  border-radius: 10px;
  background: var(--v2-grey);
  transition: all 0.25s ease;
}
.mega-block-title i {
  font-size: 13px;
  color: var(--v2-red);
  flex: 0 0 auto;
}
.mega-block-title:hover {
  background: var(--v2-ink);
  color: #fff;
}
.mega-block-title:hover i {
  color: var(--v2-yellow);
}
.mega-block-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mega-block-links li {
  margin: 0;
}
.mega-block-links a {
  display: block;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--v2-text);
  border-radius: 8px;
  line-height: 1.35;
  transition: all 0.2s ease;
}
.mega-block-links a:hover {
  background: var(--v2-grey);
  color: var(--v2-red);
  padding-left: 16px;
}
.mega-block-links.two-col {
  columns: 2;
  column-gap: 12px;
}
.mega-block-links.two-col a {
  break-inside: avoid;
}
.mega-block-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 12px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-red);
  text-decoration: none;
}
.mega-block-more i {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.mega-block-more:hover {
  color: var(--v2-red-dark);
}
.mega-block-more:hover i {
  transform: translateX(3px);
}

/* --- footer bar --- */
.mega-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 24px;
  margin-top: 12px;
  border-top: 1px solid var(--v2-line);
  background: var(--v2-grey);
}
.mega-footer span {
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text);
}
.mega-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--v2-ink);
}
.mega-footer a i {
  color: var(--v2-red);
  transition: transform 0.2s ease;
}
.mega-footer a:hover {
  color: var(--v2-red);
}
.mega-footer a:hover i {
  transform: translateX(3px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 18px;
}
.product-search-form {
  margin: 0;
}
.product-search-box {
  position: relative;
  width: 250px;
}
.product-search-input {
  width: 100%;
  height: 42px;
  padding: 9px 46px 9px 16px;
  border: 1.5px solid var(--v2-line);
  border-radius: 100px;
  font-size: 13px;
  background: var(--v2-grey);
  color: var(--v2-text-strong);
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.product-search-input:focus {
  border-color: var(--v2-yellow);
  background: #fff;
}
.product-search-btn {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--v2-ink);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.product-search-btn:hover {
  background: var(--v2-red);
}
.product-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 1040;
  background: #fff;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.16);
  max-height: 320px;
  overflow: auto;
  display: none;
}
.product-search-suggestions.open {
  display: block;
}
.product-search-suggestions a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-text-strong);
  border-bottom: 1px solid var(--v2-grey-2);
}
.product-search-suggestions a:last-child {
  border-bottom: 0;
}
.product-search-suggestions a:hover {
  background: var(--v2-grey);
  color: var(--v2-red);
}
.mmw-header-quote {
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 100px;
  background: var(--v2-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.mmw-header-quote:hover {
  background: var(--v2-red-dark);
  color: #fff;
  transform: translateY(-1px);
}
/* language / translate control */
.mobile-language-control {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--v2-line);
  border-radius: 100px;
  background: var(--v2-grey);
}
.mobile-language-icon {
  color: var(--v2-ink);
  font-size: 14px;
}
.mobile-language-control .goog-te-combo {
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-family: var(--v2-font);
  font-weight: 600;
  color: var(--v2-text-strong);
  outline: none;
  cursor: pointer;
  max-width: 120px;
}
.mobile-language-control .goog-te-combo option {
  color: var(--v2-text-strong);
}
.main-products-menu {
  width: min(760px, calc(100vw - 32px));
  padding: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 65px rgba(12, 17, 20, 0.2);
}
.main-products-menu.show {
  display: grid !important;
}
.main-products-menu li {
  list-style: none;
}
.main-products-menu a {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--v2-line);
  border-radius: 13px;
  background: #fff;
  color: var(--v2-text-strong);
  text-decoration: none;
  transition: 0.25s;
}
.main-products-menu a:hover {
  transform: translateY(-2px);
  border-color: var(--v2-yellow);
  background: var(--v2-grey);
}
.main-products-menu i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--v2-yellow);
  color: var(--v2-ink);
}
.main-products-menu span {
  display: grid;
  line-height: 1.25;
}
.main-products-menu strong {
  font-size: 13px;
}
.main-products-menu small {
  margin-top: 4px;
  color: var(--v2-text);
  font-size: 11px;
}
.mega-products-legacy {
  display: none !important;
}
.goog-te-gadget {
  font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo {
  margin: 0 !important;
}
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}
body {
  top: 0 !important;
}
.skiptranslate iframe {
  display: none !important;
}
@media (max-width: 991px) {
  .main-products-menu {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
  }
  .main-products-menu.show {
    display: grid !important;
  }
}
@media (max-width: 575px) {
  .main-products-menu {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .main-products-menu small {
    display: none;
  }
  .mobile-language-control {
    width: 100%;
    justify-content: center;
  }
  .mobile-language-control .goog-te-combo {
    max-width: 220px;
  }
}

.mobile-language-control {
  padding: 0 10px;
}
.mobile-language-control .goog-te-gadget {
  display: flex !important;
  align-items: center !important;
}
.mobile-language-control .goog-te-combo {
  min-width: 112px;
  max-width: 130px;
  padding: 0 5px;
  background: transparent !important;
}
.mobile-language-icon {
  display: none !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  border-radius: 100px;
  font-family: var(--v2-font);
  font-weight: 700;
}
.lgo-btn-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--v2-yellow);
  color: var(--v2-ink);
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid var(--v2-yellow);
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(255, 196, 34, 0.28);
}
.lgo-btn-yellow:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.lgo-btn-outline-yellow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}
.lgo-btn-outline-yellow:hover {
  background: #fff;
  color: var(--v2-ink);
  transform: translateY(-2px);
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.mmw-home #mainCarousel {
  position: relative;
  overflow: hidden;
  background: var(--v2-ink);
  min-height: min(620px, calc(100vh - 124px));
}
.mmw-home #mainCarousel .carousel-inner,
.mmw-home #mainCarousel .carousel-item {
  width: 100%;
}
.mmw-home #mainCarousel .carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  background: var(--v2-ink);
}
.mmw-home #mainCarousel .carousel-indicators {
  bottom: 44px;
  z-index: 6;
  margin: 0;
}
.mmw-home #mainCarousel .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  border-radius: 5px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
  margin: 0 4px;
}
.mmw-home #mainCarousel .carousel-indicators [data-bs-target].active {
  background: var(--v2-yellow);
  width: 46px;
}
.mmw-home #mainCarousel .carousel-control-prev,
.mmw-home #mainCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(22, 22, 22, 0.55);
  opacity: 1;
  display: grid;
  place-items: center;
}
.mmw-home #mainCarousel .carousel-control-prev {
  left: 18px;
  right: auto;
}
.mmw-home #mainCarousel .carousel-control-next {
  right: 18px;
  left: auto;
}
.mmw-home #mainCarousel .carousel-control-prev:hover,
.mmw-home #mainCarousel .carousel-control-next:hover {
  background: var(--v2-red);
  border-color: var(--v2-red);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.mmw-home-trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--v2-ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mmw-home-trustbar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}
.mmw-home-trustbar > div:last-child {
  border-right: 0;
}
.mmw-home-trustbar i {
  font-size: 26px;
  color: var(--v2-yellow);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.mmw-home-trustbar span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.mmw-home-trustbar strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.mmw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--v2-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.mmw-kicker:before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--v2-yellow);
}
.mmw-kicker-light {
  color: var(--v2-yellow);
}
.mmw-kicker-light:before {
  background: var(--v2-red);
}
