/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.my-float {
    margin-top: 16px;
}

/* Enhanced Card Hover */
.card {
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card-hover:hover .card-img-top {
    transform: scale(1.05);
}

.card-img-top {
    transition: transform 0.5s ease;
}

/* Modern Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Footer Social Icons */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Enhanced Category Card - Premium Look */
.category-card {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 1.5rem !important;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    text-align: center;
    color: var(--text-main) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.25) !important;
    /* Green shadow */
    color: #ffffff !important;
    border-color: transparent;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    background: rgba(76, 175, 80, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.category-card:hover i {
    color: var(--primary-color);
    background: #ffffff;
    transform: rotateY(180deg);
}

.category-card h6 {
    font-size: 1.1rem;
    font-weight: 700 !important;
    margin: 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.category-card:hover h6 {
    color: #ffffff !important;
}

/* Hero section styles moved to style.css */

.hero-section .carousel-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    padding: 3rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    bottom: 10%;
    left: 5%;
    right: 5%;
    text-align: left;
}

.hero-section .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    color: #ffffff;
    animation: slideInLeft 0.8s ease;
}

.hero-section .carousel-caption p {
    font-size: 1.5rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: var(--primary-color);
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Carousel Controls Enhancement */
.carousel-control-prev,
.carousel-control-next {
    width: 80px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(214, 140, 9, 0.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(214, 140, 9, 0.9);
    border-radius: 50%;
    padding: 10px;
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(214, 140, 9, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    width: 40px;
    border-radius: 10px;
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 400px;
    }

    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }

    .hero-section .carousel-caption p {
        font-size: 1rem;
    }

    .hero-section .carousel-caption {
        padding: 2rem 1rem;
        bottom: 5%;
    }
}

/* Premium Section Title (Homepage) */
.section-title-premium {
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title-premium::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

/* Sidebar Header (Products Page) */
.sidebar-header-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: none !important;
    position: relative;
}

.sidebar-header-premium h5 {
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-header-premium h5::before {
    content: '\f0ca';
    /* FontAwesome bars icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    opacity: 0.8;
}