body {
    background-color: #000;
    color: #fff;
    font-family: 'Times New Roman', Times, serif; /* Fallback to Arial and sans-serif */
}
/* Navbar Styling */
.navbar {
    padding: 5px 30px;
    background-color: #111;
    text-transform: uppercase;

}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;

}

.navbar-nav .nav-link {
    color: #fff;
    margin-right: 20px;
}

.navbar-nav .nav-link.active {
    color: #ff2e00;
}


/* Hero Section */
.hero-section {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: relative;
    overflow: hidden;
}

/* Hero Content */
.hero-content {
    max-width: 45%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ff2e00;
}

/* Media query for small screens */
@media (max-width: 576px) {
    .hero-content h1 {
        color: white; /* Change the background color to white on small screens */
    }
}

.hero-content p {
    font-size: 1.5rem;
    color: #fff;
}

/* Carousel and Images */
.car-image {
    position: relative;
    width: 600px;
    z-index: 3;
    margin-bottom: 120px;
    margin-right: 230px; /* Apply margin for larger screens */
}

/* Media Queries for responsive behavior */
@media (max-width: 1024px) {
    .car-image {
        width: 100%; /* Full width on tablets */
        margin-right: 0; /* Remove margin on smaller screens */
        margin-bottom: 20px;

    }
}

@media (max-width: 900px) {
    .contact-info .text {
        display: none;
        /* Hide text on small screens */
    }

    .contact-info li {
        font-size: 20px;
        /* Optional: Increase icon size if needed */
    }
}

@media (max-width: 768px) {
    .car-image {
        width: 100%; /* Full width on mobile */
        margin-right: 0; /* Remove margin on smaller screens */
        margin-bottom: 20px;

    }
}


/* Ensure that the carousel images are responsive */
.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Set a minimum height for the carousel */
.carousel {
    min-height: 300px; /* Ensures the carousel has height on small screens */
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 722px;
    background-color: #ff2e00;
    z-index: 1;
    clip-path: polygon(60% 0%, 100% 0, 100% 100%, 60% 100%);
}

        /* Dot Pattern Styling */
.dot-pattern {
    position: absolute;
    top: 3.5%;
    left: 48%;
    width: 180px;
    height: 150px;
    background-image: radial-gradient(#fff 10%, transparent 10%);
    background-size: 30px 30px;
    z-index: 1;
}

.dot-pattern2 {
    position: absolute;
    top: 9.5%;
    left: 60%;
    width: 180px;
    height: 150px;
    background-image: radial-gradient(#fff 10%, transparent 10%);
    background-size: 30px 30px;
    z-index: 2;
}


/* Responsive Styling for Dot Patterns */
@media (max-width: 1024px) {
.dot-pattern {
    top: -5%;
    left: 40%;
    width: 150px;
    height: 130px;
}

.dot-pattern2 {
    top: 60%;
    left: 55%;
    width: 150px;
    height: 130px;
}
}

@media (max-width: 768px) {
.dot-pattern {
    top: -5%;
    left: 35%;
    width: 120px;
    height: 110px;
}

.dot-pattern2 {
    top: 62%;
    left: 50%;
    width: 120px;
    height: 110px;
}
}

@media (max-width: 480px) {
.dot-pattern {
    top: -5%;
    left: 30%;
    width: 100px;
    height: 100px;
}

.dot-pattern2 {
    top: 65%;
    left: 45%;
    width: 100px;
    height: 100px;
}
}


/* Shop by Make Section */
.shop-by-make {
    background-color: #ff2e00;
    padding: 20px;
    border-radius: 10px;
    z-index: 4;
    width: 380px;
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.shop-by-make ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.shop-by-make ul li {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.shop-by-make ul li img {
    width: 40px;
    margin-right: 15px;
}

.shop-by-make ul li span {
    font-weight: bold;
    color: #fff;
}

.shop-by-make ul li small {
    color: #ccc;
}

.shop-by-make ul li a {
    color: #fff;
    text-decoration: none;
}

.shop-by-make ul li a:hover {
    color: #ffcc00;
}

/* Membership and Lines */
.membership-link {
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.bg-light {
    background-color: transparent !important;
    height: 50px;
}
.line-after-now {
    display: inline-block;
    width: 70%;
    border-bottom: 1px solid red;
    margin-left: 220px;
    vertical-align: middle;
    margin-top: -90px;
    font-weight: 900;
}

/* Media query for small screens */
@media (max-width: 576px) {
    .line-after-now {
        display: none;
    }
}


.line-after-now2 {
    display: inline-block;
    width: 70%;
    border-bottom: 1px solid red;
    margin-left: 2px;
    vertical-align: middle;
    font-weight: 900;
}

/* Contact Information */
.contact-info {
    color: white;
    /* background-color: black; */
    padding: 10px;
    display: flex;
    align-items: center;
}

.contact-info div {
    display: flex;
    align-items: center;
}

.contact-info i {
    font-size: 24px;
    margin-right: -5px;
}

.contact-info span {
    font-size: 16px;
}

.contact-info a {
    font-size: 16px;
    color: white;
    text-decoration: none;
    margin-top: -5px;
    margin-left: 35px;
}

.contact-info i.fas.fa-phone-volume {
    margin-right: 10px;
    margin-top: -15px;
    transform: rotate(-50deg);
}

/* Responsive Styling */

/* For Tablets (Max-width 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 20px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    /* Ensure car image fits the screen */
    .car-image {
        position: relative;
        width: 100%;
        margin-top: 20px;
    }

    .carousel-inner img {
        height: 290px;
    }

    .shop-by-make {
        position: relative;
        width: 100%;
        margin-top: 20px;
    }

    /* Hide decorative dots */
    .dot-pattern,
    .dot-pattern2 {
        display: none;
    }
}

/* For Mobile Devices (Max-width 768px) */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Adjust car image for mobile */
    .car-image {
        position: relative;
        width: 100%;
        margin-top: 20px;
    }

    .carousel-inner img {
        height: auto;
        object-fit: contain;
    }

    .shop-by-make {
        margin-top: 30px;
        width: 100%;
    }
}

/* For Very Small Mobile Devices (Max-width 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 20px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .car-image img {
        height: auto;
        object-fit: contain;
    }

    .carousel {
        min-height: 200px;
    }

    .shop-by-make {
        width: 100%;
    }

    .membership-link {
        font-size: 0.9rem;
    }
}


/* select section */
.cars-for-sale-section {
    text-align: center;
    padding: 65px 20px;
}

.cars-for-sale-section h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.form-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    margin-bottom: 30px;
}

.form-group {
    background-color: white;
    color: black;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    font-weight: bold;
    width: 100%;
    max-width: 300px;
}

.mileage-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.mileage-section img {
    width: 100px;
    height: auto;
}

.mileage-slider {
    flex-grow: 1;
    position: relative;
}

.mileage-slider input[type="range"] {
    width: 100%;
}

/* new css add */

.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
}

.mileage-values {
    text-align: right;
    color: white;
    font-weight: bold;
    margin-right: 20px;
}

.search-button {
    background-color: red;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
}
.mileage-slider input[type="range"] {
    width: 100%;
    appearance: none;
    background: linear-gradient(to right, #ff0000 0%, #ff0000 var(--value), #ddd var(--value), #ddd 100%);
    height: 6px;
    border-radius: 5px;
    outline: none;
    margin-top: 10px;
    transition: background 0.3s ease;
}

/* Track color and dynamic fill */
.mileage-slider input[type="range"]::-webkit-slider-runnable-track {
    background: transparent;
}

.mileage-slider input[type="range"]::-moz-range-track {
    background: transparent;
}

.mileage-slider input[type="range"]::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 6px;
}

/* Thumb color */
.mileage-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
    margin-top: -7px;
}

.mileage-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
}

.mileage-slider input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff0000;
    cursor: pointer;
}

/* JavaScript to update the slider background dynamically */

.search-button:hover {
    background-color: darkred;
}

@media (max-width: 1024px) {
    .form-container {
        grid-template-columns: repeat(2, 1fr); /* 2x3 grid for tablets */
    }
}

@media (max-width: 768px) {
    .form-container {
        grid-template-columns: 1fr; /* Full-width rows on smaller screens */
    }
}

/* card section */
.carousel-item {
    padding: 15px;
}

.car-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.car-card .card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

.car-card .price {
    font-size: 1.1rem;
    color: #ff2e00;
    font-weight: bold;
}

.car-card .location {
    font-size: 0.9rem;
    color: gray;
    font-weight: bold;

}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px;
    font-size: 0.8rem;
    border-radius: 5px;
    font-weight: bold;
}

.carousel-control-prev2, .carousel-control-next2 {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hover effect for card */
.car-card:hover {
    transform: scale(1.05);
}

.journey-section {
    position: relative;
    width: 100%;
    height: 300px;
    background-image: url('../../assets/backgroundimage.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text contrast */
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    color: white;
}

.left-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

.right-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.stat-item p {
    margin: 5px 0 0;
    font-size: 1rem;
    font-weight: normal;
}

/* Make the layout responsive */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .right-stats {
        gap: 15px;
    }

    .stat-item h2 {
        font-size: 2rem;
    }
}



.why-choose-us {
    padding: 50px 0;
    background-color: #000;
    position: relative;
}

.image-section {
    position: relative;
    z-index: 1;
}

.vector-bg {
    position: absolute;
    top: -18px; /* Adjust the position to your needs */
    left: 0;
    width: 100%; /* Make sure the vector covers the section */
    z-index: 1;
    height: 545px;
}

.car-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: 320px;
    margin-top: 80px;
}

.text-section {
    padding: 20px;
}

.text-section h2 {
    font-size: 3rem;
    color: #ff2e00;
    text-transform: uppercase;
}

.choose-us-btn {
    background-color: #fff;
    color: #ff2e00;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
}

.text-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.features-list i {
    font-size: 1.5rem;
    color: #ff2e00;
    margin-right: 15px;
}

.features-list span {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .why-choose-us {
        text-align: center;
    }

    .image-section, .text-section {
        padding: 0;
    }

    .features-list {
        text-align: left;
    }
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.features-list i {
    font-size: 1.5rem;
    color: #ff2e00;
    margin-right: 15px;
    background-color: #fff; /* White background for the icon */
    padding: 15px;
    border-radius: 50%; /* Circular background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

.features-list span {
    font-size: 1rem;
}

/* new css  */

.contact-section {
    background-image: url('../../Untitle.png'); /* Replace with your image URL */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    padding: 40px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 400px; /* Optional: You can set a minimum height if needed */
}


.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #fff; /* Black background for contact items */
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.icon {
    background-color: white;
    padding: 10px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: red;
}

.contact-text {
    font-size: 1.2rem;
    color: white;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .car-image img {
        max-width: 651px;
    }

    .contact-info {
        margin-top: 20px;
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 15px;
    }
}

.contact-section {
    padding: 40px 0;
}

.contact-item .icon {
    font-size: 24px;
}

.contact-item .contact-text {
    font-size: 16px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.ms-3 {
    margin-left: 1rem;
}

.mb-3 {
    margin-bottom: 1rem;
}
.contact-section {
    padding: 0; /* Remove any padding around the section */
}

.contact-section .container-fluid {
    padding: 0; /* Remove padding around the container */
}

.contact-section .row {
    margin: 0; /* Remove margin around the row */
}

.contact-section .col-md-4 {
    padding: 0; /* Remove padding inside the columns */
}

.contact-section img {
    width: 100%; /* Ensure the image takes up the full width of its container */
    max-width: 100%; /* Ensure the image doesn’t exceed its container */
    height: auto; /* Maintain the aspect ratio */
}

/* footer section  */
.footer-section {
    background-color: #000; /* Black background */
    color: #fff; /* White text color */
    padding: 40px 0;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #ccc; /* Lighter color on hover */
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    padding: 10px;
    border: none;
    flex: 1;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: red;
    border: none;
    color: #fff;
    cursor: pointer;
}

.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-icons li a {
    color: #fff;
    font-size: 18px;
}

.footer-section hr {
    border-color: #ff2e00;
    margin: 20px 0;
}

.footer-section p {
    margin: 0;
    font-size: 14px;
}

.footer-section p a {
    color: #fff;
    text-decoration: none;
}

.footer-section p a:hover {
    color: #ccc;
}
.social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

.social-icons li {
    display: inline-block;
}

.social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;  /* Set width for icon background */
    height: 40px; /* Set height for icon background */
    background-color: #333; /* Default background color */
    color: #fff; /* Icon color */
    border-radius: 50%; /* Make the background circular */
    font-size: 18px;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.social-icons li a:hover {
    background-color: red; /* Change background on hover */
}

.social-icons li a i {
    display: block;
    line-height: 40px; /* Center the icon inside the circle */
    
}

/* logo section */
.car-make {
    text-align: center;
    margin-bottom: 30px;
    flex-basis: 30%; /* Default basis for larger screens */
}

/* Default logo size */
.car-make img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background-color: white;
    border-radius: 50%;
}

.car-make p {
    margin-top: 10px;
}

.line {
    border-color: #ff2e00;
    margin: 20px 0;
}

/* Flexbox container for logos */
.row.text-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

/* Media query for small screens */
@media (max-width: 576px) {
    .car-make {
        flex: 1 1 33.33%; /* Each logo takes 1/3 of the row, making 3 in a row */
        margin-bottom: 20px;
        max-width: 33.33%; /* Limit the width of each logo container to 33.33% */
        box-sizing: border-box; /* Ensures padding and border are included in the width */
    }

    .car-make img {
        width: 50px; /* Smaller logo size for small screens */
        height: 50px;
    }

    /* Adjust row alignment and spacing */
    .row.text-center {
        justify-content: space-between; /* Add space between logos */
    }
}


/* blog section  */
.blog-section {
    padding: 20px;
}

.blog-section h2 {
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
}

.blog-section .view-all-link {
    float: right;
    font-size: 16px;
    color: blue;
    text-decoration: none;
}

.blog-section .featured-blog img {
    width: 100%;
    height: auto;
}

.blog-section .featured-blog p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.small-blogs .small-blog-item {
    margin-bottom: 15px;
}

.small-blogs .small-blog-item img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.small-blogs .small-blog-item p {
    font-size: 14px;
    font-weight: normal;
}


.navbar-toggler-icon {
    background-color: white; /* Change icon color to white */
    padding-top: 4px;
}
/* Default styles */
.shop-by-make {
    margin-top: 0; /* Default margin */
}

.navbar {
    z-index: 1000;
}

/* Media query for small screens */
@media (max-width: 576px) {
    .shop-by-make {
        margin-top: 20px; /* Push it below the navbar */
        padding-top: 10px;
        display: block; /* Ensure it takes up full width */
        width: 100%; /* Ensure it spans the width */
    }

    .navbar {
        position: relative; /* Ensure the navbar stays at the top */
    }

    .navbar-collapse {
        width: 100%; /* Make the navbar collapse full width */
    }

    /* Optional: Make the dropdown full width for better mobile experience */
    .dropdown-toggle {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        width: 100%; /* Make the dropdown take the full width */
    }
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: black;
    border-bottom: 1px solid #e1e1e1; /* Light grey separator line */
}

.dropdown-item:last-child {
    border-bottom: none; /* Remove border for the last item */
}
small{
    margin-left: 30px;
}

@media (max-width: 768px) {
    .shop-by-make {
       display: none;
    }
}

@media (max-width: 768px) {
    .car-img {
       height: 250px;
    }
}

@media (max-width: 768px) {
    .vector-bg {
       height: 450px;
       margin-top: -20px;
    }
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ff2e00;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Floating Social Media Bar */
.social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000; /* Ensure it stays on top */
}

.social-bar a {
    display: block;
    text-align: center;
    padding: 10px;
    margin-bottom: 5px;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 50px; /* Adjust size of icons */
}

.social-bar a:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.facebook {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 50px;
    text-align: center;
    background: #3b5998;
}

.instagram {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 50px;
    text-align: center;
    background: #e4405f;
}

.twitter {
    background: #1da1f2;
}

.whatsapp {
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 50px;
    text-align: center;    background: #25d366;
}

.youtube {
    background: #ff0000;
}

.gmail {
    background: #DB4437; /* Gmail red color */
    color: white;
    display: inline-block;
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 5px;
    font-size: 20px;
    transition: all 0.3s ease;
    width: 50px;
    text-align: center;
}

.gmail:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#carousel-inner {
    height: 310px !important; /* Set a fixed height for the carousel */
}
/* 
#carousel-item img {
    height: 100%;
    width: auto; 
    object-fit: cover;
} */

@media (max-width: 768px) {
    .car-image img {
        height: 250px;
    }
}
.carousel-indicators{
    display: none;
}


/* Top Header Styles */
.top-header {
    background: #ff2e00; /* Similar gradient or your own choice */
    color: #fff;
    font-size: 14px;
    position: relative;  /* Add position for z-index to work */
    z-index: 999;  /* Ensures it stays above other elements */
}

.top-header .contact-info,
.top-header .user-actions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.top-header .contact-info li,
.top-header .user-actions li {
    margin-right: 20px;
}

.top-header .contact-info li i,
.top-header .user-actions li i {
    margin-right: 5px;
}

.top-header a {
    color: #fff;
    text-decoration: none;
}

.top-header a:hover {
    text-decoration: underline;
}

/* Navbar Styles */
nav.navbar {
    z-index: 998;  /* Lower than the top-header */
}

/* For screens with width 782px or less */
@media (max-width: 782px) {
    .carousel-inner img {
        height: 300px; /* Adjust the height according to your preference */
        object-fit: cover; /* Ensures the image is cropped to fit */
    }
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-header .contact-info {
        /* justify-content: center; */
        margin-bottom: -2px;
    }

    .top-header .user-actions {
        justify-content: center;
        margin-top: -32px;
    }
}