/*==============================GOOGLE FONTS==============================*/
@import url('https://fonts.googleapis.com/css2?family=Exo:ital,wght@0,100..900;1,100..900&display=swap');

/*==============================CSS VARIABLES==============================*/
:root {
    --header-height: 3.5rem;


    /*==============================COLOURS==============================*/
    /*Colour mode HSL(hue, saturation, lightness)*/
    /* --first-colour: hsl(219, 69%, 56%);
    --first-colour-alt: hsl(219, 69%, 52%);
    --title-colour: hsl(219, 8%, 95%);
    --text-colour: hsl(219, 8%, 75%);
    --text-colour-light: hsl(219, 8%, 55%);
    --black-colour: #fff;
    --body-colour: hsl(219, 4%, 4%);
    --container-colour: hsl(219, 4%, 7%); */
    
    --first-colour: hsl(219, 69%, 56%);
    --first-colour-alt: hsl(219, 69%, 52%);
    --title-colour: hsl(0, 0%, 0%);
    --text-colour: hsl(219, 8%, 75%);
    --text-colour-light: hsl(219, 8%, 55%);
    --black-colour: #000000;
    --body-colour: hsl(0, 0%, 100%);
    --container-colour: white;
    --white-colour: white;
    


    /*==============================FONT AND TYPOGRAPHY==============================*/
    /*<weight>: Use a value from 100 to 900*/
    /*<uniquifier>: Use a unique and descriptive class name*/
    --body-font: "Exo", sans-serif;
    --h1-font-size: 1.65rem;
    --h2-font-size: 1.375rem;
    --h3-font-size: 1.21rem;
    --h4-font-size: 1.02rem;
    --normal-font-size: 0.99rem;
    --small-font-size: 0.902rem;
    --smaller-font-size: 0.88rem;
    --smallest-font-size: 0.825rem;

    /*==============================FONT AND TYPOGRAPHY==============================*/
    --font-medium-bold: 500;
    --font-semi-bold: 600;


}

@media (max-width:700px) {
    :root {
        --first-colour: hsl(219, 92%, 59%); /* Example: reddish for mobile */
    }
}

/*Apply responsive font sizing when the screen width is at least 968 pixels*/
@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.65rem;
    --h3-font-size: 1.375rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.963rem;
    --smaller-font-size: 0.894rem;
    --smallest-font-size: 0.847rem;
  }
}

/*==============================BASE==============================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-colour);
    color: var(--text-colour);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    color: var(--title-colour);
    font-weight: var(--font-semi-bold);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

/*==============================REUSABLE CSS CLASSES==============================*/

.container {
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
    padding: 4.5rem 0 2rem
}

.section_title{
    font-size: var(--h2-font-size);
    text-align: center;
    margin-bottom: 2.5rem;
}

.main {
    overflow: hidden;
}

/*==============================CSS==============================*/


.nav_container {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
}


.nav_list {
    display: flex;
    gap: 4rem;
}

.nav_close,
.nav_open {
    display: none;
}

@media (max-width:700px) {

  .nav_menu {
    position: fixed;
    top: 0;
    left: 0;        
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    /* background-color: rgba(0, 0, 0, 0.5); */
    background-color: rgba(255, 255, 255, 0.5);;
    backdrop-filter: blur(10px);
    z-index: 9999;
  }
  /*Without overflow: hidden, any content inside .nav_menu that’s taller or wider than 100vh/100vw will spill out and visually overlap with the rest of the pag*/

  .nav_list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    height: 100%;
    justify-content: center;
  }

    .nav_open {
        display: block;
    }

    .nav_close {
        position: absolute;
        display: none;
        right: 24px;
        top: 10px;
    }

    .home_img {
    width: 75%;
    justify-self: center;
    }

    .home_start_button {
        margin-bottom: 50px;
        margin-top: 0px;
    }

    .shape {
        border-radius: 50%;
        /* background-color: hsl(220, 51%, 71%); */
        /* background-color: hsl(220, 28%, 29%); */
        background-color: hsl(219, 69%, 90%);
        filter: blur(110px);
        position: absolute;
        z-index: -1;
    }

    .shape_big {
        width: 400px;
        height: 400px;
    }

    .shape_small {
        width: 200px;
        height: 200px;
    }

    .header .shape_big {
        left: -9em;
    }
    .main .shape_small {
       right: -5em;
       top: 23rem;

    }

    .contact_main .shape_big {
       right: -5em;
       top: 29rem;

    }

    .about_section .shape_big {
       right: -5em;
       top: 29rem;
    }

     .about_section .shape_big1 {
       left: 0rem;
    }

    .location_section #shape1 {
        top: -4rem;
        left: -7rem;
    }

    .location_section  #shape2 {
        right: -6rem;
        bottom: -5rem;
    }

    .location_img {
        padding-left: 15px;
        padding-right: 15px;

    }

    .featured_data {
        font-size: var(--small-font-size);
    }

}


/*-----------------------------------------Navigation---------------------------------------------*/

.nav_logo {
    color: var(--title-colour);
    font-weight: var(--font-semi-bold);
    font-size: var(--h2-font-size);
    transition: .3s;
}

.nav_logo:hover {
    color: var(--first-colour);
}

.nav_link {
    color: var(--black-colour);
    font-size: var(--h2-font-size);
    font-weight: var(--font-medium-bold);
}

.nav_link:hover {
    color: var(--first-colour);
}

.nav_open {
    color: var(--black-colour);
    font-weight: var(--font-semi-bold);
    font-size: var(--h2-font-size);
}

.nav_close {
    color: var(--black-colour);
    font-weight: var(--font-semi-bold);
    font-size: var(--h1-font-size);
}

/*-----------------------------------------Main---------------------------------------------*/

.main {
position: relative;
overflow: hidden;
padding: 0px;
}

.header {
    position: relative;
}

html {

}

.home_section {
    padding-top: 90px;
    background-color: var(--first-colour);
    
}

@media (min-width:700px) {
    
    .home_section {
        padding-bottom: 5.9%;
    }

}

@media (max-width:700px) {
    
    .home_section {
        margin: 5px;
        border-radius: 12px;
        padding-left: 3px;
        padding-right: 3px;
        padding-bottom: 50px;
    }

}


.home_data {
    text-align: center;
}

.home_title {
    font-size: var(--h1-font-size);
    padding-bottom: 0rem;
    padding-top: 0;
    margin-bottom: 0px;
    color: var(--white-colour);
}

.home_img {
    width: 70%;
    max-width: 1000px;
    margin: auto;
}

.home_car_data {
    display: flex;
    justify-content: center;
    gap: 8%;
    padding-top: 0rem;
    /* max-width: 1000px; */
    margin-bottom: 10px;
}



.home_car_data h3 {
    font-size: var(--h3-font-size);
    color: var(--white-colour);
}

.home_car_icon {
    margin-bottom: 1.7rem;
    font-size: 2.5rem;
    font-weight: var(--font-medium-bold);
    color: var(--white-colour);
}

@media (max-width:700px) {
    
    .home_img {
    padding-top: 30px;
    padding-bottom: 10px;
    }

    .home_car_icon {
        margin-bottom: 1rem;
    }

    .home_section {
        padding-top: 50px;
        padding-bottom: 100px;
    }

}

/*-----------------------------------------Explore Button---------------------------------------------*/

.home_start_button {
    display: flex;
    justify-content: center;
    align-content: center;
    position: relative;
    border: 2px solid var(--white-colour);;
    /*hsl(158, 89%, 30%)*/
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    /* justify-self: center; */
    font-size: var(--normal-font-size);
    color: var(--white-colour);
    font-weight: var(--font-semi-bold);
    /* margin-top: 150px; */
    margin: auto;
}

@media (max-width:700px) {
    .home_start_button {
        margin-top: 90px;
    }
}

@media (min-width:700px) {
    .home_start_button {
        margin-top: 6%;
    }
}



.home_start_button:hover {
    color: var(--text-colour);
}

.home_start_button::before {
  content: '';
  border: 2px solid var(--white-colour);
  /*hsl(158, 98%, 43%)*/
  width: 115px;
  height: 115px;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(241, 235, 223);
  /*hsl(158, 98%, 43%)*/
  transition: .3s;

  animation: breathe 3s ease-in-out infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes breathe {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 12px rgb(241, 235, 223);
    /*hsl(158, 98%, 43%)*/
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 24px rgb(235, 225, 206);
    opacity: 0.8;
  }
}


/*-----------------------------------------Featured---------------------------------------------*/


.featured_section {
    background-color: #f4f6f9;
}


@media (max-width:700px) {
    .featured_section {
        margin: 5px;
        border-radius: 12px;
        padding-bottom: 10px;
    }

    .featured_car_section {
        padding: 5px;
    }
}


.featured_car_section {
    padding-top: 30px;
    max-width: 1200px;
    margin: auto;
}

@media (min-width:700px) {
    .featured_car_section{
        padding-top: 60px;
        padding-bottom: 50px;
    }
}

.featured_section h2{
    text-align: center;
    margin-bottom: 60px;
    color: var(--first-colour);
}


.featured_card {
    transition: .3s;
    position: relative;
    width: 320px;
    max-width: 320px;
    min-height: 400px;
    background-color: var(--container-colour);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3.5rem;
    border-radius: 1rem;
    padding: 2rem 1rem 1.5rem;
    overflow: hidden;
}

.featured_title,
.featured_subtitle,
.featured_img {
    position: relative;
}

.featured_title {
    font-size: var(--h2-font-size);
    margin-bottom: 5px;
}

.featured_subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-colour);
    font-weight: var(--font-medium-bold);
}

.featured_img {
    width: 300px;
    margin: 30px 5px 15px 5px;
    transition: .3s;
    max-height: 140px;
}

.featured_data {    
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: .5rem 1.2rem;
    margin-bottom: 30px;
}

.featured_data i {
    font-size: 1rem;
}

.featured_data_group {
    display: inline-flex;
    align-items: center;
    column-gap: .2rem;
    font-size: var(--small-font-size);
    color: var(--black-colour);
}

.featured_price {
    font-size: var(--h3-font-size);
}

.featured_button {
    position: absolute;
    background-color: var(--first-colour);
    border-radius: 1rem 0 1rem 0;
    right: 0px;
    bottom: 0;
    padding: 15px;
    color: var(--black-colour);
    font-weight: 50;
}

.featured_button i {
    font-size: 1.5rem;
}

.featured_card:hover .featured_img {
    transform: translateY(-.25rem);
}

.shape_featured {
    border-radius: 50%;
    /* background-color: hsl(220, 28%, 29%); */
    background-color: hsl(219, 66%, 74%);
    position: absolute;
    z-index: 1;
    filter: blur(100px);
}

.shape_big_featured {
    width: 200px;
    height: 150px;
    top: -1.5rem;
    right: 2rem;
}

.shape_small_featured {
    width: 150px;
    height: 150px;
    bottom: 0rem;
    left: 0rem;
}


/*-----------------------------------------Location---------------------------------------------*/

.location_section {
    position: relative;
}



.location_data {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 110px;
}

.location_section h2 {
    padding-bottom: 20px;
    color: var(--first-colour);
}

.location_img {
    padding-top: 15px;
    min-width: 60%;
    border-radius: 10%;
    margin: auto;
}

.get_directions {
    margin-top: 30px;
    padding: 10px;
    background-color: var(--first-colour);
    border-radius: 12px;
    color: var(--black-colour);
    font-weight: var(--font-medium-bold);
}

.get_directions:hover {
    color: var(--text-colour);
}

.more_information {
    padding-top: 20px;
    color: var(--black-colour);
}




/*-----------------------------------------Footer---------------------------------------------*/

footer {
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    row-gap: 2rem;
    background-color: var(--first-colour-alt);
}


.footer_title {
    font-size: var(--h3-font-size);
    color: var(--black-colour);
    font-weight: var(--font-semi-bold);
}

hr {
    width: 160px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0px;
    border-top: 1px solid black;
}

.footer_address {
    font-size: var(--small-font-size);
    color: black;
}

.footer_contact {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--small-font-size);
    color: black;
}

.footer_links li {
    margin-bottom: 0.8rem;
}

.footer_links a {
    color: black;
}

.footer_links a:hover {
    color: var(--white-colour);
}

.footer_links_list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}


    
.footer_logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--black-colour); /* or your preferred color */
  font-weight: var(--font-semi-bold);
  font-size: var(--h2-font-size);
  text-align: center;
  line-height: 1.2;
}

.footer_logo i {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.footer_logo_text span {
  display: block;
}

.footer_logo:hover {
    color: var(--white-colour);
}


@media (max-width:700px) {

    .footer_logo i {
    font-size: 1.7rem;
    margin-bottom: 0rem;
    }

    .footer_logo_text {
        display: none;
    }

    hr {
    width: 130px;
    margin-top: 5px;
    margin-bottom: 5px;
    border: 0px;
    border-top: 1px solid black;
}

}


/*-----------------------------------------Collection---------------------------------------------*/


.collection_section {
    margin-top: 20px;
    min-height: 78.6vh;   
    
}

.collection_card_group h1 {
    font-size: var(--h3-font-size);
}

.collection_card_group h3 {
    font-size: var(--normal-font-size);
}

.collection_card_group p {
    color: black;
    font-size: var(--small-font-size);
}


.collection_title {
    text-align: center;
    color: var(--title-colour);
}

.collection_container {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* display: grid;
    grid-template-columns: repeat(3, max-content); */
    gap: 2rem;
}

.collection_card {
    max-width: 373px;
    border-radius: 10%;
    background-color: hsl(208, 58%, 94%);
    background-color: #f4f6f9;
    box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.1);
}

.collection_card:hover {
    transform:  translateY(-.25rem);
}

.collection_img {
    border-top-left-radius: 10%;
    border-top-right-radius: 10%;
    /* max-height: 250px;
    max-width: 350px;
    min-width: 350px;
    min-height: 250px; */
    min-width: 350px;
    min-height: 280px;
    
}

.collection_card_group {
    padding: 1rem 1.5rem 1.3rem;
}

.collection_card_detail {
    padding: 15px 0px;
    display: flex;
    gap: 10px;
}

.collection_card_detail p {
    font-size: var(--smaller-font-size);
    /* background-color: rgb(78, 214, 78); */
    background-color: rgb(149, 233, 149);
    padding: 9px 8px;
    border-radius: 8px;
}

.collection_card_description {
    min-height: 35px;
}



/*-----------------------------------------Car Page---------------------------------------------*/

.car_section{
    min-height: 75.6vh;
}

.car_main {
    margin: 20px 10px 40px;
}

.car_section {
    max-width: 1000px;
    margin: auto;
    padding: 5px 15px 5px 15px;
    box-shadow: 2px 7px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}


.car_title {
    background-color: hsl(208, 58%, 94%);
    background-color: #f4f6f9;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    transition:  0.3s ease;
}

.car_title_price p {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
}



.car_title_left h1 {
    font-size: var(--h3-font-size);
}

.car_title_left p {
    color: black;
    font-size: var(--small-font-size);
}



.car_middle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 25px;
    gap: 1.5rem;
}

@media (max-width:800px) {
    .car_middle {
        justify-content: center;
    }

    .car_title_price p {
        font-size: 1.1rem;
    }

}

.car_summary {
    /* background-color: hsl(208, 58%, 94%); */
    background-color: var(--white-colour);
    border: 1px solid rgb(173, 173, 173);
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    max-width: 800px;
    border-radius: 10px;
}


.car_summary img {
    width: 38px;
}

.car_summary p {
    color: #000000;
    margin-top: 13px;
    font-size: var(--small-font-size);
}

.car_summary_group {
    display: flex;
    gap: 5px;
}

.car_summary_text {
    font-size: var(--small-font-size);
}

.car_summary_group i {
    color: black;
    
}

.contact_us_button {
    margin: auto;
    background-color: var(--first-colour);
    padding: 15px 20px;
    border-radius: 12px;
    transition:  0.3s ease;
    
}

.contact_us_link {
    color: var(--black-colour);
    font-weight: var(--font-medium-bold);
    text-decoration: none;
}

.contact_us_link:hover {
    color: var(--text-colour);
}


.nowrap {
    white-space: nowrap;
}

.car_content {
    margin-bottom: 10px;
}

.car_content h3 {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
}

.dropdown {
    border-color: #000000;
}

.dropdown p {
    max-width: 95%;
    margin: auto;
    color: black;
    padding-top: 5px;
    padding-bottom: 10px;
}

.car_description_button {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: var(--white-colour);
    width: 100%;
    height: 40px;
    flex-direction: row;
    border: 1px solid black;
    border-bottom: 0px;
    border-radius: 20px;
}


.car_description_button h3 {
    padding-top: 11px;
    padding-left: 20px;
}

.car_description_button i {
    font-size: 19px;
    padding-right: 6px;
    padding-top: 10px;
    color: #000;
}


.car_features_button {
    position: relative;
    display: flex;
    justify-content: space-between;
    background-color: var(--white-colour);
    width: 100%;
    height: 40px;
    flex-direction: row;
    border: 1px solid black;
    border-radius: 20px;
}

.car_features_button h3 {
    padding-top: 11px;
    padding-left: 20px;
}

.car_features_button i {
    font-size: 19px;
    padding-right: 6px;
    padding-top: 10px;
    color: #000;
}

/*-----------------------------------------Contact Us---------------------------------------------*/

.contact_main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    min-height: 80.05vh;
}


#contact {
    margin-top: 20px;
}

.contact_card {
    background-color: var(--container-colour);
    margin: 10px;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    min-width: 535px;
}

.contact_title {
    color: var(--first-colour);
}

.contact_divider {
    border: 0px;
    border-top: 2px solid var(--first-colour);
    width: 80%;
    margin: auto;
}

.contact_text {
    margin-top: 20px;
    color: #000;
    font-size: var(--normal-font-size);
}

.location_text {
    display: flex;
    justify-content: space-between;
}

.location_get_directions {
    padding: 10px;
    background-color: var(--first-colour);
    border-radius: 12px;
    color: var(--black-colour);
    font-weight: var(--font-medium-bold);
    margin-top: auto;
    margin-bottom: auto;
}

.location_get_directions:hover {
    color: var(--text-colour);
}

.contact_location_img {
    margin-top: 20px;
    width: 300px;
    border-radius: 12px;
}

@media (max-width:800px) {
    .contact_card {
        min-width: 0px;
    }
}


/*-----------------------------------------About---------------------------------------------*/


.about_main {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
  padding: 8.25vh;
}

@media (max-width:700px) {
    .about_main {
    padding: 10%;
    }
}

.about_section {
  max-width: 800px;
  width: 100%;
}

.about_card {
  background-color: var(--container-colour);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about_title {
  font-size: var(--h2-font-size);
  color: var(--first-colour);
  margin-bottom: 20px;
}

.about_divider {
  border: 0;
  border-top: 2px solid var(--first-colour);
  width: 60%;
  margin: auto;
  margin-bottom: 30px;
}

.about_text {
  font-size: var(--normal-font-size);
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about_signature {
  font-weight: bold;
  color: var(--first-colour);
  margin-top: 30px;
  font-size: 1.1rem;
}

.acknowlegement {
    margin-top: 20px;
}

.acknowlegment_text, .acknowlegement{
    font-size: 7px
}

/*
seat
Muhammad Asfandyar bhatti
https://thenounproject.com/icon/seat-7529135/

fuel
Hermawan
ID
https://thenounproject.com/icon/fuel-6886267/

engine
Imron Sadewo
ID
https://thenounproject.com/icon/engine-7074264/


MUHAMAD KHOTIBUL UMAM
ID
https://thenounproject.com/icon/gear-7977020/

Sita Raisita
ID
https://thenounproject.com/icon/dashboard-7854203/
*/