/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background color */
}

header .navbar-brand {
    font-size: 1.5em;
}

.logo-img {
    height: 40px; /* Adjust the height as needed */
    width: auto;  /* Maintain aspect ratio */
}

.section {
    padding: 50px 0;
}

nav .nav-link {
    font-size: 1.2em; /* Increased font size for navbar text */
    color: white !important;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #adb5bd !important; /* Slightly darker on hover */
}

.home {
    background: url('cnc_bg.jpg') no-repeat center center/cover;
    background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
    position: relative;
    min-height: 40rem;
    color: white !important;
}

.home-content h1 {
    font-size: 4em; /* Increased font size */
    font-weight: bold;
    line-height: 1.2;
}

.about-us {
    background-color: #e9f5fb; /* Slightly blue background color */
    padding: 30px 0; /* Reduced padding to minimize empty space */
    overflow: auto;
}

.about-us h2 {
    font-size: 2.5em; /* Larger font size for heading */
    font-weight: bold;
    text-align: center; /* Centered text */
    color: #1d3557; /* Darker blue color for heading */
}

.msme-certified {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem; /* Reduced margin-top to minimize empty space */
}

.about-us .lead {
    font-size: 1.4em; /* Larger font size for paragraph text */
    line-height: 1.5;
    color: #4a4a4a; /* Darker grey color for paragraph text */
    margin-right: 2em;
    margin: 0.5rem 0.5rem; /* Adjusted margin for spacing */
    text-align: justify;
}

.about-us img {
    margin-top: 1.5em;
    border-radius: 10px; /* Rounded corners for image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for image */
}

@media (max-width: 767.98px) {
    .about-us .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.testimonials h2 {
    font-size: 2.5em; /* Larger font size for heading */
    font-weight: bold;
    text-align: center; /* Centered text */
    color: #1d3557; /* Darker blue color for heading */
}

.products h2 {
    font-size: 2.5em; /* Larger font size for heading */
    font-weight: bold;
    margin-bottom: 1.5em;
    text-align: center; /* Centered text */
    color: #1d3557; /* Darker blue color for heading */
}

.col-md-6.mt-4 {
    margin-top: 1.5rem; /* Add margin top for spacing */
}

.contact-content p {
    margin-bottom: 10px;
}

.carousel-image {
    height: 600px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensure images cover the container while maintaining aspect ratio */
}

#productCarousel1 {
    margin-top: 1rem;
    margin-bottom: 5rem;
}

#productCarousel2 {
    margin-top: 1rem;
    margin-bottom: 5rem;
}

.contact-us h2 {
    font-size: 2.5em; /* Larger font size for heading */
    font-weight: bold;
    margin-bottom: 1.5em;
    text-align: center; /* Centered text */
    color: #1d3557; /* Darker blue color for heading */
}

.contact-us-section {
    padding: 50px 20px;
    background-color: #fff; /* White background for the section */
    border-top: 1px solid #ddd; /* Subtle top border */
    border-bottom: 1px solid #ddd; /* Subtle bottom border */
}

.contact-us-section .container {
    max-width: 800px;
    margin: 0 auto; /* Center the container */
    text-align: center; /* Center the text */
}

.contact-us-section h2 {
    font-size: 2.5em; /* Larger font size for heading */
    font-weight: bold;
    margin-bottom: 1.5em;
    text-align: center; /* Centered text */
    color: #1d3557; /* Darker blue color for heading */
}

.contact-us-section .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-us-section .contact-item {
    margin-bottom: 20px;
}

.contact-us-section .contact-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #555;
}

.contact-us-section .contact-item p {
    font-size: 1.2em;
    color: #777;
}

.contact-us-section .contact-item a {
    color: #007bff;
    text-decoration: none;
}

.contact-us-section .contact-item a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-us-section .contact-info {
        flex-direction: row;
        justify-content: space-around;
    }

    .contact-us-section .contact-item {
        flex: 1;
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-content h1 {
        font-size: 2em;
    }
}
