/*==============================================================
  MechKnow – Home page content sections
  Uses the theme palette: #fbbc00 (yellow), #0d1028 (navy), #828893 (body text)
==============================================================*/

/* Banner slide headings were changed from h1 to h2 so the page has a single H1.
   These rules keep the slider looking exactly as before. */
.main-banner-content h2 {
  color: #ffffff;
  font-size: 60px;
  font-weight: 500;
  margin-bottom: 0;
}
.main-banner-content h2 span {
  color: #fbbc00;
}
@media only screen and (max-width: 767px) {
  .main-banner-content h2 { font-size: 30px; }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .main-banner-content h2 { font-size: 40px; }
}

/* Smooth scrolling for "Get a Free Quote" anchor links */
html { scroll-behavior: smooth; }
#get-quote { scroll-margin-top: 90px; }

/* Shared helpers */
.mk-eyebrow {
  display: inline-block;
  color: #fbbc00;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mk-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}
.mk-btn-outline {
  display: inline-block;
  padding: 13px 30px;
  font-weight: 500;
  font-size: 15px;
  border: 2px solid #0d1028;
  color: #0d1028;
  border-radius: 0;
  transition: .4s;
}
.mk-btn-outline:hover,
.mk-btn-outline:focus {
  background: #0d1028;
  color: #ffffff;
}
.mk-btn-yellow {
  background: #fbbc00;
  color: #0d1028 !important;
}
.mk-btn-yellow:hover,
.mk-btn-yellow:focus {
  color: #ffffff !important;
}
.mk-section-intro {
  max-width: 760px;
}
.mk-section-intro.text-center {
  margin-left: auto;
  margin-right: auto;
}
/* Centered section intros: drop the theme's left rule on .section-title p */
.section-title.text-center p,
.section-title .mk-section-intro p {
  border-left: none;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
}
.section-title.text-center .bar {
  margin-left: auto;
  margin-right: auto;
}

/* 1. Intro / H1 */
.mk-intro {
  position: relative;
  border-bottom: 1px solid #ececec;
}
.mk-intro h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}
.mk-intro .mk-subtitle {
  font-size: 21px;
  color: #0d1028;
  font-weight: 500;
  margin-bottom: 22px;
}
.mk-intro p.mk-lead {
  font-size: 16px;
}
.mk-intro .mk-intro-cta-text {
  color: #0d1028;
  font-weight: 600;
  margin-top: 10px;
}
.mk-intro-highlights {
  background: #0d1028;
  padding: 40px 35px;
  border-top: 4px solid #fbbc00;
}
.mk-intro-highlights h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 20px;
}
.mk-intro-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mk-intro-highlights li {
  color: #d5d7de;
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
}
.mk-intro-highlights li:last-child { border-bottom: none; }
.mk-intro-highlights li i {
  position: absolute;
  left: 0;
  top: 11px;
  color: #fbbc00;
}

/* 2. Our Industrial Solutions */
.mk-solution-card {
  background: #ffffff;
  box-shadow: 0 0 1.25rem rgba(108, 118, 134, 0.1);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  transition: .4s;
}
.mk-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(13, 16, 40, 0.12);
}
.mk-solution-card .mk-solution-img {
  position: relative;
}
.mk-solution-card .mk-img-wrap {
  overflow: hidden;
}
.mk-solution-card .mk-solution-img img {
  width: 100%;
  aspect-ratio: 510 / 366;
  object-fit: cover;
  transition: .6s;
}
.mk-solution-card:hover .mk-solution-img img {
  transform: scale(1.06);
}
.mk-solution-card .mk-solution-icon {
  position: absolute;
  left: 25px;
  bottom: -28px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  background: #fbbc00;
  color: #0d1028;
  font-size: 26px;
  z-index: 2;
}
.mk-solution-card .mk-solution-icon i::before { font-size: 26px; margin-left: 0; }
.mk-solution-card .mk-solution-body {
  padding: 45px 25px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.mk-solution-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.mk-solution-card p { margin-bottom: 12px; }
.mk-solution-card .mk-list-label {
  font-weight: 500;
  color: #0d1028;
  margin: 5px 0 8px;
}
.mk-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.mk-solution-row-content .mk-check-list {
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.mk-check-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #5d6576;
  line-height: 1.5;
}
.mk-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: #fbbc00;
}
.mk-explore-link {
  margin-top: auto;
  padding-top: 10px;
  font-weight: 500;
  color: #0d1028;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  border-bottom: 2px solid #fbbc00;
  padding-bottom: 3px;
  transition: .3s;
}
.mk-explore-link:hover,
.mk-explore-link:focus { color: #fbbc00; }

/* 3. Why Choose MechKnow */
.mk-why .section-title span.mk-tagline {
  display: block;
  color: #fbbc00;
  font-size: 18px;
  font-weight: 500;
}
.mk-why-box {
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 32px 25px;
  height: calc(100% - 30px);
  margin-bottom: 30px;
  transition: .4s;
  position: relative;
}
.mk-why-box::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: #fbbc00;
  transition: .4s;
}
.mk-why-box:hover { box-shadow: 0 10px 30px rgba(13,16,40,.08); }
.mk-why-box:hover::after { width: 100%; }
.mk-why-box .icon {
  color: #fbbc00;
  margin-bottom: 15px;
}
.mk-why-box .icon i::before { font-size: 40px; margin-left: 0; }
.mk-why-box h3 { font-size: 20px; margin-bottom: 10px; }

/* 4. Solutions Built Around Your Business / How We Work */
.mk-process { position: relative; }
.mk-process .section-title h2,
.mk-process h3 { color: #ffffff; }
.mk-process p { color: #b9bccb; }
.mk-process .mk-process-lead {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
}
.mk-process .mk-how-title {
  color: #ffffff;
  font-size: 26px;
  margin: 50px 0 30px;
}
.mk-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.mk-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  padding: 28px 22px;
  position: relative;
  transition: .4s;
}
.mk-step:hover {
  border-color: #fbbc00;
  background: rgba(251,188,0,.06);
}
.mk-step .mk-step-no {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: #fbbc00;
  line-height: 1;
  margin-bottom: 12px;
}
.mk-step h4 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 10px;
}
.mk-step p { font-size: 14px; line-height: 1.75; }

/* 5. Industries We Serve */
.mk-industry {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #ffffff;
  padding: 28px 24px;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  box-shadow: 0 0 1.25rem rgba(108, 118, 134, 0.1);
  border-left: 3px solid #fbbc00;
}
.mk-industry .icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  line-height: 58px;
  text-align: center;
  background: #0d1028;
  color: #fbbc00;
}
.mk-industry .icon i::before { font-size: 28px; margin-left: 0; }
.mk-industry h3 { font-size: 19px; margin-bottom: 6px; }
.mk-industry p { font-size: 14px; line-height: 1.75; }

/* 6. Industrial Equipment Supplier in Hyderabad */
.mk-location-card {
  background: #0d1028;
  padding: 35px;
  color: #ffffff;
  border-top: 4px solid #fbbc00;
}
.mk-location-card h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 18px;
}
.mk-location-card address {
  color: #d5d7de;
  font-style: normal;
  line-height: 1.85;
  margin-bottom: 18px;
}
.mk-location-card .mk-contact-line {
  color: #d5d7de;
  margin-bottom: 8px;
}
.mk-location-card .mk-contact-line i { color: #fbbc00; margin-right: 8px; }
.mk-location-card .mk-contact-line a { color: #ffffff; }
.mk-location-card .mk-contact-line a:hover { color: #fbbc00; }
.mk-location-card .mk-btn-group { margin-top: 25px; }
.mk-location-card .mk-btn-outline { border-color: #ffffff; color: #ffffff; }
.mk-location-card .mk-btn-outline:hover { background: #ffffff; color: #0d1028; }
.mk-map {
  margin-top: 30px;
  border: 0;
  width: 100%;
  height: 300px;
  display: block;
}

/* 7. Final CTA + quote form */
.mk-final-cta {
  background: #f7f7f7;
}
.mk-final-cta h2 {
  font-size: 36px;
  font-weight: 700;
}
.mk-final-cta .mk-cta-question {
  color: #0d1028;
  font-size: 19px;
  font-weight: 500;
}
.mk-final-cta .mk-cta-contact {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}
.mk-final-cta .mk-cta-contact li {
  margin-bottom: 12px;
  font-size: 17px;
  color: #0d1028;
}
.mk-final-cta .mk-cta-contact i {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  background: #fbbc00;
  color: #0d1028;
  margin-right: 12px;
}
.mk-final-cta .mk-cta-contact a { color: #0d1028; font-weight: 500; }
.mk-final-cta .mk-cta-contact a:hover { color: #fbbc00; }
.mk-final-cta .quote-form { margin-left: 0; }

/* FAQ: give the longer answer list a little room */
.faq-content .accordion .accordion-content { line-height: 1.8; }

/* Responsive */
@media only screen and (max-width: 1199px) {
  .mk-steps { grid-template-columns: repeat(3, 1fr); }
}
@media only screen and (max-width: 991px) {
  .mk-intro h1 { font-size: 34px; }
  .mk-intro-highlights { margin-top: 35px; }
  .mk-steps { grid-template-columns: repeat(2, 1fr); }
  .mk-location-card { margin-top: 35px; }
  .mk-final-cta .quote-form { margin-top: 35px; }
}
@media only screen and (max-width: 767px) {
  .mk-intro h1 { font-size: 28px; }
  .mk-intro .mk-subtitle { font-size: 18px; }
  .mk-steps { grid-template-columns: 1fr; }
  .mk-check-list { grid-template-columns: 1fr; }
  .mk-final-cta h2 { font-size: 26px; }
  .mk-process .mk-how-title { margin-top: 35px; }
}

/* Solutions page (solutions.php) */
.mk-solution-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.mk-solution-nav a {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid #ececec;
  color: #0d1028;
  font-weight: 500;
  font-size: 14px;
  transition: .3s;
}
.mk-solution-nav a:hover,
.mk-solution-nav a:focus {
  background: #fbbc00;
  border-color: #fbbc00;
}
.mk-solution-row {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}
.mk-solution-row:last-child { margin-bottom: 0; }
.mk-solution-row-img {
  position: relative;
}
.mk-solution-row-img img {
  width: 100%;
  aspect-ratio: 510 / 366;
  object-fit: cover;
}
.mk-solution-row-img .mk-solution-icon {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: #fbbc00;
  color: #0d1028;
}
.mk-solution-row.flex-row-reverse .mk-solution-row-img .mk-solution-icon {
  right: auto;
  left: -15px;
}
.mk-solution-row-img .mk-solution-icon i::before { font-size: 32px; margin-left: 0; }
.mk-solution-row-content { padding: 0 25px; }
.mk-solution-row-content h2 { font-size: 32px; font-weight: 700; margin-bottom: 15px; }
@media only screen and (max-width: 991px) {
  .mk-solution-row-content { padding: 40px 0 0; }
  .mk-solution-row-img .mk-solution-icon { right: 15px !important; left: auto !important; }
}
