/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --fristColor: #0b388e;
  --secondColor: #1d1e20;
  --thirdColor: #50e44f;
  --fourthColor: #ffb838;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", sans-serif;
  color: #fff;
}

html[dir="rtl"] #header1 .input-group-append {
  position: absolute;
  left: 0;
  right: unset;
}

.clearfix {
  content: "";
  display: block;
  clear: both;
  overflow: hidden;
}

section .section-title,.section-title h3 {
  color: var(--fristColor);
  text-align: center;
  margin: 50px auto 20px auto;
}

section .section-title h3 {
  font-weight: bold;
}

section .section-title .line {
  height: 5px;
  width: 120px;
  background-color: var(--fourthColor);
  margin: 0 auto;
}

.clear {
  clear: both;
  height: 50vh;
}

@media (max-width: 767px) {
  .clear {
    height: 60vh;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--fourthColor);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  font-size: 24px;
  color: #fff;
  line-height: 0;
  text-decoration: none;
}

.back-to-top:hover {
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# header1
--------------------------------------------------------------*/
#header1 {
  display: none;
  background-color: var(--fristColor);
  height: 90px;
}

@media (min-width: 992px) {
  #header1 {
    display: block;
    justify-content: center;
    align-items: center;
  }

  #header1 .input-group-append {
    position: absolute;
    right: 0;
  }

  #header1 .logo {
    width: 70px;
  }

  #header1 .form-check-input:checked {
    background-color: var(--thirdColor);
    border-color: var(--thirdColor);
  }

  #header1 .navbar-nav li a {
    text-decoration: none;
    color: #fff;
  }
}

/*--------------------------------------------------------------
# header2
--------------------------------------------------------------*/
#header {
  background-color: var(--secondColor);
}

#header .logo-mobile {
  display: none;
}

@media (max-width: 768px) {
  #header .logo-mobile {
    display: block;
    width: 35px;
    margin-inline: 5px;
  }

  #header .navbar {
    justify-content: space-around;
  }
}

#header .logo a {
  color: #fff;
  text-decoration: none;
  font-style: italic;
}

#header .logo a span {
  color: var(--fristColor);
}

#header .logo a h6 {
  font-size: 10px;
  font-style: normal;
  color: #a2a3a4;
}

#header nav .ul_main_list {
  list-style: none;
  display: flex;
}

#header nav ul li a {
  color: var(--secondColor);
    margin-right: 7px;
    margin-left: 7px;
}

#header nav ul li a svg {
  color: var(--fristColor);
}

#header nav ul li a:hover,
#header nav ul li a.active {
  background: var(--fourthColor);
  border-radius: 3px;
}

#header .padges {
  display: flex;
  justify-content: flex-end;
  font-size: 11px;
  color: #fff;
}

#header .padges .item {
  padding: 2px 5px;
  border: 1px solid #fff;
  border-radius: 5px;
  margin-inline: 8px;
}

#header .padges .item i {
  color: var(--fourthColor);
}

@media (max-width: 376px) {
  #header .padges {
    font-size: 8px;
    margin-top: 5px;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block !important;
  }

  .navbar ul {
    display: none !important;
  }
}

@media (min-width: 992px) {
  #header nav ul li a {
    color: #fff;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgb(34 37 51 / 89%);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block !important;
  width:100%;
  position: relative;
  bottom: 15px;
  border-radius: 10px;
  background-color: #413d3d;
  overflow-y: auto;
  transition: 0.3s;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--secondColor);
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: var(--fristColor);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
:root {
    --fristColor: #0b388e;
    --secondColor: #1d1e20;
    --thirdColor: #50e44f;
    --fourthColor: #ffb838;
}
#hero {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../../img/hero-bg.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding-block: 50px;
}

#hero h1 {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}

#hero h1 span {
  color: var(--fourthColor);
  text-transform: uppercase;
  font-weight: bold;
}

#hero h4,
#hero h5 {
  font-weight: 200;
}

#hero h5 img {
  width: 105px;
}

#hero .content {
  background-color: rgba(11, 56, 142, 0.6);
  border-top-left-radius: 15px;
  border-bottom-right-radius: 15px;
  margin-top: 10px;
}

#hero .content h5 {
  background-color: var(--fourthColor);
  border-top-left-radius: 15px;
  padding-block: 10px;
  font-weight: bold;
}

#hero .content .check-content {
  text-align: justify;
  margin: 10px 30px;
  padding-bottom: 10px;
  color: #fff;
}

#hero .content .check-content small {
  display: block;
  font-size: 10px;
}

#hero .content .check-content .form-check-input:checked {
  background-color: var(--thirdColor);
  border-color: var(--thirdColor);
}

#hero .btn {
  display: inline-block;
  border-radius: 30px;
  color: #fff;
  background: var(--fristColor);
  margin: 15px;
  font-size: 18px;
  padding: 8px 18px;
}

/*--------------------------------------------------------------
# vehicles
--------------------------------------------------------------*/
.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: #c5c4c40f;
}

.vehicles .carousel-inner {
  padding: 1em;
}

.vehicles .cards-wrapper {
  display: flex;
  justify-content: center;
}

.vehicles .card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
}

.vehicles .card .card-body .card-title {
  font-size: 20px;
  font-weight: 200;
  color: var(--secondColor);
}

.vehicles .card .card-body .line {
  height: 3px;
  width: 100px;
  background-color: var(--fourthColor);
  margin-bottom: 10px;
}

.vehicles .card .card-body p {
  color: var(--secondColor);
  font-size: 14px;
}

#vehicles .card .card-body .btn {
  background: var(--fristColor);
  color: #fff;
  padding: 5px 15px;
  font-size: 14px;
  margin: 10px 0 20px 0;
  border-radius: 5px;
}

/*--------------------------------------------------------------
# Registration section
--------------------------------------------------------------*/
.registration {
  position: relative;
}

.registration .container {
  z-index: 1;
}

.registration .section-title p {
  color: var(--secondColor);
  font-size: 14px;
  margin: 20px auto 30px auto;
}

.registration article {
  margin-top: 60px;
}

.registration article .content {
  background-color: #ebebeb;
  padding: 60px 10px 20px 10px;
  border-radius: 10px;
  position: relative;
}

.registration article .content h5 {
  color: var(--secondColor);
  text-transform: capitalize;
  padding: 15px 0 5px 0;
  text-align: center;
}

.registration article .content .title-line {
  width: 100px;
  height: 2px;
  background-color: var(--fristColor);
  margin: 0 auto;
}

.registration article .content p {
  color: var(--secondColor);
  font-size: 14px;
  text-align: center;
  padding: 10px 20px 0 20px;
}

.registration article .content .line {
  background-color: var(--fourthColor);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -50%);
  height: 110px;
  width: 110px;
}

.registration article .content .num {
  padding: 20px;
  background-color: var(--fourthColor);
  border-radius: 50%;
  border: 4px solid #fff;
  width: 100px;
  height: 100px;
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cars-for-sale {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../../img/images.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 40px 0;
  text-align: center;
  position: absolute;
  top: 70%;
  padding-top: 180px;
  color: #fff;
}

.cars-for-sale .nav {
  justify-content: center;
  margin: 20px auto;
}

.cars-for-sale .nav .nav-link {
  color: #fff;
  background-color: var(--fristColor);
  border-radius: 0;
  padding: 10px 20px;
}

.cars-for-sale .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--fourthColor);
}

.cars-for-sale .tab-content .table {
  color: #fff;
}

@media (max-width: 767px) {
  .cars-for-sale {
    top: 85%;
  }
}

/*--------------------------------------------------------------
# about section
--------------------------------------------------------------*/
.about {
  padding: 40px 0;
}

.about .section-title {
  background-image: url("../../img/logo2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.about .section-title h3 {
  text-align: justify;
  color: var(--fristColor);
  margin-top: 30px;
}

.about .section-title .line {
  margin: 0;
}

.about .section-title p {
  text-align: justify;
  padding: 20px 0;
}

.about .section-title .btn {
  background-color: var(--fourthColor);
  border-radius: 30px;
  padding: 5px 20px;
  color: #fff;
  display: block;
  margin-bottom: 30px;
}

.about .title {
  color: var(--fristColor);
  text-align: center;
}

.about .cart {
  background: linear-gradient(rgba(34, 71, 238, 0.8), rgba(34, 71, 238, 0.8)),
    url("../../img/card1.jpg") no-repeat center center;
  background-size: cover;
  font-size: 11px;
  padding: 10px;
}

.about .cart h6 {
  color: #fff;
  text-align: center;
  margin-top: 10px;
}

.about .cart ul {
  padding: 10px;
  margin: 0;
}

.about .cart ul li {
  font-weight: 200;
  color: #fff;
}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url("../../img/footer-bg.png") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 40px 0;
}

footer .footer-top .footer-contact {
  text-align: center;
}

footer .footer-top .footer-contact .logo span {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  display: block;
  margin: 10px auto;
}

footer .footer-top .footer-contact .social-links a {
  color: var(--secondColor);
  text-decoration: none;
  background-color: #fff;
  padding: 8px 10px;
  margin-right: 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

footer .footer-top .footer-links {
  color: #fff;
  margin-top: 40px;
}

footer .footer-top .footer-links ul {
  list-style: none;
  color: #fff;
  padding: 0;
}

footer .footer-top .footer-links ul li {
  padding-bottom: 8px;
}

footer .footer-top .footer-links ul li a {
  color: #fff;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 12px;
}

footer .footer-top .logos {
  text-align: end;
}

.footer-bottom {
  text-align: center;
  background-color: var(--secondColor);
  color: #fff;
  padding: 15px 0;
  font-size: 12px;
  text-transform: capitalize;
}

.footer-bottom span {
  color: var(--fourthColor);
}


.login-button{
  background-color: var(--fourthColor);
    border-radius: 30px;
    padding: 5px 23px!important;
    display: block;
    width: fit-content;
}