﻿.aboutus {
    padding: 10px;
    width: 400px;
    height: 400px;
}

.aboutus .Aboutimage {
    width: 100%;
    height: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal-width columns */
    gap: 15px;
    width: 100%;
}

.grid-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #00000000;
    box-sizing: border-box;
    width: fit-content;
}

    /* Hover Effect */
    .grid-item:hover {
        transform: translateY(-10px); 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    }

/* Responsive Layout: 1 column on small screens */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr); 
    }
}

/* Responsive Layout: 2 columns on medium screens */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* Optional: Style for the container-fluid */
.container-fluid {
    padding: 1px;
}




/* Footer Section Styling */
.footersection {
    background-color: black;
    color: white;
    padding: 40px 0;
    padding-left: 25px;
    padding-right: 25px;
}

.footersection .hdg1, .footersection .hdg2 {
    color: white; 
    margin-bottom: -4px
}

.footersection .p1address {
    color: white; 
}

.footersection .col-md-4 {
    margin-bottom: 20px; 
}

.footersection .bottom-footer-text {
    margin-top: 30px; 
    border-top: 1px solid #444; 
    padding-top: 10px;
}

.footersection .copyright {
    text-align: center; 
}

    .footersection .copyright p {
        color: white; 
        margin-bottom: 0;
    }

.footersection a {
    color: white; 
    text-decoration: none; 
}

    .footersection a:hover {
        text-decoration: underline; 
    }




.product-container {
    display: grid;
    grid-template-columns: repeat(3,400px);
    grid-auto-rows: 300px;
    grid-row-gap: 15px;
    grid-column-gap: 15px;
    align-items: center;
    justify-content: center
}

.product-container img {
    width: 100%;
    height: 100%;
}

    .product-container img:hover {
        opacity: 0.5;
        transform: scale(1,1);
    }

.imglogo1 {
    position: absolute;
    right: 0;
    padding-bottom: 0px;
    width: 134px;
    height: 20px;
    margin-top: -22px
}

.imglogo2 {
    position: absolute;
    left: 0;
    padding-bottom: 0px;
    width: 134px;
    height: 20px;
    margin-top: -22px
}

.right_mobile {
    visibility: hidden;
}

@media screen and (min-device-width: 481px) and (max-device-width: 768px) {
    .right_mobile {
        position: absolute;
        right: 186px;
        padding-bottom: 0px;
        width: 200px;
        height: 64px;
        margin-top: -17px;
        color: white;
        visibility: visible;
    }
}

.quoteimage1 {
    position: relative;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.submit_align {
    padding: 10px;
    position: relative;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 40px !important;
    text-align: center;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
    padding-bottom: 10px !important;
}

/* SIDE BAR Style*/
.side-tab {
    position: fixed;
    z-index: 99;
    bottom: 30%;
    right: -20px;
    padding: 15px 30px;
    color: #1b1b1b;
    transform: rotate(0deg);
}

.btnquick_class {
    background-color: #1b1b1b;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s; 
    transition-duration: 0.4s;
}

.btnquick:hover {
    color: whitesmoke;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}




* {
    box-sizing: border-box
}



/* Set height of body and the document to 100% */
/*body, html {
    height: 100%;
    margin: 0;
    font-family: Arial;
}
*/



/* TAB CONTENT PAGE START*/

.tablink {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
}


    .tablink:hover {
        background-color: #777;
    }


.tabcontent {
    color: white;
    display: none;
    padding: 5px 20px;
    height: 100%;
}
.tabclass1 h3{
    font-size:12px;
    color:black;
}

.tabclass1 {
    text-align: center;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .tabclass1 {
        grid-auto-flow: row;
    }

    .tablink {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tablink {
        padding: 8px 16px;
    }
}

#Home {
    background-color: red;
}

#News {
    background-color: green;
}

#Contact {
    background-color: blue;
}

#About {
    background-color: orange;
}

/* TAB CONTENT PAGE END*/



#specificationsTable {
    width: 100% !important;
    border-collapse: collapse !important;
}

#specificationsTable, th, td {
    border: 1px solid black !important;
}

    #specificationsTable th, td {
        padding: 10px !important;
        text-align: left !important;
    }

    #specificationsTable th {
        background-color: #f2f2f2 !important;
    }


@media (min-width: 992px) {
    .rowstyle {
        flex: 0 0 auto;
        width: 100%;
    }
}


.imgconnect1 {
    height: 150px;
    width: 150px;
}

.imgconnect2 {
    height: 300px;
    width: 300px;
}




/* CAR MODELS IMAGES*/

        .carmodels img {
            display: none;
        }

        .carmodels .color-name {
            display: none;
        }
        #image-display #colorname{
            font-size:20px;
            font-weight:200;
        }




.offertext {
    width: 100%;
    background-color: black;
    color: white;
    text-align: left;
}

.offerrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

    .offerrow h4 {
        margin: 0;
        text-align: left;
        flex: 1;
        color: white;
    }

#invictooffer, #ciazoffer, #grandvitaraoffer, #jimnyoffer,
#fronxoffer, #ignisoffer, #balenooffer, #xl6offer {
    flex: 2;
    text-align: center;
    font-weight: 700;
}



