@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*Header*/

html {
    font-family: "Inter", serif;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;

    
}

body {
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    background-color: #ffff;
}

.nav {
    margin-top: 38px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    font-weight: 400;
}

header {
    position: static;
}

.main-image {
    width: 100%;
    height: auto;
    z-index: 1;
    aspect-ratio: 3 / 1;
}

.logo {
    height: 60px;
    width: 120px;
    margin-top: -25px;
}

a:link {
    /*color: #000000;*/
    text-decoration: none;
}

li > a:last-child {
    margin-right: 5.5rem;
    color: #000000;
}

li > a:hover {
    color: red;
    transition: all 0.5s ease;
}
.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    background-color: #cfd6cf;
    height: max-content;
    padding-bottom: 20px;
}

.footer-card:first-child {
    align-content: center;
}

.footer-card:not(:first-child) {
    margin-top: 50px;
}

.footer-card h3 {
    font-weight: 800;
    font-size: 25px;
    text-align: center;
}

.footer-card p {
    font-size: 20px;
}

.social-media {
    display: flex;
    font-size: 30px;
    gap: 60px;
	align-items: center;
	justify-content: center;
}

.social-media:last-child {
    flex-direction: column;
    gap: 15px;
    font-size: 35px;
}

.social-media:last-child p {
    margin-top: 5px;
    margin-bottom: 5px;
}

.sub-pages li {
    list-style: none;
    margin-bottom: 20px;
}

.additional-services {
    width: 100%;
    height: 500px;
}
i {
    color: #000000;
}

a {
    color: rgb(19, 19, 19);
}


/*Reponsive*/

@media (max-width: 768px) {
	/* General fix for any container overflow */
	body,
	.hero,
	.seacher,
	.main-image,
	.car-gallery {
		overflow-x: hidden;
		max-width: 100%;
	}

	/* Header and Navbar */
	.nav {
		flex-direction: column;
		align-items: center;
		margin-top: 1rem;
	}
	.nav li {
		margin: 0.5rem 0;
    }



    /*footer*/

    
	.footer {
		flex-direction: column;
		align-items: center;
		padding: 1rem;
	}
	.footer-card {
		margin-top: 1rem;
		text-align: center;
	}
	.footer-card h3 {
		font-size: 1.5rem;
	}
	.footer-card p {
		font-size: 1rem;
	}
	.social-media {
		font-size: 24px;
		gap: 20px;
	}

    .sub-pages {
        padding-left: 80px;
    }
}