:root {
    /* Modern Light Green Theme - Fresh & Eco-friendly */
    --color-bg-primary: #f7fff9;
    --color-bg-secondary: #e8f5e9;
    --color-bg-card: #ffffff;
    --color-bg-accent: #f0fff4;

    --color-text-primary: #1b4332;
    --color-text-secondary: #2d6a4f;
    --color-text-muted: #74a48e;

    --color-accent: #2ecc71;
    --color-accent-hover: #27ae60;
    --color-accent-light: #d4edda;

    --color-success: #10b981;
    --color-success-light: #d1fae5;

    --color-border: #daede2;
    --color-border-light: #f1f8f5;

    --font-primary: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px rgba(46, 204, 113, 0.05);
    --shadow-md: 0 4px 12px rgba(46, 204, 113, 0.08);
    --shadow-lg: 0 10px 25px rgba(27, 67, 50, 0.1);
    --shadow-xl: 0 20px 40px rgba(27, 67, 50, 0.12);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Green Brand Colors */
    --brand-primary: #2ecc71;
    --brand-secondary: #27ae60;
    --brand-dark: #1b4332;
    --brand-light: #ebfaf0;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.block {
    display: block;
}

/* Responsive Typography */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Reduce hero padding on mobile */
    .hero {
        padding: 4rem 0 !important;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero img {
        max-width: 100%;
        height: auto;
    }
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.05);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    z-index: 1001;
    /* Ensure logo is above mobile menu */
}

.logo:hover {
    transform: scale(1.02);
}

.logo span {
    color: var(--color-accent);
    position: relative;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--brand-dark);
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.nav-links {
    margin-left: auto;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--brand-dark);
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
}

.nav-links a.active {
    color: var(--color-accent);
    background-color: var(--brand-light);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.15);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), #27ae60);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.badge {
    background-color: var(--brand-dark);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile Navigation Styles */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 6rem 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.5rem;
    }

    .nav-links ul li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }

    /* Hamburger Animation */
    .nav-toggle.active span:first-child {
        transform: rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Grid System */
.grid {
    display: grid;
}


.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {

    .grid-cols-2,
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {

    .grid-cols-3,
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .grid-cols-4,
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .grid-cols-5,
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

/* Flex Utilities */
.flex-wrap {
    flex-wrap: wrap;
}

.items-start {
    align-items: flex-start;
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row !important;
    }

    .md\:items-center {
        align-items: center !important;
    }
}

/* Responsive Product Grid */
.product-grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
}

@media (min-width: 500px) {
    .product-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .product-grid-row {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1400px) {
    .product-grid-row {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}



.main-content {
    min-width: 0;
    width: 100%;
}

/* Components - Modern Light Theme */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.25);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.35);
}

.btn-outline {
    border: 2px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: white;
}

/* Cards */
.card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card:hover .action-icon-box {
    transform: scale(1.1);
    filter: brightness(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2ecc71 0%, #1b4332 100%);
    padding: 8rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Shop Layout with Sidebar */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr !important;
    /* Horizontal side-by-side */
    gap: 2rem;
    align-items: start;
}

@media (max-width: 991px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
        /* Stack only on mobile */
    }
}


.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}


.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Increased gap for better spacing */
}

.category-link {
    display: block;
    width: 100%;
    /* Ensure full width */
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    /* Explicitly remove underline */
}

.category-link:hover {
    color: var(--color-accent);
    background-color: rgba(0, 255, 136, 0.05);
}

.category-link.active {
    color: var(--color-accent);
    background-color: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.2);
    font-weight: 600;
}



/* Service Buttons - Modern Style */
.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-primary);
}

.service-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background-color: var(--color-bg-accent);
}

.service-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}



/* Section Formatting */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Product Cards - Modern Light Theme */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-card-body {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-image-container {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--color-border);
}

.product-image-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
    color: var(--color-text-primary);
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-title a:hover {
    color: var(--color-accent);
}

.product-price-block {
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.product-price-large {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.product-price-mrp {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.product-rating {
    font-size: 0.9rem;
    color: #fbbf24;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-footer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}



/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

/* Footer */
footer {
    background-color: var(--color-bg-secondary);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

.footer-col h4 {
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    footer .grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 480px) {
    footer .grid {
        grid-template-columns: 1fr !important;
    }
}


@media (min-width: 1024px) {
    .product-grid-row {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Grid Spanning Utilities */
.col-span-2 {
    grid-column: span 2;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-full {
    grid-column: 1 / -1;
}

/* Sizing Utilities */
.h-fit {
    height: fit-content;
}

/* Text Utilities */
.text-right {
    text-align: right;
}

/* Utilities */
.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.text-accent {
    color: var(--color-accent);
}

@media (max-width: 600px) {

    /* Reduce overall section padding */
    .section {
        padding: 2rem 0;
    }

    /* Smaller hero title on very small screens */
    .hero h1 {
        font-size: 2rem !important;
    }

    .hero p {
        font-size: 0.9rem;
    }

    /* Adjust grid gaps */
    .grid {
        gap: 1rem;
    }

    .grid-cols-2,
    .md\:grid-cols-2,
    .lg\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .grid-cols-3,
    .lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    .product-grid-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }

    .service-btn {
        padding: 1.5rem 1rem;
    }
}

/* Utility Classes */
.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-slate-50 {
    background-color: #f8fafc;
}

.p-4 {
    padding: 1rem;
}

.rounded {
    border-radius: 0.25rem;
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-slate-200 {
    border-color: #e2e8f0;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-500 {
    color: #6b7280;
}

@media (min-width: 768px) {
    .md\:text-left {
        text-align: left !important;
    }

    .md\:text-right {
        text-align: right !important;
    }
}

/* Additional Utility Classes */
.hidden {
    display: none;
}

.flex-col {
    flex-direction: column;
}

.md\:w-20 {
    width: 5rem;
}

.md\:h-20 {
    height: 5rem;
}

@media (min-width: 768px) {
    .md\:grid {
        display: grid;
    }

    .md\:grid-cols-\[1fr_150px_150px\] {
        grid-template-columns: 1fr 150px 150px;
    }

    .md\:gap-8 {
        gap: 2rem;
    }

    .md\:p-8 {
        padding: 2rem;
    }

    .md\:p-16 {
        padding: 4rem;
    }

    .md\:w-auto {
        width: auto;
    }
}

/* Ensure padding utility works */
.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--color-border);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.modal-close:hover {
    background: #e5e7eb;
    color: var(--color-text-primary);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.modal-body {
    margin-bottom: 1.5rem;
}