:root {
    --primary: #8B4513;
    --secondary: #228B22;
    --accent: #FFA500;
    --light: #F5F5DC;
    --dark: #2F4F4F;
    --white: #FFFFFF;
    --gray: #808080;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Header Styles */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 14px;
}

.contact-info span {
    display: inline-block;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

.navbar-brand .logo {
    height: 40px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark);
    margin: 0 10px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.search-box {
    position: relative;
    width: 250px;
}

.search-box .form-control {
    padding-right: 40px;
    border-radius: 20px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
}



/* Enhanced Mega Menu Styles */
.mega-menu-full .dropdown-menu {
    width: 1100px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
    padding: 0;
    margin-top: 0;
    border-top: 3px solid var(--primary);
    margin-left:30px;
}

.mega-menu {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color:white;
}

.mega-menu-category {
    padding: 1rem;
}

.category-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
}

.category-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mega-menu .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    border: 1px solid transparent;
}

.mega-menu .dropdown-item:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: whitesmoke;
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(238, 155, 96, 0.749);
    
}

.mega-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

.mega-menu-banner {
    margin-top: 1rem;
    padding: 0 1rem 1rem;
}

.mega-menu-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    border-radius: 10px !important;
}

.mega-menu-featured h6 {
    font-weight: 700;
    font-size: 1rem;
}

.mega-menu-featured p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.mega-menu-featured .btn {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
}

/* Hover effects for mega menu */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    color:whitesmoke;
}

/* Animation for mega menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.mega-menu-full .dropdown-menu {
    animation: slideDown 0.3s ease;
}

/* Responsive Mega Menu */
@media (max-width: 1199.98px) {
    .mega-menu-full .dropdown-menu {
        width: 100vw;
    }
}

@media (max-width: 991.98px) {
    .mega-menu-full .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        animation: none;
    }
    
    .mega-menu .container-fluid {
        padding: 0;
    }
    
    .mega-menu-category {
        padding: 1rem 0.5rem;
    }
    
    .category-title {
        font-size: 1rem;
    }
    
    .mega-menu .dropdown-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .mega-menu .row.g-4 {
        margin: 0 -0.5rem;
        margin-left:0px;
    }
    
    .mega-menu .col-lg-3 {
        padding: 0 0.5rem;
    }
    
    .mega-menu-category {
        margin-bottom: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

/* Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: white;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .mega-menu-full .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .mega-menu-category {
        background: rgba(139, 69, 19, 0.05);
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .category-title {
        border-bottom: 1px solid var(--primary);
    }

    .mega-menu .dropdown-item {
        border: none;
        margin-bottom: 0.25rem;
    }

    .mega-menu .dropdown-item:hover {
        transform: none;
        box-shadow: none;
        color:white;
    }

    .mega-menu-banner {
        padding: 0;
    }
}

/* Enhanced dropdown toggle arrow */
.navbar-nav .nav-item.dropdown .dropdown-toggle::after {
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}




/* Search Form Styles */
.search-form {
    position: relative;
}

.search-box {
    position: relative;
    width: 250px;
}

.search-box .form-control {
    padding-right: 40px;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
    width: 300px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--primary);
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--gray);
}

.search-result-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.no-results {
    padding: 15px;
    text-align: center;
    color: var(--gray);
    font-style: italic;
}

/* Mobile Navbar Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .navbar-nav {
        margin: 2rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover {
        background: var(--primary);
        color: white;
    }

    .search-form {
        margin: 1rem 0;
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    .search-box .form-control:focus {
        width: 100%;
    }

    .search-results {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        margin: 5px 0;
    }

    /* Close button for mobile menu */
    .navbar-collapse::before {
        content: '×';
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        color: var(--dark);
        cursor: pointer;
        z-index: 1051;
    }

    /* Overlay for mobile menu */
    .navbar-collapse::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(173, 162, 162, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .navbar-collapse.show::after {
        opacity: 1;
    }
}

/* Mobile Top Bar Adjustments */
@media (max-width: 767.98px) {
    .top-bar {
        padding: 0.5rem 0;
        justify-content: center;
    }

    .contact-info span {
        display: block;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }

    .contact-info span.ms-3 {
        margin-left: 0 !important;
    }

    .social-links {
        text-align: center;
        margin-top: 0.5rem;
    }

    .social-links a {
        margin: 0 5px;
    }
}

/* Cart Button Mobile */
@media (max-width: 991.98px) {
    .cart-3d {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Logo Responsive */
@media (max-width: 576px) {
    .img {
        height:70px;
        width: 100px;
    }
}







/* Mega Menu Styles */
.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 15px;
    padding: 1rem 0;
}

.mega-menu {
    width: 100%;
    max-width: 1100px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-white:white;
}

.mega-menu .dropdown-header {
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.mega-menu .dropdown-item {
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-weight: 400;
}

.mega-menu .dropdown-item:hover {
    background-color: rgba(139, 69, 19, 0.1);
    color: white;
    padding-left: 1.5rem;
    text-white:white;
}

/* Documents Section Styles */
.documents-section {
    background: linear-gradient(135deg, var(--light) 0%, #e6e6c9 100%);
}

.document-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
}

.document-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.document-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.document-card:hover .document-icon {
    background: var(--secondary);
    transform: scale(1.1);
}

.document-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.document-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.download-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.download-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Documents Hero Section */
.documents-hero {
    padding-top: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.documents-hero .breadcrumb {
    justify-content: center;
}

.documents-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.documents-hero .breadcrumb-item.active {
    color: white;
}

/* Document Categories */
.document-categories {
    background: var(--white);
}

.category-filter {
    margin-bottom: 2rem;
}

.category-filter .btn {
    margin: 0.25rem;
    border-radius: 20px;
}

.category-filter .btn.active {
    background: var(--primary);
    color: white;
}

/* Responsive Mega Menu */
@media (max-width: 991.98px) {
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .mega-menu .container {
        max-width: 100%;
    }
    
    .mega-menu .row {
        margin: 0;
    }
    
    .mega-menu .col-lg-3 {
        margin-bottom: 1rem;
    }
}

/* Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .dropdown-menu {
        border: none !important;
        box-shadow: none !important;
        background: rgba(139, 69, 19, 0.05);
    }

    .mega-menu {
        padding: 0 !important;
    }

    .mega-menu .container {
        padding: 0;
    }

    .mega-menu .row {
        margin: 0 -0.5rem;
    }

    .mega-menu .col-lg-3 {
        padding: 0 0.5rem;
    }
}













/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light) 0%, #e6e6c9 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
}

.product-carousel-3d {
    height: 400px;
    position: relative;
    perspective: 1000px;
}

/* Categories Section */
.categories-section {
    background-color: var(--white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--gray);
}

/* Featured Products */
.featured-products {
    background-color: var(--light);
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

/* Company Info */
.company-info {
    background-color: var(--white);
}

.company-details p {
    margin-bottom: 0.5rem;
}

.company-image img {
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--dark);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent);
}

.footer .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    margin-right: 10px;
}

.footer .social-links a:hover {
    background: var(--primary);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .contact-info span.ms-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}


/* Products Page Styles */
.products-hero, .about-hero, .contact-hero, .terms-hero, .privacy-hero {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--light) 0%, #e6e6c9 100%);
}

.products-filter {
    border-bottom: 1px solid #e9ecef;
}

/* About Page Styles */
.feature-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

.team-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.team-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Contact Page Styles */
.contact-form-card, .contact-info-card {
    background: var(--white);
}

.contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    overflow: hidden;
    border-radius: 15px;
}

/* Terms & Privacy Pages */
.terms-sidebar, .privacy-sidebar {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.terms-sidebar .nav-link, .privacy-sidebar .nav-link {
    color: var(--dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

.terms-sidebar .nav-link:hover, .privacy-sidebar .nav-link:hover,
.terms-sidebar .nav-link.active, .privacy-sidebar .nav-link.active {
    color: var(--primary);
}

.terms-section, .privacy-section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.terms-section:last-child, .privacy-section:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .terms-sidebar, .privacy-sidebar {
        position: static !important;
        margin-bottom: 2rem;
    }
}

/* Breadcrumb customization */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--gray);
}





/* 3D Effects and New Sections */

/* 3D Logo */
.logo-3d {
    perspective: 500px;
}

.logo-text-3d {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotateX(10deg);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 3D Hero Background */
.hero-bg-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 69, 19, 0.1) 0%, 
        rgba(34, 139, 34, 0.1) 50%, 
        rgba(255, 165, 0, 0.1) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    z-index: -1;
}

/* 3D Text Effect */
.text-3d {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* 3D Buttons */
.btn-3d {
    transform: perspective(500px) rotateX(10deg);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-3d:hover {
    transform: perspective(500px) rotateX(0deg) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.btn-3d-outline {
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    transform: perspective(500px) rotateX(10deg);
    transition: all 0.3s ease;
}

.btn-3d-outline:hover {
    transform: perspective(500px) rotateX(0deg) translateY(-3px);
    background: var(--primary);
    color: white;
}

/* 3D Cart */
.cart-3d {
    position: relative;
    transform: perspective(500px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.cart-3d:hover {
    transform: perspective(500px) rotateY(0deg);
}

.cart-count {
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Hero Stats */
.hero-stats {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Special Offers Banner */
.special-offers {
    background: linear-gradient(135deg, var(--accent), #ff6b35);
    color: white;
}

.offer-banner {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-text {
    margin: 0;
    font-size: 1.1rem;
}

/* Category Overlay */
.category-card {
    position: relative;
    overflow: hidden;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay span {
    transform: translateY(0);
}

/* Seasonal Banner */
.seasonal-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.banner-3d {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.banner-offer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-badge {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
}

.offer-text {
    font-size: 1rem;
    opacity: 0.9;
}

/* Floating Products */
.banner-image {
    position: relative;
    height: 300px;
}

.floating-product {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
}

.floating-product img {
    border-radius: 10px;
}

.product-1 {
    top: 20px;
    left: 50px;
    transform: rotate(-5deg);
    animation: float1 3s ease-in-out infinite;
}

.product-2 {
    top: 100px;
    right: 80px;
    transform: rotate(5deg);
    animation: float2 3s ease-in-out infinite;
}

.product-3 {
    bottom: 30px;
    left: 100px;
    transform: rotate(-3deg);
    animation: float3 3s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

/* Testimonials */
.testimonials {
    background: var(--light);
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
    transform: perspective(500px) rotateY(5deg);
}

.testimonial-card:hover {
    transform: perspective(500px) rotateY(0deg) translateY(-5px);
}

.rating {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    font-weight: 600;
}

.author-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Coupon Section */
.coupon-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.coupon-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coupon-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

.coupon-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: perspective(500px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.coupon-card:hover {
    transform: perspective(500px) rotateY(0deg);
}

.coupon-header {
    background: var(--dark);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.coupon-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 3px;
}

.coupon-header span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.coupon-body {
    padding: 2rem;
    text-align: center;
}

.coupon-body p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.coupon-timer {
    margin: 1.5rem 0;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-box {
    background: var(--light);
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 60px;
}

.time-box span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.time-box small {
    font-size: 0.8rem;
    color: var(--gray);
}

.coupon-footer {
    padding: 1.5rem;
    background: var(--light);
    text-align: center;
}

/* Quality Section */
.quality-card {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.quality-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
}

.quality-card p {
    color: var(--gray);
    margin: 0;
}

/* Newsletter Section Enhanced */
.newsletter {
    background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 50%;
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(34, 139, 34, 0.1);
    border-radius: 50%;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.newsletter-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.benefit-item i {
    color: var(--accent);
    width: 20px;
}

.newsletter-form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    height: 50px;
    border: none;
    border-radius: 10px 0 0 10px;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form .form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

.newsletter-form .btn {
    border-radius: 0 10px 10px 0;
    padding: 0 2rem;
    font-weight: 600;
    background: var(--primary);
    border: none;
    transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
    background: #7a3c10;
    transform: translateY(-2px);
}

.form-text {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1rem;
    margin-bottom: 0;
}

.form-check-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.subscription-stats {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        padding: 1.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .newsletter-form .btn {
        border-radius: 10px;
        width: 100%;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .coupon-title {
        font-size: 2rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .floating-product {
        transform: scale(0.8);
    }
    
    #countdown {
        gap: 0.5rem;
    }
    
    .time-box {
        min-width: 50px;
    }
}


/* Form Validation Styles */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6.4.4.4-.4'/%3e%3cpath d='M6 7v2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Response Time Box */
.response-time {
    border-left: 4px solid var(--accent);
}






/* Normal Carousel Styles - No 3D Perspective */
.normal-carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 400px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-card-carousel {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.product-card-carousel:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-card-carousel .product-image {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-card-carousel .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-carousel:hover .product-image img {
    transform: scale(1.05);
}

.product-card-carousel .product-info {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-carousel .product-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-card-carousel .product-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .normal-carousel {
        max-width: 100%;
    }
    
    .carousel-track {
        height: 350px;
    }
    
    .product-card-carousel {
        max-width: 280px;
        height: 320px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
}



/* Categories Section with Images */
.category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-content {
    padding: 2rem 1.5rem 1.5rem;
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.category-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.category-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.stat-item {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    background: rgba(139, 69, 19, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Category Overlay */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(34, 139, 34, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-overlay span {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    padding: 0 2rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay span {
    transform: translateY(0);
}

/* Alternative: Circular Images Version */
.category-card.circle-style {
    padding: 2rem 1.5rem;
}

.category-card.circle-style .category-image {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);
    padding: 4px;
    background: white;
}

.category-card.circle-style .category-img {
    border-radius: 50%;
}

.category-card.circle-style .category-badge {
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-image {
        height: 160px;
    }
    
    .category-content {
        padding: 1.5rem 1rem 1rem;
    }
    
    .category-content h3 {
        font-size: 1.3rem;
    }
    
    .category-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
}





/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-info span {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Mobile Top Bar */
.mobile-top-bar {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
}

.contact-item a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-social-links a {
    color: white;
    text-decoration: none;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.mobile-social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Tablet Styles (768px - 991px) */
@media (max-width: 991.98px) {
    .top-bar {
        font-size: 0.85rem;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .contact-info span.ms-3 {
        margin-left: 0 !important;
    }
}

/* Mobile Styles (below 768px) */
@media (max-width: 767.98px) {
    .mobile-contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-item {
        margin-bottom: 5px;
    }
    
    .mobile-social-links {
        gap: 15px;
    }
}

/* Extra Small Mobile (below 576px) */
@media (max-width: 575.98px) {
    .mobile-top-bar {
        padding: 8px 0;
    }
    
    .mobile-contact-info {
        font-size: 0.75rem;
    }
    
    .contact-item a {
        padding: 2px 5px;
    }
    
    .mobile-social-links a {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
}

/* Animation for better UX */
@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.top-bar, .mobile-top-bar {
    animation: slideInDown 0.5s ease-out;
}