
    /* Navbar logo styling */
    .navbar-brand img {
        max-height: 45px;
        height: auto;
        padding-bottom: 5px;
        object-fit: contain;
        transition: all 0.3s ease;
    }

    .navbar-brand1 {
        margin-left: auto;
        /* Pushes it to the right in a flex container */
        float: right;
    }

    .navbar-brand1 {
        max-height: 60px;
        height: auto;
        padding-bottom: 5px;
        object-fit: contain;
        transition: all 0.3s ease;
    }



    /* Tablet devices */
    @media (max-width: 768px) {
        .navbar-brand img {
            max-height: 40px;
        }
    }

    /* Mobile devices */
    @media (max-width: 480px) {
        .navbar-brand img {
            max-height: 40px;
            margin-right: 0px;

        }
    }


    @media screen and (max-width: 992px) {
        nav.navbar.bootsnav .navbar-brand {
            padding: 11px;

        }
    }

    .navbar-header a.navbar-brand,
    .navbar-header a.navbar-brand:hover,
    .navbar-header a.navbar-brand:focus {
        display: inline-block;
        color: #1b1e20;
        font-size: 20px;
        font-weight: 700;
        padding: 19px 0px;
        text-transform: capitalize;
    }

    /*navbar log end*/


    /* Make the navbar fixed at the top */
    .navbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
        /* Change as needed */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }








    /*new classes add for color end*/
    .navbar-header a.span {
        display: inline-block;
        color: #008080;
        text-transform: capitalize;
    }


    /* Profile Image Styling */
    .profile-image {
        position: relative;
        display: inline-block;
        margin: 20px 0;
    }

    #profileImg {
        width: 50px;
        height: 50px;
        border-radius: 95%;
        object-fit: cover;
        /* ensures full fit with cropping */
        cursor: pointer;
    }


    .profile-card {
        display: none;
        position: absolute;
        top: 66px;
        right: 0;
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        padding: 10px 15px;
        width: 200px;
        z-index: 999;
    }

    .profile-placeholder {
        width: 40px;
        height: 40px;
        background-color: #007bff;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 18px;
        cursor: pointer;
    }

    /* Style inside the card */
    .profile-card a {
        text-decoration: none;
        color: #333;
        display: block;
        margin: 5px 0;
    }

    .profile-card a:hover {
        color: #008080;
    }

    /* Responsive Fix */

    @media (max-width: 768px) {
        .profile-card {
            right: 10px;
            left: auto;
            bottom: 10px;
            width: 80vw;
            height: 50vw;

        }
    }

    @media (max-width: 480px) {
        .profile-card {
            right: 5px;
            bottom: 5px;
            width: 90vw;
            height: 60vw;
        }
    }

    /* ========== Wrapper Container ========== */
    .card-wrapper {
        padding: 15px;
        /* Padding around the whole grid */
    }


    /* ========== Custom Card ========== */
    .custom-card {
        border: 1px solid #ddd;
        border-radius: 10px;
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        background-color: #fff;
        transition: transform 0.3s ease;
        margin: 15px;
        /* Space around each card */
        box-sizing: border-box;
    }



    .custom-card img {
        padding-top: 5px;
        width: auto;
        height: 200px;
        object-fit: cover;
        object-position: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }



    .custom-card-body {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        height: 100%;
    }



    .custom-card-body p {
        margin-bottom: 8px;
        font-size: 14px;
        color: #333;
    }

    /* ========== Card Styling ========== */

    .card-title {
        max-width: 200px;
        /* Try limiting it */
        overflow: hidden;/
    }


    /* Tooltip popup styling */
    .description-tooltip {
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        cursor: pointer;
        position: relative;
        cursor: pointer;
        max-width: 150px;
    }

    .description-tooltip::after {
        content: attr(data-full);
        position: absolute;
        top: 110%;
        /* instead of bottom: 125% */
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.9);
        color: #fff;
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 13px;
        max-width: 300px;
        white-space: normal;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 9999;
        visibility: hidden;
        /* Ensure visibility starts hidden */
    }

    .description-tooltip:hover::after {
        opacity: 1;
        visibility: visible;
        /* This makes the tooltip appear when hovered */
    }


    .custom-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }


    /* ========== Buy Button ========== */
    .btn-buy {
        background-color: #5F9EA0;
        color: #fff;
        border: none;
        padding: 6px 14px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 600;
        transition: background-color 0.3s ease;
        display: inline-block;
    }

    .btn-buy:hover {
        background-color: #008080;
    }

    .buy-now-center {
        text-align: center;
        margin-top: auto;
    }

    /* ========== Modal ========== */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9998;
    }

    .image-modal {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        max-height: 90%;
        background: white;
        border-radius: 5px;
        padding: 5px;
        z-index: 9999;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
        text-align: center;
    }

    .image-modal img {
        max-width: 100%;
        max-height: 88vh;
        border-radius: 10px;
    }

    .modal-close {
        position: absolute;
        top: 5px;
        right: 10px;
        font-size: 27px;
        font-weight: bold;
        color: #333;
        cursor: pointer;
    }

    .modal-close:hover {
        color: red;
    }




    /* Filter box wrapper */
    /* Mobile-first default (already responsive) */
    .filter-box {
        flex: 1;
        margin-right: 25px;
        margin-top: 15px;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    }

    /* Title */
    .filter-title {
        margin-bottom: 24px;
        font-weight: 600;
        font-size: 18px;
    }

    /* Form group spacing */
    .filter-group {
        margin-bottom: 20px;
    }

    /* Button styling */
    .filter-btn {
        display: block;
        margin: 4px auto;
        padding: 8.5px 15px;
        width: 100%;
        font-size: 15px;
        font-weight: 600;
        background-color: #5F9EA0;
        color: #fff;
        border: none;
        border-radius: 4px;
        transition: background-color 0.2s ease-in-out;
    }


    .filter-btn:hover {
        color: #fff;
        background-color: #008080;

    }

    .fliter-apply {
        margin-bottom: 14px;
    }




    .scroll a span {
        text-underline-offset: 4px;
        font-weight: 600;
        color: #000;
        background-color: #5F9EA0;
        transition: color 0.3s ease;
        padding: 2px 8px;
        border-radius: 6px;
        /* Add rounded corners */
    }

    .scroll a span:hover {
        text-underline-offset: 4px;
        background-color: #008080;
        /* Slightly darker red for hover effect */
        color: #fff;
        /* Optional: white text on hover for contrast */
        cursor: pointer;
    }


    /* Hide mobile profile by default */

    .mobile-only {
        display: none;
    }

    /* Hide desktop profile by default (your current code probably has .desktop-only) */
    .desktop-only {
        display: block;
        /* visible on desktop */
    }

    @media (max-width: 767px) {
        .desktop-only {
            display: none !important;
        }

        .mobile-only {
            display: flex;
            align-items: center;
            margin-right: 10px;
            /* space between profile image and logo */
            cursor: pointer;
            order: -1;
            /* move it before the logo */
        }

        /* Profile image styling */


        /* Position the profile card for mobile */
        #profileCardMobile {
            position: absolute;
            top: 60px;
            /* adjust to navbar height */
            right: 0px;
            /* align with left side */
            background: white;
            border: 1px solid #ddd;
            padding: 10px;
            box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
            display: none;
            z-index: 9999;
        }

        /* Make sure navbar-header is flex container */
        .navbar-header {
            display: flex;
            align-items: center;
        }
    }
