/* ========== Global ========== */
/* Color */
:root {
  --baseRed: #b91201;
  --baseYellow: #ead617;
}

/* Grid */
body section {
  padding: 50px 0;
}

/* Typo */
body * {
  font-family: "Montserrat", sans-serif;
}

body a,
body p,
body li,
body label,
body input,
body textarea {
  font-size: 15px;
}

body h3 {
  font-size: 25px;
}
body h5 {
  font-size: 20px;
}
body .title {
  border-left: 3px solid var(--baseRed);
  padding: 0px 0px 0px 10px;
}

/* UI */
body .text-color {
  color: var(--baseRed);
}
body .title h3 {
  margin: 0;
}
body .bg-alt {
  background-color: #f4f5f7;
}
body .custom-btn {
  color: var(--baseRed);
  border: 1px solid var(--baseRed);
  padding: 15px 30px;
  transition: all 0.3s;
  border-radius: 10px;
}
body .custom-btn:hover {
  color: white;
  background: var(--baseRed);
  text-decoration: none;
}
body .btn-search {
  background-color: var(--baseRed);
  color: #fff;
  border: 1px solid var(--baseRed);
  margin-bottom: 20px;
}
body .btn-search:hover {
  background-color: white;
  color: var(--baseRed);
  border: 1px solid var(--baseRed);
}
body .text-dim {
  color: #717171;
}

/* ========== Top Header ========== */
header {
  position: absolute;
  z-index: 999;
  width: 100%;
}

/* ========== Menu ========== */
nav {
  padding: 0 !important;
}
.menu {
  background: #fff;
}
nav ul li > a {
  font-size: 13px;
  transition: all 0.3s;
  text-transform: uppercase;
  color: black;
  padding: 20px 20px !important;
}
.menu .dropdown-item {
  padding: 10px 20px;
}

nav ul li a:hover,
nav ul li.active > a {
  color: var(--baseRed);
}
nav ul li:last-child a {
  padding: 20px 0px 0px 20px !important;
}
.navbar {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  padding: 0.5rem 1rem;
}
.navbar-toggler-iconbar {
  background: red;
  display: block;
  height: 2px;
  width: 25px;
  margin: 8px 0px;
}
nav ul .dropdown-menu {
  margin-top: 0;
  border-radius: 0;
  border: 0;
}
nav ul .dropdown-menu .dropdown-item:hover,
nav ul .dropdown-menu .dropdown-item:focus,
nav ul .dropdown-menu .dropdown-item.active {
  background-color: transparent;
}
nav ul .dropdown-menu .dropdown-item:hover,
nav ul .dropdown-menu .dropdown-item.active {
  color: var(--baseRed);
}

/* ========== Home ========== */
#home section:not(.index-experiences) {
  padding: 0;
}
#home .index-services {
  background: linear-gradient(transparent, #ffffff96 0px),
    url(/images/home/service-bg.png);
}
#home .about-text {
  line-height: 30px;
}
#home .grid-container {
  display: grid;
  grid-template-columns: 80px auto;
}
#home .grid-container .icon-box img {
  background: #b81104;
  padding: 10px 10px;
}
#home .grid-container .icon-box {
  margin: 0px 30px 30px 0px;
}
#home .service h6 {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  left: 50%;
  padding: 0 10px;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 15px;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}
#home .service:hover h6 {
  background-color: #b81104a3;
}
#home .service {
  text-align: center;
  position: relative;
  display: flex;
  margin-bottom: 10px;
}
#home .service i {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  background: #b81104;
}
#home .service .fa-plus-circle:before {
  content: "\f055";
  color: #fff;
}
#home .owl-prev span,
#home .owl-next span {
  font-size: 3em;
  line-height: 33px;
}
#home .owl-carousel {
  position: relative;
}
#home .owl-prev,
#home .owl-next {
  position: absolute;
  background: black !important;
  color: white !important;
  margin: 0 !important;
}
#home .owl-prev {
  left: -4px;
}
#home .owl-next {
  right: -4px;
}
#home .owl-nav {
  position: absolute;
  width: 100%;
  top: 40%;
}
#home .owl-theme .owl-nav {
  margin-top: 10px;
}
.index-experiences {
  padding: 80px 0px;
}

/* ========== about_us ========== */
#about_us .about-box {
  display: flex;
}
#about_us .about-box div:first-child {
  min-width: 70px;
  margin-right: 10px;
}
#about_us .about-box div:first-child img {
  padding: 10px;
  background-color: var(--baseRed);
}
#about_us .about-box div:last-child {
  flex: 1;
}

/* ========== solar_pumping ========== */
#solar_pumping .application-box {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #f4f5f7;
}
#solar_pumping .feature-box {
  background-color: rgb(185, 18, 1);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ========== contact ========== */
#contact address h5 {
  font-size: 18px;
  color: var(--baseRed);
}
#contact address p {
  padding-left: 20px;
}
#contact address a {
  color: #000;
}

/* ========== Footer ========== */
footer {
  padding: 40px 0;
  background-color: #111;
}
footer p,
footer a,
footer span {
  font-size: 13px;
  color: #A1A1A1;
}
footer a:hover {
  color: #A1A1A1;
}
footer h6 {
  font-size: 20px;
  text-transform: uppercase;
  color: #ffffff;
}
footer h6::after {
  content: "";
  display: block;
  width: 90%;
  background: var(--baseRed);
  height: 1px;
  margin: 20px 0px;
}
footer address {
  display: flex;
  margin-bottom: 8px;
}
footer address span {
  min-width: 25px;
  text-align: center;
  color: var(--baseRed);
  font-size: 18px;
  margin-right: 5px;
}
footer address div {
  flex: 1;
}
.useful-link {
  padding: 0;
  margin: 0;
}
.useful-link li a {
  display: inline-block;
  padding: 0 10px;
  height: 28px;
  transition: all 0.3s;
  text-transform: capitalize;
  position: relative;
}
.useful-link li:not(:last-child) a::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 10px; 
  position: absolute;
  right: 0;
  top: 35%;
  transform: translateY(-50%);
  background-color: #a1a1a1;
}
.useful-link li a:hover {
  background: transparent;
  color: #fff;
  text-decoration: none;
}
.useful-link li {
  display: inline;
}
.social-link {
  margin-bottom: 0;
  padding-left: 5px;
  list-style: none;
}
.social-link li a {
  font-size: 20px;
  color: var(--baseRed);
}
.social-link li a:hover {
  text-decoration: none;
  opacity: 0.8;
}
.social-link li {
  display: inline;
  padding: 0px 10px 0px 0px;
}

/* ========== CopyRight ========== */
.copy-right {
  background-color: #000;
  padding: 10px 0;
}
.copy-right *:not(a) {
  color: #a1a1a1;
}
.copy-right a {
  color: var(--baseRed);
}
.copy-right a:hover {
  opacity: 0.9;
  text-decoration: none;
}
.copy-right p, .copy-right a {
  margin-bottom: 0;
  font-size: 13px;
}


/* ========== goTop ========== */
#goTop {
  display: none;
  position: fixed;
  right: 1%;
  bottom: 1%;
  height: 40px;
  width: 40px;
  border-radius: 40px;
  border: 1px solid #fff;
  background-color: var(--baseRed);
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.5s;
  cursor: pointer;
  z-index: 2;
}
#goTop i {
  content: "";
  display: inline-block;
  height: 35%;
  width: 35%;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: 10%;
}

/*==============================Media Query======================*/
/* ========== Maxssssss ========== */
@media (max-width: 768px) {
  /*header {
    position: unset;
  }*/
  .top-header {
    background: black;
  }
  .font14 {
    font-size: 14px;
    color: #fff;
  }
  .facebook {
    color: #fff;
    margin-bottom: 0px;
  }
  .facebook a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
  }
}
@media (max-width: 991px) {
  .navbar-nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 25px;
    list-style: none;
  }
}

/* ========== Minssssss ========== */
@media only screen and (min-width: 769px) {
  .menu {
    margin-top: 35px;
  }
}
@media only screen and (min-width: 992px) {
  footer .color-box {
    right: 15px;
  }
}
