/*==================================
font-family: 'Poppins', sans-serif;
font-family: 'Rufina', serif;
==================================== */

/*=========== TABLE OF CONTENTS ===========
1.  General css (Reset code)
2.  Top-area
3.  Welcome-hero
4.  Service
5.  Featured-cars
6.  Brand
7. Contact
==========================================*/

/*-------------------------------------
		1.General css (Reset code)
--------------------------------------*/
:root {
  --main: #1b1f57;
  --second: #4e4ffa;
  --surface-color: #fff;
  --curve: 40;
  --dark-primary-font-color: #e1e1e1;
  --dark-secondary-font-color: #a4a4a4;
  --dark-primary-background-color: #121212;
  --dark-secondary-background-color: #1f1f1f;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #818998;
  text-transform: initial;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a,
a:hover,
a:active,
a:focus {
  display: inline-block;
  text-decoration: none;
  color: #444a57;
  font-size: 20px;
  padding: 0;
  font-weight: 500;
  text-transform: capitalize;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: #444a57;
  font-size: 20px;
  font-weight: 500;
  text-transform: capitalize;
}

p {
  margin: 0;
  color: #818998;
  font-size: 16px;
  line-height: 1.8;
  text-transform: initial;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

ul {
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

ul li {
  list-style: none;
  display: inline-block;
}

button {
  background: transparent;
  border: 0;
  font-size: 16px;
  text-transform: capitalize;
}

html,
body {
  height: 100%;
}

.owl-carousel {
  z-index: 0;
}

/* section-header */
.section-header {
  position: relative;
  text-align: center;
}

.section-header h2 {
  position: relative;
  font-size: 36px;
  font-weight: 500;
  padding-bottom: 35px;
}

.section-header h2:before {
  position: absolute;
  content: "";
  width: 80px;
  height: 2px;
  bottom: 0;
  left: 50%;
  margin-left: -42px;
  background: var(--second);
}

.section-header p {
  color: #444a57;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.section-header h2 span,
.section-header p span {
  text-transform: lowercase;
}

/* section-header */

/*=============Style css=========*/

/*-------------------------------------
        2. Top-area
--------------------------------------*/
.navbar input[type="checkbox"],
.navbar .hamburger-lines,
#mob-logo {
  float: right;
  display: none;
}
.navbar {
  position: fixed;
  width: 100%;
  color: #000;
  z-index: 100;
  padding-top: 0.5em;
}
.scrolling {
  background-color: var(--main);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 64px;
  align-items: center;
}

.menu-items {
  width: calc(100% - 5em);
  margin-left: 5em;
  order: 2;
  display: flex;
  justify-content: space-evenly;
}
.menu-items li {
  list-style: none;
  margin-left: 1.5rem;
  font-size: 1.3rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

.navbar a:hover {
  color: var(--second);
}
#mob-logo {
  margin: 1em;
}
@media (max-width: 992px) {
  .menu-items {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
    padding-top: 0;
  }
  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines,
  #mob-logo {
    display: block;
  }
  #logo {
    display: none;
  }
  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 28px;
    width: 35px;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 50px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 40px;
    transition: transform 0.5s ease-in-out;
    overflow: scroll;
  }
  .menu-items {
    background: var(--main) !important;
    position: absolute;
    width: calc(100% - 5em);
  }

  .navbar .menu-items li {
    margin-bottom: 1.8rem;
  }
  .navbar .menu-items li.scroll {
    font-size: 1.1rem;
    font-weight: 500;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
}

@media (max-width: 500px) {
  .navbar-container input[type="checkbox"]:checked ~ .logo {
    display: none;
  }
}
/* dark-light-mode-btn style  */
.checkbox {
  opacity: 0;
  position: absolute;
}
.checkbox-label {
  background-color: #fff;
  width: 50px;
  height: 26px;
  border-radius: 50px;
  position: relative;
  padding: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fa-moon {
  color: #f1c40f;
}
.fa-sun {
  color: #f39c12;
}
.checkbox-label .ball {
  background-color: #6f6f6f;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  transition: transform 0.2s linear;
  -webkit-transition: transform 0.2s linear;
  -moz-transition: transform 0.2s linear;
  -ms-transition: transform 0.2s linear;
  -o-transition: transform 0.2s linear;
}
.checkbox:checked + .checkbox-label {
  background-color: #111;
}
.checkbox:checked + .checkbox-label .ball {
  background-color: #fff;
}
.checkbox:checked + .checkbox-label .ball {
  transform: translateX(24px);
  -webkit-transform: translateX(24px);
  -moz-transform: translateX(24px);
  -ms-transform: translateX(24px);
  -o-transform: translateX(24px);
}
/* dark-light-mode-btn style  */

/*-------------------------------------
        3.  Welcome-hero
--------------------------------------*/
.welcome-hero {
  position: relative;
  background: url(../images/welcome-hero/welcome-banner.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
}

.welcome-hero:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0c0c238a;
}

.header-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

/*.welcome-hero-txt*/
.welcome-hero-txt {
  text-align: center;
  padding: 290px 0 372px;
}

.welcome-hero-txt h2 {
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.welcome-hero-txt p {
  font-size: 18px;
  text-transform: initial;
  color: #fff;
  font-weight: 500;
  max-width: 735px;
  margin: 0 auto;
}

.welcome-btn {
  display: inline-block;
  width: 230px;
  height: 60px;
  background: linear-gradient(
    45deg,
    #2728c4,
    #3b62a7,
    #2728c4,
    #3b62a7,
    #2728c4
  );
  color: #fff;
  border-radius: 10px;
  margin-top: 55px;
  -webkit-transition: 0.5s linear;
  -moz-transition: 0.5s linear;
  -ms-transition: 0.5s linear;
  -o-transition: 0.5s linear;
  transition: 0.5s linear;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.welcome-btn:hover {
  width: 250px;
  height: 62px;
}

/*.welcome-hero-txt*/
/*-------------------------------------
        4. Service 
--------------------------------------*/
.service {
  padding: 50px 0;
}

.single-service-item {
  text-align: center;
  padding: 55px 30px 60px;
  border-radius: 3px;
  margin-bottom: 30px;
  border: 1px solid #dadfe9;
  -webkit-transition: 0.3s linear;
  -moz-transition: 0.3s linear;
  -ms-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}

.single-service-icon {
  display: inline-block;
  color: #50616c;
}

.single-service-item h2 a {
  font-size: 20px;
  margin: 35px 0 20px;
}

.single-service-item h2 a span {
  text-transform: lowercase;
}

.single-service-item p {
  padding-bottom: 35px;
  text-transform: initial;
  position: relative;
}

.single-service-item p:before {
  position: absolute;
  content: "";
  width: 20px;
  height: 3px;
  background: #3030ea;
  bottom: 0;
  left: 50%;
  margin-left: -10px;
}

.single-service-icon [class^="flaticon-"]:before,
.single-service-icon[class*=" flaticon-"]:before,
.single-service-icon [class^="flaticon-"]:after,
.single-service-icon [class*=" flaticon-"]:after {
  font-size: 60px;
}

.single-service-item:hover .single-service-icon [class^="flaticon-"]:before,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:before,
.single-service-item:hover .single-service-icon [class^="flaticon-"]:after,
.single-service-item:hover .single-service-icon [class*=" flaticon-"]:after {
  color: #fff;
}

.single-service-item:hover h2 a,
.single-service-item:hover p {
  color: #fff;
}

.single-service-item:hover p:before {
  background: #fff;
}

.single-service-item:hover {
  box-shadow: 0 12px 30px 0px rgba(0, 1, 193, 0.2);
  background: var(--second);
  border: 1px solid var(--second);
}

/*-------------------------------------
        5. Featured-cars
--------------------------------------*/
.featured-cars {
  padding: 50px 0;
}
.featured-cars .container {
  width: 100%;
}

/*.single-featured-car*/
.cards {
  display: flex;
  margin: 4rem 5vw;
  padding: 0;
  list-style-type: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 1em;
}

.card {
  width: 22em;
  margin: 2em 0.65em;
  box-shadow: 0px 0px 10px 0px #3b62a7;
  border-radius: 45px;
  position: relative;
  display: block;
  border-radius: calc(var(--curve) * 1px);
  overflow: hidden;
  text-decoration: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}
.card:hover {
  box-shadow: 0px 0px 20px 8px #3b62a7;
}
@media (max-width: 375px) {
  .card {
    width: 18em;
  }
}
.card__image {
  width: 100%;
  height: auto;
  border-radius: 0 0 30px 30px;
  -webkit-border-radius: 0 0 30px 30px;
  -moz-border-radius: 0 0 30px 30px;
  -ms-border-radius: 0 0 30px 30px;
  -o-border-radius: 0 0 30px 30px;
}

.card__overlay {
  border-radius: calc(var(--curve) * 1px);
  background-color: var(--surface-color);
  transform: translateY(100%);
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -ms-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
}
.card__header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 2em;
  border-radius: calc(var(--curve) * 1px) 0 0 0;
  background-color: var(--surface-color);
  transform: translateY(-100%);
  transition: 0.2s ease-in-out;
}

.card__title {
  font-size: 1em;
  margin: 0 0 0.3em;
  color: #6a515e;
}

.card__status {
  font-size: 0.8em;
  color: #a3a3a3;
}
.card__header-text {
  width: 100%;
}
#modal-container {
  display: none;
}
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 220;
  background-color: rgba(0, 0, 0, 0.75);
}
/* modal style */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Styles for the modal content */
.modal-content {
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  justify-content: space-between;
  animation: fadeIn 1s ease both;
}
.modal-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.modal-info > span {
  margin: 1em 0;
  width: 50%;
}
@media (min-width: 480px) {
  .modal-content {
    width: 90%;
  }
}
@media (max-width: 710px) {
  .modal-info > span {
    margin: 0.3em 0.65em;
    width: 100%;
  }
}
@media (min-width: 710px) {
  .modal-content {
    width: 80%;
  }
}
@media (min-width: 920px) {
  .modal-content {
    width: 65%;
  }
}
@media (min-width: 1000px) {
  .modal-content {
    width: 61.5%;
  }
}
@media (min-width: 1200px) {
  .modal-content {
    width: 50%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* modal style */
/* swiper style */
.swiper {
  border-radius: 40px;
  width: 100%;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}
.swiper-button-prev,
.swiper-button-next {
  background: -webkit-linear-gradient(#ffe368, #a98b3a);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* swiper style */
.gradient-button {
  padding: 10px 20px;
  margin-top: 1em;
  font-size: 16px;
  border: none;
  width: 100%;
  border-radius: 25px;
  background: linear-gradient(
    45deg,
    #3b62a7,
    #6685ba,
    #3b62a7,
    #6685ba,
    #3b62a7
  );
  color: white;
}
#more-cards-btn {
  width: calc(100vw-4.215rem);
}
#more-cards {
  display: none;
}
/*.single-featured-cars*/

/*-------------------------------------
        6. Brand
--------------------------------------*/
.brand {
  padding: 120px 0;
}

.brand-area {
  position: relative;
}

.brand-area .item {
  padding: 0 40px 0;
}

.brand .brand-area .owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 0;
}

/*-------------------------------------
        7. Contact
--------------------------------------*/
.contact {
  background: var(--main);
}

.footer-top {
  padding-top: 100px;
}

/*.footer-logo*/
.footer-logo a,
.footer-logo a:hover,
.footer-logo a:focus {
  display: inline-block;
  color: #fff;
  font-size: 24px;
  letter-spacing: 3px;
  font-family: "Rufina", serif;
  font-weight: 700;
  text-transform: uppercase;
}

.single-footer-widget p {
  font-size: 14px;
  color: #eeeff6;
  max-width: 300px;
  margin: 40px 0 20px;
}
.footer-contact p a {
  font-size: 14px;
  margin: 40px 0 30px;
}
.footer-contact p,
.footer-contact p a {
  margin: 0;
  color: #d1d7e9;
}

/*.footer-logo*/

.single-footer-widget {
  margin-bottom: 40px;
}

.single-footer-widget h2 {
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 43px;
}

.single-footer-widget ul li {
  display: inherit;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.single-footer-widget ul li:hover {
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
  -ms-transform: translateX(10px);
  -o-transform: translateX(10px);
  transform: translateX(10px);
}

.single-footer-widget ul li a,
.single-footer-widget ul li {
  font-size: 14px;
  color: #cfd0e3;
  font-weight: 300;
  padding-bottom: 13px;
}

.single-footer-widget ul li a span {
  text-transform: lowercase;
}

.footer-newsletter p {
  color: #aeafc2;
  font-size: 14px;
  font-weight: 300;
  margin: 0 0 15px;
}
.map {
  border: 1px solid #434859;
  border-radius: 1em;
  width: 100%;
}
@media (min-width: 767px) {
  .map {
    width: 72rem;
  }
}
@media (min-width: 991px) {
  .map {
    width: 38rem;
  }
}
@media (min-width: 1198px) {
  .map {
    width: 46rem;
    height: 26rem;
  }
}
/*.footer-copyright */
.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  padding: 1em;
  border-top: 1px solid #434859;
}

.footer-copyright p,
.footer-copyright p a {
  color: #a8a9bf;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
}

.footer-social a i {
  color: #fff;
  opacity: 0.4;
  font-size: 14px;
  margin-left: 16px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.footer-social i:hover {
  opacity: 0.7;
}

/*.footer-copyright */

/*===============================
    Scroll Top
===============================*/
#scroll-Top .return-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: none;
  width: 40px;
  line-height: 40px;
  height: 40px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  background: var(--second);
  border: 1px solid var(--second);
  border-radius: 50%;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  z-index: 2;
}

#scroll-Top .return-to-top:hover {
  background: #fff;
  color: var(--second);
  border: 1px solid var(--second);
}

#scroll-Top .return-to-top i {
  position: relative;
  bottom: 0;
}

#scroll-Top .return-to-top i {
  position: relative;
  animation-name: example;
  animation-direction: alternate;
  animation-iteration-count: infinite;
  animation-duration: 1s;
}

@keyframes example {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: 7px;
  }
}

/* dark mode style */
body.dark {
  background-color: var(--dark-primary-background-color);
}
body.dark li.card,
body.dark li .card__header,
body.dark .modal-content,
body.dark .card__overlay {
  background-color: var(--dark-secondary-background-color);
  color: var(--dark-primary-font-color);
}
body.dark h1,
body.dark h2,
body.dark h3,
body.dark h4,
body.dark h5,
body.dark h6,
body.dark .single-service-item a,
body.dark .single-service-item i {
  color: var(--dark-primary-font-color);
}

body.dark p {
  color: var(--dark-secondary-font-color);
}

/* dark mode style */
/* lazy loading  */
.lazy {
  filter: blur(5px);
  -webkit-filter: blur(5px);
}
/* lazy loading  */
/*========================Thank you=================*/
