/* CSS Variables */
:root {
    /* Light mode colors */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(221.2, 83.2%, 53.3%);
    --primary-foreground: hsl(210, 40%, 98%);
    --secondary: hsl(210, 40%, 96%);
    --secondary-foreground: hsl(222.2, 47.4%, 11.2%);
    --muted: hsl(210, 40%, 96%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --accent: hsl(210, 40%, 96%);
    --accent-foreground: hsl(222.2, 47.4%, 11.2%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --input: hsl(214.3, 31.8%, 91.4%);
    --ring: hsl(221.2, 83.2%, 53.3%);
    --radius: 0.5rem;
    
    /* Font families */
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-display: 'Poppins', sans-serif;
}

[data-theme="dark"] {
    /* Dark mode colors */
    --background: hsl(222.2, 84%, 4.9%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(222.2, 47.4%, 11.2%);
    --card-foreground: hsl(210, 40%, 98%);
    --popover: hsl(222.2, 47.4%, 11.2%);
    --popover-foreground: hsl(210, 40%, 98%);
    --primary: hsl(217.2, 91.2%, 59.8%);
    --primary-foreground: hsl(222.2, 84%, 4.9%);
    --secondary: hsl(217.2, 32.6%, 17.5%);
    --secondary-foreground: hsl(210, 40%, 98%);
    --muted: hsl(217.2, 32.6%, 17.5%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --accent: hsl(217.2, 32.6%, 17.5%);
    --accent-foreground: hsl(210, 40%, 98%);
    --destructive: hsl(0, 62.8%, 30.6%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(217.2, 32.6%, 17.5%);
    --input: hsl(217.2, 32.6%, 17.5%);
    --ring: hsl(224.3, 76.3%, 94.1%);
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: var(--background);
    color: var(--foreground);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
.text-primary {
    color: var(--primary);
}

/* Navigation */
.navbar {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar {
    background-color: rgba(36, 44, 63, 0.95);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-content {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-content a {
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--foreground);
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.mobile-menu-content a:hover {
    background-color: var(--accent);
}

/* Theme toggle */
.theme-toggle {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--foreground);
}

.theme-toggle:hover {
    background: var(--accent);
}

/* Hamburger menu */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--foreground);
    margin: 2px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--accent);
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    background: #f8f9fa;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

/* Hero section */
.hero {
    padding: 5rem 0 8rem;
    background-color: var(--background);
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

/* Categories */
.categories {
    padding: 5rem 0;
    background-color: rgba(var(--muted), 0.5);
}

[data-theme="dark"] .categories {
    background-color: rgba(55, 65, 81, 0.3);
}

.categories-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.category-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.category-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.category-content .btn {
    width: 100%;
    justify-content: center;
}

/* Featured Products */
.featured-products {
    padding: 5rem 0;
    background-color: var(--background);
}

.products-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card img {
    width: 100%;
    height: 10rem;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-features {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-content .btn {
    width: 100%;
    justify-content: center;
}

/* Services */
.services {
    padding: 5rem 0;
    background-color: rgba(var(--muted), 0.5);
}

[data-theme="dark"] .services {
    background-color: rgba(55, 65, 81, 0.3);
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(var(--primary), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    color: var(--primary);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-card p {
    color: var(--muted-foreground);
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 0;
    background-color: var(--background);
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(var(--primary), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.875rem;
}

.feature-icon:nth-child(1) i {
    color: var(--primary);
}

.feature-icon:nth-child(2) i {
    color: #059669;
}

.feature-icon:nth-child(3) i {
    color: #7c3aed;
}

.feature-icon:nth-child(4) i {
    color: #ea580c;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: rgba(var(--muted), 0.5);
}

[data-theme="dark"] .testimonials {
    background-color: rgba(55, 65, 81, 0.3);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.testimonial-rating {
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-rating i {
    color: #fbbf24;
}

.testimonial-text {
    color: var(--muted-foreground);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-weight: 600;
    color: var(--foreground);
}

.testimonial-author p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(262.1, 83.3%, 57.8%) 100%);
    text-align: center;
}

.cta-content {
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.5rem;
}

.footer-section p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--muted-foreground);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--primary);
    width: 1rem;
}

.contact-item span {
    color: var(--muted-foreground);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-actions {
        display: flex;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation classes for AOS */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Utility classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product page specific styles */
.page-header {
    padding: 2rem 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.page-subtitle {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.back-button {
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    padding: 2rem 0;
}

.product-item {
    background: var(--card);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-item img {
    width: 100%;
    height: 22rem;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1rem;
}

.product-features li:before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
    width: 100%;
    justify-content: center;
    border: none;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-1px);
}

/*  */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px; /* image aur text ke beech thoda space */
}

.nav-logo img.logo-img {
  height: 40px;   /* apne requirement ke hisaab se adjust karo */
  width: auto;
  border-radius: 4px; /* agar thoda rounded chahiye */
}


.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px; /* logo aur text ke beech space */
}

.footer-logo img.logo-img {
  height: 40px;  /* navbar jaisa size rakhna ho to yahan set kar lo */
  width: auto;
}

.footer-contact a {
    text-decoration: none;
    color: inherit; /* Optional: ye link ka color parent ke color ke saath match karega */
}

/* hover chnages fr home page whatsapp button*/
a[data-testid="button-whatsapp"]:hover {
  background-color: white;
  color: hsl(221.2, 83.2%, 53.3%);
  border: 2px solid hsl(221.2, 83.2%, 53.3%);
  font-weight: 800;
}