* {
    margin: 0;
    padding: 0;
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: black;
}

.car-types {
    padding-top: 15px;
    padding-bottom: 10px;
    position: relative;
    display: flex;
    height: auto;
    margin-top: 0 10vw;
}

.category-container {
    width: 100vw;
    position: relative;
    overflow-x: auto;
    padding: 0 10vw;
}
.categories {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 40px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.categories::-webkit-scrollbar {
    display: none; 
}

.category-item:hover {
    color: #676767;
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
    height: 120px;
    padding: 10px;
    background-color: #dbdbdb; 
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.category-item {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.category-item img {
    display: block;
    width: 100%;
    border-radius: 16px;
}

.category-item span {
    display: block;
}


.category:hover {
    transform: scale(1.05);
    background-color: #444;
}

.category img {
    height: 70px;
    width: auto;
    border-radius: 16px;
}

.category-item {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
}

.category-item:hover {
    color: lightskyblue;
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(0, 0, 0, 0.6);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    z-index: 10;
}

.scroll-btn.left {
    left: 6vw;
}

.scroll-btn.right {
    left: 90vw
}

.latest-news .latest-head{
    font-size: 3rem;
    text-decoration: none;
    font-weight: bold;
    color: white;
}
.latest-news{
    width: 80vw;
    margin: 0 10vw;
    padding-top: -50px;
}
.latest-news hr{
    width: 26%;
    margin-top: -1px;
    margin-left: 0px;
    height: 10px;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
}
.latest-news h3{
    color: #fff;
    font-size: 50px;
    text-decoration: none;
}
.container{
    width: 90;
}
.blog-section{
    width: 100%;
    margin-top: 20px;
}
.blog-section .full-button{
    margin-top: 5vh;
    height: 7vh;
    width: 10vw;
    margin-left: 35vw;
    background:transparent;
    border-color: white;
    border-width: 1px;
    border-radius: 12px;
    color: white;
    font-size: large;
}
.blog-section .full-button:hover{
    background-color: lightskyblue;
    color: black;
}
.blog-section .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 25px auto;
}

.blog-section .card {
    width: calc(33.333% - 20px); /* 3 cards per row with spacing */
    background-color: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-section .card:hover {
    transform: scale(1.03);
}

.blog-section .image-section img{
    width: 100%;
    height: auto;
    transition: filter 0.3s ease;
    border-radius: 16px;
}
.blog-section a{
    text-decoration: none;
}
.blog-section p{
    color: lightskyblue;
    font-size: 12px;
    padding-top: 5px;
}
.blog-section h3{
    color: #fff;
    font-size: 22px;
    padding-top: 5px;
    transition: filter 0.3s ease;
}
.blog-section h5{
    color: #fff;
    padding-top: 5px;
    font-weight: normal;
}
.blog-section .card:hover img {
    filter: grayscale(50%);
    border-radius: 16px;
}

.blog-section .card:hover h3 {
    text-decoration: none;
    color: lightskyblue;
}
.blog-section .card hr{
    height: 2px;
    margin-top: 7px;
    color: rgb(128, 206, 255);
    width: 40px;
}
.hr hr{
    margin-top: 100px;
}

.breaking {
    width: 80vw;
    margin: 0 10vw;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
}

.breaking img {
    width: 35vw;
    height: auto;
    object-fit: cover;
    margin-right: 60px;
    border-radius: 16px;
}

.breaking .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.breaking h4 {
    color: #ff0000;
    margin-bottom: 10px;
}

.breaking h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.breaking p {
    margin-bottom: 10px;
    color: white;
}

/* Keep these hover effects */
.breaking a {
    text-decoration: none;
    color: inherit;
}

.breaking:hover h3 {
    color: lightskyblue;
    text-decoration: none;
}

.watch-on-yt{
    display: block;
    background:transparent;
    color: #fff;
    width: 150px;
    padding: 12px 20px;
    margin-top: 50px;
    border-radius: 12px;
    border-color: white;
    border-width: 1px;
    font-size: medium;
}
.watch-on-yt:hover{
    background-color: lightskyblue;
    color: black;
}
hr{
    width: 90%;
    margin: auto;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
    height: 2px;
}

.mid-hr hr{
    width: 100%;
    color: #065586
}
hr {
    width: 80%;
    margin-left: 10vw;
    background-color: lightskyblue;
    border: 1px solid lightskyblue;
    height: 2px;
}