* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

.red-c {
  color: #cf3339;
}

.red-b {
  background-color: #cf3339;
}

.gray-c {
  color: #5b6670;
}

.gray-b {
  background-color: #e2e4e6;
}

/* NAV */
.header-btn {
  background-color: #cf3339;
  color: white !important;
  padding: 10px 25px;
  clip-path: polygon(4% 0, 100% 0, 100% 50%, 100% 100%, 0% 100%);
  font-weight: bolder;
}

.input-custom {
  border: none;
  border-bottom: 1px solid #e2e4e6;
}

.input-custom::placeholder {
  color: #5b6670;
}

.nav-link {
  color: #5b6670;
}

.navbar {
  z-index: 1;
  background: transparent !important;
}

/* Top Section */
.top-img-text-lg {
  left: 50%;
  right: 50%;
  transform: translate(-50%);
  position: absolute;
  height: 100%;
}

.top-img-wrapper {
  background-image: url("../assests/front-img.png");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  clip-path: polygon(20% 0, 100% 0, 100% 50%, 100% 100%, 0% 100%);
}

.main-photo-text-sm {
  display: none;
}

/* About */
.about-img {
  height: 30em;
  object-fit: cover;
  object-position: center;
}

/* Our services */
.our-services {
  clip-path: polygon(0 0, 100% 13%, 100% 50%, 100% 100%, 0% 100%);
}

.services-img-inner {
  height: 130px;
}

.our-services-img-left {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../assests/our_services.png");
}

.our-services-img-right {
  display: grid;
}

/* Smart solution */

/* Our client */
.our-client-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 45px 45px;
  align-content: center;
  justify-content: center;
}

.right-side-footer a:hover {
  color: #cf3339;
}

.hover {
  cursor: pointer;
}

/* For portrait mobile device */
@media only screen and (max-width: 991px) {
  .navbar {
    background-color: white !important;
  }

  .top-img-text-lg {
    display: none !important;
  }

  .top-img-wrapper {
    padding: 0;
    position: absolute;
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 100% 100%, 0% 100%);
  }

  .main-photo-text-sm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    position: relative;
    height: 100%;
    width: 100%;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
  }

  .our-client-img {
    width: 250px;
  }

  .our-client-wrapper {
    display: flex;
  }

  .services-img-inner {
    height: 100px;
    width: 140px;
  }

}

/* Custom Container Starts */
@media only screen and (min-width: 1400px) {
  .custom-container {
    width: 1320px;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1399) {
  .custom-container {
    width: 1140px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .custom-container {
    width: 960px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .custom-container {
    width: 720px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .custom-container {
    width: 540px;
  }
}

@media only screen and (max-width: 575px) {
  .custom-container {
    width: 100%;
  }
}
/* Custom Container Ends */

/* Scroll Animation start */
.m-scroll {
  display: flex;
  position: relative;
  width: 100%;
  height: 5em;
  margin: auto;
  background-color: #cf3339;
  overflow: hidden;
  z-index: 1;
}

.m-scroll__title {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  white-space: nowrap;
  /* transform: scale(2); */
}

.m-scroll__title>div {
  display: flex;
  animation: scrollText 33s infinite linear;
}

.m-scroll__title h1 {
  margin: 0;
  font-size: 10x;
  color: rgba(255, 255, 255, 1);
  transition: all 2s ease;
}

.m-scroll__title a {
  text-decoration: none;
  color: white;
}

div:hover {
  animation-play-state: paused;
}

@keyframes scrollText {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Scroll Animation end */