body{
  overflow-x: hidden;
}
.preloader{
  background-color: white;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  background-image: url('../../images/510b0daee67fbc091f14b9d8ef40aeb6c0d4dc7d_00.gif');
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 100;
}

#the-sticky-div, .sticky{
  position: sticky;
  top: 17%;
}

#the-sticky-div-two, .sticky{
  position: sticky;
  top: 2%;
}

.left-enterance{
  position: relative;
  transform: translateX(-100%);
  opacity: 0;
  transition: 1s all ease;
}

.left-enterance.active{
  transform: translateX(0);
  opacity: 1;
}

.reveal, .right-enterance{
  position: relative;
  transform: translateX(100%);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active, .right-enterance.active{
  transform: translateX(0);
  opacity: 1;
}

.customshow, .customease{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.customshow.active, .customease.active{
  transform: translateY(0);
  opacity: 1;
}

.text-truncate-3{
  width: 100%; 
  height: 50px; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

.text-truncate-custom{
  width: 100%; 
  height: 50px; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

/*.stack:nth-child(1){
  transition-delay: 400ms;
}*/
.stack:nth-child(2){
  transition-delay: 400ms;
}
.stack:nth-child(3){
  transition-delay: 600ms;
}

#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 90px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: rgba(0, 0, 0, 0.7); /* Set a background color */
  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  /* Some padding */
  border-radius: 100px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  width: 55px;
  height: 55px;
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/*.bg-home-img{
  background-image: url(../../images/homepagebanner.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}*/

/*.bg-about-img{
  background-image: url(../../images/about.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}*/

/*.bg-services-img{
  background-image: url(../../images/services.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
}*/

/*.bg-contact-img{
  background-image: url(../../images/Contact.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.bg-news-img{
  background-image: url(../../images/News_banner.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}*/

.bg-cover{
  background-color: rgba(0, 0, 0, 0.6);
}

/*.icon-animate{
  color: rgb(1, 11, 49);
  transition: background-color 2s;
}

.icon-animate:hover{
  background-color: rgb(1, 11, 49);
  color: rgb(255, 255, 255);
}

.icon-animate-1{
  color: rgb(255, 255, 255);
  transition: background-color 2s;
}

.icon-animate-1:hover{
  background-color: rgb(255, 255, 255);
  color: rgb(1, 11, 49);
}*/

/*.text-truncate-3{
  width: 100%; 
  height: 115px; 
  border: 1px solid red; 
  overflow: hidden; 
  text-overflow: ellipsis;
}

.text-truncate-4{
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}*/

.custom-line{
  width: 4%;
  border: 2px solid rgb(1, 11, 49);
}

.custom-bg{
  background-color: rgba(1, 11, 49, 0.7);
}

.custom-shadow{
  box-shadow: 12px 12px rgba(65, 22, 62, 0.8);
}

.img-shadow{
  box-shadow: -12px -12px rgba(65, 22, 62, 0.6);
}

.img-animate{
  width: 100%;
  transition: width 2s;
}

.img-animate:hover{
  width: 120%;
}

.custom-w{
  width: 15%;
}

.pic-dimension{
  width: 100%; 
  height: 400px
}

.animation{
  position: relative;
  animation-name: float;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate-reverse;
}

@keyframes float{
  0%{
    left: 0px;
    top: 15px;
  }
  100%{
    left: 0px;
    top: -15px;
  }
}

.footerlinks{
  color: #d3af37;
}
.footerlinks:hover{
  color: #e6d8b6;
}
.mycbtn{
  border: 1px solid #d3af37;
  color: #e6d8b6;
}

.mycbtn:hover{
  background-color: #d3af37;
  color: #fff;
}

.mycbtn2{
  border: 1px solid #017357;
  color: #017357;
}

.mycbtn2:hover{
  background-color: #017357;
  color: #fff;
}

.linkcolor{
  color: #017357;
}

.linkcolor:hover{
  color: #468189;
}

.banner-2{
  background-image: url('../../images/luxcar.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.brand-color{
  background-color: rgba(1, 115, 87, 1.0);
}

.my-font{
  font-size: 12px;
}
.bg-img{
  background-image: url('../../images/newbg1.png');
  background-repeat: no-repeat;
  background-size: cover;
}
.bg-img-2{
  background-image: url('../../images/newbg2.png');
  background-repeat: no-repeat;
  background-size: cover;
}
.overlay{
  background-color: rgba(0, 0, 0, 0.6);
}
.my-form{
  background-color: transparent;
  border: 0px;
  border-bottom: 2px solid black;
}
.my-form:focus{
  background-color: transparent;
  border-bottom: 2px solid black;
}
@font-face{
  font-family: myFont;
  src: url('royal.otf');
}
@font-face{
  font-family: myFont2;
  src: url('caverson.otf');
}
/*h1{
  font-family: myFont;
  font-size: 47px;
}*/
h1{
  font-family: railway;
  font-size: 40px;
  font-weight: bolder;
}
.my-cfont{
  font-family: myFont2;
  word-spacing: 10px;
  letter-spacing: 2px;
}
.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
/*.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}*/

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.action, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.customfade {
  animation-name: customfade;
  animation-duration: 1.5s;
}

@keyframes customfade {
  from {opacity: .4}
  to {opacity: 1}
}

.pic-dimension{
  width: 100%; 
  height: 400px
}



/*.form-control::placeholder { color: #fff !important; opacity: 1; }

.footer-form::placeholder { color: #000 !important; opacity: 1; }*/

.transparent-input {
    background-color: #fff !important;
    border: none;
    color: #000;
}
.transparent-select {
    background-color: #fff !important;
    border: none;
    color: #000;
    appearance: none; /* Removes default arrow styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5L8 12l6.5-6.5L14.5 4 8 10.5 1.5 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}
.transparent-select option {
    background-color: #212529; /* dark background for dropdown options */
    color: white;
}
.transparent-input:focus, .transparent-select:focus {
    background-color: #fff !important;
    outline: 1px solid #000;
    box-shadow: none;
    color: #000;
}

.img-container{
  width: 100%;
  height: 500px;
}
.car-banner{
  width: 120%;
}
.b-font-size{
  font-size: 55px;
}
.background-video{
   width: 100%;
   height: 90vh;
   object-fit: cover;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   z-index: -1;
}

.b-font-size{
  font-size: 45px;
}

/* Hero with wave */
.hero{
  position: relative;
  height: 100vh;
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Place background SVG behind content */
.hero svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Hero text above SVG */
.hero .container {
  position: relative;
  z-index: 2;
}

section.next {
  background: #ffffff;
  padding: 5rem 1rem;
  text-align: center;
}

.gradient{
    background: linear-gradient(#fff, #0173574d);
  }

  .border-style{
    color: #d3af37;
    border: 1px solid #017357;
    border-radius: 50px;
  }

  .testimonial-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  font-size: 0.95rem;
}

.grid-img{
  width: 100%;
}

.faq-margin{
  margin-top: -3%;
}

.modal-color{
  background-color: rgba(255, 255, 255, 0.8);
}

@media only screen and (max-width: 600px){
  .img-container{
    width: 100%;
    height: 300px;
  }
  .car-banner{
    width: 100%;
  }
  .b-font-size{
    font-size: 35px;
  }
  h1{
    font-size: 30px;
  }
  .background-video{
   width: 100%;
   height: 100%;
   object-fit: cover;
   left: 0;
   right: 0;
   top: 0;
   bottom: 0;
   z-index: -1;
  }
  .pic-dimension{
    width: 100%; 
    height: 200px
  }
  .custom-w{
    width: 25%;
  }
  .pic-dimension{
    width: 100%; 
    height: 300px
  }
  .grid-img{
    width: 75%;
  }
  .faq-margin{
    margin-top: -25%;
  }
  .hero{
    position: relative;
    height: 90vh;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
}

/* Stacked below image on small screens */
@media (max-width: 767.98px) {
  .testimonial-box {
    margin-top: 15px;
    position: static;
  }
}

/* Overlay on larger screens */
@media (min-width: 768px) {
  .testimonial-box {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }
}

/*for ipads*/
@media only screen and (min-width: 768px) and (max-width: 1366px) and (orientation: portrait){
  .hero{
    position: relative;
    height: 60vh;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .faq-margin{
    margin-top: -8%;
  }
}