.slider-container {
    position: relative;
    width: 60%; /* Adjust as needed */
    margin: auto;
    overflow: hidden; /* Hides images outside the view */
    border: 1px solid #ccc;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Smooth sliding transition */
    /* Width will be set by JavaScript based on total images */
}

.slide {
    min-width: calc(96% / 3); /* Ensures 3 images are visible at once */
    box-sizing: border-box;
    padding: 5px; /* Optional, for spacing */
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.feedback-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 120px;
    right: 40px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 12px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 12px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* The floating button position */
.floating-btn {
    position: fixed; /* Stays in the same place even when scrolling */
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100; /* Ensures it is above other elements */
}

/* The Modal (popup) container */
.modal {
    display: flex; /* Hidden by default */
    position: fixed; /* Stays in place */
    z-index: 101; /* Sits on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with opacity */
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 5px;
    width: 80%; /* Adjust width as needed */
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .popup-content {
    padding: 20px; /* Reduce padding on mobile */
  }
  /* ... other mobile-specific styles ... */
}


/* The Close Button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
