/* Grownext Biochem Custom Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.owl-nav,.owl-dots{
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
}


/* Hero Carousel Background Image Styles */
.hero-carousel .owl-item {
    margin: 0;
    padding: 0;
}

.hero-carousel .owl-stage-outer {
    margin: 0;
    padding: 0;
}

/* Ensure slides have no default margin */
.hero-carousel .relative {
    margin: 0 !important;
}

/* Background image slides */
.hero-carousel .bg-cover {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Overlay styling */
.hero-carousel .absolute.inset-0 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Text centering */
.hero-carousel .flex.items-center.justify-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container within hero */
.hero-carousel .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Text alignment */
.hero-carousel .text-center {
    text-align: center;
}

/* Max width for text content */
.hero-carousel .max-w-4xl {
    max-width: 56rem;
}

.hero-carousel .max-w-2xl {
    max-width: 42rem;
}

/* Margin auto for centering */
.hero-carousel .mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Owl Carousel Dots - Centered at bottom */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 20;
}

.hero-carousel .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    margin: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-carousel .owl-dots .owl-dot.active span {
    background: #52B788;
    width: 30px;
    border-radius: 10px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-carousel .min-h-screen {
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .hero-carousel .text-3xl {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-carousel .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-carousel .min-h-screen {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .hero-carousel .text-5xl {
        font-size: 3rem;
    }
}
/* Header Styles */
#header {
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* Filter Button Styles */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #2D6A4F;
    color: white;
}

/* Smooth Transitions */
.transition {
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #2D6A4F;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1B4332;
}

/* Animation for Why Us Cards */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.bg-cream .rounded-2xl:hover {
    animation: float 3s ease-in-out infinite;
}

/* Form Focus Styles */
input:focus, textarea:focus, select:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

/* Category Header Styles */
.category-header {
    scroll-margin-top: 100px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-carousel .owl-nav {
        display: none;
    }
    
    .hero-carousel .owl-dots {
        bottom: 20px;
    }
}