/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Import Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');

/* Reset and general styles */
.ratings-badge-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0 -5rem 0;
  }
  
  .ratings-badge-container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pl-1.pr-2.py-1.flex {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  
  .rating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .rating-content .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .text-bold.mr-2.text {
    margin-bottom: 0.25rem;
  }
  
  .my-auto.flex {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .my-auto.flex .mr-1 {
    width: 16px;
    height: 16px;
    display: inline-block;
  }
  
  .my-auto.flex .mr-1 svg {
    width: 100%;
    height: 100%;
  }
  
  [style="color: rgb(85, 85, 85)"] {
    text-align: center;
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

/* Header and navigation */
header {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Main content */
main {
    padding: 3rem 0;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

/* Landing page */
.hero {
    text-align: center;
    padding: 10rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://motorhills.com/wp-content/uploads/2021/10/Auto-mechanic-showing-the-underside-of-the-car-to-the-customer.jpg.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 3rem;
    margin-top: -3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    margin: 0 0.5rem;
}

.services-preview, .cta {
    margin-top: 3rem;
    text-align: center;
}

.services-preview {
    margin: 3rem auto;
    text-align: center;
    max-width: 1200px;
    padding: 0 2rem;
    overflow: hidden;
}

.services-scroll {
    display: flex;
    overflow: hidden;
}

.services-scroll-content {
    display: flex;
    animation: scroll 120s linear infinite;
    margin-bottom: 1rem;
}

.services-scroll-content li {
    flex: 0 0 auto;
    width: 200px;
    background-color: #f4f4f4;
    padding: 1.5rem;
    margin-right: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-scroll-content li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.services-scroll-content div {
    flex: 0 0 auto;
    width: 200px;
    background-color: #f4f4f4;
    padding: 1.5rem;
    margin-right: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-scroll-content div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.section-image {
    border-radius: 3%;
    margin-bottom: 1rem;
    max-height: 350px;
}

/* Services page */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item .btn {
    margin-top: 1rem;
}

/* About page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content ul {
    list-style-position: inside;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

/* Reviews section */
.reviews {
    background-color: #f4f4f4;
    padding: 3rem 0;
    text-align: center;
    margin-top: 3rem;
}

.review-summary {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.stars {
    color: #f1c40f;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    padding: 0 2rem;
}

.review-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

/* Car issue form */
.car-issue-form {
    margin-top: 3rem;
    text-align: center;
}

.car-issue-form h2 {
    margin-bottom: 2rem;
}

.car-issue-form form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.car-issue-form input,
.car-issue-form select,
.car-issue-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.car-issue-form input:focus,
.car-issue-form select:focus,
.car-issue-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.car-issue-form button {
    justify-self: center;
}

/* Location and map */
.location-map {
    margin-top: 3rem;
    text-align: center;
}

.map-container {
    height: 400px;
    margin-top: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #34495e;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-right: 2rem;
    margin-bottom: 2rem;
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icon styles */
.icon {
    margin-right: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
    }

    nav ul li {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    
}