﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    /* Prevent body scrolling when modal is open */
    body.modal-open {
        overflow: hidden;
    }

.marquee-container {
    width: 100%;
    overflow: hidden;
    /* white-space: nowrap; */
    background-color: #008000; /* Green background */
    color: white;
    padding: 8px 0; /* Adjust padding as needed */
    box-sizing: border-box;
    border-bottom: 2px solid #005000; /* Slightly darker green border at bottom */
    display: flex; /* Use flexbox to align content */
    align-items: center; /* Vertically center content */
    font-size: 18px;
}

/* The .marquee-content will be dynamic for animation via CSS */
.marquee-content {
    display: inline-block;
    padding-left: 100%; /* Start off-screen to the right */
    animation: marquee-animation 30s linear infinite; /* Adjust time for speed */
    display: flex; /* For horizontal layout of items */
    align-items: center;
    background-color: green;
}

.marquee-item {
    /* margin-right: 30px; Space between list items */
    /* white-space: nowrap; Ensure item stays on one line */
    display: flex;
    align-items: center;
    font-weight: 600;
    /* Flex-shrink: 0 prevents items from shrinking */
    flex-shrink: 0;
    background-color: green;
}

    .marquee-item::before {
        content: '✨'; /* Example icon for list item */
        margin-right: 8px;
        font-size: 1.2em;
    }

/* Keyframes for the scrolling animation */
@keyframes marquee-animation {
    0% {
        transform: translateX(0%);
    }

    100% {
        /* This value might need slight adjustment based on total content width.
                   -100% means it scrolls its own width. */
        transform: translateX(-100%);
    }
}


#navbar {
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: #333;
    padding: 20.5px;
}

.navbar {
    background-color: #ffffff; /* White background */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between; /* Pushes logo left, content right initially */
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Subtle shadow */
}

.navbar-logo {
    flex-shrink: 0; /* Prevent logo from shrinking */
    display: flex;
    align-items: center;
    /* Adjust this width if you want a fixed size for the logo area */
    width: 150px; /* Example fixed width for logo area */
    justify-content: flex-start; /* Ensure logo is left-aligned within its container */
}

    .navbar-logo img {
        height: 40px; /* Adjust logo height as needed */
        margin-right: 10px; /* Space between logo and text */
        vertical-align: middle; /* Align image vertically with text if any */
    }

    .navbar-logo span {
        font-size: 24px;
        font-weight: bold;
        color: #008000; /* Green color for HT Bazar */
    }

.navbar-menu {
    flex-grow: 1; /* Allows menu to take available space */
    display: flex;
    justify-content: center; /* Center the menu items */
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
}

    .navbar-menu li {
        margin: 0 15px; /* Space between menu items */
    }

    .navbar-menu a {
        text-decoration: none; /* Remove underline */
        color: #333; /* Dark grey text */
        font-weight: 600;
        padding: 5px 0;
        transition: color 0.3s ease;
        white-space: nowrap; /* Prevent menu items from wrapping */
    }

        .navbar-menu a:hover,
        .navbar-menu a.active { /* Add .active class for current page */
            color: #008000; /* Green on hover/active */
        }

/* Existing styles for navbar-icons if any, otherwise add these */
.navbar-icons {
    display: flex; /* Flexbox ব্যবহার করে আইটেমগুলোকে পাশাপাশি রাখুন */
    align-items: center; /* উল্লম্বভাবে মাঝখানে আনুন */
    gap: 40px; /* আইকনগুলোর মধ্যে 20px ফাঁকা স্থান যোগ করুন */
    /* অথবা, যদি gap সমর্থন না করে: */
    /*
    margin-left: auto; // যদি navbar এর ডানদিকে নিতে চান
    */
}

    .navbar-icons .nav-icon,
    .navbar-icons button {
        position: relative; /* নোটিফিকেশন ব্যাজের জন্য */
        color: #333; /* আইকনের রঙ */
        font-size: 1.5em; /* আইকনের সাইজ */
        text-decoration: none;
        transition: color 0.3s ease;
        background: none; /* বাটনের ডিফল্ট ব্যাকগ্রাউন্ড সরান */
        border: none; /* বাটনের ডিফল্ট বর্ডার সরান */
        cursor: pointer;
        padding: 0; /* বাটনের ডিফল্ট প্যাডিং সরান */
    }

        .navbar-icons .nav-icon:hover,
        .navbar-icons button:hover {
            color: #007bff; /* হোভার ইফেক্ট */
        }

/* Cart notification badge styles */
.cart-badge {
    position: absolute;
    top: -8px; /* আইকনের একটু উপরে */
    right: -12px; /* আইকনের একটু ডানে */
    background-color: #dc3545; /* লাল ব্যাকগ্রাউন্ড */
    color: white;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 50%; /* গোলাকার */
    padding: 2px 6px; /* প্যাডিং */
    min-width: 20px; /* যাতে এক ডিজিটেও গোল দেখায় */
    text-align: center;
    line-height: 1.2; /* টেক্সট মাঝখানে রাখার জন্য */
    display: block; /* ডিসপ্লে ব্লক করুন */
}

/* Optionally hide if cart count is 0, handled by ng-if in HTML */
/*
.cart-badge[ng-show="cartCount == 0"] {
    display: none;
}
*/

/* Basic Mobile Responsiveness (adjust breakpoints as needed) */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap; /* Allow items to wrap on smaller screens */
        justify-content: center; /* Center everything on small screens */
    }

    .navbar-logo,
    .navbar-icons {
        width: 100%; /* Take full width on small screens */
        justify-content: center; /* Center content within logo/icons area */
        margin-bottom: 10px; /* Add space between sections */
    }

    .navbar-menu {
        flex-direction: column; /* Stack menu items vertically */
        width: 100%; /* Take full width */
        text-align: center; /* Center text */
        margin-top: 10px;
    }

        .navbar-menu li {
            margin: 5px 0; /* Adjust vertical spacing */
        }

    /* Hide search/cart icons or move them to a hamburger menu in a real app */
    .navbar-icons {
        display: none; /* For simplicity, hide icons on very small screens */
    }
}

/* dropdown */

.has-dropdown {
    position: relative;
}

.dropdown-arrow.rotate {
    transform: rotate(180deg); /* Arrow upside down when open */
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 800px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 20px;
    border-top: 3px solid #008000;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/* AngularJS ng-show will override display: none */
.has-dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-column {
    width: 200px;
    margin: 0 10px;
}

    .dropdown-column h3 {
        font-size: 16px;
        margin-bottom: 10px;
        color: #008000;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }

    .dropdown-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .dropdown-column ul li {
            margin: 5px 0;
        }

            .dropdown-column ul li a {
                color: #333;
                text-decoration: none;
                transition: color 0.3s;
            }

                .dropdown-column ul li a:hover {
                    color: #008000;
                }




/* dropdown ends */

/* banner section */
/* Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 400px;
   /* background-image: url('../Images/TheameImg/slider1.jpg');*/ /* Replace with your actual banner image URL */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white; /* Text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
   /* padding: 0 5%;*/
}

.hero-content {
   width:100%;
    text-align: left;
}

    .hero-content h1 {
        font-size: 3.5em; 
        margin-bottom: 5px; 
        font-weight: 700;
    }

    .hero-content h2 {
        font-size: 2em; 
        margin-top: 0;
        margin-bottom: 20px; 
        font-weight: 500;
    }

.shop-now-button {
    display: inline-block;
    background-color: transparent; 
    color: white;
    border: 2px solid white; 
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .shop-now-button:hover {
        background-color: white; /* White background on hover */
        color: #008000; 
    }

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-section {
        margin-top:70px;
        height: 300px; 
        padding: 0 3%;
        justify-content: center; 
        text-align: center; 
    }

    .hero-content {
        max-width: 90%; 
        text-align: center; 
    }

        .hero-content h1 {
            font-size: 2.5em;
        }

        .hero-content h2 {
            font-size: 1.5em;
        }

    .shop-now-button {
        padding: 10px 25px;
        font-size: 1em;
    }
}

/* banner section end */



/* offer card section start */
/* Offer Cards Section Styling */
.offer-cards-section {
    padding: 40px 0;
    background-color: #f8f8f8; 
    text-align: center;
}

.container {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

.offer-cards-grid {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 30px; 
}

.offer-card {
    position: relative;
    width: 300px; 
    height: 200px; 
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .offer-card:hover {
        transform: translateY(-5px); 
    }

.offer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-card-img {
    transform: scale(1.05); 
}

.offer-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 15px;
}

    .offer-card-overlay h3 {
        font-size: 1.5em;
        margin-bottom: 15px;
        font-weight: 700;
    }

.show-all-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 8px 25px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .show-all-button:hover {
        background-color: white;
        color: #008000; 
    }

/* Responsive adjustments for Offer Cards */
@media (max-width: 768px) {
    .offer-cards-grid {
        flex-direction: column; 
        align-items: center;
    }

    .offer-card {
        width: 90%; 
        height: 180px;
    }

    .offer-card-overlay h3 {
        font-size: 1.3em;
    }

    .show-all-button {
        padding: 7px 20px;
        font-size: 0.8em;
    }
}


/* offer card section end */



/* category icons section start */
/* Category Icons Section Styling */
.category-icons-section {
    padding: 40px 0;
    background-color: #ffffff; 
    text-align: center;
}

.category-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Responsive grid columns */
    gap: 20px; 
    justify-content: center; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e0fff0; 
    padding: 20px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .category-icon-item:hover {
        background-color: #008000; 
        color: white;
        transform: translateY(-3px); 
    }

    .category-icon-item i {
        font-size: 2.2em; 
        margin-bottom: 10px;
        color: #008000; 
        transition: color 0.3s ease;
    }

    .category-icon-item:hover i {
        color: white; 
    }

/* Responsive adjustments for Category Icons */
@media (max-width: 768px) {
    .category-icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
        gap: 15px;
    }

    .category-icon-item {
        font-size: 0.8em;
        padding: 15px 5px;
    }

        .category-icon-item i {
            font-size: 1.8em;
            margin-bottom: 8px;
        }
}


/* category icons section end */


/* new category section start */
/* New Category Section Styling */
.new-category-section {
    padding: 60px 0; 
    background-color: #f8f8f8; 
    text-align: center; 
}

.section-header {
    margin-bottom: 40px; /* Space below header */
}

    .section-header h2 {
        font-size: 2.2em;
        color: #333;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .section-header p {
        font-size: 1.1em;
        color: #666;
        max-width: 700px; /* Limit paragraph width for readability */
        margin: 0 auto; /* Center the paragraph */
        line-height: 1.6;
    }

/* Responsive adjustments for Section Header */
@media (max-width: 768px) {
    .new-category-section {
        padding: 40px 0;
    }

    .section-header h2 {
        font-size: 1.8em;
    }

    .section-header p {
        font-size: 1em;
        padding: 0 15px; /* Add padding for small screens */
    }
}

/* new category seciton ends */

/* New Category Circles Grid Styling */
.new-category-circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* Responsive grid for circles */
    gap: 30px; /* Space between circles */
    justify-content: center; /* Center the grid items */
    max-width: 1000px; /* Max width for the grid */
    margin: 0 auto; /* Center the grid */
    padding-top: 20px;
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align name to top */
    text-decoration: none;
    color: #333;
    font-size: 1em;
    font-weight: 600;
    transition: transform 0.3s ease, color 0.3s ease;
}

    .category-circle-item:hover {
        transform: translateY(-5px); /* Slight lift on hover */
        color: #008000; /* Green text on hover */
    }

.circle-img-container {
    width: 120px; /* Size of the circular container */
    height: 120px; /* Size of the circular container */
    border-radius: 50%; /* Make it circular */
    overflow: hidden; /* Hide overflow for circular shape */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px; /* Space between circle and text */
    transition: box-shadow 0.3s ease;
}

.category-circle-item:hover .circle-img-container {
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); /* More prominent shadow on hover */
}

.circle-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the circle */
    display: block;
}

/* Responsive adjustments for New Category Circles */
@media (max-width: 768px) {
    .new-category-circles-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Adjust columns for smaller screens */
        gap: 20px;
    }

    .category-circle-item {
        font-size: 0.9em;
    }

    .circle-img-container {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .new-category-circles-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on very small screens */
    }

    .category-circle-item {
        font-size: 0.85em;
    }

    .circle-img-container {
        width: 80px;
        height: 80px;
    }
}

/* trending */
/* Trending Products Section Styling */
.trending-products-section {
    padding: 60px 0;
    background-color: #ffffff; /* White background */
    text-align: center;
}
/* Product Grid Styling */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid for products */
    gap: 30px; /* Space between products */
    max-width: 1200px; /* Max width for the grid */
    margin: 0 auto 50px auto; /* Center the grid and add space below */
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For discount tag positioning */
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    }

.discount-tag {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #008000; /* Green background */
    color: white;
    padding: 5px 10px;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 0 5px 5px 0;
    z-index: 10;
}

.product-image-container {
    width: 100%;
    height: 200px; /* Fixed height for product image area */
    overflow: hidden;
    display: flex; /* For centering image if it's smaller */
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0; /* Placeholder background */
}

    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover the container */
        display: block;
    }

.product-name {
    font-size: 1.1em;
    color: #333;
    margin: 15px 15px 10px 15px; /* Padding for name */
    font-weight: 600;
    line-height: 1.4;
    height: 2.8em; /* Limit to 2 lines for consistency */
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-prices {
    padding: 0 15px 15px 15px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.current-price {
    font-size: 1.2em;
    color: #008000; /* Green for current price */
    font-weight: 700;
    margin-right: 10px;
}

.old-price {
    font-size: 0.9em;
    color: #888;
    text-decoration: line-through;
    font-weight: 400;
}

/* View All Button */
.view-all-button {
    display: block; /* Make it a block-level element */
    background-color: transparent;
    color: #008000; /* Green text */
    border: 2px solid #008000; /* Green border */
    padding: 12px 30px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 20px auto 0 auto; /* Top margin: 20px, Left/Right margin: auto (centers it), Bottom margin: 0 */
    width: fit-content; /* Ensure the button only takes up necessary width */
    max-width: 90%; /* Optional: for responsiveness on very small screens */
}

    .view-all-button:hover {
        background-color: #008000;
        color: white;
    }

/* Responsive adjustments for Product Grid */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Adjust columns for smaller screens */
        gap: 20px;
        margin-bottom: 30px;
    }

    .product-card {
        text-align: center; /* Center content on smaller cards */
    }

    .product-image-container {
        height: 150px;
    }

    .product-name {
        font-size: 1em;
        margin: 10px;
        height: 2.6em;
    }

    .product-prices {
        justify-content: center; /* Center prices on smaller cards */
        padding: 0 10px 10px 10px;
    }

    .current-price {
        font-size: 1.1em;
    }

    .old-price {
        font-size: 0.85em;
    }

    .discount-tag {
        font-size: 0.75em;
        padding: 4px 8px;
    }

    .view-all-button {
        padding: 10px 25px;
        font-size: 1em;
        margin-top: 25px; /* Adjust top margin for mobile if needed */
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        max-width: 90%;
    }
}
/* Re-using .section-header styles from New Category section */
/* .section-header h2 will automatically apply here */


/* New Collection Section Styling */
.new-collection-section {
    padding: 60px 0;
    background-color: #f8f8f8; /* Light background */
    text-align: center;
}

/* Re-using .section-header styles from previous sections */
/* .section-header h2 and p will automatically apply here */

/* Swiper Custom Styles (Optional) */
.swiper-button-next,
.swiper-button-prev {
    color: #008000 !important; /* Green color for navigation buttons */
}

/* Position adjustment for pagination, etc. if needed */
.swiper-pagination-bullet-active {
    background-color: #008000 !important; /* Green for active pagination dot */
}

.popular-products-section {
    padding: 60px 0; /* Adjust padding as needed */
    background-color: #f8f8f8; /* Light background, similar to other sections */
    text-align: center; /* Center align header and button */
}

/* Special Offer Section Styling */
.special-offer-section {
    background-image: url('../Images/Home/glass-with-iced-red-beverage-reflects-on-a-white-table.jpg'); /* Replace with your actual banner image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0; /* Adjust padding to control banner height */
    color: #fff; /* Text color for the banner */
    text-align: center;
    position: relative; /* Needed for overlay */
    overflow: hidden; /* Ensure content stays within bounds */
}

    /* Optional: Add an overlay for better text readability */
    .special-offer-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    }

    .special-offer-section .container {
        position: relative; /* Bring container content above the overlay */
        z-index: 1;
    }

.special-offer-content {
    background-color: #fff; /* White background for the content box */
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: inline-block; /* To make the background white box fit content */
    color: #333; /* Darker text color for content box */
    text-align: center;
}

    .special-offer-content h2 {
        font-size: 2.2em;
        color: #388e3c; /* Green color for heading, matching your theme */
        margin-bottom: 15px;
        font-weight: 700;
    }

    .special-offer-content p {
        font-size: 1.2em;
        color: #555;
        margin-bottom: 25px;
    }

.shop-now-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff; /* White button background */
    color: #388e3c; /* Green text color */
    border: 2px solid #388e3c; /* Green border */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95em;
}

    .shop-now-button:hover {
        background-color: #388e3c; /* Green background on hover */
        color: #fff; /* White text on hover */
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .special-offer-section {
        padding: 80px 0;
    }

    .special-offer-content {
        padding: 30px 20px;
    }

        .special-offer-content h2 {
            font-size: 1.8em;
        }

        .special-offer-content p {
            font-size: 1em;
        }
}

@media (max-width: 480px) {
    .special-offer-section {
        padding: 60px 0;
    }

    .special-offer-content {
        width: 90%; /* Make content box wider on smaller screens */
        padding: 25px 15px;
    }

        .special-offer-content h2 {
            font-size: 1.5em;
        }

        .special-offer-content p {
            font-size: 0.9em;
        }

    .shop-now-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Our Blog Section Styling */
.our-blog-section {
    padding: 60px 0; /* Adjust padding as needed */
    background-color: #f8f8f8; /* Light background */
    text-align: center; /* Center align header and button */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Space between blog cards */
    margin-top: 40px;
    margin-bottom: 40px; /* Space above view all button */
    justify-content: center; /* Center grid items */
}

.blog-post-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Ensures image corners are rounded with the card */
    text-align: left; /* Align text within card to left */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .blog-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

.blog-post-image {
    width: 100%;
    height: 200px; /* Fixed height for blog images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .blog-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover the area, cropping if necessary */
        display: block;
    }

.blog-post-content {
    padding: 20px;
}

.blog-post-title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 15px;
}

    .blog-post-meta .post-date {
        margin-right: 10px;
    }

    .blog-post-meta .post-author {
        font-weight: 500;
        color: #388e3c; /* Green color for author */
    }

.blog-post-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit description to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Re-using .section-header and .view-all-button styles */
/* You already have styles for:
   .section-header h2, .section-header p
   .view-all-button
   So no need to duplicate them.
*/

/* Main Footer Styling */
.main-footer {
    background-color: #000; /* Black background */
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9em;
}

    .main-footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left; /* Align text within columns to left */
}

.footer-col h3,
.footer-col h4,
.footer-col h5 {
    color: #388e3c; /* Green color for headings */
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

    .footer-logo img {
        height: 40px; /* Adjust logo height */
        margin-right: 10px;
    }

    .footer-logo h3 {
        margin: 0;
        color: #fff;
        font-size: 1.5em;
        font-weight: 700;
    }

.footer-info p {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #ccc;
}

.app-links img {
    height: 40px; /* Adjust app badge height */
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-col ul li a:hover {
                color: #388e3c; /* Green on hover */
            }

.footer-contact p {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    margin-bottom: 10px;
    color: #ccc;
}

    .footer-contact p i {
        margin-right: 10px;
        color: #388e3c; /* Green icon color */
        font-size: 1.1em;
        line-height: 1.6; /* Match line height of text */
    }

.social-links a {
    color: #fff;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: #388e3c; /* Green on hover */
    }

.payment-methods {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

    .payment-methods img {
        max-width: 100%;
        height: auto;
    }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #888;
    font-size: 0.85em;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        text-align: left; /* Keep text aligned left */
    }

    .footer-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack columns on very small screens */
        text-align: center; /* Center align on mobile */
    }

    .footer-col h3,
    .footer-col h4,
    .footer-col h5 {
        text-align: center; /* Center align headings */
    }

    .footer-info .footer-logo {
        justify-content: center; /* Center logo on mobile */
    }

    .app-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        text-align: center;
    }
}


/* Floating Contact Button Styling */
.floating-contact-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #388e3c; /* Green background */
    color: #fff;
    border-radius: 50px; /* Pill shape */
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it stays on top */
    transition: all 0.3s ease;
}

    .floating-contact-button:hover {
        background-color: #2e7d32; /* Darker green on hover */
        transform: translateY(-3px);
    }

    .floating-contact-button i {
        font-size: 1.3em;
    }

/* Hide text on smaller screens, just show icon */
@media (max-width: 768px) {
    .floating-contact-button {
        padding: 15px; /* Make it a perfect circle */
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        gap: 0;
    }

        .floating-contact-button span {
            display: none; /* Hide the "Contact" text */
        }
}


/* Login/Registration Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Above all other content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .modal-overlay.show-modal {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal-overlay.show-modal .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
}

    .close-button:hover {
        color: #333;
    }

.modal-header {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

    .modal-header h3 {
        padding-bottom: 15px;
        cursor: pointer;
        font-size: 1.3em;
        color: #555;
        font-weight: 600;
        position: relative;
        transition: color 0.2s ease;
    }

        .modal-header h3.active {
            color: #388e3c; /* Active tab color */
        }

            .modal-header h3.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #388e3c; /* Active tab indicator */
            }

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
    }

    .form-group input[type="text"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
        box-sizing: border-box; /* Include padding in width */
    }

        .form-group input[type="text"]:focus,
        .form-group input[type="password"]:focus {
            border-color: #388e3c;
            outline: none;
            box-shadow: 0 0 0 2px rgba(56, 142, 60, 0.2);
        }

.forgot-password {
    display: block;
    text-align: right;
    font-size: 0.9em;
    color: #388e3c;
    text-decoration: none;
    margin-top: -10px; /* Adjust spacing */
    margin-bottom: 20px;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.modal-submit-button {
    width: 100%;
    padding: 12px;
    background-color: #388e3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .modal-submit-button:hover {
        background-color: #2e7d32;
    }

.social-login {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

    .social-login p {
        color: #777;
        margin-bottom: 15px;
    }

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 1.4em;
    margin: 0 10px;
    color: #555;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        background-color: #f2f2f2;
        color: #388e3c;
    }

/* Responsive adjustments for modal */
@media (max-width: 500px) {
    .modal-content {
        padding: 20px;
    }

    .modal-header h3 {
        font-size: 1.1em;
        padding-bottom: 10px;
    }

    .form-group input {
        padding: 10px;
    }

    .modal-submit-button {
        padding: 10px;
        font-size: 1em;
    }
}


/* ভাসমান কার্ট আইকন */
#floating-cart-icon {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #e74c3c; /* লাল রঙ */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

    #floating-cart-icon:hover {
        background-color: #c0392b;
    }

/* কার্ট প্যানেল */
#cart-panel {
    position: fixed;
    top: 0;
    right: -350px; /* ডিফল্টভাবে লুকানো থাকবে, প্রস্থ অনুযায়ী সামঞ্জস্য করুন */
    width: 350px;
    height: 100%;
    background-color: white;
    box-shadow: -3px 0 10px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* মসৃণ অ্যানিমেশন */
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto; /* যদি কার্ট আইটেম বেশি হয় */
}

    #cart-panel.open {
        right: 0; /* প্যানেলটি দেখানোর জন্য */
    }

/* বন্ধ করার বাটন */
#close-cart-btn {
    float: right;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    padding: 0;
}

    #close-cart-btn:hover {
        color: #333;
    }

h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

    .cart-item:last-child {
        border-bottom: none;
    }

    .cart-item p {
        margin: 0;
        font-size: 14px;
        color: #444;
    }

    .cart-item button {
        background-color: #f39c12;
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 12px;
        transition: background-color 0.2s ease;
    }

        .cart-item button:hover {
            background-color: #e67e22;
        }

.cart-summary {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    color: #333;
}

#place-order-btn {
    width: 100%;
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

    #place-order-btn:hover {
        background-color: #27ae60;
    }

/* কার্ট খালি হলে */
p[ng-if="cartItems.length === 0"] {
    text-align: center;
    color: #777;
    margin-top: 30px;
}

