/* ========================= */
/* ✅ General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    padding-top: 70px; /* Offset for fixed navbar */

    background-image: url('back1.jpg'); /* Replace 'background.jpg' with your actual image file */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps the background fixed while scrolling */
}


/* ========================= */
/* ✅ Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color: MidnightBlue;
    flex-wrap: wrap;
    min-height: 60px; /* Prevents excessive height */
}

/* Navbar Logo */
.logo img {
    width: 120px; /* Ensure the logo is responsive */
}

/* Navbar Items */
.navbar-nav {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

/* Navbar Links */
.navbar-nav li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: white;
    padding: 8px 10px;
}

/* Navbar Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: center;
        padding: 8px 10px;
    }

    .navbar-nav {
        gap: 5px;
    }

    .navbar-nav li a {
        font-size: 14px;
        padding: 6px 8px;
    }
}

/* ========================= */
/* ✅ Carousel Spacing */
.carousel {
    margin-bottom: 30px; /* Added space between carousel and About Us */
}

/* ========================= */
/* ✅ About Us Section */
.content {
    background-color: navy !important; /* Ensure color stays */
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Us Link */
.about-us-link {
    text-decoration: none;
    color: cyan;
}

.about-us-link h3 {
    font-size: 24px;
    font-weight: bold;
}

#about-us ul li a{
    color: floralwhite;
}
/* ========================= */
/* ✅ Request Demo Section */

.orange-container {
    background-color: deepskyblue;
    padding: 10px;
    border-radius: 8px;
    font-size: clamp(16px, 2vw, 20px); /* Responsive font size */
    max-width: 100%; /* Ensures it doesn’t exceed screen width */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Keeps text centered */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .orange-container {
        font-size: 18px;
        padding: 8px;
    }
}

/* ========================= */
/* ✅ Features Section */
.features-item {
    text-align: center;
    border: 2px solid SkyBlue;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Show Features with Animation */
.features-item.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* ✅ Products Section */
#products {
    margin-top: 40px;
    padding: 40px 20px;
    background-color: midnightblue;
    color: white;
    border-radius: 8px;
    width: 100%;
}

/* Make All Product Items the Same Height */
.product-item {
    text-align: center;
    border: 1px solid #ddd;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;  /* Ensures equal height */
}

/* Hover Effect */
.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.product-item img {
    width: 100%;
    height: 200px; /* Keeps uniform height */
    object-fit: contain; /* Ensures the entire image fits inside */
    object-position: center; /* Centers the image */
    border-radius: 8px;
    background-color: #f8f8f8; /* Optional: Adds a light background to maintain aesthetics */
}


/* Make All Text Content the Same Height */
.product-item h3 {
    margin-top: 15px;
    font-size: 20px;
    color: #333;
}

.product-item p {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    flex-grow: 1; /* Makes sure text doesn't stretch unevenly */
}

/* Read More Link */
.product-item .read-more {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
}

/* ✅ Space Between Rows */
.row + .row {
    margin-top: 30px; /* Adjust as needed */
}

/* ✅ Ensure Consistent Height in Responsive Mode */
@media (max-width: 767px) {
    .product-item {
        margin-bottom: 20px;
    }
}



/* ========================= */
/* ✅ Contact Section */
#contact-info {
    margin-top: 40px;
    padding: 10px 20px;
    background-color: PaleTurquoise;
    border-radius: 8px;
    width: 100%;
}

.contact-details {
    font-family: "Times New Roman", serif;
    font-size: 18px;
    color: #333;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details .social-icons {
    margin-top: 20px;
}

/* ========================= */
/* ✅ Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: blue;
    border-radius: 10px;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-nav ul {
    list-style-type: none;
    text-align: center;
}

.floating-nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.floating-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.floating-nav ul li a:hover {
    color: #ff6347;
}
@media (max-width: 600px) {
  .floating-nav {
    bottom: 10px;
    padding: 8px 0;
    border-radius: 8px;
  }

  .floating-nav ul li {
    margin: 0 8px;
  }

  .floating-nav ul li a {
    font-size: 14px;
  }
}


/* ========================= */
/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
    #contact-info .row {
        flex-direction: column;
    }

    .contact-image {
        margin-top: 20px;
        width: 100%;
        max-width: 250px;
        height: auto;
        max-height: 400px;
    }

    .carousel-inner img {
        height: 250px;
    }

    .navbar-brand img {
        height: 30px;
    }
}

/* Additional CSS */
.container {
    padding: 20px;
    width: 100%;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.company-logo, .msme-logo {
    max-width: 100px;
    height: auto;
}
 .ISO-certified-logo {
    max-width: 165px;
    height: auto;
}
.contact-details p {
    margin: 5px 0;
}
.social-icons {
    margin-top: 10px;
}
.social-icon {
    width: 40px;
    margin-right: 10px;
}
.contact-image {
    width: 70%;
    height: auto;
    max-height: 450px;
}
.footer {
    text-align: center;
    margin-top: 20px;
}
.floating-nav {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: deepskyblue;
    padding: 10px;
    border-radius: 5px;
}
.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.floating-nav ul li {
    margin-bottom: 5px;
}
.floating-nav a {
    color: white;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        text-align: center;
    }
    .contact-left, .contact-right {
        width: 100%;
        text-align: center;
    }
    .logo-container {
        justify-content: center;
    }
    .floating-nav {
        width: 100%;
        text-align: center;
        bottom: 0;
        right: 0;
        padding: 10px 0;
    }
    .floating-nav ul {
        display: flex;
        justify-content: space-around;
    }
}
.footer {
    display: flex;
    justify-content: flex-end; /* Pushes content to the right */
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    font-size: 16px;
    color: #333;
    width: 100%;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
    .footer {
        justify-content: flex-end; /* Keeps it right-aligned */
        text-align: right;
    }
}
