/* Add your own styles here */
body {
    font-family: Arial,Helvetica,sans-serif;
}
.navbar {
    background-color: white;
    transition: ease-in 0.5s;
    padding: 0;
    height: 6.5%;
}
.nav-link.show{
    border-bottom: 3px solid red;
}
.navbar:hover {
    background-color: #ffffff; /* Change this to your desired background color on hover */
}

.baic-nav .nav-item {
    padding-left: 7%;
    padding-right: 7%;
}

.baic-nav {
    padding-right: 25%;
    padding-top: 1%;
}

.nav-link {
    color: black;
    text-decoration: none;
    position: relative;
    padding: 10px;
}


p {
    margin-top: 10px;
    margin-bottom: 5px;
}






/*.baic-nav .nav-link::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 3px;*/
/*    background-color: red; !* Change this to your desired underline color *!*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    transform: scaleX(0);*/
/*}*/

/*.baic-nav .nav-link:hover::after {*/
/*    transform: scaleX(1);*/
/*}*/

.nav-link {
    color: black;
}

.custom-bg-color {
    background-color: rgba(255, 255, 255, 0.91);
}

.baic-dropdown {
    list-style: none;
    text-decoration-line: none;
    margin-top: 0;
    
}

.baic-dropdown-units {
    list-style: none;
    text-decoration-line: none;
}

.list-inline-item {
    padding: 1%;
}

.dropdown-links {
    text-decoration: none;
    color: inherit;
}

.dropdown-links:hover {
    color: red;
}

.baic-dropdown a {
    text-decoration: none;
    color: rgb(0, 0, 0);
}

.baic-dropdown a:hover {
    color: red;
}

.disclaimer-text {
    font-size: 1.2em;
    color: #3a3a3a;
    text-align: center;
    margin-top: 1rem;
    white-space: nowrap;
    width: 100%;
}

/* Model dropdown improvements */
.model-category {
    margin-bottom: 2rem;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.unit-card {
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.unit-card:hover {
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #ff0000;
}

.unit-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.unit-image {
    margin-bottom: 0.5rem;
}

.unit-image img {
    border-radius: 4px;
    max-height: 120px;
    object-fit: cover;
}

.unit-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.unit-price {
    margin-top: auto;
    font-weight: 700;
    font-size: 1rem;
    color: #ff0000;
    margin-bottom: 0;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .unit-card {
        padding: 0.75rem;
    }
    
    .unit-name {
        font-size: 0.8rem;
    }
    
    .unit-price {
        font-size: 0.9rem;
    }
}

.model-scroll-row {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
}

.model-scroll-row::-webkit-scrollbar {
    height: 8px;
}
.model-scroll-row::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.model-scroll-row::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.model-scroll-item {
    flex: 0 0 180px;
    max-width: 180px;
    min-width: 150px;
    display: flex;
    align-items: stretch;
}

.unit-card {
    height: 100%;
}

.unit-card,
.unit-card a,
.unit-card a:visited,
.unit-card a:hover,
.unit-card a:active {
    text-decoration: none !important;
    color: inherit;
}
