/*   --------------------->   css for Responsive (max-width: 576px)  <---------------------  */

@media all and (max-width: 576px) {
  /* header section  */

  #toggle {
    display: flex;
  }

  nav {
    padding: 5% 6%;
    min-height: 6rem;
  }

  nav ul {
    display: none;
    margin-top: 4rem;
    transition: 0.5s;
    flex-direction: column;
    text-align: center;
    font-size: larger;
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
  }

  nav ul li {
    margin-right: 0;
    width: 6.5rem;
    font-weight: 600;
    cursor: pointer;
  }

  nav ul li a {
    text-decoration: none;
    color: #fff;
  }

  .menu:hover {
    padding: 4% 5.5%;
    /* color: #ffe604; */
    border-top: 2px solid #ffe604;
    border-bottom: 2px solid #ffe604;
  }

  .enquiry {
    padding: 0%;
  }

  .enquiry p {
    margin-right: 0.5rem;
    font-size: 0.7rem;
  }


  .whatsapp {
    font-size: 2.5rem;
  }

  .call {
    font-size: 2.5rem;
  }

  .whatsapp:hover::after,
  .call:hover::after {
    left: -350%;
  }

  .container h2 {
    font-size: 2rem;
    margin: 7% auto;
  }

  /* Home Page */

  .mainSection {
    height: 100%;
  }

  .mainSection .container {
    height: 100%;
    width: 100%;
    display: inline-block;
  }

  .mainText h1 {
    font-size: 4rem;
  }

  .mainText p {
    font-size: small;
  }

  .carImg {
    width: 85vw;
    text-align: center;
    z-index: -1;
  }

  .carImg img {
    width: 75vw;
    z-index: -1;
  }

  .ourFleet {
    flex-direction: column;
  }

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

  .servicesSection {
    width: 100%;
    height: 100%;
    padding: 4% 0;
  }

  .services {
    margin-top: 5%;
    display: grid;
    grid-template-columns: 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-size: small;
  }

  .services div img {
    width: 5rem;
  }

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

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

  .ourFleet div p {
    font-size: small;
  }

  .ourFleet div img {
    width: 12rem;
    height: 7rem;
  }

  /* Rates Page */

  .rateTable {
    margin: 10% 0%;
  }

  .rateTable table {
    width: 100%;
    padding: 2% 3%;
    font-size: smaller;
  }

  .rateTable table th {
    height: 35px;
  }

  /* Gallery Page */

  .gallery {
    margin: 10% 0%;
  }

  .gallery ul {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    row-gap: 10px;
  }

  .gallery ul li img {
    width: 20rem;
    height: 15rem;
  }

  /* About Us Page */

  .about {
    margin: 10% 0;
    margin-left: 0%;
    padding: 4%;
    border-radius: 20px;
    width: 100%;
    /* text-align: left; */
  }

  .about p {
    border: 1px double white;
    padding: 3%;
    font-size: small;
    border-radius: 15px;
  }

  /* Contact Form  */

  .wrapper {
    margin: 5% auto;
    display: inline-block;
    text-align: left;
    /* margin: 4% 2% 0%; */
    /* align-items: center;
        align-content: center;
        justify-content: space-evenly; */
  }



  .success {
    width: 85vw;
    font-size: medium;
  }

  .error{
    width: 85vw;
    font-size: medium;
  }


  .bookingForm {
    margin: 6% auto;
    border-radius: 10px;
  }
  .bookingForm table {
    margin: 7% auto;
    /* width: fit-content; */
    text-align: center;
    font-size: 0.9rem;
    table-layout: fixed;
  }

  .bookingForm::before {
    content: "Book Here";
    position: absolute;
    padding: 0.5rem;
    margin-top: -1.6rem;
    margin-left: 8rem;
  }

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

  #submitBtn {
    background-color: #5949e0;
    width: 50%;
    font-size: medium;
    border-radius: 10px;
  }

  #address {
    width: 100%;
    text-align: center;
    margin: 8% 0 14%;
  }

  #address p {
    font-size: 1rem;
  }

  #address h2 {
    display: inline-block;
    font-size: 1.5rem;
  }

  iframe {
    width: 100%;
    margin-top: -3rem;
    margin-bottom: 4%;
  }

  /* footer page  */

  footer {
    padding: 3% 6% 12%;
    z-index: 1;
  }

  footer .copyRight {
    font-size: 0.6rem;
  }

  .footerLinks {
    font-size: small;
  }

  .footerLinks div {
    width: 6rem;
  }

  .footerLinks div ul {
    font-size: smaller;
  }
}

/*   --------------------->   css for Responsive (max-width: 576px) and (max-width: 768px)  <---------------------  */

@media (min-width: 576px) and (max-width: 768px) {
  nav {
    padding: 3% 6%;
  }

  .logo img {
    top: 1.5rem;
  }

  nav ul li {
    margin-right: 0;
    width: 4.5rem;
    font-weight: 600;
    cursor: pointer;
  }

  .enquiry p {
    margin-right: 0.7rem;
    font-size: 0.7rem;
  }

  .whatsapp {
    font-size: 2.5rem;
  }

  .call {
    font-size: 2.5rem;
  }

  .whatsapp:hover::after,
  .call:hover::after {
    left: -350%;
  }

  .container h2 {
    font-size: 2rem;
    margin: 7% auto;
  }

  /* Home Page */

  .mainSection {
    height: 100%;
  }

  .mainText h1 {
    font-size: 3.5rem;
  }

  .mainText p {
    font-size: x-small;
  }

  .ourFleet {
    flex-direction: column;
  }

  .carImg {
    width: fit-content;
    text-align: right;
    z-index: -1;
  }

  .carImg img {
    width: 100%;
    z-index: -1;
  }

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

  .servicesSection {
    width: 100%;
    height: 100%;
    padding: 4% 0;
  }

  .services {
    margin-top: 5%;
    display: grid;
    grid-template-columns: 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-size: small;
  }

  .services div img {
    width: 5rem;
  }

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

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

  .ourFleet div p {
    font-size: small;
  }

  .ourFleet div img {
    width: 12rem;
    height: 7rem;
  }

  /* Rates Page */

  .rateTable {
    margin: 10% 0%;
  }

  .rateTable table {
    width: 100%;
    padding: 2% 3%;
    font-size: smaller;
  }

  .rateTable table th {
    height: 35px;
  }

  /* Gallery Page */

  .gallery {
    margin: 10% 0%;
  }

  .gallery ul {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 10px;
    row-gap: 10px;
  }

  .gallery ul li img {
    width: 20rem;
    height: 15rem;
  }

  /* About Us Page */

  .about {
    margin: 10% 0;
    margin-left: 0%;
    padding: 4%;
    border-radius: 20px;
    width: 100%;
    /* text-align: left; */
  }

  .about p {
    border: 1px double white;
    padding: 3%;
    font-size: small;
    border-radius: 15px;
  }

  /* Contact Form  */

  .wrapper {
    margin: 0 0;
  }

  .success {
    margin: -2% auto 8%;
  }

  .error{
    margin: -2% auto 8%;
  }

  #address {
    width: 45%;
    text-align: center;
    margin: 8% 0 14%;
  }

  #address p {
    font-size: medium;
  }

  #address h2 {
    display: inline-block;
    font-size: 1.5rem;
  }

  iframe {
    width: 100%;
    margin-top: -3rem;
    margin-bottom: 4%;
  }

  /* footer page  */

  footer {
    padding: 3% 6% 8%;
    z-index: 1;
  }

  footer .copyRight {
    font-size: 0.6rem;
  }

  .footerLinks {
    font-size: small;
  }

  .footerLinks div {
    width: 10rem;
  }

  .footerLinks div ul {
    font-size: small;
  }
}

/*   --------------------->   css for Responsive (min-width: 768px) and (max-width: 992px)  <---------------------  */

@media (min-width: 768px) and (max-width: 992px) {


  nav ul li {
    margin-right: 0;
    width: 6.5rem;
    font-weight: 600;
    cursor: pointer;
  }

  .logo img {
    top: 1.5rem;
  }

  .enquiry p {
    margin-right: 0.7rem;
    font-size: 0.7rem;
  }



  .whatsapp:hover::after,
  .call:hover::after {
    left: -350%;
  }

  .container h2 {
    font-size: 2rem;
    margin: 7% auto;
  }

  /* Home Page */

  .mainSection {
    height: 100%;
  }

  .mainText h1 {
    font-size: 4.5rem;
  }

  .mainText p {
    font-size: small;
  }

  .ourFleet {
    flex-direction: column;
  }

  .carImg {
    width: fit-content;
    text-align: right;
    z-index: -1;
  }

  .carImg img {
    width: 100%;
    z-index: -1;
  }

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

  .servicesSection {
    width: 100%;
    height: 100%;
    padding: 4% 0;
  }

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

  .services div {
    padding: 5%;
  }

  .services div p {
    font-size: small;
  }

  .services div img {
    width: 5rem;
  }

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

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

  .ourFleet div p {
    font-size: small;
  }

  .ourFleet div img {
    width: 12rem;
    height: 7rem;
  }

  /* Rates Page */

  .rateTable {
    margin: 10% 0%;
  }

  .rateTable table {
    width: 100%;
    padding: 2% 3%;
    font-size: smaller;
  }

  .rateTable table th {
    height: 35px;
  }

  /* Gallery Page */

  .gallery {
    margin: 10% 0%;
  }

  /* Contact Form  */

  .success {
    margin: -2% auto 8%;
  }

  .error{
    margin: -2% auto 8%;
  }

  #address {
    width: 45%;
    text-align: center;
    margin: 8% 0 14%;
  }

  #address p {
    font-size: medium;
  }

  iframe {
    width: 100%;
    margin-top: -3rem;
    margin-bottom: 4%;
  }
}
