
 .body {
      font-family: Arial, sans-serif;
      background-color: #f9f8f4;
      
      
    }


   /*--------------------------------Navbar--------------------------------------------------------------------*/
        .navbar {
            background-color: #f9f8f4; /* Light background */
            padding: 1rem 2rem;
            padding-top: 1rem;
            padding-right: 2rem;
            padding-bottom: 1rem;
            padding-left: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-right: auto;
            margin-left: auto;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            
        }

        .navbar {
            font-family: sans-serif;
        }

        .navbar-brand {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2a272a;
            
        }

        .navbar-brand span {
            color: #31b9a8; /* Highlight color */
        }

        .nav-links {
            display: none; /* Hide on smaller screens */
            list-style: none;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            width: 100%;
            text-align: center;
            position: absolute;
            top: 50px; /* Adjust based on navbar height */
            left: 0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        .nav-links.active {
            display: block;
        }

        .nav-links li a {
            display: block;
            padding: 10px;
            text-decoration: none;
            color: #333;
        }

        .nav-links li a:hover {
            background-color: #e9ecef;
        }

        .logo-nav{
          text-decoration: none;
        }

        .menu-toggle {
            display: block; /* Show on smaller screens */
            font-size: 1.5rem;
            cursor: pointer;
            color: #333;
        }

        .add-listing-btn {
            background-color: #31b9a8;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
        }

        .add-listing-btn:hover {
            background-color: #008acc;
        }
        .catalogue{
            background-color: #196cbf;
            
         
            
        }

        .catalogue-list{
            background-color: #196cbf;
            list-style: none;
            display: flex;
            justify-content: start;
            gap: 1rem;
            font-size: 17px;
            font-weight: 600;
            font-stretch: normal;
            font-style: normal;
            line-height: 1.18;
            letter-spacing: .45px;
            text-transform: none
            
        }
        .catalogue-list{
            margin-top: 6px;
            padding-top: 2px;
            padding-bottom: 2px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        /* Larger screens */
        @media (min-width: 770px) {
            .menu-toggle {
                display: none; /* Hide on larger screens */
            }

            .nav-links {
                display: flex;
                position: static;
                width: auto;
                background-color: transparent;
                box-shadow: none;
            }

            .nav-links li {
                margin-left: 15px;
            }

            .nav-links li a {
                padding: 5px 10px;
            }

             
             }

            @media (max-width: 770px){
                 .add-listing-btn{
                    display: none;
                 }
           
        }
/*----------------------------------End------------------------------------------------------------------*/


        .hero-section {
            background-color: #2a272a; /* Blue background */
            color: white;
            padding: 60px 20px;
            text-align: center;
        }

        .hero-section h1 {
            font-size: 2.5em; /* Approximate size from image */
            margin-top: 0;
            margin-bottom: 20px;
            font-weight: bold;
            letter-spacing: 1px; /* Slight letter spacing */
        }

        .hero-section p {
            font-size: 1em; /* Approximate size from image */
            margin-bottom: 30px;
            line-height: 1.6;
            padding-left: 80px;
            padding-right: 80px;
        }

        .hero-section .highlight {
            background-color: black; /* Highlighted text background */
            padding: 2px 5px; /* Small padding for the highlight */
            text-decoration: line-through;
        }

        .buttons-container {
            display: flex;
            justify-content: center;
            gap: 20px; /* Space between buttons */
        }

        .hero-section .btn {
            background-color: white;
            color: #31b9a8; /* Blue text */
            border: none;
            padding: 15px 30px;
            font-size: 1em;
            font-weight: bold;
            cursor: pointer;
            border-radius: 5px; /* Slightly rounded corners */
            text-transform: uppercase; /* Uppercase button text */
            min-width: 180px; /* Minimum width for buttons */
        }

        .hero-section .btn:hover {
            background-color: #ffffff; /* Slight hover effect */
            transform: scale(1.02);

        }

         /* Responsive adjustments */
        @media (max-width: 768px) {
            .hero-section h1 {
                font-size: 2em;
            }
            .hero-section p {
                font-size: 0.9em;
            }
            .hero-section .btn {
                padding: 12px 25px;
                font-size: 0.9em;
                min-width: 150px;
            }
        }

        @media (max-width: 480px) {
            .hero-section {
                padding: 40px 15px;
            }
            .hero-section h1 {
                font-size: 24px;
            }
            .hero-section p {
                font-size: 0.8em;
                padding-left: 2px;
                padding-right: 2px
            }
            .buttons-container {
                flex-direction: column; /* Stack buttons on smaller screens */
                align-items: center;
            }
            .hero-section .btn {
                width: 80%; /* Make buttons take more width */
                margin-bottom: 10px; /* Add space when stacked */
            }
            .buttons-container .btn:last-child {
                margin-bottom: 0;
            }
        }







/*----------------------------------Dropdown-m---------------------------------------------------------------------*/

  .Md1 {
   padding: 10px;
   overflow-x: auto;
   margin-top: 0px;
   background-color: #2a272a;
   padding-bottom: 0px;
   padding-top: 8px;
}
  

    ul.menu {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding-bottom: 10px;
    }

    ul.menu::-webkit-scrollbar {
      display: none;
    }

    ul.menu li {
      position: relative;
      flex: 0 0 auto;
      text-decoration: none;
    }

    .dropbtn {
      background-color: #31b9a8;
      color: rgb(255, 255, 255);
      padding: 10px 16px;
      font-weight: bold;
      border: none;
      border-radius: 20px;
      cursor: pointer;
      align-items: center;
      font-size: 15px;
      
    }

    /*.dropbtn :hover{
      
    }*/

    .dropbtn::after {
      content: "";
      margin-left: 8px;
      font-size: 12px;
    }

    .dropdown-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      position: absolute;
      background-color: #fff;
      min-width: 160px;
      border-radius: 8px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      z-index: 1;
      top: 100%;
      left: 0;
      padding: 0 0;
    }

    .dropdown-content a {
      color: black;
      padding: 10px 14px;
      text-decoration: none;
      display: block;
      font-size: 14px;
    }

    .dropdown-content a:hover {
      background-color: #f1f1f1;
      
    }

    .dropdown.open .dropdown-content {
      max-height: 500px;
      padding: 10px 0;
    }

    @media (max-width: 600px) {
      ul.menu {
        flex-wrap: nowrap;
        overflow-x: auto;
      }

      .dropdown-content {
        position: relative;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
      }

      .dropbtn {
        width: auto;
        justify-content: space-between;
      }
    }





/*----------------------------------End------------------------------------------------------------------------*/
/*-----------------------------Story Carousel----------------------------------------------*/

.story-carousel {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-behavior: smooth;
  cursor: pointer;
  margin-top: 50px;
  margin-bottom: 35px;
  background-color: #ffffff;
  
}

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

.story-card {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  background-color: #ffffff;
  border-radius: 1.5rem;
  object-fit: fill;
  /*box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);*/
  border: 1px solid rgba(0,0,0,.125);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  -webkit-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
}


.story-card:hover {
  transform: scale(1.02);}



/* Responsive for small screens */
@media (max-width: 600px) {
  .story-card {
    width: 100px;
    height: 100px;
  }

  .story-carousel {
  display: flex;
  justify-content: start;}
  
  

}


/* Video popup styles */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-content {
  position: relative;
  width: 90%;
  max-width: 360px; /* 1080px scaled down to maintain 9:16 ratio */
  aspect-ratio: 9 / 16;
  background: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1rem;
}


#popupVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1rem;
}

#closeBtn {
  position: absolute;
  top: 25px;
  right: 10px;
  font-size: 2rem;
  color: rgb(230, 0, 0);
  cursor: pointer;
}

.swipe-handle {
  width: 60px;
  height: 5px;
  background: #3f0000;
  border-radius: 3px;
  margin: 0 auto 10px;
}



.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}


.progress-bar-container {
  position: absolute;
  top: 15px;
  left: 13px;
  width:93% ;
  height: 6px; /* Height of the progress bar */
  background-color: rgba(255, 255, 255, 0.3); /* Lighter background for the bar */
  z-index: 1000; /* Ensure it's above the video */
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;

  overflow: hidden; /* To keep the progress bar's rounded corners clean */
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #fefefe; /* Color of the progress itself */
  transition: width 0.1s linear; /* Smooth transition for progress */
}


.video-controls {
  display: grid;
  justify-content: left;
  gap: 13px;
  padding: 10px;
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-sizing: border-box;
}

.video-controls button {
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}
  


.video-controls button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}




/*-----------------------------End----------------------------------------------*/
/*----------------------------------Features------------------------------------------------------------------*/
   .Feature{
    background-color: #ffffff;
   }

  .feature-title{
    display: flex;
    justify-content: center;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-left: 8px;
   }




    /* Base styles for the grid and cards */
.grid {
  display: grid; /* Keep base as grid for larger screens */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Creates flexible columns */
  gap: 20px; /* Space between cards */
  padding: 0px; /* From your provided code */
  padding-bottom: 10px; /* From your provided code */
  max-width: 1200px;
  width: 100%;
  height: 100%; /* Be cautious with fixed height on grid containers, might clip content */
  margin: auto;
}

.home-card-con {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  -webkit-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
  border: 1px solid rgba(0,0,0,.125);
  display: flex; /* Ensure inner content (img and body) stacks */
  flex-direction: column;
}

.home-card-con:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease; /* Add a smooth transition for the hover effect */
}

.home-card-img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #31b9a8;
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 12px;
}

.card-body {
  padding: 15px; /* Added a fixed padding here for consistency */
  flex-grow: 1; /* Allows the card body to expand and push content down */
  display: flex; /* Make card body a flex container too */
  flex-direction: column; /* Stack its content vertically */
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px; /* Added some margin for spacing */
}

.rating {
  color: #f1c40f;
  margin: 4px 0;
}

.card-description {
  font-size: 14px;
  color: #000000;
  margin-bottom: 12px;
  flex-grow: 1; /* Allows description to grow, useful for consistent card heights */
}

.info,
.info1 {
  font-size: 14px;
  color: #31b9a8; /* Adjusted info1 color to match info based on your provided code */
  margin: 4px 0;
  display: flex;
  align-items: center;
  background-color: #2a272a;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
}

.info i,
.info1 i {
  margin-right: 8px;
  color: #31b9a8; /* Added a color for icons for better visibility */
}


.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  background-color: #31b9a8;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 12px;
  color: #ffff;
}

.address,
.phone-number { /* Combined these two for consistent styling */
  padding: 0px 0px;
  border-radius: 16px;
  font-size: 12px;
}

.info a{
  color: #31b9a8;
}

/*-----------------icone--------------------------------------*/
.fa-location-dot::before, .fa-map-marker-alt::before {
  color: #ffffff;
}

.fa-phone::before{
  color: #ffffff;
}

.fa-clock-four::before, .fa-clock::before{
  color: #ffffff;
}

.fa-globe::before{
  color: #ffffff;
}


/*-----------------end-------------------------------------------*/

/* --- Media Queries for Mobile Responsiveness --- */

/* For screens smaller than 768px (common for tablets and larger phones) */
@media (max-width: 768px) {
  .feature-title {
    display: flex;
    justify-content: start;
    margin-left: 8px;
    text-align: center; /* Center the title on smaller screens */
  }

  .Feature {
    margin-bottom: 50px;
  }

  .grid {
    display: flex; /* Changed to flex as per your request */
    flex-direction: row; /* Keep them in a row for horizontal scroll */
    flex-wrap: nowrap; /* Prevent wrapping to force horizontal scroll */
    overflow-x: auto; /* Enable horizontal scrolling */
    overflow-y: hidden;
    justify-content: flex-start; /* Align items to the start for scrolling */
    align-items: flex-start; /* Align items to the top for consistent card tops */
    height: auto; /* Removed fixed height to prevent clipping, content will define height */
    padding: 10px;
    padding-right: 60px; /* Provides space for the last card to scroll into view */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Optional: Snap cards into view */
  }

  .home-card-con {
    flex: 0 0 80%; /* Each card takes up 80% of the viewport width */
    max-width: 300px; /* Cap card width to prevent them from becoming too wide */
    margin-right: 20px; /* Space between cards in the horizontal scroll */
    scroll-snap-align: start; /* Optional: Align start of card to scroll container */
  }

  .home-card-img {
    height: 15rem;
  }

  .card-body {
    padding: 12px; /* Adjust padding for smaller screens */
  }
}

/* For screens smaller than 480px (common for most smartphones) */
@media (max-width: 480px) {
  .feature-title{
    display: flex;
    justify-content: start;
    margin-left: 15px;
  }

  .grid {
    padding-left: 10px; /* Adjust padding for very small screens */
    padding-right: 30px; /* More padding on right for scroll */
  }

  .home-card-con {
    flex: 0 0 90%; /* Make cards a bit wider on very small screens */
    margin-right: 15px; /* Adjust spacing */
  }

  .home-card-img {
    height: 16rem; /* Make image slightly smaller */
  }

  .card-description,
  .info,
  .info1 {
    font-size: 0.85em; /* Slightly reduce font size for better fit */
  }

 
}
/*----------------------------------End------------------------------------------------------------------*/
    

/*----------------------------------Deals-cards------------------------------------------------------------------*/     

.deals-scroll-wrapper {
  width: 100%;
  overflow: hidden; /* default hidden, JS will toggle scroll */
  margin-top: 50px;
  background-color: white;
}

.deals-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 30px;
}

.deal-card:hover {
  transform: scale(1.02);}

.deal-card {
  position: relative;
  width: 200px;
  height: 200px;
  background-color: #ff6f61;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.deal-card img{
  object-fit: cover;
  width: inherit;
}

.more-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 12px;
  background-color: #31b9a8;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.more-btn:hover {
  background-color: #31b9a9e9;
}

.deals-container.scrollable {
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  padding-bottom: 8px;
}

@media (max-width: 768px){
.deal-card{
  width: 175px;
  height: 175px;
}
.deals-scroll-wrapper{
   margin-top: 50px;
}



}


/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.7);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  max-width: 40%;
  border-radius: 12px;
  text-align: center;
}
.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}
.close-btn {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  text-align: end;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .deal-card {
    min-width: 150px;
  }
  .modal-content {
    max-width: 400px;
  }
}










/*----------------------------------End------------------------------------------------------------------*/


     
  

   /* @media only screen /
   and (mix-width : 600px) {
   /* Styles here */
   

/*------------------------- section search*/



.search-section {
            background: linear-gradient(to right, #40c100, #286c75); /* Teal gradient */
            color: white;
            padding: 100px 60px;
            border-radius: 8px;
            text-align: center;
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        p {
            font-size: 1.1em;
            margin-bottom: 20px;
        }

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

        .search-input {
            padding: 12px;
            border: none;
            border-radius: 5px;
            font-size: 1em;
            flex-grow: 1;
        }

        .search-input::placeholder {
            color: #999;
        }

    

        .search-button {
            background-color: #00838f; /* Darker teal button */
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            font-size: 1em;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .search-button:hover {
            background-color: #006064;
        }


      


      




/*------------------------nav Category--------------------------------------*/

.nav-container-Category {
    background-color: transparent; /* Or your desired nav background */
    padding: 10px 0; /* Adjust padding as needed */
    margin-bottom: 20px;
}

.nav-list-Category {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Arrange items horizontally */
    justify-content: center; /* Center the items */
    gap: 10px; /* Space between items */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

/*.nav-item-Category {
    /* No specific styles needed here unless you want to add margin/padding directly to the list item} */


.nav-link-Category {
    display: block; /* Make the whole link clickable */
    background-color: #c92020; /* Black background */
    color: #fff; /* White text */
    text-decoration: none; /* Remove underline from links */
    padding: 10px 20px; /* Padding inside the buttons */
    border-radius: 25px; /* Rounded corners (adjust value for desired roundness) */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

.nav-link-Category:hover {
    background-color: #ff0000; /* Slightly lighter black on hover */
    transform: translateY(3px);
    
}
.nav-container-Category a{
   text-decoration: none;
   color: #000000;
   
}

/* Mobile Responsiveness */
@media (max-width: 768px) { /* Adjust breakpoint as needed */

    

    .nav-list-Category { 
      display: flex;
      justify-content: center;
        align-items: center; /* Center items horizontally when stacked */
        gap: 5px; /* Adjust gap for vertical stacking */
    }

    .nav-link-Category {
        width: 95%; /* Make buttons wider on mobile */
        text-align: center; /* Center text inside buttons */
    }
  }

/*-----------------------------End----------------------------------------------*/


/*-------------------------------Space--------------------------------------------------------*/

.space{
  margin-left: -75px;
}

.space1 {
  padding-left: 0px;
  margin-left: 281px;
  margin-top: 30px;
  margin-right: 281px;
  margin-bottom: -1.5rem
  
}


@media (max-width: 768px) {
  .space{
    margin-left: -262px;
  }
  

}
@media (max-width: 820px)
  {
    .space{
     margin-left: -256px;
     margin-right: 2px;
}
    }




/*-------------------------------End---------------------------------------------------------------*/

/*-----------------------------------Showcase--------------------------------------------------------------*/

/* Main Container Styles */
        .On-The-Shelf-container {
            width: 100%; /* Ensures it takes full width on smaller screens */
            background-color: #2a272a; /* White background */
            overflow: hidden; /* Ensures rounded corners are applied to children */
            padding-bottom: 1rem; /* Padding at the bottom of the main container */
            margin-top: 50px;
            margin-bottom: 8px;
            
            
        }

        /* Header Styles */
        .header {
            background-color: #2a272a; /* White background for header */
            color: #ffffff; /* Darker text color */
            padding: 1.5rem 0rem; /* More padding for the main heading */
            text-align: center;
            border-bottom: 1px solid #2a272a; /* Subtle separator */
        }

        .header h2 {
            display: flex;
            justify-content: space-between;
            margin-right: 8px;
            margin-left: 8px;          
            font-size: 2.25rem; /* Larger font size for main heading */
            font-weight: 700; /* Bold font weight */
            color: #ffffff; /* Dark text */
            
        }

        .on-the-shelf-p{
          display: flex;
          justify-content: start;
          padding-right: 8px;
          padding-left: 8px;
          margin-bottom: 0px;
        }

        /* Horizontal Scrolling Container */
        .on-the-shelf-scroll-wrapper {
            display: flex;
            overflow-x: auto; /* Enables horizontal scrolling */
            -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
            padding: 1rem; /* Padding around the categories */
            gap: 1.5rem; /* Space between category cards */
            scroll-snap-type: x mandatory; /* Optional: for snapping to cards */
        }

        /* Hide scrollbar for aesthetic purposes (optional) */
        .on-the-shelf-scroll-wrapper::-webkit-scrollbar {
            display: none;
        }
        .on-the-shelf-scroll-wrapper {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }

        /* Category Card Styles */
        .on-the-shelf-card {
            flex: 0 0 auto; /* Prevents cards from shrinking */
            width: 280px; /* Fixed width for each card */
            background-color: #ffffff; /* White background */
            border-radius: 0.75rem; /* More rounded corners */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Softer shadow */
            overflow: hidden;
            scroll-snap-align: start; /* Optional: for snapping to cards */
            border: 1px solid #e0e0e0; /* Light border */
            
        }

        /* Category Card Header (Title and Item Count) */
        .on-the-shelf-card-header {
            padding: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 1px solid #f0f0f0; /* Separator */
        }

        .on-the-shelf-card-header .title-group {
            display: flex;
            align-items: center;
            font-size: 1.1rem;
            font-weight: 600;
            color: #333;
        }

        .on-the-shelf-card-header .title-group svg {
            width: 1rem;
            height: 1rem;
            margin-left: 0.5rem;
            fill: #666; /* Arrow color */
        }

        .on-the-shelf-card-header .item-count {
            font-size: 0.9rem;
            color: #777;
        }

        /* Image Grid within Category Card */
        .image-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
            gap: 0.5rem; /* Gap between images */
            padding: 0.5rem; /* Padding around the grid */
            background-color: #f9f9f9; /* Slightly different background for image area */
            background-image: url("https://media1.tenor.com/m/8xfwur3JV1QAAAAC/rose-flower.gif");
        }

        .image-grid img {
            width: 100%;
            height: 200px; /* Fixed height for images */
            object-fit: cover; /* Ensures images cover the area */
            border-radius: 0.375rem; /* Slightly rounded corners for images */
            border: 1px solid #ddd; /* Light border around images */
        }
        .image-grid a :hover{
          transform: scale(1.02);
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .category-card {
                width: 250px; /* Slightly smaller cards on very small screens */
            }
            .header h1 {
                font-size: 1.75rem; /* Smaller heading on small screens */
            }
        }



/*-------------------------------------End-------------------------------------------------------------*/


/*------------------------------------community-homepage-----------------------------------------------------------------*/
.community-board{
  margin-top: 50px;
}
.commuity-h2{
  display: flex;
  justify-content: space-between;
  margin-right: 8px;
  margin-left: 8px
}
.commuity-p{
  margin-right: 8px;
  margin-left: 8px;
}

.cards-cc {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  
}

.add-events-btn{
  background-color: #31b9a8;
  color: white;
  border: none;
  padding: 10px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
  margin-top: 5px;
  
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  
  
}

.card-community-homepage {
  position: relative;
  width: 300px;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  background: #fff;
  flex: 0 0 80%;
  max-width: 300px;
  min-width: 280px;
  scroll-snap-align: start;
  box-sizing: content-box;
}

.cards-cc::-webkit-scrollbar {
  display: none;
}
.cards-cc {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-community-homepage h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #2563eb;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.2;
}

.date-badge strong {
  font-size: 1.2rem;
}

.location, .time {
  font-size: 0.9rem;
  margin: 6px 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #555;
}

.footer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.seemore2{
  margin-left: 15px;
  
}

/* Color themes for cards */
.light-blue {
  background-color: #e7f3ff;
}

.light-yellow {
  background-color: #fff4dd;
}

.light-green {
  background-color: #d2eadb;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  .cards-cc{
    scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  }
  .card-community-homepage {
    flex: 0 0 300px;
    scroll-snap-align: start;

}
.cards-cc {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
  
}

/*-----------------------------------End----------------------------------------------------------------*/





/*-------------------------------Homepage-Category---------------------------------------------------------------*/

.container-cat {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
}

.section-subtitle {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
}

.section-description {
  font-size: 16px;
  color: #000000;
  margin-bottom: 40px;
  padding: 0 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.category-card {
  background-color: #fff;
  padding: 20px;
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  text-align: center;
}

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

.category-icon {
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.category-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111;
}

.category-card p {
  font-size: 14px;
  color: #888;
}

/* Responsive Font Adjustments */
@media (max-width: 768px) {
  .container-cat{
    display: contents;
  }
  
  
  .section-title {
    font-size: 26px;
  }

  .section-description {
    font-size: 15px;
  }

  .category-card {
    max-width: 160px;
  }
}

@media (max-width: 480px) {
.container-cat{
  display: contents;
}
  
  .section-title {
    font-size: 22px;
  }

  .section-description {
    font-size: 14px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-card {
    padding: 15px;
    max-width: 100%;
  }
}




/*-------------------------------End---------------------------------------------------------------*/








/* --------------------------Footer----------------------------------------------------*/
      /* Basic Footer Styling */
footer {
  background-color: #2a272a; /* Or your preferred background color */
  margin-top: 50px;
  padding: 20px 0;
  text-align: center; /* Center all text elements within the footer */
}

.container {
  max-width: 1200px; /* Adjust as needed */
  margin: 0 auto; /* Center the container */
  padding: 0 1rem; /* Add some padding on the sides */
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center items horizontally in a column layout */
  padding-right: 8px;

}

.footer-links{
  color: #ffffff;
}
.footer-contact {
  margin-top: 20px; /* Add space between sections */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: #ffffff; /* Or your preferred link color */
}

.footer-h3{
  padding-right: 8px;
  color: #ffffff;
}

.footer-p{
  padding-right: 8px;
  padding-left: 8px;
  color: #ffffff;
}
.footer-h4{
  color: #ffffff;
  
}
.footer-icon{
  margin: 8px;
}


/* Responsiveness */
@media (min-width: 768px) { /* Adjust breakpoint as needed */
  .footer-content {
    flex-direction: row; /* Arrange items in a row on larger screens */
    justify-content: space-around; /* Distribute space between sections */
    align-items: flex-start; /* Align items to the top */
    text-align: left; /* Align text to the left in each section */
  }

  .footer-links,
  .footer-contact {
    margin-top: 0; /* Remove top margin when in a row */
  }
}
/*-------------------------------End-----------------------------------------------------------------*/



























































Filter

      .container {
        max-width: 1200px;
        margin: 2rem auto;
        padding: 0 2rem;
    }

        .filter-bar {
          display: flex;
          flex-wrap: wrap;
          gap: 5px;
          margin-bottom: 1rem;
          align-items: center;
          justify-content: center;
      }
      
      .filter-label {
          font-weight: bold;
          color: var(--primary);
      }
      
      .filter-btn {
          background: white;
          border: 1px solid #ddd;
          padding: 0.5rem 1rem;
          border-radius: 50px;
          cursor: pointer;
          transition: all 0.3s ease;
      }
      
      .filter-btn:hover, .filter-btn.active {
          background: var(--primary);
          color: rgb(231, 3, 3);
          border-color: var(--primary);
      }



      .signUp {
        margin-top: 50px;
        background-color: #ffffff;
        text-align: center;
        padding: 60px 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        
      }
      
      .signUp h2 {
        font-size: 28px;
        color: #1e1e1e;
        font-weight: 700;
        margin-bottom: 16px;
      }
      
      .signUp p {
        font-size: 16px;
        color: #333;
        margin-bottom: 32px;
        
      }
      
      .add-button {
        display: inline-block;
        padding: 12px 24px;
        background-color: #31b9a8;
        color: white;
        font-weight: 600;
        border-radius: 8px;
        text-decoration: none;
        border: none;
      
        
      }
      
      .add-button:hover {
        background-color: #000000;
        text-decoration: none; }/* Removes underline}
        
      