.pb-50 {
  padding-bottom: 50px;
}

/*--==============================================->
  <!-- Start Carcity Section Title Css -->
 ==================================================-*/

 .contact-section .carcity-section-title h4 {
  font-size: 17px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 26px;
  text-transform: uppercase;
  padding-bottom: 11px;
}

.contact-section .carcity-section-title h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 54px;
  text-transform: capitalize;
}

.contact-section .carcity-section-title p {
  padding: 24px 0 0;
  line-height: 28px;
  font-size: 16px;
}

/*--==============================================->
<!--Start Carcity Contact Adress Css-->
==================================================-*/

.contact-section {
  padding: 0 0 50px;
}

.row.contact-bg {
  background: url("./pics/contact_bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 50px 80px 50px;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}

.single-contact-box {
  height: 250px;
  padding: 25px 30px 8px;
  background: #fff;
  margin-bottom: 30px;
  margin-right: 6px;
  border-radius: 5px;
  box-shadow: 0 10px 50px rgba(231, 231, 231, 0.5);
  position: relative;
  z-index: 1;
}

.single-contact-box:before {
  position: absolute;
  content: "";
  z-index: -1;
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: #0d0e14;
  transition: 0.5s;
  border-radius: 5px;
}

.contact-icon {
  float: left;
  padding-right: 15px;
}

.contact-icon i {
  font-size: 30px;
  display: inline-block;
  color: var(--color-primary);
  transition: 0.5s;
}

.contact-content {
  overflow: hidden;
}

.contact-title h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  padding: 0 0 10px;
  margin-top: 0;
  transition: 0.5s;
}

.contact-desc p {
  font-size: 15px;
  line-height: 26px;
  transition: 0.5s;
  margin-bottom: 10px;
}

.row.contact-form-bg {
  padding: 30px 30px 40px;
  background: var(--color-primary);
  border-radius: 5px;
  flex-direction: column;
}

.contact-form-title h2 {
  font-size: 38px;
  font-weight: 600;
  color: #fff;
  line-height: 44px;
  padding-bottom: 27px;
  text-align: center;
}

.single-contact-box:hover:before {
  width: 100%;
  left: 0;
}

.single-contact-box:hover .contact-title h3,
.single-contact-box:hover .contact-desc,
.single-contact-box:hover .contact-icon i {
  color: #fff;
}

.mb-20 {
  margin-bottom: 20px;
}

.form_box {
  position: relative;
}

.form_box input {
  width: 100%;
  height: 56px;
  padding-left: 25px;
  background: #fff;
  border-radius: 3px;
  color: #0d0e14;
  outline: 0;
  border: 0;
  transition: 0.5s;
}

.from-box textarea {
  height: 190px;
  width: 100%;
  outline: 0;
  padding: 15px 22px 0;
  background: #fff;
  border: 1px solid rgba(13, 14, 20, 0.1);
  border-radius: 4px;
  color: #0d0e14;
  transition: 0.5s;
}
.form_box textarea {
  width: 100%;
  background: #fff;
  padding-left: 25px;
  padding-top: 20px;
  height: 120px;
  border: 0;
  border-radius: 3px;
  color: #0d0e14;
  transition: 0.5s;
  outline: 0;
}
.form_box input::placeholder {
  color: #0d0e14;
  opacity: 0.8;
}

.form_box select::placeholder {
  color: #0d0e14;
  opacity: 0.8;
}

.form_box i {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 17px;
}

.quote_form button {
  padding: 17px 35px;
  background: #0d0e14;
  border: 0;
  border-radius: var(--button-radius);
  color: #fff;
  transition: 0.5s;
  display: inline-block;
  width: 100%;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}

.quote_form button i {
  margin-right: 5px;
  display: inline-block;
}

.quote_form button:before {
  position: absolute;
  content: "";
  z-index: -1;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background: #fff;
  transition: 0.5s;
  border-radius: 4px;
}

.quote_form button:hover:before {
  width: 100%;
  left: 0;
}

.quote_form button:hover {
  color: #0d0e14;
}

.row.contact-form-bg .quote_form button:hover {
  color: var(--color-primary);
}

.contact-shape {
  position: absolute;
  right: -9px;
  bottom: -42px;
  text-align: right;
  z-index: -1;
  animation: 1s fadeInRight;
}

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

/* Normal desktop :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {
  .contact-section .carcity-section-title h2 {
    font-size: 45px;
  }
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1199px) {
  /*contact section*/
  .single-contact-box {
    padding: 25px 0 8px 20px;
  }
  .contact-icon {
    padding: 0 0 10px;
    float: inherit;
  }
  /*section title*/
  .contact-section .carcity-section-title h2 {
    font-size: 34px;
    line-height: 40px;
  }
  .carcity-section-title h5 {
    font-size: 16px;
  }
  .carcity-section-title p {
    font-size: 15px;
  }
  /* End section title*/
}

/* Tablet desktop :768px. */
/*@media (min-width: 768px) and (max-width: 991px) {*/
@media (min-width: 768px) and (max-width: 1900px) {
  .contact-section .carcity-section-title h2 {
    font-size: 27px;
    line-height: 40px;
  }
  .contact-section .carcity-section-title h4 {
    font-size: 14px;
  }
  /*contact section*/
  .row.contact-bg {
    padding: 83px 0 80px;
  }
  .single-contact-box {
    padding: 25px 25px 8px 15px;
  }
  .contact-icon {
    padding: 0 0 10px;
    float: inherit;
  }
  .contact-title h3 {
    font-size: 18px;
  }
  .contact-desc p {
    font-size: 14px;
  }
}

/* Large Mobile :600px. */
@media (min-width: 600px) and (max-width: 767px) {
  /*contact section*/
  .row.contact-bg {
    padding: 83px 0 80px;
  }
  .single-contact-box {
    padding: 25px 0 8px 15px;
  }
  .contact-icon {
    padding: 0 0 10px;
    float: inherit;
  }
  .contact-title h3 {
    font-size: 18px;
  }
  .contact-desc p {
    font-size: 14px;
  }
  /*section title*/
  .contact-section .carcity-section-title h2 {
    font-size: 30px;
    line-height: 45px;
  }
}

/* small mobile :480px. */
@media (min-width: 480px) and (max-width: 599px) {
  /*contact section*/
  .contact-section {
    padding: 0 0 55px;
  }
  .row.contact-bg {
    padding: 53px 0 0 24px;
    text-align: center;
  }
  .single-contact-box {
    padding: 25px 0 8px 15px;
  }
  .contact-icon {
    padding: 0 0 10px;
    float: inherit;
  }
  .contact-title h3 {
    font-size: 18px;
  }
  .contact-desc p {
    font-size: 14px;
  }
  .contact-shape {
    display: none;
  }
  /*section title*/
  .contact-section .carcity-section-title h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

/* small mobile :320px. */
@media (min-width: 320px) and (max-width: 479px) {
  /*contact section*/
  .contact-section {
    padding: 0 0 55px;
  }
  .contact-section .carcity-section-title h2 {
    font-size: 25px;
    line-height: 28px;
  }
  .row.contact-bg {
    padding: 53px 0 0 24px;
    text-align: center;
  }
  .single-contact-box {
    padding: 25px 0 8px 15px;
  }
  .contact-icon {
    padding: 0 0 10px;
    float: inherit;
  }
  .contact-title h3 {
    font-size: 18px;
  }
  .contact-desc p {
    font-size: 14px;
  }
  .contact-shape {
    display: none;
  }
  .contact-form-title h2 {
    font-size: 29px;
  }
}
