@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-color: #eeeff1;
  }
  main{
    flex: 1;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #eeeff1;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.theme-switch {
  display: inline-block;
  width: 60px;
  height: 30px;
  border-radius: 30px;
  background: linear-gradient(49deg, #ffffff, #0644ff);
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
  vertical-align: middle;
}

.logo img {
    height: 50px;
    padding-left: 20px;
    padding-top: 10px;
}
.CabRental_logo img{
  padding-top: 20px;
}

.navbar {
    display: flex;
    gap: 20px;
    padding-top: 5px;
    list-style: none;
    font-size: 30;
}

.navbar li a {
    
    text-decoration: none;
    font-weight: 500;
    color: #333;
    padding: 10px 15px;
    transition: 0.3s ease;
}

.navbar li a:hover {
    color: #007bff;
}

.header-btn .sign-up {
  padding: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.header-btn .sign-up:hover {
    background-color: red;
    border-color: red;
}

/* Hide menu icon initially */
#menu-icon {
    display: none;
}

/* Responsive styles for mobile sidebar */
@media (max-width: 600px) {
    .navbar {
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        flex-direction: column;
        align-items: start;
        justify-content: flex-start;
        padding: 20px;
        transition: 0.3s;
        z-index: 1000;
    }

    .navbar.active {
        left: 0;
    }

    .navbar li {
        width: 100%;
        margin: 20px 0;
    }

    .navbar li a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 10px 15px;
    }

    #menu-icon {
        display: block;
        font-size: 28px;
        cursor: pointer;
        position: absolute;
        right: 20px;
    }

    .close-btn {
        font-size: 28px;
        cursor: pointer;
        margin-left: auto;
        margin-bottom: 20px;
    }
}
  /* nav ul li a:hover {
    color: #ff0000;
  } */

.key-features {
  margin-top: 10px;
  padding-left: 20px;
}

.key-features li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.citypara {
  font-size: 1rem;
  line-height: 1.5;
}

.citytransfer {
  padding: 23px;
  flex: 1;
  margin: 34px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  padding: 10px 20px 20px 10px;
  background-color: #fff;
  border-radius: 22px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 572px;
  max-width: 522px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 26px;
  /* position: relative;
  left: 45px; */
}

.cta-button {
  display: inline-block;
  background-color: #ef8467;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
  position: relative;
}

.video {
  position: relative;
  left: 650px;
  top: -449px;
}

.key-features1 li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.key-features1 {
  margin-top: 10px;
   padding-left: 20px; 
} 
.rentally {
  padding: 23px;
  flex: 1;
  margin: 34px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  padding: 10px 10px 10px 10px;
  background-color: #fff;
  border-radius: 22px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 623px;
  max-width: 643px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 26px;
  margin-top: -400px;
}

.key-features2 li {
  list-style-type: disc;
  margin-bottom: 5px;
}

.key-features2 {
  margin-top: 10px;
  padding-left: 20px;
}

.specially {
  padding: 23px;
  flex: 1;
  margin: 34px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  padding: 10px 10px 10px 10px;
  background-color: #fff;
  border-radius: 22px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 687px;
  max-width: 683px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  margin-left: 712px;
  margin-top: -355px;
  position: relative;
  justify-content: center;
  align-items: center;
  top: -42px
  /* position: relative;
  left: 752px;
  top: -825px; */
}
footer {
  text-align: center;
  padding: 0px 0;
  background-color: #f7776e;
  color: #fff;
  position: fixed;
  width: 100%;
  bottom: 0;
}


/*Mobile Devices */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
    text-align: center;
    left: 0;
  }

  nav {
    left: 0;
    top: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .citytransfer{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    position: relative;
    bottom: -500px;
    /* margin-top: 1000px; */
  }



  .specially{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 76px;


  }


  .rentally{
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 79px;
  }

  .video {
    left: 0;
    width: 100%;
  }

  .cta-button {
    left: 0;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .topbtn{
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 11px;
    right: 29px;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    user-select: none;
    font-size: 22px;
    border-radius: 50%
  }
}
