body {
    margin: 0;
    font-family: 'Roboto', sans-serif; 
    /*background-color: #f7f6e9; /* light blue to dark blue with a touch of green */
    background-color: #ffffff; /* light blue to dark blue with a touch of green */
}


/*body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom right, #8ec6ff, #1d3557); /* light blue to dark blue with a touch of green */
}
*/
/* Top Bar */
.top-bar {
    background: linear-gradient(to bottom, #add8e6, #00008b);
    color: #fff;
    padding: 0; /* remove inner vertical padding */
    font-size: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure full-width content */
.top-bar .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Description fills full width */
.description {
    margin: 0;
    padding: 12px 20px;
       background: linear-gradient(to right, #66b2ff, #0b65bf);
/* deep navy blue (#003366) to light sky blue (#66b2ff) */
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    width: 100vw;   
    text-align: center;       /* fills full viewport width */
    box-sizing: border-box;
    white-space: nowrap;
    overflow-x: auto;
    display: block;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .top-bar .container {
        justify-content: flex-start;
    }
}

/* Main Header */
.main-header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    position: relative;
    z-index: 10;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 5px;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Hide scrollbar for WebKit (Chrome, Safari) */
.description {
  overflow: hidden;
}

/* Optional: ensure no scrollbar on other browsers */
.description::-webkit-scrollbar {
  display: none;
}

/* Logo */
.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Horizontal Category Bar */
.category-bar {
    background-color: #ffffff;
    border-top: 0px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list > li {
    position: relative;
 /*   background-color: #f1f1f1; */
    padding: 4px 7px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-list > li:hover {
    background-color: #e2e2e2;
}

/* Dropdown Styling */
/*.category-list .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 150px;
    z-index: 999;
    border-radius: 4px;
}

.category-list li:hover > .dropdown {
    display: block;
}

.dropdown li {
    padding: 8px 15px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.dropdown li:hover {
    background-color: #0a96fa;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .category-list {
        flex-wrap: nowrap;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 0 10px;
        gap: 10px;
    }

    .category-list > li {
        flex: 0 0 auto;
        white-space: nowrap;
        width: auto;
    }
}

/* Search Form */
.search-form {
    flex: 1 1 400px;
    max-width: 500px;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid#0a96fa;
    border-right: none;
    border-radius: 50px;
    font-size: 16px;
}

.search-form button {
    padding: 10px 16px;
    background-color: #0a96fa;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #0a96fa;
}

@media (max-width: 768px) {
  .search-form {
    flex: 1 1 80%;       /* Reduce width by 15% */
    max-width: 80%;
    padding: 0;
    margin-left: auto;
    margin-right: 0;
  }

  .search-form input {
    padding: 8px 12px;
    font-size: 14px;
  }

  .search-form button {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 18px;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #207bfa;
    /*color: #2baecc;*/
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #007bff;
}

/* Optional: Add spacing for icons */
.main-nav a i {
    font-size: 20px;
    vertical-align: middle;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.footer-links li a {
    color: #444;
    text-decoration: none;
}

.footer-links li a:hover {
    text-decoration: underline;
}

/* Container: Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 10px;
}
.slide {
    position: relative;
    width: 100%;
    height: 100%;
     border-radius: 10px;
}
/*.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}*/

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 1rem;
}

/* Default (desktop/tablet) – grid or wrapped row */
.categories {
    background: #f7f7f7;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 0;
}

/* Make it horizontally scrollable ONLY on small screens */
/* Make it horizontally scrollable ONLY on small screens */
@media (max-width: 768px) {
    .categories {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1rem;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        white-space: nowrap;
        padding: 5px 10px;
    }

    .category-box {
        flex: auto;
        width: 100px;               /* smaller width for phone */
        height: 85px;              /* set fixed height to prevent stretching */
        padding: 0px;
        box-sizing: border-box;    /* ensure padding doesn't cause overflow */
    }

    .category-box img {
        width: 100%;
        height: 35px;              /* slightly smaller image */
        object-fit: auto;
        border-radius: 4px;
        margin-bottom: 4px;
    }

.category-box p {
    font-size: 0.65rem;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%; /* Ensures text stays within the box width */
}
}

/* Desktop/Default styles */
.category-box {
    width: 100px;
    height: 100px;
    background: #f7f7f7;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.category-box:hover {
    transform: scale(1.05);
}

.category-box img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.category-box p {
    font-size: 0.75rem;
    margin: 0;
}

/* General Reset */
/* General Reset */
* {
    box-sizing: border-box;
}

/* Product Section */
.product-section {
    padding: 0;
    margin-bottom: 0;

}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Product Card */
/*.product-card {
    position: relative; /* Needed for positioning the badge */
   /* background-color: #FFFFFF;
    width: 200px;
    border: 0.1px solid #ebf0fa;
    border-radius: 10px;
    padding: 1rem;*/
    /*text-align: left;*/
   /*font-size: 0.85rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}*/


/* Product Card */
.product-card {
    position: relative; /* Needed for positioning the badge */
    background-color: #FFFFFF;
    width: 200px;
    border: 0.1px solid #ebf0fa;
    border-radius: 10px;
    padding: 1rem;
    /*text-align: left;*/
   font-size: 0.85rem; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

/* On Hover */
.product-card:hover {
    transform: scale(1.09);
    filter: brightness(1.09);
}

/* Badge at the top */
.product-card .badge {
    position: absolute;
    top: 10px; /* distance from the top */
    left: 10px; /* distance from the left */
    background-color: #123499;
    color: white;
    padding: 0.25rem 0.6rem;
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    pointer-events: none; /* so it doesn’t interfere with clicks */
}



/* Product Image */
.product-card img {
    width: 50%;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* Rating */
.rating {
    color: gold;
}

/* Description */
.desc {
    font-size: 0.85rem;
    text-align: left;
    color:#1207e6;
}

/* Price */
.price {
    font-weight: dark;
    margin-top: 0.5rem;
}

/* Product Actions */
.product-actions .btn {
    display: inline-block;
    margin: 0.3rem 0.2rem;
    padding: 6px 10px;
    font-size: 0.85rem;
    border: none;
    background: white;
    color: black;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.product-actions .btn:hover {
    background: black;
    color:white;
}

.product-actions .cart {
    background: #d9a702;
}

/* Final Compact View for Small Screens (~60% shorter) */
@media (max-width: 576px) {
    .product-card {
        width: calc(50% - 1rem);
        padding: 0.3rem;              /* Very tight padding */
        border-radius: 5px;
    }

    .product-card img {
        height: 50px;                 /* Very small image */
        border-radius: 4px;
    }

    .desc {
        font-size: 0.65rem;
        margin: 0.2rem 0;
    }



    .price {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }

    .product-card h3,                /* Assuming this is the product title */
    .product-card h4 {
        font-size: 0.75rem;
        margin: 0.2rem 0 0.1rem 0;
    }

 .product-actions .btn {
    font-size: 0.72rem;        /* Slightly larger text */
    padding: 4px 8px;          /* Slightly more padding */
    margin: 0.1rem 0.05rem;
    border-radius: 12px;
}
}

/* Section Styling */
section {
    margin-bottom: 0px;
}

section h2 {
    padding: 10px 20px;
    /*background-color: #d4d4d4;*/
    background: linear-gradient(90deg, rgba(0,123,255,0.5), rgba(0,198,255,0.5));
    color: white;
    border-left: 6px solid #004fa3;
    border-radius: 5px 5px 0 0;
    font-size: 22px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .product-grid {
        justify-content: center;
    }

    .product-card {
        width: 45%; /* two items per row */
    }

    .category-box {
        width: 90%;
    }

    .categories {
        flex-direction: column;
        align-items: center;
    }
}
.product-detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}
.product-gallery .main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.thumbnail-row {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}
.thumbnail-row img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}
.thumbnail-row img:hover {
    border-color: #007BFF;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h1 {
    margin-bottom: 0.5rem;
}

.product-info .category {
    font-style: italic;
    color: #555;
    margin-bottom: 0.5rem;
}

.product-info .price {
    color: green;
    font-size: 1.4rem;
    margin: 0.5rem 0;
}

.product-info .description {
    margin: 1rem 0;
    color: #333;
}

.product-info .btn {
    padding: 0.6rem 1.2rem;
    margin-right: 0.6rem;
    text-decoration: none;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn.cart {
    background-color: black;
    color: white;
}

.btn.cart:hover {
    background-color: black;
}

.btn.buy {
    background-color: #007BFF;
}

.btn.buy:hover {
    background-color: #0056b3;
}

/* Container layout (ensure this class is in your HTML) */
.product-detail-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap; /* for safety on mid-sized screens */
}

/* Responsive Fix */
@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem; /* spacing between image and info */
    }

    .product-info {
        min-width: unset;
        width: 100%;
    }

    .product-detail-container img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 1rem; /* space below image */
    }
    /* Clamp long description to 10 lines */
.product-info .description {
    margin: 1rem 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    line-height: 1.5rem;
    max-height: 15rem; /* 10 lines × 1.5rem */
}

/* View More button */
.product-info .view-more-btn {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #007BFF;
    cursor: pointer;
    text-decoration: underline;
}

/* Modal styles */
#fullDescriptionModal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0,0,0,0.6);
    padding: 20px;
}

#fullDescriptionModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.5rem;
    position: relative;
}

#fullDescriptionModal .close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
}

#fullDescriptionModal .close:hover {
    color: #000;
}
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.services-bar {
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    white-space: nowrap;
}

.services-list {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.services-list li {
    flex-shrink: 0;
}

.services-list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.services-list a:hover {
    background-color: #eaeaea;
    border-color: #999;
}

/* Scrollbar for WebKit browsers */
/*.services-bar::-webkit-scrollbar {
    height: 6px;
}

.services-bar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .services-list a {
        font-size: 13px;
        padding: 5px 10px;
    }
}

/*.services-bar {
    background-color: #000;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    overflow-x: auto;
    white-space: nowrap;
}

.services-list {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.services-list li {
    flex-shrink: 0;
}

.services-list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: #fff;
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.services-list a:hover {
    background-color: #333;
    border-color: #666;
    color: #fff;
} */

/* Scrollbar for WebKit browsers */
/*.services-bar::-webkit-scrollbar {
    height: 6px;
}

.services-bar::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .services-list a {
        font-size: 13px;
        padding: 5px 10px;
    }
}*/

/* whitish bottom bar header services bar: */ 

/*

.services-bar {
    background-color: #f2f2f2;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow-x: auto;
    white-space: nowrap;
}

.services-list {
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.services-list li {
    flex-shrink: 0;
}

.services-list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.services-list a:hover {
    background-color: #eaeaea;
    border-color: #999;
}

/* Scrollbar for WebKit browsers */
/*.services-bar::-webkit-scrollbar {
    height: 6px;
}

.services-bar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .services-list a {
        font-size: 13px;
        padding: 5px 10px;
    }
}

*/
/*services bar, down botton bar*/
.services-bar { 
    /*background: linear-gradient(to right, #0b65bf, #66b2ff);*/
/* deep navy blue (#003366) to light sky blue (#66b2ff) */
/*background: linear-gradient(to right, #0b65bf, #66b2ff);*/
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 0px solid rgba(255, 255, 255, 0.3);
    overflow-x: auto;
    white-space: nowrap;
    margin: 0px 0; /* reduced top and bottom margin */
}

.services-list {
    display: flex;
    gap: 12px;
    padding: 6px 10px;
    margin: 0px 0; /* reduced top and bottom margin */
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.services-list li {
    flex-shrink: 0;
}

.services-list a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    color: blue;
    background: rgba(255, 255, 255, 0.15);
    border: 0px solid rgba(255, 255, 255, 0.35);
    border-radius: 0px;
    transition: background 0.3s, border-color 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.services-list a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    color: black;
}

/* Webkit scrollbar */
.services-bar::-webkit-scrollbar {
    height: 6px; /* Minimal height for horizontal scrollbars */
}

.services-bar::-webkit-scrollbar-track {
    background-color: transparent; /* Fully transparent background */
}

.services-bar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.00); /* Very faint white thumb */
    border-radius: 10px;
}

/* Responsive font size for smaller devices */
@media (max-width: 768px) {
    .services-list a {
        font-size: 13px;
        padding: 5px 12px;
    }
}

/*#short-description {
    font-size: 14px;
    color: #555; /* Slightly muted for a subtle look */
 /*   line-height: 1.5;
    max-height: 15em; /* 1.5 line-height × 10 lines = 15em */
 /*   overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
 /*   -webkit-line-clamp: 10; /* Show only 10 lines */
 /*   -webkit-box-orient: vertical;
 /*   margin-bottom: 10px;
}
*/

