:root {
  --primary-color: #e3000f;
  --primary-color-light: #d6322c;
  --secondary-color: #f28b00;
  --third-color: #ffdd00;
  --fourth-color: #00a238;
  --fifth-color: #13a4de;
  --six-color: #2f2483;
  --seven-color: #941b82;
  --eight-color: #e7928e;
  --custom-primary: #4a4542;
  --ar-fs-h2: 42px;
  --ar-fs-h1: 54px;
  --ar-fw-ebold: 700;

  /* Unified site font (Rubik, loaded via Google Fonts in style.css) */
  --chetak-font: "Rubik", sans-serif;

  /* theme colors override  */
  --clr-theme-1: #e3000f !important;
  --clr-common-text: #242424 !important;
  --clr-common-color7: #212529 !important;
}

body,
body * {
  font-family: var(--chetak-font) !important;
}

/* Icon fonts must keep their own families */
.fa,
.fas,
.fal,
.far {
  font-family: "Font Awesome 5 Pro" !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
}

.fad {
  font-family: "Font Awesome 5 Duotone" !important;
}
.breadcrumb-spacing {
  padding-top: 150px !important;
  padding-bottom: 50px !important;
}

/* Current page in breadcrumb: distinct, high-contrast over the
   dark-overlaid background image so it is clearly readable. */
.breadcrumb-menu li.trail-end span,
.breadcrumb-menu li:last-child span {
  color: var(--primary-color-light);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* Keep separator readable too */
.breadcrumb-menu li.trail-end::before,
.breadcrumb-menu li:last-child::before {
  color: rgba(255, 255, 255, 0.85);
}
/* common css start */

.field-bot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.text-custom-black {
  color: var(--clr-common-color7) !important;
}
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1250px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* font-family: inherit !important; */
  color: var(--clr-common-heading);

  font-weight: 200;
}

/* common css end */

/* Active menu item color (uses the root --primary-color-light) */
.main-menu nav ul > li.active > a,
.main-menu nav ul > li.active > a:hover,
.main-menu nav ul > li.current-menu-item > a {
  color: var(--primary-color-light);
}

.main-menu nav ul > li.active > a::after {
  width: 100%;
  right: auto;
  left: 0;
  background-color: var(--primary-color-light);
}

/* Keep active dropdown parent readable on the dark transparent header */
.main-menu3 nav ul > li.active > a,
.main-menu3 nav ul > li.active > a:hover {
  color: var(--primary-color-light);
}

.main-menu3 nav ul > li.active > a::after {
  background-color: var(--primary-color-light);
}

/* Active category inside the Services dropdown */
.main-menu nav ul li ul li.active > a,
.main-menu nav ul li ul li.active > a:hover,
.main-menu nav ul li ul li.current-menu-item > a {
  color: var(--primary-color-light);
  font-weight: 600;
}

.main-menu nav ul li ul li.active > a::after {
  content: none;
}
/* index page css start */

/* Uniform black overlay across the whole home banner for text contrast */
.banner-area1 .banner-overlay-1::before {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
}
@media (max-width: 499px) {
  .banner-title {
    font-size: 30px;
  }
}
.bd-work__item-wrapper .row .col-xl-3:nth-child(even) {
  margin-top: 0px;
}
/* index page css end */

/* header css start */
@media (max-width: 767px) {
  .custom-enquiry {
    padding-left: 1rem !important;
  }
}
.main-menu .menu-item-has-children ul li {
  margin-right: 0px !important;
}
.main-menu nav ul li:hover > ul li > a {
  color: black;
  padding-bottom: 10px;
}
/* Active category stays highlighted even while hovering the parent
   (overrides the black hover rule above, needs equal/greater specificity). */
.main-menu nav ul li:hover > ul li.active > a,
.main-menu nav ul li ul li.active > a:hover {
  color: var(--primary-color-light);
  font-weight: 600;
}
.main-menu nav ul li ul {
  width: 300px;
}
/* .main-menu nav ul li {
  margin-right: 0px;
} */
.main-menu3 nav ul li a {
  color: black;
}
.bd-header__top3 ul li a {
  color: black;
}
.bd-header__page ul li:last-child {
  color: black !important;
}
.sidebar__area .sidebar__info-icon i {
  color: var(--primary-color);
}
.sidebar__area .mobile-menu ul li a {
  color: #1f1f1f;
}
.sidebar__area .mean-container .mean-nav ul li a {
  color: #1f1f1f;
  border-top-color: rgba(31, 31, 31, 0.08);
}

/* Mobile menu: replace the theme's per-link top rule */
.sidebar__area .mean-container .mean-nav ul li > a {
  border-top: none;
}
/* Single full-width divider line under each mobile menu item (top-level and sub-items) */
.sidebar__area .mean-container .mean-nav ul li {
  border-bottom: 1px solid rgba(31, 31, 31, 0.12);
}

/* Mobile menu: highlight the current page (top-level and sub-items) */
.sidebar__area .mean-container .mean-nav ul li.active > a,
.sidebar__area .mean-container .mean-nav ul li.active > a:hover,
.sidebar__area .mean-container .mean-nav ul li.current-menu-item > a {
  color: var(--primary-color-light);
  font-weight: 600;
}

/* Service cards: equal height with uniform image area */
.chetak-service-cards .bd-blog__box,
.chetak-service-cards .bd-blog__box article,
.chetak-service-cards .bd-blog__item {
  height: 100%;
}
.chetak-service-cards .bd-blog__item {
  display: flex;
  flex-direction: column;
}
.chetak-service-cards .bd-blog__thum {
  aspect-ratio: 16 / 10;
}
.chetak-service-cards .bd-blog__thum a {
  display: block;
  width: 100%;
  height: 100%;
}
.chetak-service-cards .bd-blog__thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chetak-service-cards .bd-blog__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Equipment cards: equal height in a row */
.chetak-equipment .bd-services1__item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.chetak-equipment .bd-services1__text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.chetak-equipment .bd-services1__title {
  margin-bottom: 0;
}

/* Sidebar logo: keep it inside the panel on all screen sizes */
.sidebar__logo {
  max-width: 220px;
}
.sidebar__logo a {
  display: block;
  max-width: 100%;
}
.sidebar__logo img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
}
@media (max-width: 575px) {
  .sidebar__logo {
    max-width: 170px;
    margin-bottom: 30px;
  }
}
/* header css end */

/* index css start */
.bd-counter__icon {
  font-size: 30px;
  height: 60px;
  width: 60px;
}
.banner-btn.one .theme-btn:last-child {
  background: var(--primary-color-light) !important;
}
.custom-primary-color {
  color: var(--custom-primary) !important;
}
/* index css end */

/* product css start */
.sidebar__list .active a {
  color: var(--primary-color-light) !important;
}

/* Services category list: limit height and add a scrollbar */
.chetak-category-scroll {
  max-height: 452px;
  overflow-y: auto;
  padding-right: 8px;
  margin-right: -8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color-light) rgba(0, 0, 0, 0.08);
}
.chetak-category-scroll::-webkit-scrollbar {
  width: 8px;
}
.chetak-category-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}
.chetak-category-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color-light);
  border-radius: 10px;
}
.chetak-category-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* product css end */

/* footer css start */

/* whatsapp button */
.chetak-whatsapp {
  position: fixed;
  right: 50px;
  bottom: 110px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background: #25d366;
  border: 2px solid #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 99;
  transition: transform 0.2s ease;
}

.chetak-whatsapp:hover {
  transform: translateY(-3px);
}

.chetak-whatsapp img {
  width: 24px;
  height: 24px;
}

@media (max-width: 575px) {
  .chetak-whatsapp {
    right: 15px;
    bottom: 75px;
  }
}
@media (max-width: 499px) {
  .bd-footer-2-padd {
    padding-top: 240px;
  }
}
.bd-footer__copy-text.two b {
  color: var(--primary-color-light);
}
.bd-footer__copy-text p {
  line-height: inherit;
}
/* footer css end */

/* legal pages (terms & conditions, privacy policy) css start */
.text-custom-primary {
  color: var(--primary-color-light) !important;
}
.legal-page .ar-legal-section {
  padding-top: 70px !important;
  padding-bottom: 90px !important;
  background: #f5f6f8;
}
.legal-page .ar-legal-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 52px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(17, 20, 45, 0.07);
}
.legal-page .ar-heading-area {
  margin-bottom: 6px;
}
.legal-page .subs-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.legal-page .subs-title > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(227, 0, 15, 0.09);
  color: var(--primary-color-light);
  font-size: 20px;
}
.legal-page .subs-title .sub-title {
  color: var(--primary-color-light);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-page .ar-legal-content .title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.24;
  color: var(--clr-common-color7);
  margin-bottom: 16px;
}
.legal-page .legal-updated {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 26px;
  border-radius: 100px;
  background: rgba(227, 0, 15, 0.08);
  font-size: 14px;
  font-weight: 600;
}
.legal-page .ar-legal-content > p:not(.legal-updated) {
  margin-bottom: 22px;
  color: #52565c;
  line-height: 1.85;
}
.legal-page .legal-block {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.legal-page .legal-block h3 {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--clr-common-color7);
}
.legal-page .legal-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--primary-color-light);
}
.legal-page .legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal-page .legal-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #52565c;
  line-height: 1.75;
}
.legal-page .legal-list li:last-child {
  margin-bottom: 0;
}
.legal-page .legal-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color-light);
}
.legal-page .ar-legal-content a:not(.text-custom-primary) {
  color: var(--primary-color-light);
}
.legal-page .ar-legal-content a:hover {
  text-decoration: underline;
}
@media only screen and (max-width: 767px) {
  .legal-page .ar-legal-section {
    padding-top: 45px !important;
    padding-bottom: 55px !important;
  }
  .legal-page .ar-legal-content {
    padding: 30px 22px;
    border-radius: 12px;
  }
  .legal-page .ar-legal-content .title {
    font-size: 27px;
  }
  .legal-page .legal-block h3 {
    font-size: 19px;
  }
}
/* legal pages css end */

/* service detail page css start */
.chetak-service-description {
  color: #292929;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.8;
}

.chetak-service-description * {
  box-sizing: border-box;
}

.chetak-service-description .cs-header {
  border-left: 4px solid #c51125;
  padding: 5px 0 5px 18px;
  margin-bottom: 22px;
}

.chetak-service-description .cs-label {
  display: block;
  color: #c51125;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.chetak-service-description h2 {
  color: #292929;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
}

.chetak-service-description h3 {
  color: #292929;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
  margin: 28px 0 14px;
}

.chetak-service-description p {
  color: #626262;
  margin: 0 0 16px;
}

.chetak-service-description .cs-intro {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.chetak-service-description .cs-divider {
  border: 0;
  border-top: 1px solid #e8e8e8;
  margin: 25px 0;
}

.chetak-service-description .cs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.chetak-service-description .cs-card {
  padding: 20px;
  background: #faf7f7;
  border: 1px solid #eee5e6;
  border-radius: 7px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.chetak-service-description .cs-card:hover {
  border-color: #c51125;
  transform: translateY(-2px);
}

.chetak-service-description .cs-card h4 {
  color: #292929;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 7px;
}

.chetak-service-description .cs-card p {
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.chetak-service-description .cs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #f0dfe1;
  border-radius: 6px;
  color: #c51125;
  font-size: 19px;
  font-weight: 700;
}

.chetak-service-description .cs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.chetak-service-description .cs-list li {
  position: relative;
  color: #626262;
  padding: 7px 0 7px 27px;
}

.chetak-service-description .cs-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 7px;
  color: #c51125;
  font-weight: 700;
}

@media (max-width: 575px) {
  .chetak-service-description h2 {
    font-size: 25px;
  }

  .chetak-service-description h3 {
    font-size: 20px;
  }

  .chetak-service-description .cs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chetak-service-description .cs-card {
    padding: 17px;
  }
}
/* service detail page css end */

/* home: services slider - equal slide height */
.bd-case__active .bd-case__img {
  height: 320px;
}

.bd-case__active .bd-case__img img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 575px) {
  .bd-case__active .bd-case__img {
    height: 260px;
  }
}

/* our clients page - logo grid */
.our-clients-logos .bd-brand-items img {
  opacity: 1;
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

/* prevent horizontal scrollbar caused by the off-canvas header menu */
html,
body {
  overflow-x: hidden;
}

/* footer logo plate */
.bd-footer__logo-plate {
  display: inline-block;
  background: transparent;
  padding: 14px 18px;
  border-radius: 8px;
  line-height: 0;
  transition: transform 0.3s ease;
}

.bd-footer__logo-plate:hover {
  transform: translateY(-3px);
}

.bd-footer__logo-plate img {
  height: auto;
}

@media (max-width: 575px) {
  .bd-footer__logo-plate img {
    max-width: 180px;
  }
}
