/* Reset some default styles for consistency */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}

body {
  font-family: Calibri;
  line-height: 1.6;
  background-color: white;
}

header {
  background-color: #000000;
  color: #fff;
  padding: 10px;
}

header h1 {
  font-size: 36px;
}

h2 {
  color: black;
}

h3 {
    margin-top: 10px;
    margin-left: 10px;
    font-size: 18px;
  }
  
p {
    margin-bottom: 5px;
    margin-left: 10px;
  }

a {
  color: #ffb71c;
}

a:hover {
  text-decoration: underline;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

main {
  padding: 20px;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}

.car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
  }
  
  .car-card {
    position: relative; /* Add relative positioning to the car card */
    width: calc(30%);
    height: 530px;  /*Adjust the height of the card */
    margin: 10px 10px 10px 10px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Hide any overflowing content */
  }
  
  .car-card img {
    width: 100%;
    height: 60%; /* Adjust the height of the image (60% of the card height) */
    object-fit: cover;
    border-radius: 0px;
  }

table {
    margin-left: 10px;
  }

td.tabledata {
    text-align: right;
  }
  
  .car-card .car-info {
    position: absolute; /* Add absolute positioning to the car info container */
    bottom: 0; /* Position the container at the bottom */
    left: 0; /* Position the container at the left */
    width: 100%; /* Make the container full-width */
    padding: 10px; /* Add padding to the container */
    background-color: rgba(255, 255, 255, 0.9); /* Add a semi-transparent background */
  }
  
  
  .car-card a {
    display: inline-block;
    background-color: #ffb71c;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
    margin-left: 10px;
    transition: background-color 0.3s;
  }
  
  .car-card a:hover {
    background-color: #fac000ad;
  }

  .car-details {
    position: relative; /* Add relative positioning to the car card */
    margin: 10px 10px 10px 10px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Hide any overflowing content */
  }

  .car-details img {
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
  }

 .car-details a {
    display: inline-block;
    background-color: #ffb71c;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 10px;
    margin-left: 10px;
    transition: background-color 0.3s;
  }
 

.about-us-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .about-us-container h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  .about-us-container p {
    margin-bottom: 15px;
    line-height: 1.6;
  }

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .step-card {
    flex-basis: calc(50% - 20px);
    margin-bottom: 20px;
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .step-number {
    background-color: #ffb71c;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .step-icon {
    font-size: 24px;
    color: #ffb71c;
    margin-bottom: 10px;
  }
  
  .step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .step-card p {
    margin-bottom: 5px;
  }

.contact-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border: 1px solid black;
    border-radius: 0px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .contact-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .contact-card .contact-info p {
    margin-bottom: 5px;
  }

  .contact-card img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Set a maximum height for the image */
    object-fit: contain; /* Maintain aspect ratio without cropping */
    border-radius: 5px;
    margin-top: 20px; /* Add some spacing between the image and the form */
  }

/* Responsive Design */
@media screen and (max-width: 1000px) {
  .car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;  
  }

  .car-card {
    width: 45%; /* Two articles per row on smaller screens */
  }
}

  @media screen and (max-width: 768px) {
  .car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;  
  }

  .car-card {
    width: 95%; /* Two articles per row on smaller screens */
  }
}
