* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body Styling */
body {
    margin: 0;
    background-color: white;
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal overflow */
}

/* Navbar Styling */
.nav_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
}

.nav_bar a {
    text-decoration: none;
    color: #000;
    margin: 0 10px;
}

.about {
    text-align: center;
}

@media(max-width: 843px) {
    .about {
        display: none;
    }
}

/* Topcard Section Styling */
.topcard {
    display: flex;
    width: 300%;
    /* 100% width per image times 3 images */
    align-items: center;
    margin-top: 1rem;
    overflow: hidden;
    /* Ensure images stay within the container */
    animation: slide 10s infinite forwards;
}

.topcard img {
    width: 33.33%;
    /* Each image takes up 1/3 of the container */
    height: 300px;
    /* Set a consistent height for all images */
    object-fit: cover;
    /* Ensures images fill the container without stretching */
}

/* Keyframes for Sliding Animation */
@keyframes slide {
    0% {
        transform: translateX(0%);
    }

    33% {
        transform: translateX(-100%);
    }

    66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0%);
    }

    /* Ensure it loops back */
}

/* Brand Section Styling */
.brand_style {
    letter-spacing: 0.5rem;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

.cards_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
   /* width: 100%;
    margin-top: 20px;*/
}

.cards {
    border-radius: 1rem;
    width: 200px;
    /* Set a consistent width for all cards */
    text-align: center;
    margin-bottom: 20px;
}

.cards img {
    width: 100%;
    height: 200px;
    /* Set a consistent height for all images */
    object-fit: cover;
    /* Ensures images fill the container without stretching */
    border-radius: 1rem;
}

.cards p,
.cards h5 {
    margin: 10px 0;
}

.cards h5 {
    font-size: 1.25rem;
    /* Corrected unit from 'ren' to 'rem' */
}
.brands{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 20px;

}

