/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #004466;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    padding: 8px 12px;
    transition: 0.3s;
}

.nav-links a:hover {
    background-color: #006699;
    border-radius: 5px;
}
.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu, .expandable-menu {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    top: 100%;
    min-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap; /* Prevents text from breaking into multiple lines */
}

/* Adjust positioning for dropdowns near the right edge */
.nav-links li:last-child .dropdown-menu,
.nav-links li:last-child .expandable-menu {
    right: 0;
    left: auto;
}




.dropdown-menu li, .expandable-menu li {
    padding: 10px;
}

.dropdown-menu a, .expandable-menu a {
    color: black;
    display: block;
    padding: 8px;
    font-size: 14px;
}

.dropdown-menu a:hover, .expandable-menu a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-menu, .expandable:hover .expandable-menu {
    display: block;
}


/*  whatsapp floating icon */

.whatsapp-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .whatsapp-hover-box {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 6px;
  }
  
  .whatsapp-container:hover .whatsapp-hover-box {
    display: flex;
  }
  
  .whatsapp-info {
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .copy-btn {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
  }
  
  .copy-btn:hover {
    background-color: #1ebea5;
  }
  
  .copy-message {
    display: none;
    background-color: #e6ffe6;
    padding: 4px 8px;
    font-size: 12px;
    color: green;
    border-radius: 8px;
    margin-top: 3px;
  }
  
  .whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .whatsapp-float img {
    width: 35px;
    height: 35px;
  }
  
  



/* SLIDING IMAGE DIV STYLES */
/* Basic layout for the slider */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

/* Wrapper to hold all the image items */
.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.image-gallery {
    display: flex;
}

.image-item {
    position: relative;
    min-width: 100%;
    box-sizing: border-box;
}

.image-item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.image-text {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border-radius: 10px;
    width: 40%;
    box-sizing: border-box;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
}

.prev { left: 10px; }
.next { right: 10px; }


/* about page */

.about-container {
    width: 70%;
    height: 30vh;
    margin: 10px auto; /* Centers the div */
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    position: relative;
    background: #f4f4f4;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-align: center;
}

.about-container .content {
    height: 100%;
    overflow-y: hidden;
    animation: scrollContent 10s linear infinite;
}

@keyframes scrollContent {
    from { transform: translateY(0%); }
    to { transform: translateY(-100%); }
}

.about-container.expanded {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    animation: none;
}


/* delivery css */


.deliveries-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
}

.scroll-wrapper {
    display: flex;
    gap: 15px;
}

.image-box {
    display: inline-block;
    text-align: center;
    min-width: 250px; /* Ensures images remain visible without wrapping */
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.image-box img:hover {
    transform: scale(1.05);
}

.image-box p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

/* Hide scrollbar in Chrome, Safari */
.deliveries-container::-webkit-scrollbar {
    display: none;
}

/* Smooth scrolling effect */
.deliveries-container {
    -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    scroll-behavior: smooth;
}




/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }


}