/* Basic reset */
body, h1, h2, h3, h4, h5, h6, p, ul, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    position: relative;
    background-image: url('logonobg.png'); /* Your logo image */
    background-size: contain; /* Ensure the logo fits within the header */
    background-repeat: no-repeat; /* Prevent repeating the image */
    background-position: center; /* Center the logo in the header */
    background-color: #333; /* Dark background color to enhance contrast */
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    /* Add your logo styling here */
}

header nav {
    display: flex;
}

header nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
}

.menu-toggle {
    display: none; /* Hide the menu toggle button by default */
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* Hide the sidebar off-screen by default */
    width: 300px; /* Adjust width as needed */
    height: 100%;
    background-color: #333;
    color: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.sidebar.show {
    left: 0; /* Move the sidebar into view */
}

.sidebar ul {
    list-style-type: none;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
}

/* Media Query for responsiveness */
@media (max-width: 768px) {
    header nav {
        display: none; /* Hide the navigation bar on small screens */
    }

    .menu-toggle {
        display: block; /* Show the menu toggle button on smaller screens */
    }
}


.hero {
    position: relative;
    background-image: url('hero-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Ensure text is above the overlay */
}

.hero h2,
.hero p {
    margin: 0;
}

/* Categories Section */
.categories {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.category-item {
    margin-bottom: 30px;
}

.category-item h3 {
    margin-top: 0;
    color: #0073e6;
}

/* Horizontal Scrolling for Companies */
.company-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 40px;
}

/* Ensure the images are constrained to a fixed size */
.company-item img {
    width: 150px; /* Set width to a consistent value */
    height: 100px; /* Set height to a consistent value */
    object-fit: cover; /* Maintain aspect ratio, cropping as needed */
    display: block;
    margin: 0 auto;
}

/* If needed, adjust the container for images */
.company-item {
    margin: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px; /* Ensure consistent width for all items */
    height: auto; /* Allow height to adjust based on content */
    background-color: #f9f9f9;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.extra-text {
    display: none;
    margin-top: 10px;
}

.read-more {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 10px;
    background-color: transparent;
    color: #0073e6;
    border: 2px solid #0073e6;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #0073e6;
    color: #fff;
    transform: scale(1.1);
}

.order-now {
    display: none;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.order-now.hidden {
    display: none;
}

/* Footer */
footer {
    background-color: #0073e6;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .company-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .company-item {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .hero {
        padding: 70px 20px;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 20px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .hero p {
        font-size: 16px;
    }

    footer {
        font-size: 12px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
    }
}
body {
    font-family: Arial, sans-serif;
}

.chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 15px;
}

.chat-button img {
    width: 40px;
    height: 40px;
}

.chat-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 100;
    width: 300px;
    background-color: white; /* Background for the overall popup */
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.chat-popup .chat-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #075E54; /* WhatsApp header color */
    color: #fff;
}

.chat-popup .chat-header .company-logo img {
    width: 40px; /* Ensure width and height are equal */
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}


.chat-popup .chat-header .company-name {
    font-weight: bold;
    font-size: 16px;
}

.chat-popup .chat-header .status {
    font-size: 12px;
    margin-left: auto;
    color: #34B7F1;
}

.chat-popup .chat-body {
    padding: 15px;
    background-image: url('whatsappbg.jpg');
    background-size: cover;
    background-position: center;
    color: #333;
    font-size: 14px;
}

.chat-popup .start-chat-button {
    width: 100%;
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0 0 10px 10px;
    text-transform: uppercase;
}

.chat-popup .start-chat-button:hover {
    background-color: #128C7E;
}
.chat-popup .chat-header .back-button {
    font-size: 10px; /* Adjust the size as needed */
    font-weight: bold; /* Make text bold */
    color: #fff; /* Ensure it's visible against the background */
    background-color: #075E54; /* Match the header background or choose a contrasting color */
    border-radius: 50%; /* Make it round */
    padding: 5px 10px; /* Adjust padding to make it smaller */
    cursor: pointer; /* Show a pointer cursor on hover */
    margin-right: 10px; /* Adjust margin if necessary */
    text-align: center; /* Center the text */
}
/* Incoming and Outgoing Messages */
.chat-message-incoming .chat-bubble {
    background-color: #e1ffc7;
    align-self: flex-start;
}

.chat-message-outgoing .chat-bubble {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.chat-message {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Incoming and Outgoing Messages */
.chat-message-incoming .chat-bubble {
    background-color: #e1ffc7;
    align-self: flex-start;
}

.chat-message-outgoing .chat-bubble {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.blog-slider {
    margin: 50px auto;
    max-width: 100%;
    padding: 0 15px;
}
.blog-post {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
}
.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.blog-post h5 {
    margin-top: 15px;
    font-size: 1.25rem;
}
.blog-post p {
    font-size: 0.875rem;
    color: #555;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #000;
    border-radius: 50%;
}
@media (max-width: 768px) {
    .blog-post h5 {
        font-size: 1rem;
    }
    .blog-post p {
        font-size: 0.75rem;
    }
}
/* Container styling remains the same */
.company-scroll {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding: 40px;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.company-scroll::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
}

/* Company item styling */
.company-item {
    margin: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: auto;
    background-color: #f9f9f9;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transition for smooth effect */
}

.company-item:hover {
    transform: scale(1.1); /* Enlarge the item */
    z-index: 1; /* Bring the hovered item above others */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Optional: enhance shadow on hover */
}

/* Image styling remains the same */
.company-item img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}