/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    flex: 1;
}

header nav {
    flex: 2;
}

header nav .nav-links {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
}

header nav .nav-links li a:hover {
    background-color: #555;
    border-radius: 5px;
}

header .contact-info {
    flex: 1;
    text-align: right;
}

header .contact-info p {
    margin: 0;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    background: url("img/mechanic.webp") no-repeat center center/cover;
    position: relative;
    color: #fff;
    text-align: center;
    height: 400px; /* Adjust height as needed */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero .btn {
    background-color: red;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.services, .what-we-offer, .contact {
    padding: 10px 0;
    text-align: center;
}

.what-we-offer .offerings {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: whitesmoke;
}

.what-we-offer .offering {
    width: 30%;
    margin: 10px 0;
}

.what-we-offer .offering img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.logo-img {
    width: 150px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
    .logo-img {
        width: 120px; /* Adjust the width for tablets */
    }
    
    .what-we-offer .offering {
        width: 45%;
    }

    .menu-icon {
        display: block;
    }

    header nav .nav-links {
        display: none;
        flex-direction: column;
        background-color: #000;
        width: 100%;
    }

    header nav .nav-links li {
        text-align: center;
        padding: 10px 0;
    }

    header nav .nav-links li a {
        display: block;
        padding: 10px;
    }

    header nav.active .nav-links {
        display: flex;
    }
}

@media (max-width: 576px) {
    .logo-img {
        width: 175px; /* Adjust the width for smartphones */
    }

    .what-we-offer .offering {
        width: 100%;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    header nav .nav-links {
        flex-direction: column;
    }

    header .contact-info {
        text-align: center;
    }
}
ul {
    list-style-type: none;  margin: 0;
    padding: 0;
  }
  
  li {
    margin-bottom: 10px;
    text-indent: -1em;  /* Adjust as needed */
}

.hero-title {
    font-size: 3em; /* Adjust the size as needed */
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.services-hero {
    background: url('img/mechanic-car.webp') no-repeat center center/cover;
    position: relative;
    color: #fff;
    text-align: center;
    height: 400px; /* Adjust height as needed */
}
.aboutus-hero {
    background: url('img/engine.webp') no-repeat center center/cover;
    position: relative;
    color: #fff;
    text-align: center;
    height: 400px; /* Adjust height as needed */
}
.contactus-hero {
    background: url('img/79stbuilding.webp') no-repeat center center/cover;
    position: relative;
    color: #fff;
    text-align: center;
    height: 400px; /* Adjust height as needed */
}

.footer-nav {
    margin-bottom: 20px;
}

.footer-nav .nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav .nav-links li {
    margin: 0 15px;
}

.footer-nav .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

.footer-nav .nav-links li a:hover {
    background-color: #555;
    border-radius: 5px;
}
