:root {
  --primary-color-1: #ffd000;
  --color-4: #e5b400;
}

.ms-template-home {
  --ms-black: #070707;
  --ms-yellow: #ffd000;
  --ms-gray: #686868;
  overflow-x: hidden;
}

html:has(.ms-template-home) {
  overflow-x: hidden;
}

.ms-template-home .switch__tab {
  display: none;
}

.ms-template-home .header__four {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ms-template-home .header__area-menubar-left-logo img,
.ms-template-home .menu__bar-popup-top .logo img {
  width: 210px;
  max-height: 58px;
  object-fit: contain;
}

.ms-template-home .header__area-menubar-center-menu ul li a {
  color: var(--ms-black);
  font-weight: 800;
  text-transform: uppercase;
}

.ms-template-home .header__area-menubar-center-menu ul li a:hover {
  color: var(--ms-yellow);
}

.ms-template-home .header__area-menubar-right-search-icon,
.ms-template-home .header__area-menubar-right-sidebar-icon {
  color: var(--ms-black);
}

.ms-template-home .ms-hero-template {
  position: relative;
  background: var(--ms-black);
}

.ms-template-home .ms-hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.65) 42%, rgba(0, 0, 0, 0.2) 100%),
    url("../img/ms/hero-eletrica-industrial.png") center/cover no-repeat;
}

.ms-template-home .ms-hero-image video {
  display: none;
}

.ms-template-home .banner__four-content {
  position: relative;
  z-index: 2;
}

.ms-template-home .banner__four-content .h_rotate {
  display: none;
}

.ms-template-home .banner__four-content h1,
.ms-template-home .banner__four-content h2 {
  color: #ffffff;
}

.ms-template-home .banner__four-content .subtitle {
  color: var(--ms-yellow);
}

.ms-template-home .ms-hero-text {
  max-width: 680px;
  margin: 22px 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.7;
}

.ms-template-home .banner__four-brand .scroll__slider ul li {
  width: auto;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid rgba(255, 208, 0, 0.35);
  border-radius: 16px;
  background: #ffffff;
}

.ms-template-home .banner__four-brand .scroll__slider ul li span {
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
}

.ms-template-home .ms-trusted-companies .title h4 {
  max-width: 360px;
}

.ms-template-home .ms-trusted-companies .scroll__slider ul li img {
  width: 190px;
  max-height: 74px;
  object-fit: contain;
  filter: none;
}

.ms-template-home .about__four-left img,
.ms-template-home .about__four-right img,
.ms-template-home .services__four-image img,
.ms-template-home .success__area-right > img,
.ms-template-home .industry__four-left > img,
.ms-template-home .text__slide-right > img {
  width: 100%;
  object-fit: cover;
}

.ms-template-home .about__four-left img,
.ms-template-home .about__four-right img {
  min-height: 320px;
}

.ms-template-home .portfolio__four-area-item img {
  height: 520px;
  object-fit: cover;
}

.ms-template-home .portfolio__one-item-content h4 a,
.ms-template-home .portfolio__one-item-content span {
  color: #ffffff;
}

.ms-template-home .cta__four-area {
  position: relative;
  overflow: hidden;
}

.ms-template-home .cta__four-area::before {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  content: "";
}

.ms-template-home .cta__four-area-content {
  position: relative;
  z-index: 1;
}

.ms-template-home .footer__four .logo img,
.ms-template-home .header__area-menubar-right-sidebar-popup-logo img {
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
}

.ms-template-home .header__area-menubar-right-sidebar-popup {
  background: var(--ms-black);
}

.ms-template-home .header__area-menubar-right-sidebar-popup p,
.ms-template-home .header__area-menubar-right-sidebar-popup h4,
.ms-template-home .header__area-menubar-right-sidebar-popup span,
.ms-template-home .header__area-menubar-right-sidebar-popup a {
  color: #ffffff;
}

@media (max-width: 991px) {
  .ms-template-home .header__area-menubar-left-logo img {
    width: 170px;
  }

  .ms-template-home .banner__four-content h1,
  .ms-template-home .banner__four-content h2 {
    font-size: 58px;
  }
}

@media (max-width: 575px) {
  .ms-template-home .banner__four-content h1,
  .ms-template-home .banner__four-content h2 {
    font-size: 42px;
  }

  .ms-template-home .ms-hero-text {
    font-size: 17px;
  }

  .ms-template-home .portfolio__four-area-item img {
    height: 390px;
  }
}
