.navbar {
    background-color: #343a40;
}
.navbar-nav .nav-item .nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}
.navbar-nav .nav-item .nav-link:hover {
    color: #ffdd57;
}
.navbar-brand img {
    border-radius: 50%;
    transition: transform 0.3s;
}
.navbar-brand img:hover {
    transform: scale(1.1);
}
.navbar-toggler-icon {
    background-image: url("https://cdn.jsdelivr.net/npm/remixicon@3.5.0/icons/menu-line.svg");
}
.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}
.navbar-nav .nav-item .nav-link .ri-lg {
    font-size: 1.5rem;
}

html,
body {
  scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #cacaca;
  }

.navbar-collapse {
justify-content: center;
}

/* Jumbotron styles */
.jumbotron {
    background-color: #f8f9fa;
    margin-bottom: 0;
    padding: 10rem 1rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('bg/bgimg.png') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
}
.jumbotron h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Product section styles */
.product-section {
    padding: 3rem 0;
}
.product-card .card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.product-card .card img {
    height: 250px;
    object-fit: cover;
}
.product-card .badge-primary {
    background-color: #007bff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.product-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
}
.product-card .btn-link {
    color: #007bff;
}

/* Back to top button styles */
.back-to-top {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed position */
    bottom: 40px; /* Place the button at the bottom */
    right: 40px; /* Place the button 40px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #555; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}
.back-to-top:hover {
    background-color: #333; /* Add a dark-grey background on hover */
}

/* Footer styles */
.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    
}
.footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
.footer a:hover {
    text-decoration: underline;
}

/* Media Queries for better responsiveness */
@media (max-width: 768px) {
    .navbar-brand img {
        max-width: 70px;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 0.9rem;
    }
    .jumbotron h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 576px) {
    .navbar-brand img {
        max-width: 50px;
    }
    .navbar-nav .nav-item .nav-link {
        font-size: 0.8rem;
    }
    .jumbotron h1 {
        font-size: 2rem;
    }
    .product-card .card img {
        height: 200px;
    }
}