
/*   --------------------->   css for main section  <---------------------  */
body {
  background-color: #fff;
}
.container {
  padding: 1% 6%;
  text-align: center;

}
.container h2 {
  font-size: 2.5rem;
  /* background-color: #ffe604; */
  border-bottom: 3px solid #ffe604;
  padding: 1%;
}

/* <<< ---- ------- -------- Home Page ------- -------  ---- >>> */


/* --------  welcome section  ------- */

.mainSection {
  height: 90vh;
}

.mainSection .container {
  display: flex;
  align-items: center;
  align-content: center;
}

.mainText {
  margin: 7% auto;
  text-align: left;
}

.mainText h1 {
  font-size: 6rem;
  line-height: 100%;
  animation: slidin 4s y iteration-count direction fill-mode;
  /* color: #f7de04; */
  /* text-shadow: 5px 10px 10px black; */
}

.mainText h1 span {
  color: #f7de04;
  text-shadow: none;
}

.mainText p {
  margin-top: 3%;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
  "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
   z-index: 1;
}

.mainText button {
  margin-top: 10%;
  background-color: #f7de04;
  border: none;
  padding: 1.5%;
  font-size: large;
  cursor: pointer;
  border-radius: 5px;
  z-index: 1;
}

.mainText button:hover {
  background-color: #ffe604;
  color: #5949e0;
  cursor: pointer;
  z-index: 1;
}

.carImg {
  width: 40rem;
  text-align: right;
  z-index: -1;
}

.carImg img {
  width: 30rem;
  z-index: -1;
}

/* --------  services section  ------- */

.servicesSection {
  width: vw;
  height: vh;
  background-color: #f3f3f3;
  padding: 4% 0;
  z-index: 2;
}

.services {
  margin-top: 5%;
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 40px;
  row-gap: 40px;
  list-style: none;
  /* text-align: left; */
}

.services div {
  /*  background: linear-gradient(45deg, rgba(174,249,244,1) 22%, rgba(136,123,242,1) 100%); */
  /* border: 5px solid #5949E0; */
  /* border-radius: 10px 50px 10px 50px; */
  padding: 5%;
}

.services div p {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: larger;
  margin-top: 10%;
}

.services div img {
  width: 8rem;
}

/* --------  fleet section  ------- */

.fleetSection {
  width: vw;
  height: vh;
  padding: 5% 0;
}


.item img {
  height: 200px;
  transition: 7s ease;
}

.item p {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
  "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  padding: 1%;
  margin-bottom: 5%;
  background-color:#cacaca;
  border-radius: 5px;
  font-size: larger;
}

.item:hover {
  transform: scale(1.1);
  cursor: pointer;
}


/* <<< ---- ------- -------- Rates Page ------- -------  ---- >>> */

/* .container main {
  overflow:scroll;
} */

.rateTable {
  margin: 4% 8%;
}
.rateTable table {
  width: 100%;
  background: #f7de04;
  padding: 2% 5%;
  border-collapse:separate;
  border-spacing:5px 10px;
  border-radius: 25px;
}

.rateTable table th {
  height: 50px;
  /* padding:2px; */
  color: #5949E0 ;
  border-bottom: 3px solid #fff ;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

.rateTable tbody th {

  border-bottom: 1.5px solid #fff ;
}

.rateTable table td {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  height: 25px;
}

/* <<< ---- ------- -------- Gallery Page ------- -------  ---- >>> */

.gallery {
  margin: 4% 8% 4%;
}

.gallery ul {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto auto;
  column-gap: 20px;
  row-gap: 20px;
}

.gallery ul li img {
  width: 20rem;
  height: 20rem;
  transition: 0.3s;
  border-radius: 5px;
  max-width: 100%;
}

.gallery ul li img:hover {
  box-shadow: 5px 5px 5px black ;
  opacity: 0.7;
  cursor: pointer;
}


#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}



/* The model (background) */
.model {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 2;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  /* background-color: rgb(0, 0, 0); */
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}



/* model Content (image) */
.model-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}



/* Caption of model Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.model-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
      -webkit-transform: scale(0)
  }

  to {
      -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
      transform: scale(0)
  }

  to {
      transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .model-content {
      width: 100%;
  }
}

/* <<< ---- ------- -------- About Page ------- -------  ---- >>> */

.about {
  /* box-shadow: 5px 5px 20px #5949E0; */
  background-color: #5949e0;
  color: white;
  padding: 3.5%;
  margin: 4% 8% 4%;
  border-radius: 25px;
}

.about p {
  border: 1px double white;
  padding: 5%;
  border-radius: 25px;
}

/* <<< ---- ------- -------- Contact Page ------- -------  ---- >>> */

.wrapper {
  display: flex;
  margin: 4% 2% 0%;
  align-items: center;
  align-content: center;
  justify-content: space-evenly;
}

.bookingForm {
  text-align: left;
  padding: 2%;
  box-shadow: 2px 2px 5px #b6b1b1;
  border: 1px solid #cacaca;
  border-radius: 25px;
}

.bookingForm::before {
  content: "Book Here";
  display: inline-block;
  position: absolute;
  background-color: #fff;
  font-weight: bold;
  padding: 0.5%;
  border: 1px solid #cacaca;
  border-radius: 10px;
  text-align: center;
  padding: 0.5rem;
  margin-top: -45px;
  margin-left: 9rem;
}

.bookingForm table tbody tr td input,
textarea,
select {
  width: 100%;
  border: 1px solid #cacaca;
  background-color: #fff;
  padding: 2%;
  margin-top: -50;
}

.label {
  margin-right: 10%;
}

#address {
  width: 35%;
}

#address p {
  font-size: larger;
}

#submitBtn {
  background-color: #5949e0;
  color: #fff;
  font-size: large;
  font-weight: 600;
  padding: 2% 3%;
  text-align: center;
  margin-top: 10%;
  border-radius: 15px;
  cursor: pointer;
}

iframe {
  width: 80vw;
}

.success {
  width: 55vw;
  margin: 2% auto;
  background-color: #8BC34A;
  border-radius: 15px;
  color: #fff;
  padding: 1%;
  font-size:large;
}

.error {
  width: 55vw;
  margin: 2% auto;
  background-color: #e4602b;
  border-radius: 15px;
  color: #fff;
  padding: 1%;
  font-size:large;
}


/*   --------------------->   css for Animation  <---------------------  */


.slidein {
  animation-duration: 2s;
  animation-name: slidein;
  animation-iteration-count: 1;
  animation-direction: alternate;
  animation-fill-mode: none;
}

@keyframes slidein {

  from {
    margin-left: 100%;
    opacity: 0;
    transition: 2s;
  }

  to {
    margin-left: 0%;
    opacity: 1;
  }
}

.rotate {
  animation: rotate 2s ease-in-out 1s;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.fadeIn {
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  0% {
    display: hidden;
    margin-bottom: 60%;
    opacity: 0;
    transition: 2s;
  }
  100% {
    margin-bottom: 0%;
    opacity: 1;
  }
}

