.scrolling-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.product-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    padding: 10px;
    width: 100%;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
}

.product-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari */
}

.product-card {
    min-width: 400px;
    max-width: 400px;
    padding: 15px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

    .product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    
}

    .product-card h3 {
    font-size: 1rem;
    margin: 10px 0;

}


.btn {
    display: inline-block;
    text-decoration: none;
    color: black;
    background: #F9CD05;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    
}


.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: 0.3s ease-in-out;
    z-index: 2; /* Ensure it's above other elements */
}

.scroll-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.left {
    left: 5px;
}

.right {
    right: 5px;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

body.modal-open {
    overflow: hidden;
     font-family: 'Poppins', sans-serif;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker backdrop */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 80vw;
    max-height: 80vh;
    overflow: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
    

.modal-body {
    max-height: 70vh;
    overflow-y: auto; /* Enables scrolling inside the modal */
    padding-right: 15px; /* Prevents content from hiding under scrollbar */
    box-sizing: border-box;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}


.modal-content img {
    max-width: 60%;
    height: auto;
    object-fit: contain;
    display: block;
   margin: 0 auto 10px; /* margin: 0 auto centers the image horizontally */
}

.modal-content h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
  text-align: center; /* Better for headings */
  word-spacing: 2px;  /* Optional: Adds extra spacing between words for a clean look */
}


.modal-content p {
  font-size: 16px;
  color: #555;
  text-align: justify;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}


.close-btn:hover {
    color: darkred;
}

.modal-content img {
    width: 100%;
    max-height: 250px;
    border-radius: 10px;
}