
/* ////////banner/////////////////// */

.banner {
            width: 100%;
            height: 400px;
            background-image: url('images/About-back-img.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        
        .breadcrumb {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 15px 25px;
            border-radius: 30px;
            z-index: 1;
            margin-top: 80px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .breadcrumb a:hover {
            color: #000;
        }
        
        .breadcrumb-separator {
            margin: 0 10px;
            color: #333;
            font-size: 18px;
        }
        
        .breadcrumb-current {
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .breadcrumb {
                padding: 12px 20px;
            }
            
            .breadcrumb a,
            .breadcrumb-separator,
            .breadcrumb-current {
                font-size: 16px;
            }
        }
   


        /* /////dealer section////// */

        body{
                background-color: #f3f3f3;

        }
        
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
}

h1 {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-weight: normal;
    text-transform: uppercase;
}

.search-bar {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    gap: 15px; /* Space between search elements */
    margin-bottom: 40px;
    justify-content: center; /* Center items on larger screens */
}

.search-bar input[type="text"],
.search-bar select {
    flex: 1; /* Allows elements to grow and shrink */
    min-width: 180px; /* Minimum width for each input/select */
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box; /* Include padding and border in the element's total width */
}

.search-bar button.search-button {
    background-color: #ffc107; /* Yellow color */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-bar button.search-button:hover {
    background-color: #e0a800; /* Darker yellow on hover */
}

.dealer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    justify-content: center; /* Center cards in the grid */
}

.dealer-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.139);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.dealer-image {
    width: 100%;
    height: 250px; /* Adjust height as needed */
    background-color: #e0e0e0; /* Placeholder for image */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 20px;
    border-bottom: 1px solid #eee;
}

.dealer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.dealer-info {
    padding: 20px;
}

.dealer-info p {
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}

.dealer-info p strong {
    color: #000;
}

/* Media Queries for Responsiveness */

/* For screens smaller than 768px (e.g., tablets and large phones) */
@media (max-width: 768px) {
    .search-bar {
        flex-direction: column; /* Stack search inputs vertically */
        align-items: stretch; /* Stretch inputs to full width */
    }

    .search-bar input[type="text"],
    .search-bar select,
    .search-bar button.search-button {
        width: 100%; /* Full width for inputs and button */
        min-width: unset; /* Remove min-width constraint */
    }

    .dealer-cards {
        grid-template-columns: 1fr; /* Single column for dealer cards */
    }

    .container {
        padding: 15px;
    }
}

/* For screens smaller than 480px (e.g., smaller phones) */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .search-bar input[type="text"],
    .search-bar select,
    .search-bar button.search-button {
        font-size: 14px;
        padding: 8px 12px;
    }

    .dealer-info p {
        font-size: 14px;
    }
}





/* //////////policy container////// */

.policy-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 30px;
            border-radius: 8px;
        }
        .policy-container h1 {
            font-size: 28px;
            color: #333;
            text-align: center;
            margin-bottom: 30px;
            text-transform: uppercase;
            font-weight: 500;
        }
        .policy-container h2 {
            font-size: 20px;
            color: #333;
            margin-top: 30px;
            margin-bottom: 15px;
            text-transform: uppercase;
        }
         .policy-container h3 {
            font-size: 18px;
            color: #333;
            margin-top: 25px;
            margin-bottom: 10px;
        }
        .policy-container h4 {
            font-size: 16px;
            color: #333;
            margin-top: 15px;
            margin-bottom: 5px;
        }
        .policy-container p {
            margin-bottom: 15px;
            text-align: justify;
        }
        .policy-container ul {
            list-style-type: disc;
            margin-left: 20px;
            margin-bottom: 15px;
        }
        .policy-container ul li {
            margin-bottom: 5px;
        }
        .policy-container strong {
            font-weight: bold;
        }