* {
    padding: 0;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    box-sizing: border-box;
}

.header {
    width: 100%;
    height: 50vh;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(img/dealer.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;   
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 2% 6%;
    align-items: center;
}

nav img {
    width: 50px;
}

.header nav a {
    text-align: center;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul {
    list-style-type: none;
}

.nav-links ul li {
    display: inline-block;
    padding: 0 17px;
    position: relative;
}

.nav-links ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    display: block;
    height: 3px;
    margin: auto;
    background-color: #f44336;
}

.nav-links ul li:hover::after {
    width: 100%;
    transition: 0.3s;
}

.text-box {
    width: 70%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.text-box h1 {
    text-align: center;
    margin-bottom: 270px;
    font-size: 40px;
    color: #fff;
}


.hero-btn {
    display: inline-block;
    background-color: #f44336;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #f44336;
    padding: 12px 34px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: #f44336b6;
    transition: 1s;
    border: 1px solid #f44336;
}

nav .fa {
    display: none;
}

@media(max-width:700px) {
    .text-box h1 {
        font-size: 20px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: fixed;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px;
    }
}

.content-container {
    padding: 2em 6%;
    display: flex;
    justify-content: space-between;
    background-color: #f9f9f9;
    flex-wrap: wrap;
}

.content-left {
    width: 60%;
}

.content-right {
    width: 35%;
}

.content-left h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.content-left h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #444;
}

.content-left p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.content-left ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.footer {
    background-color: #03071e;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: #fff;
    margin-top: 5%;
}

.footer h4 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 33px;
}

.footer p {
    color: #adb5bd;
}

.icon {
    margin-top: 20px;
}

.icon a {
    text-decoration: none;
    margin: 0 10px;
    color: #fff;
    font-size: 24px;
    transition: 0.3s ease-in-out;
}

.icon a:hover {
    color: #f44336;
}

p .fa-solid {
    color: #f44336;
}
