/* Body Customization */
body {
    background-image: url('../images/bhv.jpg'); /* Adjusted path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333; /* Default text color */
    height: 100vh; /* Full height */
    margin: 0; /* Remove default margin */
    position: relative; /* Ensure relative positioning for overlay */
}

/* Overlay for Better Text Visibility */
body::before {
    content: '';
    position: absolute; /* Position overlay absolutely */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Optional overlay */
    z-index: -1; /* Behind all content */
}

/* Navbar Customization */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: #333 !important;
}

.navbar .nav-link:hover,
.navbar .nav-item.active .nav-link {
    color: #333 !important;
}

/* Zoom Effect on Navbar Items */
.navbar-nav .nav-item .nav-link,
.navbar-brand {
    transition: transform 0.3s ease-out;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-brand:hover {
    transform: scale(1.1);
}
.navbar {
  z-index: 1;
}
.jumbotron {
  z-index: 0;
}

/* Jumbotron Customization */
.jumbotron {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 80px 20px;
}

/* Zoom Effect on Images in Jumbotron */
.jumbotron .zoom-image {
    overflow: hidden;
    position: relative;
}

.jumbotron .zoom-image img {
    transition: transform 0.3s ease-out;
}

.jumbotron .zoom-image:hover img {
    transform: scale(1.1);
}

/* Primary Button Customization */
.btn.btn-primary {
    background-color: #99a0c3;
    border-color: #99a0c3;
    color: #fff; /* Text color */
}

.btn.btn-primary:hover {
    background-color: #7f86a8; /* Darker shade on hover */
    border-color: #7f86a8;
}

/* Custom Styles for "About Us" Button */
.btn-custom-arrow {
    border: 2px solid #99a0c3;
    color: #99a0c3;
    background-color: transparent;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
    padding: 10px 20px; /* Adjust padding as needed */
    text-decoration: none; /* Remove default underline */
    display: inline-block; /* Ensure it behaves like a block element */
}

.btn-custom-arrow:hover {
    color: #fff;
    background-color: #99a0c3;
}

/* Arrow Style */
.btn-custom-arrow .arrow:before {
    content: "\25BA";
    font-size: 14px;
    margin-left: 5px;
}
/* Custom CSS file (style.css) */

.card-img-top {
    width: 100%; /* Ensures the image takes up the full width of the card */
    height: auto; /* Maintains the aspect ratio of the image */
    object-fit: cover; /* Ensures the image covers the card without distortion */
}

.card {
    display: flex;
    flex-direction: column; /* Ensures the card content is stacked vertically */
}

.card-body {
    flex: 1 0 auto; /* Allows the card body to grow and shrink as needed */
}

/* Animation for Welcome Heading */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.jumbotron .welcome-heading {
    animation: slideIn 1.8s ease-out forwards;
}
/* Timeline Customization */
.timeline {
    width: 80%;
    margin: 0 auto;
    padding: 40px;
}

.timeline h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.timeline p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 50px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 2;
}

.timeline-item:nth-child(even) .timeline-img {
    order: 1;
}

.timeline-item .timeline-content {
    width: 45%;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item .timeline-content h3 {
    font-size: 2em;
    color: #99a0c3;
    margin-bottom: 10px;
}

.timeline-item .timeline-content p {
    font-size: 1em;
    color: #333;
}

.timeline-item .timeline-img {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-item .timeline-img img {
    width: 100%; /* Fill the container width */
    height: 300px; /* Fixed height */
    object-fit: cover; /* Cover the container, maintaining aspect ratio */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional shadow */
}

/* Footer Customization */
.footer {
    background-color: #99a0c3;
    color: black;
    padding: 20px 0;
    font-size: 14px;
}

.footer-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    margin: 10px;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 18px;
    font-weight: bold;
}

.footer-social {
    margin-top: 10px;
}

.footer-social p {
    margin-bottom: 5px;
}

.footer-social a img {
    width: 24px;
    height: 24px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}

/* About Us Page Jumbotron Customization */
#about-jumbotron {
    background-image: url("../images/a7.jpeg"); /* Adjusted path to your image */
    background-size: cover;
    background-position: center;
    position: relative;
    color: white; /* Text color */
    height: 60vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#about-jumbotron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7); /* Dark overlay */
}

#about-jumbotron .container {
    position: relative;
    z-index: 1; /* Ensure content appears above overlay */
}

#about-jumbotron h1,
#about-jumbotron p {
    z-index: 1; /* Ensure content appears above overlay */
    color: black; /* Adjust text color to black */
}

#about-jumbotron hr {
    border-color: rgba(255, 255, 255, 0.5); /* Adjust line color */
}

/* Vision Section Customization */
#vision-section {
    background-color: #99a0c3;
    color: #fff; /* Text color */
    padding: 80px 0; /* Adjust padding as needed */
    text-align: center; /* Center align text */
}

#vision-section h2 {
    font-size: 2.5em; /* Adjust font size */
    margin-bottom: 20px; /* Space below heading */
}

#vision-section p {
    font-size: 1.2em; /* Adjust font size */
    margin-bottom: 30px; /* Space below paragraph */
}

#vision-section .container {
    position: relative; /* Ensure relative positioning */
    z-index: 1; /* Ensure content appears above overlay */
}

@media (max-width: 768px) {
    #vision-section h2 {
        font-size: 2em; /* Adjust font size for smaller screens */
    }
    
    #vision-section p {
        font-size: 1em; /* Adjust font size for smaller screens */
    }
    
    .footer-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }
}

/* Carousel Customization */
.carousel-img {
    height: 200px; /* Adjust the height as needed */
    width: auto; /* Ensure images scale proportionally */
    margin: auto; /* Center the images horizontally */
    position: relative;
}
/* Container styling */
.client-page-logos {
    text-align: center; /* Center align the image within the container */
    margin: 20px; /* Add some margin around the container */
}

/* Image styling */
.client-page-logos img {
    width: 800px; /* Set to desired width */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it scales down on smaller screens */
    margin: 0 auto; /* Center the image */
    display: block; /* Ensure margin auto works correctly */
}
/* Container styling */
.client-page-container {
    display: flex; /* Use flexbox layout */
    align-items: center; /* Center items vertically */
    justify-content: space-between; /* Space out the items horizontally */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    gap: 20px; /* Add space between items */
}

/* Text styling */
.client-page-text {
    flex: 1; /* Allow text to take up available space */
    max-width: 50%; /* Optional: Limit text width */
}

/* Graph styling */
.client-page-graph {
    flex: 1; /* Allow image to take up available space */
    text-align: right; /* Align image to the right */
}

/* Image styling */
.client-page-graph img {
    max-width: 100%; /* Ensure image scales down properly */
    height: auto; /* Maintain aspect ratio */
}
/* Specific styles for the Factory page carousel */
#factory-carousel .carousel-item img {
    width: 300px; /* Set a fixed width for the carousel images */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure the image covers the container */
    display: block; /* Ensure proper display behavior */
    margin: 0 auto; /* Center the image horizontally */
}
/* Specific styles for the Factory page carousel */
/* Ensure the carousel and images have a fixed size */
#factory-carousel {
    background-color: white; /* Background color of the carousel container */
}

#factory-carousel .carousel-item {
    background-color: white; /* Background color of each carousel item */
    text-align: center; /* Center the images horizontally */
}

#factory-carousel .carousel-item img {
    width: 100%; /* Ensure images fill the width of the carousel item */
    height: 400px; /* Set a fixed height for the images */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    display: block; /* Ensure proper display behavior */
    margin: 0 auto; /* Center the image horizontally */
}

/* Custom button styling for carousel */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons are on top */
    font-size: 24px; /* Adjust size of the arrows */
    border-radius: 50%; /* Round buttons */
}

.carousel-button.prev {
    left: 10px; /* Adjust as needed */
}

.carousel-button.next {
    right: 10px; /* Adjust as needed */
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}

/* Product Carousel */
.product-carousel {
    position: relative;
    width: 100%; /* Full width of the parent container */
    overflow: hidden; /* Hide overflow to only show visible products */
    padding: 20px 0; /* Optional padding for top and bottom */
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%; /* Ensure wrapper takes full width */
    overflow: hidden; /* Hide overflow to prevent scrollbars */
}

.carousel {
    display: flex;
    overflow-x: hidden; /* Hide horizontal overflow */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1; /* Ensure it takes up remaining space */
    width: 100%; /* Ensure it takes up full width */
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap; /* Ensure products stay in a single row */
}
.product-carousel-item {
            background-color: #fff; /* Change this to white */
        }
.product-carousel-inner {
            background-color: #fff; /* Ensure inner part is also white */
}
.carousel-item {
            height: 500px; /* Set the desired height */
        }
.carousel-item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ensures the image covers the entire area */
        }
        
.product {
    flex: 0 0 auto; /* Prevent flex items from shrinking or growing */
    width: 250px; /* Adjust width of each product card */
    margin: 0 15px; /* Space between product cards */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    background-color: #f0f0f0; /* Darker white background for cards */
    border-radius: 8px; /* Rounded corners for the card */
    padding: 15px; /* Padding inside each card */
    text-align: center; /* Center-align text inside the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for card depth */
}

.product img {
    width: 100%; /* Responsive image */
    height: 150px; /* Fixed height for product images */
    object-fit: cover; /* Maintain aspect ratio */
    border-radius: 4px; /* Rounded corners for images */
    margin-bottom: 10px; /* Space between image and text */
}

.product h3 {
    font-size: 16px; /* Adjust heading size */
    margin: 10px 0; /* Space around heading */
}

.product p {
    font-size: 14px; /* Adjust paragraph size */
    color: #666; /* Slightly darker text color for description */
}

.product-carousel {
    position: relative;
    width: 100%; /* Full width of the parent container */
    overflow: hidden; /* Hide overflow to only show visible products */
    padding: 20px 0; /* Optional padding for top and bottom */
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%; /* Ensure wrapper takes full width */
    overflow: hidden; /* Hide overflow to prevent scrollbars */
}

.carousel {
    display: flex;
    overflow-x: hidden; /* Hide horizontal overflow */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    flex: 1; /* Ensure it takes up remaining space */
    width: 100%; /* Ensure it takes up full width */
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap; /* Ensure products stay in a single row */
}

.product {
    flex: 0 0 auto; /* Prevent flex items from shrinking or growing */
    width: 250px; /* Adjust width of each product card */
    margin: 0 15px; /* Space between product cards */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    background-color: #f0f0f0; /* Darker white background for cards */
    border-radius: 8px; /* Rounded corners for the card */
    padding: 15px; /* Padding inside each card */
    text-align: center; /* Center-align text inside the card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for card depth */
}

.product img {
    width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 4px; /* Rounded corners for images */
    margin-bottom: 10px; /* Space between image and text */
}

.product h3 {
    font-size: 16px; /* Adjust heading size */
    margin: 10px 0; /* Space around heading */
}

.product p {
    font-size: 14px; /* Adjust paragraph size */
    color: #666; /* Slightly darker text color for description */
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* Ensure buttons are on top */
    font-size: 24px; /* Adjust size of the arrows */
    border-radius: 50%; /* Round buttons */
}

.carousel-button.prev {
    left: 10px; /* Adjust as needed */
}

.carousel-button.next {
    right: 10px; /* Adjust as needed */
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}
.bold-text {
            font-weight: bold;
        }

/* Style for the 'md' section with gradient background */
.md {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem; /* Adjust padding as needed */
    background: linear-gradient(to right, #99a0c3, #f8f9fa); /* Gradient background */
    color: #333; /* Text color for better readability */
    border-radius: 8px; /* Optional: Add border radius for rounded corners */
}

/* Ensure the image container fits within the specified size */
.md-image {
    width: 100%; /* Ensure the image container takes full width of the column */
    max-width: 300px; /* Adjust the max-width as needed */
    height: auto; /* Maintain aspect ratio */
    display: flex;
    justify-content: center; /* Center the image horizontally */
    align-items: center; /* Center the image vertically */
}

.md-image img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    max-height: 300px; /* Set the maximum height for the image */
    border-radius: 50%; /* Make the image circular */
    object-fit: cover; /* Ensure the image covers the container */
}
