* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "General Sans", sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
}

#minicircale{
    transition: all cubic-bezier(0.19, 1, 0.22, 1) .5s;
    width: 10px; 
    height: 10px;
    background-color: #fff  ;
    position: absolute;
    z-index: 999999;
    border-radius: 50%;

}
.bounding{
    height: fit-content;
    overflow: hidden;
}
.bounding .boundingelam{
    transform: translateY(110%);
}

#main {
    width: 100%;
    background-color: black;
}

/* ================= HERO SECTION ================= */

#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    color: #fff;

    /* Background Image */
    background-image: url("../images/bmw.jpg");
    /* change image name */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
}

/* Dark Overlay */
#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 20%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

/* ================= NAVBAR ================= */

#nav {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 25px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

#nav h2 {
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 2px;
}

/* ================= HEADING CONTENT ================= */
.tagline {
    display: inline-block;        
    align-items: center;
    align-self: flex-start;

    padding: 3px 13px;
    margin-bottom: 25px;
    margin-top: 10px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #176bf2;

    background: rgba(37, 104, 212, 0.08);
    border: 1px solid rgba(10, 67, 158, 0.35);
    border-radius: 50px;
}
#headind {
    position: relative;
    z-index: 2;

    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 150px;

    padding-left: 30px;
}

#headind h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2px;
    color: #3a86ff;
}

#headind h1 {
    font-size: 6vw;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 15px;
}

/* Gradient for M SERIES */
#headind h1 span {
    background: linear-gradient(90deg, #3a86ff, #8338ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#headind h5 {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.5;
}


.description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 600px;
}
.explorebt {
    height: 60px;
    width: 150px;
    color: #fff;
    background-color: #176bf2;
    margin-top: 25px;

}
.bookbt{
    height: 60px;
    width: 150px;
    color: #fff;
    background-color: transparent;
    opacity: .9;
    margin-top: 25px ;
}

.overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.herobottom{
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    font-family: "General Sans", sans-serif;
}
.herobottom p {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0.8;
}
.circle{
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
    
}
#second{
    color: #fff;
    background-color: black;
    padding-top: 50px;
    padding-right: 10vw;
    width: 100%;
   
}
#secondtop h4{
    color: #3a86ff;
    padding-left: 3.5vw;
    margin-bottom:2px ;
    font-weight: 600;
}
#secondtop h2{
   padding-left: 3.5vw;
    font-size: 5vh;
    margin-bottom: 3vw;

}

.elem{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 3.5vw 3vw;
    padding-right: 0;
    border-top: 1px solid #888;
}
.elem h1 {
    text-transform: uppercase;
    font-size: 7.6vw;
    opacity: .7;
}


.elem img{

    opacity: 0;
    height: 140%;
    position: absolute;
    z-index: 999;
    left: 50%;
}
.about{
    height: 100%;
    padding: 80px 8vw;
    background: black;
    color: #fff;
    border-top: 1px solid #888;
   
    
}
.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.about h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.about p {
    max-width: 500px;
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Buttons */
.right {
    display: flex;
    gap: 20px;
}

.dealer {
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.dealer:hover {
    border-color: #3a86ff;
    color: #3a86ff;
}

.drive {
    padding: 14px 28px;
    background: linear-gradient(90deg, #176bf2, #3a86ff);
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.drive:hover {
    opacity: 0.85;
}
.copyright {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright p {
    font-size: 13px;
    opacity: 0.6;
    letter-spacing: 1px;
}
.elem a{
display:flex;
align-items:center;
justify-content:space-between;
width:100%;
text-decoration:none;
color:white;
}