/* About Start */
/* Banner styling */

#banner-area {
    height: 30vh;
    /* Set height to 30% of viewport height */
    width: 100%;
    /* Full width */
    background-size: cover;
    /* Ensure the image covers the area */
    background-repeat: no-repeat;
    /* Prevents repeating */
    background-position: center center;
    /* Centers the image */
    margin-top: 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../images/bg3.jpg);

}


/* Center text above the image */
#banner-area .container-fluid {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* Matches the height of the parent container */
    z-index: 1;
    /* Ensures the text is above the image */
}

/* Text alignment and appearance */
#banner-area .banner-title {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 10px;
}

#banner-area .breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
}

#banner-area .breadcrumb li a {
    color: white;
    /* White text for breadcrumb links */
    text-decoration: none;
}

#banner-area .breadcrumb li a:hover {
    text-decoration: underline;
}


/* Container for the paragraph with scroll */
.scrollable-paragraph {
    width: 100%;
    /* Make it take the full width of the container */
    height: 80%;
    /* Define a fixed height for the box */
    overflow-y: scroll;
    /* Add vertical scrollbar */
    background-color: #fff;
    /* White background for the box */
    padding: 15px;
    /* Padding inside the box */
    border: 1px solid var(--color-main);
    /* Use your main color for the border */
    border-radius: 10px;
    /* Rounded corners */
    box-sizing: border-box;
    /* Ensures padding is included in the box size */
    max-height: 50vh;
    /* Set the height to a maximum of 50% of the viewport height */
}

/* Customizing the scrollbar */
.scrollable-paragraph::-webkit-scrollbar {
    width: 8px;
    /* Set the width of the scrollbar */
}

.scrollable-paragraph::-webkit-scrollbar-thumb {
    background-color: var(--color-main);
    /* Use the basic color for the scrollbar thumb */
    border-radius: 2px;
    /* Round the corners of the scrollbar thumb */
}

.scrollable-paragraph::-webkit-scrollbar-track {
    background-color: #8f8f8f;
    /* Light background for the scrollbar track */
}


/* Add position for animation */
.moving-car {
    position: relative;
    animation: moveCar 20s ease-in-out infinite;
}

/* Keyframes for smooth movement and vibration effect */
/* Keyframes for smooth movement and vibration effect */
@keyframes moveCar {
    0% {
        transform: translateX(10vw);
        /* Start from the far right */
    }

    35% {
        transform: translateX(0) rotate(0);
        /* Move to start position with no vibration */
    }

    40% {
        transform: translateX(0) translateY(-1px) rotate(1deg);
        /* Slight vibration */
    }

    45% {
        transform: translateX(0) translateY(1px) rotate(-1deg);
        /* Slight vibration */
    }

    50% {
        transform: translateX(0) translateY(0) rotate(0);
        /* Stop vibration */
    }

    55% {
        transform: translateX(0) translateY(-1px) rotate(1deg);
        /* Vibration */
    }

    60% {
        transform: translateX(0) translateY(1px) rotate(-1deg);
        /* Vibration */
    }

    65% {
        transform: translateX(0) translateY(0) rotate(0);
        /* Stop vibration */
    }

    90% {
        transform: translateX(10vw);
        /* Move to the far right again */
    }

    100% {
        transform: translateX(10vw);
        /* End at far right */
    }
}

body,
html {
    overflow-x: hidden;
    /* Prevent horizontal overflow */
}



/* works */
/* Ensure consistent image dimensions */
.team-img-wrapper img {
    width: 100%;
    /* Make sure images take up the full width of their container */
    object-fit: cover;
    /* Ensures the image scales and crops proportionally */
    border: 2px solid #ccc;
    /* Add a frame */
    border-radius: 8px;
    /* Optional: round the corners of the frame */
    margin-bottom: 15px;
    /* Add space between images */
    transition: transform 0.3s, box-shadow 0.3s;
    /* Smooth effects */
}

/* Add hover effect for the images */
.team-img-wrapper img:hover {
    transform: scale(1.05);
    /* Slight zoom-in on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add a shadow on hover */
}


/* General styles for the images */

.moving-car,
.behind-car {
    position: absolute;
    top: auto;
    /* Reset top position */
    /* Default size */
    max-width: 590px;
    /* Limit the width of the car image */
}

.behind-car {
    z-index: 5;
    /* Ensure it's behind the car image */
}

.moving-car {
    z-index: 10;
    /* Ensure the car image stays on top of other elements */
}
.Nakl
{
    bottom:10%;
}
.NaklAbout
{
    bottom: 10%;
}
.NAKLVALUE
{
    bottom: 15%;
}
.Nakl_Home
{
    bottom: -10%;

}
/* Media Queries for different screen sizes */
@media (max-width: 1200px) {
    .moving-car {
        width: 100%;
        /* Reduce width for medium screens */
    }
}

@media (max-width: 992px) {
    .moving-car {
        width: 80%;
        /* Further reduce width for smaller screens */
    }
}

@media (max-width: 768px) {
    .moving-car {
        width: 60%;
        /* Adjust for tablets and smaller screens */
    }
}

@media (max-width: 576px) {

    /* For mobile screens */
    .moving-car {
        width: 80%;
        /* Adjust car size for very small screens */
    }

    /* Adjust the position of the images for mobile screens */
    .col-lg-6 {
        position: relative;
        /* Ensures the images are contained */
        
        /* Prevents images from overflowing */
    }

    .behind-car {
        position: absolute;
        /* Keep behind the car */
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 1;
        /* Background image */
    }

    .moving-car {
        position: absolute;
        /* Vertically center the car */
        /* Center the car image */
        max-width: 800px;
        /* Limit the maximum size of the car */
        z-index: 10;
    }
}


/* About End */


