body {
    padding: 0;
    margin: 0;
}
.container {
    position: relative;
    margin-top: 100px;
}
.container img {
    display: block;
    width: 100%;
}
nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    font-family: 'Montserrat', 'sans-serif';
    height: 100px;
    background-color: #e64646;
    padding: 0 5%;

}
nav .logo { 
    float: left;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff;
}
nav .links {
    float: right;
    padding: 0;
    margin: 0;
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav .links li {
    list-style: none;
}
nav .links a {
    display: block;
    padding: 1em;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    position: relative;
}
nav .links a:hover {
    color: white;
}
nav .links a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}
nav .links a:hover::before {
    visibility: visible;
    transform: scaleX(1);
    color: white;
}
#nav-toggle {
     position: absolute;
     top: -100px;
}
nav .icon-burger {
    display: none;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}
nav .icon-burger .line {
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin: 5px;
    border-radius: 3px;
    transition: all .5s ease-in-out;
}
@media screen and (max-width: 768px) {
    nav .logo {
        float: none;
        width: auto;
        justify-content: center;
    }
    nav .links {
        float: none;
        position: fixed;
        z-index: 9;
        left: 0;
        right: 0;
        top: 100px;
        bottom: 100%;
        width: auto;
        height: auto;
        flex-direction: column;
        justify-content: space-evenly;
        background-color: rgba(0, 0, 0, .8);
        overflow: hidden;
        transition: all .5s ease-in-out;
    }
    nav .links a {
        font-size: 20px;
    }
    nav :checked ~ .links {
        bottom: 0;
    }
    nav .icon-burger {
        display: block;
    }
    nav :checked ~ .icon-burger .line:nth-child(1) {
        transform: translateY(10px) rotate(225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(3) {
        transform: translateY(-10px) rotate(-225deg);
    }
    nav :checked ~ .icon-burger .line:nth-child(2) {
        opacity: 0;
    }
}

.hero_banner{
    background-image: url(https://sunnyselfdrivecars.site/wp-content/uploads/2024/07/banner-home.webp);
    background-color: #FFFFFF;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.home_row{
    display: flex;
    justify-content: space-between;
    padding: 200px 76px;
}

.col_1 h2{
    color: #e64646;
    font-family: "Roboto", Sans-serif;
    font-size: 50px;
    font-weight: 600;
}

.col_1 .buton{
    background-color: #e64646;
    border-radius: 50px 50px 50px 50px;
    padding: 17px 72px 17px 72px;
    display: inline;
    top: 23px;
    position: relative;

}

.col_1 .buton a{
    color: #fff;
}

.col_1 p {
    font-size: 18px;
}


.booking-steps {
    
    margin: auto;
    padding: 60px 150px;
    text-align: center;
    background-color: #F7F7F7;
  }

  .booking-steps h4 {
    font-size: 14px;
    letter-spacing: 1.5px;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .booking-steps h2 {
    color: #e64646;
    font-size: 36px;
    margin-bottom: 40px;
  }

  .step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
  }

  .step {
    padding: 10px;
  }

  .step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
  }

  .step p {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .booking-steps h2 {
      font-size: 28px;
    }
  }

  .overly{
    background-image: url('./assest/img/cheap-car-bg-image.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px;
  }

  .col_2 h2{
    color: #FFFFFF;
    font-size: 30px;
    text-align: center;
    font-weight: 600;
  }

  .col_2 .buton{
    display: flex;
    justify-content: center;
  }

  .col_2 .buton a{
    font-family: "Roboto", Sans-serif;
    font-size: 19px;
    font-weight: 500;
    background-color: #e64646;
    color: #fff;
    padding: 13px 45px;
    text-decoration: none;
    border-radius: 34px;
  }


  .testimonial-section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
  }

  .testimonial-section h2 {
    text-align: center;
    font-size: 36px;
    color: #e64646;
    margin-bottom: 40px;
  }

  .testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    background: #e64646;
    padding: 40px 30px;
    border-radius: 6px;
  }

  .testimonial {
    flex: 1 1 300px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .testimonial-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
  }

  .testimonial-footer img {
    width: 48px;
    height: 48px;
    background: #ccc;
    border-radius: 50%;
  }

  .testimonial-footer span {
    font-style: italic;
    font-weight: 600;
  }

  .map {
    margin-top: 40px;
  }

  .map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 6px;
  }

  @media (max-width: 768px) {
    .testimonials {
      flex-direction: column;
    }

    .testimonial {
      margin-bottom: 20px;
    }
  }

  .footer {
    background-color: #000;
  }
  
  .footer__container {
    padding-block: 3rem 2rem;
    row-gap: 2.5rem;
  }
  
  .footer__links {
    display: flex;
    justify-content: center;
    column-gap: 2rem;
  }
  
  .footer__link {
    color: #fff;
    transition: color 0.4s;
  }
  
  .footer__link:hover {
    color: #fff;
  }
  
  .footer__copy {
    color: #fff;
    text-align: center;
    display: flex
;
    justify-content: center;
    gap: 20px;
    padding-top: 25px;
    text-align: center;
  }
  
  .footer__copy a {
    color: #fff;
    font-weight: var(--font-medium);
  }
  
  /*=============== MEDIA QUERIES ===============*/
  /* For small devices */
  @media screen and (max-width: 340px) {
    .container {
      margin-inline: 1rem;
    }
  }
  
  /* For large devices */
  @media screen and (min-width: 1150px) {
    .container {
      margin-inline: auto;
    }
    .section {
      padding-block: 7rem 2rem;
    }
    .footer__container {
      padding-block: 4rem;
      grid-template-columns: repeat(2, max-content);
      justify-content: space-between;
    }
    .footer__links {
      column-gap: 3rem;
      order: 1;
    }
  }

  @media screen and (max-width: 1150px){
    .hero_banner{
        height: auto !important;
    }

    .home_row{
        padding: 100px 20px;
        background-color: #f7f7f75e;
    }
    .servvice_card {
        flex-direction: column;
        align-items: center;
    }

    .card{
        width: 85% !important;
    }

    .service_page {
        padding: 40px 13px !important;
    }

    .about-image {
        flex: 1 1 0px !important;
    }

    .booking-steps {
        padding: 60px 15px !important;
    }

    .overly{
        padding: 50px 15px !important;
    }

    .col_1 h2{
        font-size: 31px !important;
    }
  }

  .quick_contact a {
    position: fixed;
    width: 40px;
    height: 40px;
    right: 18px;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: transform 0.5s ease;
  }
  .qwhtsapp {
    bottom: 70px;
    background-color: #25d366;
  }
  .qcall {
    bottom: 120px;
    background-color: #2196f3;
  }
  .quick_contact_icon {
    margin-top: 10px;
  }
  .quick_contact a:hover {
    transform: scale(1.1);
  }
  