header{
    background-image: url("../assets/images/header.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.navbar .nav-link{
    color: var(--text-light) !important;
}
.hero_sec{
    width: 100%;
    height: 800px;
    display: flex;
    justify-content: center;
    padding-top: 80px;
}
.hero_sec_content{
    padding: 100px;
    text-align: center;
    line-height: 50px;
}
.hero_sec_content h1{
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
}
.hero_sec_content p {
    font-size: 20px;
    margin-bottom: 25px;
    color: #ddd;
}
.hero_sec_content a {
    border: 1px solid #2f48c2;
    border-radius: 10px;
    text-decoration: none;
    padding:10px;
    color: #ffffff;
    background-color: #49484891;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 5px #2f48c2;
}
.hero_sec_content a:hover{
    background-color: #000000ac;
    box-shadow: 0 0 8px #2f48c2;
}


.features {
    padding: 80px 50px;
    text-align: center;
}
.features h2 {
    font-size: 36px;
    margin-bottom: 30px;
}
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.feature-box {
    background: var(--surface-2);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}
.feature-box:hover {
    transform: translateY(-10px);
    background-color: color-mix(in srgb, var(--surface-2) 75%, var(--text-color) 25%);
}
.icon {
    font-size: 20px;
    margin-bottom: 15px;
}
.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}
.feature-box p {
    font-size: 14px;
}

.brands {
    padding: 20px 50px 50px 50px;
}
.brands h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}
.brands-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.band-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 0 10px #3145b871;
}
.band-img {
    width: 100%;
    height: 100%;
}
.band-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.band-card:hover .band-img img {
    transform: scale(1.05);
}
.band-name {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 30px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.3;
    text-shadow: 0 5px 10px rgba(0,0,0,0.4);
}


.top-cars-sec { 
    padding: 50px 30px; 
    margin-top: 80px;
    background-color: #3339474d;
}
.top-cars-header {
    display: flex;
    justify-content: space-between;
}
.top-cars-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.555);
}
.view-all-btn {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.25s;
}
.view-all-btn:hover { 
    color: var(--primary-color);
}
.top-cars-cards {
    display: flex;
    gap: 30px;
    padding: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.top-cars-cards::-webkit-scrollbar { 
    display: none; 
}
.car-card {
    flex: 0 0 300px;
    background-color: #00000041;
    border: 1px solid #00000041;
    box-shadow: 0 0 8px #000000a8;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.5s ease forwards;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.car-card:hover {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}
@keyframes fadeUp {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}
.card-img {
    position: relative;
    height: 190px;
    overflow: hidden;
}
.card-img img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.car-card:hover .card-img img { 
    transform: scale(1.06); 
}
.card-body { 
    padding: 20px 20px 0; 
}
.car-head ,
.car-features{
    border-bottom: 1px solid rgba(255, 255, 255, 0.228);
    padding: 20px 0;
}
.car-head h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 25px;
    letter-spacing: 1.5px;
    line-height: 1.1;
}
.car-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}
.car-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.car-feature i { 
    font-size: 18px; 
}
.car-feature span { 
    font-size: 12px;
    text-align: center; 
}
.car-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px;
}
.car-price {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 1px;
    color: var(--primary-color);
}
.view-btn {
    display: inline-flex;
    align-items: center;
    border: 1px solid white;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}
.view-btn:hover {  
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}


.news-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 80px;
}
.news-sec-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 50px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.news-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}
.news-btn {
    text-align: center;
    background-color: var(--surface-2);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.15s;
}
.news-btn:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}
.news-sec-img {
    width: 500px;
    height: 350px;
    border-radius: 50px;
    overflow: hidden;
}
.news-sec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.reviews-sec {
    margin: 30px 0;
    padding: 50px;
    background-color: #3536392b;
}
.reviews-sec h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 55px;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 48px;
}
.reviews-cards {
    display: flex;
    gap: 25px;
}
.reviews-card {
    background-color: var(--surface-2);
    border: 1px solid rgba(0, 0, 0, 0.388);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.614);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.3s;
}
.reviews-card:hover {
    border: 1px solid rgba(94, 93, 93, 0.388);
    box-shadow: 0 0 8px rgba(94, 93, 93, 0.388);
}
.stars{
    text-align: center;
}
.stars i {
    color: gold;
    text-shadow: 0 0 5px gold;
    font-size: 20px;
}
.reviews-card p {
    font-size: 14px;
    line-height: 1.7;
}
.user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.user i{
    font-size: 25px;
    color: #6288f2;
}
.user h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}
.user span {
    font-size: 12px;
}
