/* General Reset */
body, h1, p, ul, li, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.5;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.header .logo img {
    height: 50px;
}
.nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}
.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

/* Hero Section Styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/m3hd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}
.hero2compe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/m2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}
.hero4Coupe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/m4.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.hero5compe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw_m5_competition_2020_5k_6-5120x2880.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.herom8 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-m8-competition-coupe-cp-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.herox3m {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-x3-m50-hd-04-2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.herox4m {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-x4-m40i-cp-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroxm {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-xm-ai-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi3e {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/2017_bmw_i3_4k-1920x1080.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi4e {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-i4-m50-hd-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi5e {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/i5-Model-Page-3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi5t {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-i5-m60-touring-cp-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi7e {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-i7-m70-cp-01.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroi8e {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw_i8_roadster_2018_4k_5-3840x2160.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroixe {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-ix-m60-cp-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.heroix1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-image: url('img/bmw-x1-m35i-xdrive-cp-01.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}
.hero-text {
    text-align: left;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hero-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}
.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}
.buttons {
    display: flex;
    gap: 10px;
}
.buttons button {
    padding: 10px 20px;
    background-color: #0036ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.buttons button:hover {
    background-color: #0029cc00;
}
.pricing {
    display: flex;
    gap: 20px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.pricing p {
    font-size: 18px;
    padding-top: 200px;
    font-weight: bold;
}

/* Tabs Section Styles */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}
.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #0036ff;
    padding: 10px;
}
.tab-btn:hover, .tab-btn.active {
    color: #0029cc;
}

/* Details Section Styles */
.details {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
}
.car-specifications li, .car-advantages li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.details li::marker, .car-advantages li::marker {
    content: "✔  ";
    color: #16a085;
    font-weight: bold;
    margin-right: 10px;
}
.details ul {
    margin-top: 10px;
    list-style: disc;
    padding-left: 20px;
}
.details p {
    margin-bottom: 10px;
}

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

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

.footer p {
    color: #adb5bd;
}

.icon {
    margin-left: 10px;
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.icon .fa-brands {
    margin-left: 10px;
}
