/*Start*/
*, *::before, ::after
{
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html{
 /* font-family: 'Nunito', sans-serif;
  font-family: 'Aldrich', sans-serif;*/
  font-family: Verdana;
  font-size: 10px;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

a{
  text-decoration: none;
}

ul{
  list-style: none;
}

p{
  font-size: 1.6rem;
}

img{
  width: 100%;
  max-width: 100%;
  height: auto;
}

section{
  padding: 5rem 0;
}

body{
 }

 /*header*/
header{
   width: 100%;
   height: 5rem;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 10001;
 }

 .container{
   width: 100%;
   max-width: 98rem;
   margin: 0 auto;
   padding: 0 1.5rem;
 }

 nav{
   width: 100%;
   display: flex;
   align-content: center;
   justify-content: space-between;
   padding: 1rem;
   border-bottom: 2px solid rgba(255,255,255,.2);
 }


.nav-brand{
  width: 12rem;
}

.menu-icons i{
  font-size: 3.5rem;
  font-family:  'Arialic Hollow' ;
  color: #000;
  cursor: pointer;
}

.close i{
  color: #d61b1b;
}

.nav-list{
  width: 25rem;
  height: 100vh;
  background-color: #d7d4ed;
  position: fixed;
  top: 0;
  right: -26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  transition: all 650ms ease-in-out;
}

.nav-list.active{
  right: 0;
}

.close{
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.nav-item{
  margin: 1.5rem 0;
}

.nav-item>a{
  color: #fff;
    font-size: 2rem;
}

.nav-link{
  font-size: 1.6rem;
  text-transform: uppercase;
  color: rgba(0,0,0,.7);
}

.black{
  color: #000;
    font-size: 3rem;
}


/*main continer*/
.hero{
  width: 100%;
  height: 80vh;
  /*background: linear-gradient(135deg, rgba(49,24,131,0.9)0%, rgba(72,56,149,0.8)*/
  background: linear-gradient(to right, rgba(12, 13, 14, 0.6)0%, rgba(60, 16, 83,0.9)
  100%), url("images/small-bg.jpg")center no-repeat;
  background-size: cover;
  position: relative;
}

.hero::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 4.7rem;
  background: url("images/wave-small.png") center no-repeat;
  background-size: cover;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
}
.main-message{
  width: 100%;
  max-width: 50rem;  
  color: #fafafa;
  text-transform: uppercase;
  transform: translateY(20%);
}

.main-message h3{
  font-size: 3.5rem;
}

.main-message h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 4.7rem;    
  line-height: .5
}

.main-message p{
  text-transform: lowercase;
  font-size: 2rem;
}

.btn{
  background-color: #CC0000;
  border-radius: 1rem;
  color: #fafafa;
  display: inline-block;
  padding: .5rem ;
  margin-top: 2rem;
  text-transform: uppercase;
  transition: background-color 650ms;
  font-size: 8rem;
}

.btn:hover{
  background-color: #d61b1b;
  box-shadow: 0 0 25px #8000ff;
  text-shadow: 0 0 25px #8000ff;
}

.btn .hovertext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  font-size: 1.2rem;
  margin-left: 2rem;

  /* Position the tooltip */
  position: absolute;
  z-index: 10000;
}

.btn:hover .hovertext{
  visibility: visible;
}

.main-right-img{
  padding-top: 15rem;
  width: 200px;
  float: right;
  position: sticky;
  z-index: 10000;
}

.whyus-heading{
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10rem;
  color: rgba(0,0,0,0.7);
}

.whyus-heading h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 2rem;
  margin: .50rem 0 1rem;
}


/*service container starts*/
.begin-services{

}

.title-heading{
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5rem;
  color: rgba(0,0,0,0.7);
}

.title-heading h3{
  font-size: 1.4rem;
}

.title-heading h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 2rem;
  margin: .50rem 0 1rem;
}

.title-heading p{
  text-transform: initial;
}

.activities-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-gap: 1.5rem;
  padding-bottom: 3rem;
}

.activities-grid-item{
  height: 30rem;
  padding: 1rem;
  color: #fafafa;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.activities-grid-item::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(12,13,14,0.9)0%, rgba(22,23,24,0.8)
  100%);
  z-index: -1;
}

.activities-grid-item i{
  font-size: 4rem;
  color: #fff;
}

.activities-grid-item h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 2rem o;
}



/*accordiance*/

.accordion {
  box-sizing: border-box;
  display: flex;
  font-family: 'Aldrich', sans-serif;
  overflow: hidden;
  width: 100%;
  }
  
  .accordion-select {
  cursor: pointer;
  margin: 0;
  opacity: 0;
  z-index: 1;
  }
  
  .accordion-title {
  position: relative;
  }
  
  .accordion-title:not(:nth-last-child(2))::after {
  border: 1px solid transparent;
  bottom: 0;
  content: '';
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  }
  
  .accordion-title span {
  bottom: 0px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  white-space: nowrap;
  width: 100%;
  }
  
  .accordion-content {
  box-sizing: border-box;
  overflow: auto;
  position: relative;
  transition: margin 0.3s ease 0.3s;
  }
  
  .accordion-select:checked + .accordion-title + .accordion-content {
  margin-bottom: 0;
  margin-right: 0;
  }
  
  /* Generated styles starts here */
  
  .accordion {
  border-color: #393a50;
  border-radius: 20px;
  border-style: solid;
  border-width: 6px;
  flex-direction: column;
  height: auto;
  }
  
  .accordion-title,
  .accordion-select  {
  background-color: #1c2939;
  color: #d61b1b;
  width: 100%;
  height: 35px;
  font-size: 15px;
  padding-left: 20px;
  }
  
  .accordion-select {
  margin-bottom: -35px;
  margin-right: 0;
  }
  
  .accordion-title:not(:nth-last-child(2))::after {
  border-bottom-color: transparent;
  border-right-color: rgb(15, 21, 30);
  }
  
  .accordion-select:hover + .accordion-title,
  .accordion-select:checked + .accordion-title {
  background-color: #121922;
  }
  
  .accordion-title span  {
  transform: rotate(0deg);
  -ms-writing-mode: lr-bt;
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
  padding-bottom: 10px;
  padding-top: 10px;
  line-height: 30px;
  }
  
  .accordion-content {
  background-color: rgb(0, 0, 0);;
  color: #f5f2f0;
  height: 300px;
  margin-bottom: -300px;
  margin-right: 0;
  padding: 15px;
  width: 100%;
  }

  .accordion-content ul{
    font-size: 1.6rem;
    list-style-type: square;
    margin-left: 3rem;
  }
  

  .log-book{
    background: url("images/accordion/log0book.JPG") right no-repeat;
    background-color: rgb(0, 0, 0);
  }
  
  .pre-pur{
      background: url("images/accordion/inspection.JPG") right no-repeat;
      background-color: rgb(0, 0, 0);
    }
  .dignostic{
    background: url("images/accordion/digonistic.jpg") right no-repeat;
    background-color: rgb(0, 0, 0);
  }

  .break{
    background: url("images/accordion/break.png") right no-repeat;
    background-color: rgb(0, 0, 0);
  }
  .cooling{
    background: url("images/accordion/cooling.jpg") right no-repeat;
    background-color: rgb(0, 0, 0);
  }
  .ac{
    background: url("images/accordion/ac.jpg") right no-repeat;
    background-color: rgb(0, 0, 0);
  }
  
/*testimonials*/
.testimonials{
  width: 100%;
  background: linear-gradient(135deg,  rgba(12, 13, 14, 0.8)0%, rgba(60, 16, 83,0.7)
  100%), url("images/testimonials-bg.jpg") center no-repeat fixed;
  background-size: cover;
  position: relative;
}

.testimonials::before{
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 4.7rem;
  background: url("images/wave-small-reversed.png") center no-repeat;
  background-size: cover;
}

.testimonial{
  background-color: #CC0000;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 2px;
  color: #fafafa;
  position: absolute;
  top: 55%;
  text-align: center;
  justify-content: center;
}

.testimonial-text-box{
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text-box i{
  position: absolute;
  top: -8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8rem;
  color: #d61b1b;
  opacity: .5;
  z-index: -1;
}

.testimonial-grid{
  padding-top: 18%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 2.5rem;
}
.testimonial-grid-item{
  font-family: 'Marck Script', cursive;
  height: 20rem;
  padding: 5px;
  color: rgba(255, 255, 255, 0.7); 
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  border: 2px solid #393a50;
  border-radius: 10px;
}

.testimonial-grid-item p{
  flex: 1 0 auto;
  font-size: 2rem;
}

.testimonial-customer img{
  width: 7rem;
  height: 7rem;
  border-radius: 100%;
  border: 3px solid #d61b1b;
}

.checked {
  color: orange;                 
}


/*car brandlogo scrolling start here*/
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 23));
  }
}
.slider {
  /*background: white;*/
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 70s linear infinite;
  display: flex;
  width: calc(150px * 48);
}
.slider .slide {
  height: 50px;
  width: 150px;
}

/*begin gallery section*/
.begin-gallery{
  /*height: 100vh;*/
}

.gallery-heading{
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 5rem;
  color: rgba(0,0,0,0.7);
}

.gallery-heading h3{
  font-size: 1.4rem;
}

.gallery-heading h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 2rem;
  margin: .50rem 0 1rem;
}

.gallery-heading p{
  text-transform: lowercase;
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  justify-content: center;
  grid-gap: 3px;
  grid-row-gap: 0px;
}

.grid-box img{
  width: 100%;
  border: 2px solid #d61b1b;
  border-radius: 5px;
  box-shadow: 0 0 5px;
}

.main-img img{
  width: 100;
  height: 60vh;
  border-radius: 10px;
  border: 1rem solid #393a50;
}
.imgs img{
  width: 100;
  border-radius: 5px;
  border-bottom: .5rem solid #d61b1b;
  height: 100px;
}

.imgs{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-gap: 2px;
}

/*new gallary css stars from here..............*/
.gallery{
  margin: 10px 50px;
}

.gallery img{
  transition: 1s;
  padding: 15px;
  width: 200px;
}

.gallery img:hover{
  filter: grayscale(100%);
  transform: scale(1.1);
}

/*contact us */
.begin-contact{

}

.contact-heading{
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10rem;
  color: rgba(0,0,0,0.7);
}

.contact-heading h1{
  font-family: 'Aldrich', sans-serif;
  font-size: 2rem;
  margin: .50rem 0 1rem;
  padding-top: 2rem;
}

.contact-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  grid-gap: 2.5rem;
  margin-bottom: 2rem;
}
.contact-grid-item{
  color: rgba(0,0,0,0.7);
  border: 0px solid #d61b1b;
  border-radius: 10px;
  /*background: rgba(0, 0, 0, 0.2);*/
  box-shadow: 0 0 0px;
}

.contact-grid-item p{
  color: rgba(0,0,0,0.7);
}

.contact-form{
  max-width: 450px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 5px;
  display: flex;
}

.input-fields{
  display: flex;
  flex-direction: column;
  margin-right: 4%;
}
.input-fields,
.msg{
  width:100%;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

.input-fields .input,
.input-fields textarea{
  font-family: 'Aldrich', sans-serif;
  margin: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);;
  padding: 10px;
  color: rgba(0, 0, 0, .4);
  width: 100%
}

.input-fields h1{
  font-size: 2.7rem;
  text-align: center;
}

.input-fields textarea{
  height: 110px;
  resize: none;
}

::-webkit-input-placeholder{
  color: teal;
}

::-moz-input-placeholder{
  color: teal;
}
::-ms-input-placeholder{
  color: teal;
}

.btnForm{
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: space-between;
}

.btnSend{
  background: teal;
  color: #fafafa;
  width: 60%
}

.btnReset{
  background: none;
  color: teal ;
  width: 35%
}
.btnSend, .btnReset{
  text-align: center;
  padding: 8px;
  border-radius: 35px;
  /*color:  #c5ecfd*/;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1.5rem;
 
}

.btnSend:hover , .btnReset:hover{
color: black;
  box-shadow: 0 5px 5px rgba(0, 0, 0, .4);
}

/*map and location grid item */
.location{
  max-width: 450px;
  margin: 0 auto;
  padding: 2rem;
}

.address h1{
  font-size: 2.7rem;
  text-align: center;
}
.address p{
  font-size: 12px;
  text-align: center;
  padding-bottom: 2rem;
}


/* start of footer*/

footer{
  padding: 1rem;
  background-color: #1c2939;
  text-align: center;
  color: #ffffff;
}

@media screen and (min-width: 320px) {
  .main-message{
    transform: translateY(40%);
  }
  .main-right-img{
    width: 80px;
  }
  .main-message h1{
    font-size: 3.7rem;    
    line-height: .5
  }
  .main-message h3{
    font-size: 2.5rem;
  }
  .main-message p{
    font-size: 1.5rem;
  }
}


@media screen and (min-width: 470px) {
  .main-right-img{
    width: 100px;
  }
  .hero::before{
    height: 9.4rem;
    background: url("images/wave-medium.png");
    background-size: cover;
  }
  .testimonials::before{
    height: 9.4rem;
    background: url("images/wave-medium-reversed.png");
    background-size: cover;
  }
}

@media screen and (min-width: 700px){
  .hero{
    width: 100%;
    height: 100vh;
    background: linear-gradient(to right, rgba(12, 13, 14, 0.6)0%, rgba(60, 16, 83,0.9)
    100%), url("images/main-bg.jpg")center no-repeat;
    background-size: cover;
    position: relative;
  }  

  .main-right-img{
    width: 150px;
  }
  header{
    height: 8rem;
  }
  .nav-brand{
    width: 15.5rem;
  }
  .nav-list{
    width: initial;
    height: initial;
    background-color: transparent;
    position: initial;
    right: initial;
    flex-direction: row;
    transition: initial;
  }
  .menu-icons{
    display: none;
  }
  .nav-item{
    margin: 0 2.5rem;
  }
  .nav-link,
  .current{
    color: #fafafa;
    position: relative;
    font-size: 1.3rem;
  }

  .nav-link::before,
  .current::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -.5rem;
    background-color: #d61b1b;
    width: 100%;
    height: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 750ms;
  }
  .current::before{
    transform: scaleX(1);
  }
   .nav-link:hover::before{
     transform: scaleX(1);
   }
   .hero{
     height: 60vh;
   }
   .main-message{
     transform: translateY(40%);
   }
   .title-heading h1{
     font-size: 2.5rem;
   }
   .nav-item>a{
    color: #fff;
      font-size: 1rem;
  }

  .accordion-content p,
  .accordion-content ul{
    margin-right: 33rem;
   }

   .begin-gallery{
    height: 100vh;
  }
}
@media screen and (min-width: 800px){
  .hero{
    height: 100vh;
  }
  .main-right-img{
    width: 200px;
  }
  .nav-item>a{
    color: #fff;
      font-size: 1.5rem;
  }
}

@media screen and (min-width: 950px){
  .hero::before{
    height: 22.7rem;
    background: url("images/wave-large.png");
    background-size: cover;
  }
  .testimonials::before{
    height: 22.7rem;
    background: url("images/wave-large-reversed.png");
    background-size: cover;
  }
  .nav-item>a{
    color: #fff;
      font-size: 2rem;
  }
}

@media screen and (min-width: 1200px){
  .hero{
    height: 80vh;
  }

}