:root {
  /* Colors */
  /* --primary-color: #2c5f7a;
    --secondary-color: #d4a853; */

  --primary-color: #6a1b9a; /* Change main color */
  --secondary-color: #e91e63; /* Change accent color */
  /* --font-family: 'Inter', sans-serif;  Change font */

  --accent-color: #ff5722;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #e9ecef;

  /* Typography */
  --font-family: "Bitter", sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Borders */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  /* Company Variables (Easy to customize) */
  --company-name: "JAINAM FERRO ALLOYS";
  --company-tagline: "Stainless Steel/Steel Cold Drawn Pipes and tubes Processor";
  --company-slogan: "An ISO 9001:2015 Certified Company";
}

/* ===== GLOBAL STYLES ===== */

        body {
            /* font-family: 'Arial', sans-serif; */
            /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
            background: var(--primary-color);
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            padding: 20px 0;
            background-color: #ffffff;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: bold;
            color: black;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: fadeInDown 1s ease-out;
        }

        .section-subtitle {
            text-align: center;
            color: rgba(0, 0, 0, 0.9);
            font-size: 1.2rem;
            margin-bottom: 50px;
            animation: fadeInUp 1s ease-out 0.3s both;
        }

        /* Search and Filter Controls */
        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
            animation: fadeIn 1s ease-out 0.6s both;
        }

        .search-box {
            position: relative;
            flex: 1;
            min-width: 300px;
        }

        .search-box input {
            width: 100%;
            padding: 15px 50px 15px 20px;
            border: none;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
            box-shadow: 0 0px 30px rgba(0,0,0,0.7);
        }

        .search-box input:focus {
            background: rgb(255, 255, 255);
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transform: translateY(-2px);
        }

        .search-box i {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #000000;
        }

        .filter-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 25px;
            background: rgba(27, 27, 27, 0.2);
            color: rgb(0, 0, 0);
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            font-weight: 500;
        }

        .filter-btn:hover, .filter-btn.active {
            background: rgba(0, 0, 0, 0.9);
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
        }

        /* Grid Layout */
        .prodcutRow {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .gallery-item {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(50px);
            animation: slideInUp 0.6s ease-out forwards;
            cursor: pointer;
             box-shadow: 0 0px 30px rgba(0,0,0,0.7);
        }

        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.2s; }
        .gallery-item:nth-child(3) { animation-delay: 0.3s; }
        .gallery-item:nth-child(4) { animation-delay: 0.4s; }
        .gallery-item:nth-child(5) { animation-delay: 0.5s; }
        .gallery-item:nth-child(6) { animation-delay: 0.6s; }

        .gallery-item:hover {
            transform: translateY(-20px) rotateY(5deg);
            box-shadow: 0 30px 60px rgba(0,0,0,0.3);
        }

        .gallery-item.hidden {
            opacity: 0;
            transform: scale(0.8) translateY(50px);
            pointer-events: none;
        }

        .gallery-item.show {
            opacity: 1;
            transform: scale(1) translateY(0);
        }

        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: all 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: rgb(0, 0, 0);
            padding: 30px 20px 20px;
            font-weight: bold;
            font-size: 1.1rem;
            text-align: center;
            transform: translateY(100%);
            transition: all 0.4s ease;
        }

        .gallery-item:hover .gallery-overlay {
            transform: translateY(0);
        }

        .product-info {
            padding: 20px;
            text-align: center;
            color: rgb(0, 0, 0);
        }

        .product-title {
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .product-category {
            color: rgba(0, 0, 0, 0.7);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .view-details-btn {
            background: linear-gradient(45deg, #ff6b6b, #ee5a52);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            opacity: 0;
            transform: translateY(20px);
        }

        .gallery-item:hover .view-details-btn {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.2s;
        }

        .view-details-btn:hover {
            background: linear-gradient(45deg, #ee5a52, #ff6b6b);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(238, 90, 82, 0.4);
        }

        /* Loading Animation */
        .loading {
            text-align: center;
            color: white;
            font-size: 1.2rem;
            margin: 50px 0;
        }

        .loading i {
            animation: spin 1s linear infinite;
            margin-right: 10px;
        }

        /* Statistics */
        .stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin-top: 50px;
            flex-wrap: wrap;
        }

        .stat-item {
            text-align: center;
            color: white;
            animation: fadeInUp 1s ease-out 1s both;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            display: block;
            color: #ffd700;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.8;
            margin-top: 5px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
            
            .controls {
                flex-direction: column;
                align-items: stretch;
            }
            
            .search-box {
                min-width: unset;
            }
            
            .filter-buttons {
                justify-content: center;
            }
            
            .row {
                grid-template-columns: 1fr;
            }
            
            .stats {
                gap: 20px;
            }
            
            .stat-number {
                font-size: 2rem;
            }
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .no-results {
            text-align: center;
            color: white;
            font-size: 1.5rem;
            margin: 50px 0;
            opacity: 0;
            animation: fadeIn 0.5s ease-out 0.3s forwards;
        }

        .no-results i {
            font-size: 3rem;
            margin-bottom: 20px;
            display: block;
            opacity: 0.5;
        }



















        