@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --black-color: #000000;
    --maroon-color: #AD1A22;
    --white-color: #ffffff;
    --light-grey: #f0f0f0;
    --dark-grey: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-grey);
    color: var(--dark-grey);
    overflow-x: hidden;
}

a {
    color: var(--dark-grey);
    text-decoration: none;
}

section {
    padding: 60px 5%;
}

/* Top Bar */
.top-bar {
    background: var(--maroon-color);
    padding: 10px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: var(--white-color);
}

.top-bar-content {
    display: flex;
    gap: 20px;
}
 
.top-bar .contact-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    position: sticky;
    top: 0;
    height: 85px;
}

.logo img {
    margin-top: 8px;
    height: 180px;
    width: auto;
    display: block;
}

@media (max-width: 992px) {
    .logo img {
        height: 120px; /* Example: Adjust this value as needed */
        width: auto;
    }
}

.header-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
    gap: 30px;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar a {
  font-size: 1rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #333; /* A base color for the link */
  transition: color 0.3s ease; /* Transition for the text color */
}

/* Style for the underline pseudo-element */
.navbar a::after {
  content: '';
  position: absolute;
  bottom: -5px; /* Adjust this value to change the distance from the text */
  left: 0;
  width: 0;
  height: 2px; /* Thickness of the underline */
  background-color: var(--maroon-color); /* Color of the underline */
  transition: width 0.3s ease; /* Animate the width of the line */
}

/* Hover state */
.navbar a:hover {
  color: var(--maroon-color);
}
/* Add to your existing index.css file */

/* Categories Nav - Parent container update */
.categories-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

/* Dropdown Container */
.category-dropdown {
    position: relative;
    display: inline-block;
}

 .dropdown-content {
    display: none; /* Hide the dropdown by default */
    position: absolute;
    top: 100%; /* Position it right below the main link */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 10px 0;
    z-index: 1000;
    border-radius: 5px;
}

/* Show the dropdown content on hover */
.category-dropdown:hover .dropdown-content {
    display: block;
}

/* Styling for the list inside the dropdown */
.dropdown-content ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}
.m-categories-nav{
    display: none;
}
.dropdown-content ul li a {
    color: var(--dark-grey);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap; /* Prevent items from wrapping */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover effect for dropdown links */
.dropdown-content ul li a:hover {
    background-color: var(--light-grey);
    color: var(--maroon-color);
}
/* Animate the underline on hover */
.navbar a:hover::after {
  width: 100%; /* The line expands to 100% of the link's width */
}

/* Search Bar */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--maroon-color);
    border-radius: 50px;
    margin-right: 30px;
    padding: 8px 10px;
    box-shadow: 0 4px 15px rgba(173, 26, 34, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 450px;
}

.search-bar:hover,
.search-bar:focus-within {
    box-shadow: 0 6px 20px rgba(173, 26, 34, 0.6);
    transform: scale(1.02);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white-color);
    padding: 5px 15px;
    flex-grow: 1;
    font-size: 1rem;
    padding-right: 40px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.search-bar input:focus::placeholder {
    color: transparent;
}

.search-bar i {
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-bar i:hover {
    transform: scale(1.1);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-icon {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--maroon-color);
}

/* Menu Icon */
.menu-icon {
    display: none;
        color: var(--maroon-color);

}

.call-icon {
    display: flex;
    font-size: 2rem;
    cursor: pointer;
    color: var(--maroon-color);
}


/* Categories Nav */
.categories-nav {
    background: var(--dark-grey);
    padding: 10px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 85px;
    z-index: 999;
}

.categories-nav a {
    color: var(--white-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.categories-nav a:hover {
    color: var(--maroon-color);
}
 



 .close-icon {
    display: none;
}
 .hero-slider {
    position: relative;
    width: 100%;
    height: 78vh; /* Full viewport height */
    background-color: var(--black-color);
    overflow: hidden; /* Hides content that slides out of view */
}

/* Individual Slide - Stacks on top of each other */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Fade-in/out effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    padding: 0;
}

/* Active Slide - This class will be toggled by JavaScript to make the slide visible */
.slide.active {
    opacity: 1; /* Makes the slide visible */
}

/* Image inside the slide */
.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire slide area */
    z-index: 1;
}

/* Overlay for better text readability on top of images */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */
    z-index: 2;
}

/* Hero Content - The text and button */
.slide-content {
    position: relative;
    z-index: 3;
}

.slide-content h1 {
    font-size: 5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white-color);
    /* Animations are controlled by JavaScript toggling the 'active' class on the slide */
    animation: slideInFromTop 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

.slide-content p {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 40px;
    color: var(--white-color);
    /* Animations are controlled by JavaScript toggling the 'active' class on the slide */
    animation: slideInFromBottom 1s 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    opacity: 0; /* Hidden initially to be animated in */
}

/* Call-to-action button */
.cta-button {
    display: inline-block;
    background: var(--maroon-color);
    color: var(--white-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 8px 15px rgba(173, 26, 34, 0.4);
    /* Animations are controlled by JavaScript toggling the 'active' class on the slide */
    animation: slideInFromBottom 1s 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    opacity: 0; /* Hidden initially to be animated in */
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    transform: translateX(-101%);
    transition: transform 0.4s ease-out;
    z-index: -1;
}

.cta-button:hover {
    color: var(--maroon-color);
    box-shadow: 0 8px 25px rgba(173, 26, 34, 0.6);
}

.cta-button:hover::after {
    transform: translateX(0);
}

/* Keyframe animations for content coming into view */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive styles */
@media (max-width: 992px) {
   .hero-slider {
    height: 40vh; /* Adjust height for mobile screens */
}

.slide-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 0.6rem;
    margin-bottom: 25px;
}

.cta-button {
    padding: 12px 30px;
    /* Removed width and height */
}

.slide-content a {
    font-size: 12px;
}

}

/* Next-Level Button Styling */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent; /* Makes the button transparent */
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.7); /* Adds a thin, subtle white border */
    cursor: pointer;
    width: 60px; /* Consistent button width */
    height: 60px; /* Consistent button height for a perfect circle */
    font-size: 2rem;
    z-index: 5;
    display: flex; /* Centers the icon inside the button */
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth animation for all changes */
    border-radius: 50%; /* Creates a perfect circular button */
}

.slide-btn:hover {
    background-color: var(--maroon-color); /* Fills with a background color on hover */
    border-color: var(--maroon-color); /* Changes border color to match */
    transform: translateY(-50%) scale(1.1); /* Slightly scales up the button on hover */
    box-shadow: 0 0 15px rgba(173, 26, 34, 0.7); /* Adds a glow effect */
}

.slide-btn.prev {
    left: 2%; /* Position with a percentage for better responsiveness */
}

.slide-btn.next {
    right: 2%; /* Position with a percentage for better responsiveness */
}

/* Optional: Add a subtle animation to the arrow itself on hover */
.slide-btn.prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-5px);
}

.slide-btn.next:hover {
    transform: translateY(-50%) scale(1.1) translateX(5px);
}@media (max-width: 992px) {
    /* Mobile-specific styles go here */
    .slide-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        color: var(--white-color);
        border: 2px solid rgba(255, 255, 255, 0.7);
        cursor: pointer;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-radius: 50%;
    }

    .slide-btn:hover {
        background-color: var(--maroon-color);
        border-color: var(--maroon-color);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 12px rgba(173, 26, 34, 0.7);
    }

    .slide-btn.prev {
        left: 2%;
    }

    .slide-btn.next {
        right: 2%;
    }

    .slide-btn.prev:hover {
        transform: translateY(-50%) scale(1.1) translateX(-4px);
    }

    .slide-btn.next:hover {
        transform: translateY(-50%) scale(1.1) translateX(4px);
    }
}


/* Product Slider */
.product-slider-section {
    text-align: center;
    padding: 80px 0%;
}

.product-slider-section h2 {
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 50px;
    color: var(--maroon-color);
}

.product-slider-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--maroon-color);
}

.product-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 5%; /* Add padding here to maintain space between the first/last item and the screen edge */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-item {
    min-width: 300px;
    text-align: center;
    background: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Scrolling Animation */
.scrolling-animation-section {
    padding: 40px 0;
    overflow: hidden;
    background-color: var(--white-color);
}

.scroll-text {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.scroll-text span {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--maroon-color);
    animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
 /* Update to the existing .banner-section style */
.banner-section {
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* Makes all items the same height */
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* Updated styling for each banner item */
.banner-item {
    background: var(--white-color);
    color: var(--dark-grey);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 250px; /* Adjusted min-width for smaller screens */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--light-grey);
}

.banner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Styling for the icon container */
.banner-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--maroon-color);
    color: var(--white-color);
    font-size: 2.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px; /* Centers the icon */
    transition: background-color 0.3s ease;
}

.banner-item:hover .banner-icon-box {
    background-color: var(--dark-grey);
}

/* Styling for the text */
.banner-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--maroon-color);
}

.banner-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}/* Section & Heading */
.products-grid {
    padding: 60px 0;
    text-align: center;
    background-color: var(--light-grey);
}

.products-grid h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
    display: inline-block;
    padding: 8px 30px;
    z-index: 1;
}

.products-grid h2::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--maroon-color);
    z-index: -1;
    transform: skewX(-15deg);
    border-radius: 4px;
}

/* Grid Container - 5 per row for PC */
.grid-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    padding: 0 15px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Compact Product Card */
.product-card {
    background: var(--white-color);
    border-radius: 8px;
    padding: 12px; /* Reduced padding for smaller size */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--maroon-color);
}

.product-card img {
    width: 100%;
    height: 160px; /* Reduced height for 5-column layout */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-card h4 {
    font-size: 0.95rem; /* Reduced font size */
    color: var(--dark-grey);
    margin: 10px 0 5px;
    height: 2.4em; /* Ensures alignment for 2 lines of text */
    overflow: hidden;
    line-height: 1.2;
}

/* Rating Stars */
.product-rating {
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #FFC107;
}

/* Compact Price Layout */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}

.old-price {
    font-size: 0.85rem;
    color: #999;
    position: relative;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--maroon-color);
}

/* Animated Cart Button - Sized for Small Cards */
.cart-button {
    position: relative;
    background: var(--maroon-color);
    padding: 8px;
    width: 100%; /* Full width of card */
    height: 38px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    transition: .3s ease;
    overflow: hidden;
    font-size: 0.85rem;
}

.cart-button:active { transform: scale(.95); }

/* Icons (Heart/Eye) */
.product-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.icon-link {
    color: #888;
    font-size: 0.9rem;
    transition: 0.3s;
}

.icon-link:hover { color: var(--maroon-color); }

/* RESPONSIVE: 2 Products per row on Mobile */
@media (max-width: 1024px) {
    .grid-container { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .grid-container { 
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
        gap: 10px;
        padding: 0 10px;
    }
    
    .product-card { padding: 8px; }
    .product-card img { height: 130px; }
    .product-card h4 { font-size: 0.85rem; }
    .new-price { font-size: 1rem; }
    .old-price { font-size: 0.75rem; }
    
    .cart-button {
        height: 35px;
        font-size: 0.75rem;
    }
}

 

.map-container {
    flex: 1.5;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}


/* Scroll-to-top button */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--maroon-color);
    color: var(--white-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    text-decoration: none;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #9a161d;
    transform: translateY(-5px);
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: var(--white-color);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    text-decoration: none;
    z-index: 1001;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
    .mobile-search-bar {
        display: none;
        
    }
.whatsapp-icon:hover {
    transform: scale(1.15);
    animation-play-state: paused;
    box-shadow: 4px 6px 12px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

 @media (max-width: 992px) {
    /* Hide the desktop search bar */
    .header .search-bar {
        display: none;
    }
    .mobile-search-bar {
  display: flex;
  align-items: center;   /* centers input & icon vertically */
  background: linear-gradient(135deg, var(--maroon-color), #a21a22);
  border-radius: 50px;
  margin: 20px 1%;
  padding: 0 15px;
  height: 50px;          /* fixed height keeps everything aligned */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 
              inset 0 1px 3px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.mobile-search-bar input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white-color);
  padding: 0 10px;
  font-size: 1rem;
}

.mobile-search-bar button {
  display: flex;
  align-items: center;   /* centers icon vertically */
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  height: 100%;          /* take full bar height */
  padding: 0 10px;
}

.mobile-search-bar i {
  color: var(--white-color);
  font-size: 1.4rem;
  line-height: 1;        /* prevents offset */
}


  /* Hide the categories-nav on mobile by default */
    .categories-nav {
        display: none;
     }

    
     .top-bar {
        display: none; 
    }
    
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

    .header-right {
        display: flex;
        align-items: center;
        flex: unset;
        justify-content: flex-end;
    }
    
 /*-----------------------------------------------------------------------------------------*/
 /* MODIFIED CODE FOR FULL-SCREEN, VERTICALLY AND HORIZONTALLY CENTERED MENU */
.nav-container {
    flex-direction: column;
    /* Vertically centers the main content block within the viewport */
    justify-content: center;
    /* Horizontally aligns the main content block within the viewport */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* FIX 1: Change solid white to semi-transparent white (90% opacity) */
    background: rgba(255, 255, 255, 0.9);
    /* FIX 2: Add backdrop-filter for the blur effect */
    backdrop-filter: blur(5px);
    /* Add vendor prefix for older Safari/iOS compatibility */
    -webkit-backdrop-filter: blur(5px); 
    
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 998;
    display: flex;
    flex-grow: unset;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    /* Enable vertical scrolling if content is too long */
    overflow-y: auto;
    /* Ensures vertical centering is not offset by padding */
    padding-top: 0;
} 

.nav-container.active {
    transform: translateX(0);
}

/* Centering FIX for the Categories Navigation Block */
.nav-container.active .m-categories-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding: 40px;
    background: var(--light-grey);
    
    /* FIX: Center all categories links/items horizontally */
    align-items: center;
    
    /* FIX: Center the category list vertically within its block */
    justify-content: center;
}

.m-categories-nav .category-dropdown {
    position: static;
}

.m-categories-nav .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    left: auto;
    transform: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 10px;
}


.navbar {
    flex-direction: column;
    /* Centers all links/items within the navbar horizontally */
    align-items: center;
    gap: 20px;
    /* Reset margin for proper horizontal centering */
    margin-left: 0;
    width: 100%;
    padding: 0 20px;
}

.search-bar {
    /* 'margin: auto' handles horizontal centering for block elements */
    margin: 20px auto;
    width: 90%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-icons {
    /* Use justify-content: center to center the icons within their container */
    justify-content: center;
    gap: 10px;
    width: 100%;
    display: flex;
}

/* Close icon positioning remains absolute, so it stays in the corner */
.nav-container .close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.7rem;
    color: var(--maroon-color);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container .close-icon:hover {
    transform: rotate(180deg) scale(1.1);
}

.cart-icon {
    display: block;
    font-size: 1.5rem;
    margin-right: 10px;
}

.menu-icon {
    font-size: 2rem;
    display: block;
}

.call-icon {
    display: flex;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--maroon-color);
}


 /*------------------------------------------------------------------------------------------*-





    /* Sections */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .product-slider-section {
        padding: 60px 0%;
    }

    .product-slider-section h2,
    .products-grid h2,
   

    .scrolling-animation-section .scroll-text span {
        font-size: 2rem;
    }

     

    .grid-container {
    grid-template-columns: repeat(2, 1fr);
    }

    

    /* Floating Buttons */
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .whatsapp-icon {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 2.2rem;
    }
}



.categories-nav a,
.category-dropdown a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-dropdown > a::after {
    content: '>';
    font-size: 1.2em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.category-dropdown:hover > a::after {
    transform: rotate(90deg);
}

.category-dropdown .dropdown-content a::before {
    content: '>';
    font-size: 1em;
    font-weight: normal;
    margin-right: 5px;
    opacity: 0;
    transform: translateX(-5px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-dropdown .dropdown-content a:hover::before {
    opacity: 1;
    transform: translateX(0);
}@media (max-width: 992px) {
    /* ... your existing mobile styles ... */
    
    .hero-section {
        /* Make the hero section taller on mobile to give more space for content */
        height: 40vh; 
        background-size: cover;
        background-position: center;
    }

    .hero-content h1 {
        /* Decrease font size for better readability on small screens */
        font-size: 2.5rem;
        /* Reduce margin to fit content better */
        margin-bottom: 15px; 
    }

    .hero-content p {
        /* Adjust font size for the description */
        font-size: 1rem;
        /* Reduce the spacing below the paragraph */
        margin-bottom: 25px; 
    }

    
.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  transform: translateX(-101%); /* Changed from -100% to -101% */
  transition: transform 0.4s ease-out;
  z-index: -1;
}

.cta-button:hover::after {
  transform: translateX(0);
}
    /* Add a subtle animation to the hero content on mobile */
    .hero-content {
        animation: mobileFadeIn 1s ease-out;
    }

    @keyframes mobileFadeIn {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* New Footer Styles */
.footer {
    background: var(--dark-grey);
    color: var(--white-color);
    padding: 60px 5%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--maroon-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* About Column */
.about-col .footer-logo img {
    height: 160px;
    width: auto;
    
    margin-bottom: 15px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white-color);
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--maroon-color);
    transform: translateY(-5px);
}

/* Links Column */
.links-col ul {
    list-style: none;
    padding: 0;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.links-col ul li a:hover {
    color: var(--maroon-color);
}

/* Contact Column */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--maroon-color);
}

.contact-item span {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--maroon-color);
}

/* Newsletter Column */
.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    background: var(--maroon-color);
    color: var(--white-color);
    border: none;
    padding: 12px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.2rem;
}

.newsletter-form button:hover {
    background: #9a161d;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Styles for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        min-width: 100%;
        margin-bottom: 30px;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .newsletter-form {
        width: 100%;
    }
}


/* Content Banner Section - Left Image, Right Text */
.content-banner-section {
    padding: 80px 5%; /* Adds consistent padding */
}

.content-banner-container {
    display: flex;
    flex-direction: row; /* Default layout side-by-side */
    gap: 40px;
    align-items: center; /* Vertically aligns content */
    background-color: var(--white-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.banner-image-wrapper {
    flex: 1; /* Takes up one-half of the space */
}

.banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the container without distortion */
    display: block;
}

.banner-text-wrapper {
    flex: 1; /* Takes up the other half of the space */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-text-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-text-wrapper p {
    font-size: 1.1rem;
    color: var(--dark-grey);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Make the section responsive */
@media (max-width: 992px) {
    .content-banner-container {
        flex-direction: column; /* Stacks the items on mobile */
        text-align: center;
    }

    .banner-text-wrapper {
        padding: 30px 20px;
    }

    .banner-text-wrapper h2 {
        font-size: 2rem;
    }

    .cta-button {
        margin: 0 auto; /* Centers the button on mobile */
    }
}


/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1005;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.close-btn {
    color: var(--dark-grey);
    font-size: 2rem;
    position: absolute;
    top: 15px;
    right: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    color: var(--maroon-color);
    margin-bottom: 20px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-grey);
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: var(--maroon-color);
    outline: none;
}

/* Star Rating */
.star-rating {
    display: flex;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-grey);
    gap: 5px;
}

.star {
    cursor: pointer;
    color: #000000;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star:hover,
.star.active {
    color: gold;
    transform: scale(1.1);
}

.submit-review-btn {
    width: 100%;
    border: none;
    font-weight: 600;
}

/* Animation for the modal */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


:root {
  --white-color: #ffffff;
  --dark-grey: #333333;
  --light-grey: #e0e0e0;
  --icon-green: #378a3c;
  --icon-light-green: #d1e2c4;
  --icon-red: #d32f2f;
  --icon-light-red: #ffcdd2;
  --icon-brown: #795548;
  --icon-light-brown: #d7ccc8;
  --icon-teal: #00897B;
  --icon-light-teal: #B2DFDB;
  --icon-gold: #FFC107;
  --icon-light-gold: #FFE082;
}

/* Feature Icons Section */
.features-section {
  margin-top: 50px;
  background-color: var(--white-color);
  padding: 5px 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--light-grey);
}

.feature-scroll-container {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.feature-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 20px 40px;
  color: var(--dark-grey);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
  text-align: center;
}

/* Glass Box Hover Effect */
.feature-item:hover {
  transform: scale(1.15);
  color: var(--dark-grey);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.feature-item:hover i {
  filter: brightness(1.1);
}

/* Style for the main span text */
.feature-item span {
  font-weight: 600;
  font-size: 1em;
  line-height: 1.2;
}

/* Style for the new description text */
.feature-item p {
  font-size: 0.8em;
  font-weight: 400;
  color: #666;
  margin: 0;
  line-height: 1.2;
  white-space: normal;
  max-width: 150px;
}

.feature-item i {
  font-size: 1.8rem;
  position: relative;
}

/* Duotone Icon Styling for each specific icon */
.feature-item .fa-seedling {
  background: var(--icon-light-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-item .fa-seedling::before {
  background: var(--icon-green);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: multiply;
}

.feature-item .fa-leaf {
  background: var(--icon-light-brown);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-item .fa-leaf::before {
  background: var(--icon-brown);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: multiply;
}

.feature-item .fa-skull-crossbones,
.feature-item .fa-flask-poison {
  background: var(--icon-light-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-item .fa-skull-crossbones::before,
.feature-item .fa-flask-poison::before {
  background: var(--icon-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: multiply;
}

.feature-item .fa-heart {
  background: var(--icon-light-teal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-item .fa-heart::before {
  background: var(--icon-teal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: multiply;
}

.feature-item .fa-certificate {
  background: var(--icon-light-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-item .fa-certificate::before {
  background: var(--icon-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  mix-blend-mode: multiply;
}

/* Keyframes for the marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Media Queries for smaller screens */
@media (max-width: 768px) {
  .features-section {
    padding: 3px 0;
  }

  .feature-item {
    gap: 8px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .feature-item i {
    font-size: 1.5rem;
  }

  .feature-item span {
    font-size: 1em;
  }

  .feature-item p {
    font-size: 0.7em;
  }

  .feature-scroll-container {
    animation-duration: 15s;
  }
}

@media (max-width: 480px) {
  .feature-item {
    gap: 5px;
    padding: 10px 10px;
    font-size: 0.7rem;
  }

  .feature-item i {
    font-size: 1.2rem;
  }

  .feature-item p {
    font-size: 0.6em;
  }
}

/* Style for the container holding the icons */
.product-icons {
    position: absolute; /* Positions the icon container relative to the product card */
    top: 10px;
    right: 10px;
    display: flex; /* Arranges the icons side by side */
    flex-direction: column; /* Stacks the icons vertically */
    gap: 10px; /* Adds space between the icons */
    z-index: 5;
}

/* Base style for each icon link */
.product-icons .icon-link {
    background: var(--maroon-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    transition: all 0.3s ease;
}

/* Hover effect for the icons */
.product-icons .icon-link:hover {
    background: var(--maroon-color);
    color: var(--white-color);
    transform: scale(1.1); /* Makes the icon slightly larger on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Position the product card to contain the absolute icons */
.product-item,
.product-card {
    position: relative;
    overflow: hidden; /* Ensures icons stay within the card's boundaries */
}/* Add to your existing CSS file (e.g., index.css) */

.products-grid .grid-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.grid-navigation button {
    background: var(--maroon-color);
    color: var(--white-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.grid-navigation button:hover {
    background: var(--dark-grey);
    transform: scale(1.1);
}

.grid-navigation button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
}/* Pagination Container */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* Allows links to wrap on smaller screens */
}

/* Base style for all pagination links */
.pagination-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid var(--maroon-color);
    border-radius: 5px;
    color: var(--maroon-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.pagination-link:hover {
    background-color: var(--maroon-color);
    color: var(--white-color);
}

/* Active (current page) link */
.pagination-link.active {
    background-color: var(--maroon-color);
    color: var(--white-color);
    font-weight: 600;
    cursor: default;
}

/* Disable hover effect for active link */
.pagination-link.active:hover {
    background-color: var(--maroon-color); /* Maintain maroon background */
    color: var(--white-color);
}

/* Style for the Previous/Next arrows */
.pagination-link:first-child,
.pagination-link:last-child {
    font-size: 1.1em;
}

@media (max-width: 992px) {
    .pagination-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}



#cart-subtotal {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: right;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}


:root {
    --black-color: #000000;
    --maroon-color: #AD1A22;
    --white-color: #ffffff;
    --light-grey: #f0f0f0;
    --dark-grey: #333333;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--maroon-color);
    color: var(--white-color);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
}
 
/* --- Cart Icon and Count --- */
.cart-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cart-count {
    background-color: #AD1A22;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: normal;
    position: absolute;
    top: -5px;
    right: -10px;
    min-width: 18px;
    text-align: center;
}

/* --- Cart Popup --- */
#cart-popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    flex-direction: column;
    padding: 20px;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cart-header h3 {
    font-size: 1.5rem;
    color: #333333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #AD1A22;
}

/* --- Cart Items --- */
#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item p {
    margin: 0;
    font-size: 1rem;
    color: #333333;
}

#checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #AD1A22;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#checkout-btn:hover {
    background-color: #8B151A; /* A slightly darker shade of maroon */
}

/* --- Mobile Styles --- */
@media (max-width: 600px) {
    #cart-popup {
        max-width: 100%;
        width: 100%;
    }
}


 .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.remove-item-btn {
    background: none;
    border: none;
    color: var(--maroon-color);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}.cart-button {
    /* Existing button styles... */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* This is the class that will be added/removed by JavaScript */
.cart-button.animate {
    animation: pop-in 0.5s ease-out;
}

/* Define the animation keyframes */
@keyframes pop-in {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}



:root {
    --blackk-color: #AD1A22; /* Assuming blackk-color is intended for black */
    --maroon-color: #AD1A22;
    --white-color: #ffffff;
    --light-grey: #f0f0f0;
    --dark-grey: #333333;
}

.review-section {
    background-color: var(--light-grey);
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.review-section h2 {
    font-size: 2.5em;
    color: var(--dark-grey);
    font-weight: bold;
    margin-bottom: 0;
}

/* ---------------------------------- */
/* Carousel button container styling */
/* ---------------------------------- */
.carousel-controls {
    display: flex;
    gap: 15px;
}

.carousel-slide-button {
    background-color: transparent;
    border: 2px solid var(--maroon-color);
    color: var(--maroon-color);
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    margin-right: 10px;
        margin-left: 10px;

    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-slide-button:hover {
    background-color: var(--maroon-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.carousel-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.review-carousel {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}

.review-carousel::-webkit-scrollbar {
    display: none;  
}

.review-card {
    background-color: var(--white-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 0 0 350px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card .stars {
    margin-bottom: 15px;
}

.review-card .star.active {
    color: var(--maroon-color);
    font-size: 1.5em;
    margin-right: 5px;
}

.review-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer-name {
    font-size: 1em;
    font-weight: bold;
    color: var(--maroon-color);
    text-transform: uppercase;
}

.no-reviews {
    color: var(--dark-grey);
    font-style: italic;
    font-size: 1.1em;
    padding: 20px;
    text-align: center;
}

.add-review-section {
    margin-top: 40px;
}

.cta-button {
    background-color: var(--maroon-color);
    color: var(--white-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--blackk-color);
    transform: translateY(-3px);
}

/* New: Verified badge styling */
.verified-badge {
    display: inline-flex;
    align-items: center;
    background-color: #4CAF50;
    margin-top: 10px;
    color: #fff;
    width: 130px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: normal;
}

.verified-badge i {
    margin-right: 5px;
    font-size: 1rem;
}

/* Add new styles for the summary section */
.reviews-summary-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px;
    background-color: #f7f7f7;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.summary-box {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    text-align: center;
}

.summary-average {
    border-right: 1px solid #ddd;
}

.average-rating-number {
    font-size: 3.5em;
    font-weight: bold;
    color: #AD1A22;
    line-height: 1;
    margin-bottom: 5px;
}

.stars-summary .star {
    color: #ccc;
    font-size: 1.8em;
}

.stars-summary .star.active {
    color: #AD1A22;
}
    
.stars-summary .star.half {
    position: relative;
    color: #ccc;
}

.stars-summary .star.half::before {
    content: '\2605'; /* Full star character */
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #AD1A22;
}

.total-reviews-count {
    font-size: 0.9em;
    color: #555;
    margin-top: 5px;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.rating-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-label {
    width: 60px;
    text-align: right;
    font-size: 0.9em;
}

.bar-progress-container {
    flex: 1;
    background-color: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.bar-progress {
    background-color: #AD1A22;
    height: 100%;
    transition: width 0.5s ease-in-out;
}

.rating-count {
    width: 30px;
    font-size: 0.9em;
    color: #555;
}

/* ---------------------------------- */
/* --- Mobile Responsiveness (max-width: 768px) --- */
/* ---------------------------------- */
@media (max-width: 768px) {
    .review-section {
        padding: 40px 15px;
    }

    .review-header {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .review-section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .carousel-controls {
        order: 1; /* Puts controls below the heading on mobile */
        margin-top: 15px;
    }

    .carousel-wrapper {
        padding: 0 10px;
    }

    .carousel-slide-button {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .carousel-slide-button.prev-btn {
        left: -5px;
    }
    
    .carousel-slide-button.next-btn {
        right: -5px;
    }

    .review-carousel {
        gap: 15px;
        padding: 10px 0;
    }

    .review-card {
        flex: 0 0 85%;
        min-width: unset;
        padding: 20px;
    }

    .review-text {
        font-size: 1em;
    }

    .summary-average {
        border-right: none;
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .reviews-summary-container {
        flex-direction: column;
        gap: 20px;
    }
}
