/**=======================================
<-- Start Carcity Hero Section Css -->
=========================================**/

.hero-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 700px;
}

.hero-icon-thumb {
  padding: 0 0 35px;
}
.hero-icon-thumb img{
  max-width: 500px;
}
.hero-title h2 {
  font-size: 85px;
  color: #575757;
  line-height: 90px;
  margin-top: 0;
}

.hero-button {
  display: inline-block;
  padding-right: 18px;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.hero-button:before {
  position: absolute;
  content: "";
  top: 32px;
  left: 41px;
  height: 2px;
  width: 15px;
  background: #fff;
  transition: 0.5s;
  z-index: 11;
}

.hero-button:after {
  position: absolute;
  content: "";
  top: 32px;
  right: 58px;
  height: 2px;
  width: 15px;
  background: #fff;
  transition: 0.5s;
  z-index: 11;
}

.hero-button a {
  font-size: 18px;
  padding: 20px 65px;
  font-weight: 500;
  line-height: 26px;
  border-radius: 4px;
  color: #fff;
  background: var(--color-primary);
  display: inline-block;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-button a:before,
.hero-button a:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: 0.5s;
  z-index: -1;
}

.hero-button a:before {
  transform: translateY(-100%);
}

.hero-button a:after {
  transform: translateY(100%);
}

/*button hover*/
.hero-button a:hover {
  color: var(--color-primary);
}

.hero-button:hover:before {
  background: var(--color-primary);
}

.hero-button:hover:after {
  background: var(--color-primary);
}

.hero-button a:hover:before {
  transform: translateY(-50%);
}

.hero-button a:hover:after {
  transform: translateY(50%);
}

/*button style two*/

.style-two.hero-button:before {
  background: var(--color-primary);
}

.style-two.hero-button:after {
  background: var(--color-primary);
}

.style-two.hero-button a {
  background: #ffff;
  color: var(--color-primary);
  overflow: hidden;
}

.style-two.hero-button a:before,
.style-two.hero-button a:after {
  background: var(--color-primary);
}

/*button hover*/
.style-two.hero-button a:hover {
  color: #fff;
}

.style-two.hero-button:hover:before {
  background: #fff;
}

.style-two.hero-button:hover:after {
  background: #fff;
}

@media (min-width: 1501px) and (max-width: 1799px) {
}

/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {
  .hero-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 700px;
}
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
  /*slider area*/
  .hero-section {
    height: 740px;
  }
  .hero-title h2 {
    font-size: 60px;
    line-height: 75px;
  }
  .hero-button {
    margin-top: 40px;
  }
  .carcity-bold-title h2 {
    font-size: 70px;
  }
}

/* Large Mobile :600px. */
@media (min-width: 600px) and (max-width: 767px) {
  /*slider area*/
  .hero-section {
    height: 700px;
  }
  .hero-title h2 {
    font-size: 46px;
    line-height: 50px;
  }
}

/* small mobile :480px. */
@media (min-width: 480px) and (max-width: 599px) {
  /*slider area*/
  .hero-section {
    height: 300px;
  }
  .hero-title h2 {
    font-size: 35px;
    line-height: 45px;
  }
  .hero-button {
    margin-top: 34px;
  }
  .hero-button a {
    padding: 20px 58px;
  }
  .hero-button:before {
    left: 36px;
  }
  .hero-button:after {
    right: 53px;
  }
}

/* small mobile :320px. */
@media (min-width: 320px) and (max-width: 479px) {
  /*slider area*/

  .hero-section {
    height: 250px;
    text-align: center;
  }
  .hero-title h2 {
    font-size: 26px;
    line-height: 34px;
  }
  .hero-button {
    margin-top: 34px;
  }
  .hero-icon-thumb img {
    width: 86%;
  }
  .hero-button a {
    font-size: 15px;
    padding: 10px 25px;
  }
  .hero-button:before {
    display: none;
  }
  .hero-button:after {
    display: none;
  }
  .hero-button.style-two {
    margin-top: 7px;
  }
}
