@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    background: #f4f7fc; /* Soft blue-gray background */
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Layout */
.page-width {
    max-width: 1350px;
    margin: auto;
    padding: 20px;
}

/* Navbar */
.navbar-brand {
    margin-left: 1rem;
    color: white !important;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s;
}
.modal .navbar-brand {
    color: black !important;
}
.navbar-brand:hover {
    color: #f8f9fa !important;
}

/* Header */
.index .header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: all 0.5s;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.index .header-fixed.navbar-shrink {
    padding: 10px 0;
}

/* Slider Container */
.slider-container {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
    white-space: nowrap; /* Prevents images from wrapping */
}

/* Image Wrapper */
.slider-images {
    display: flex;
    width: 300%; /* Ensures all images are arranged in a row */
    animation: slide 10s infinite alternate ease-in-out;
}

/* Individual Images */
.slider-images img {
    width: 100%; /* Ensures each image fills the full width of the container */
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}
/* Slider Container */
.slider-container {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
}

/* Image Wrapper */
.slider-images {
    display: flex;
    width: 300%; /* Ensures all images are arranged in a row */
    animation: slide 10s infinite alternate ease-in-out;
}

/* Individual Images */
.slider-images img {
    width: 100vw; /* Each image takes the full width of the viewport */
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Keyframes for Smooth Back-and-Forth Sliding */
@keyframes slide {
    0% { transform: translateX(0); } /* Start at first image */
    50% { transform: translateX(-100vw); } /* Move to second image */
    100% { transform: translateX(-200vw); } /* Move to last image */
}



/* Buttons */
.btn-cartview-next {
    margin-top: 1rem;
    background: linear-gradient(135deg, #08a5f4, #007ac1);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
.btn-cartview-next:hover {
    background: linear-gradient(135deg, #007ac1, #005f8b);
    transform: scale(1.05);
}

/* Product Cards */
.card-product {
    background: linear-gradient(135deg, #ffffff, #f8f9fc);
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.card-product:hover {
    border-color: #0e9ee5;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer-top {
    background: #eee;
    border-top: 1px solid #e3e3e3;
}
.footer-bottom {
    background: #2D2D2D;
    color: white;
    text-align: center;
    padding: 15px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-container {
        display: none;
    }
    .mobile-banner {
        display: block;
    }
    .desktop-animated-boxes {
        display: none;
    }
}
@media (min-width: 769px) {
    .desktop-animated-boxes {
        display: flex;
    }
}


