 /* Global Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        :root {
            --primary: #4e54c8;
            --secondary: #8f94fb;
            --accent: #ff6b6b;
            --light: #f8f9fa;
            --dark: #343a40;
            --success: #28a745;
            --warning: #ffc107;
            --info: #17a2b8;
        }

        body {
            background-color: #f5f7ff;
            color: #333;
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* Header Styles */
        header {
            background: linear-gradient(270deg, #4e54c8, #8f94fb, #38d39f, #ffc107, #17a2b8, #6f42c1, #ff6b6b);
            background-size: 200% 200%;
            animation: GradientAnimation 25s ease infinite;
            padding: 15px 10px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        @keyframes GradientAnimation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo h1 {
            color: white;
            font-size: 1.8rem;
            font-weight: 700;
            overflow: hidden;
            position: relative;
        }

        .logo h1 span {
            display: inline-block;
            opacity: 0;
            animation: textReveal 0.8s forwards;
        }

        .logo h1 span:nth-child(1) { animation-delay: 0.1s; }
        .logo h1 span:nth-child(2) { animation-delay: 0.2s; }
        .logo h1 span:nth-child(3) { animation-delay: 0.3s; }
        .logo h1 span:nth-child(4) { animation-delay: 0.4s; }
        .logo h1 span:nth-child(5) { animation-delay: 0.5s; }
        .logo h1 span:nth-child(6) { animation-delay: 0.6s; }
        .logo h1 span:nth-child(7) { animation-delay: 0.7s; }
        .logo h1 span:nth-child(8) { animation-delay: 0.8s; }
        .logo h1 span:nth-child(9) { animation-delay: 0.9s; }
        .logo h1 span:nth-child(10) { animation-delay: 1.0s; }
        .logo h1 span:nth-child(11) { animation-delay: 1.1s; }
        .logo h1 span:nth-child(12) { animation-delay: 1.2s; }
        .logo h1 span:nth-child(13) { animation-delay: 1.3s; }
        .logo h1 span:nth-child(14) { animation-delay: 1.4s; }
        .logo h1 span:nth-child(15) { animation-delay: 1.5s; }
        .logo h1 span:nth-child(16) { animation-delay: 1.6s; }
        .logo h1 span:nth-child(17) { animation-delay: 1.7s; }
        .logo h1 span:nth-child(18) { animation-delay: 1.8s; }

        @keyframes textReveal {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .nav-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .nav-menu {
            display: flex;
            list-style: none;
        }

        .nav-menu li {
            margin-left: 12px;
        }

        .nav-menu a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            padding: 0px 12px;
        }

        .nav-menu a:hover {
            color: #ffd700;
            transform: translateY(-2px);
        }

        .nav-menu i {
            margin-right: 5px;
            font-size: 1.1rem;
        }

        .search-bar {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            padding: 5px 15px;
            margin-left: 0px;
        }

        .search-bar input {
            background: transparent;
            border: none;
            color: white;
            padding: 8px;
            width: 180px;
            outline: none;
        }

        .search-bar input::placeholder {
            color: white;
        }

        .search-bar button {
            background: transparent;
            border: none;
            color: white;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            text-align: center;
            padding: 30px 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 0 0 20px 20px;
            margin-bottom: -15px;
        }

        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }

        .cta-button {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        /* Categories Section */
        .categories {
            padding: 30px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 2rem;
            color: var(--dark);
            position: relative;
        }

        .section-title:after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--secondary);
            margin: 10px auto;
            border-radius: 2px;
        }

        .category-filters {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .filter-btn {
            padding: 10px 20px;
            background: white;
            border: 2px solid #ddd;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .filter-btn.active, .filter-btn:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Tools Grid */
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .tool-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
        }

        .tool-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .tool-img {
            height: 100px;
            width: 100px;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            padding: 15px;
            position: relative;
            overflow: hidden;
            
        }

        .tool-icon {
            width: 70px;
            height: 70px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Different colors for each icon */
        .icon-1 { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); }
        .icon-2 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
        .icon-3 { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
        .icon-4 { background: linear-gradient(135deg, #ff9a9e 0%, #f6416c 100%); }
        .icon-5 { background: linear-gradient(135deg, #00dbde 0%, #fc00ff 100%); }
        .icon-6 { background: linear-gradient(135deg, #f6d365 0%, #fda085 100%); }
        .icon-7 { background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%); }
        .icon-8 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .icon-9 { background: linear-gradient(135deg, #cd9cf2 0%, #f6f3ff 100%); }
        .-icon-10 { background: linear-gradient(135deg, #5ee7df 0%, #b490ca 100%); }
        .icon-11 { background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%); }
        .icon-12 { background: linear-gradient(135deg, #a3bded 0%, #6991c7 100%); }


        .icon-small {
  width: 60px;         /* Adjust size as needed */
  height: 60px;
  vertical-align: middle;  /* Aligns with text */
  margin-right: 16px;
  margin-left: 16px;       /* Space between icon and text */
  border-radius: 12px; /* Optional: adds rounded corners */
}
/* Base link */
.a {
  color: #0d6efd;             /* normal (blue) */
  text-decoration: none;      /* no underline */
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.2s ease, text-shadow 0.3s ease;
  cursor: pointer;
}

/* visited link */
.a:visited {
  color: #6f42c1;             /* purple */
}

/* hover state */
.a:hover {
  color: #e83e8c;             /* pink hover */
  text-shadow: 0 2px 8px rgba(181, 232, 62, 0.5);
  transform: translateY(-2px) scale(1.05);
  text-decoration: none;
}

/* active (clicked) state */
.a:active {
  color: #ad2468;             /* darker pink */
  transform: scale(0.98);
  text-decoration: none;
}

/* focus (keyboard navigation) */
.a:focus {
  outline: none;
  color: #198754;             /* green focus */
  text-shadow: 0 0 5px rgba(25, 135, 84, 0.6);
}


        .tool-content {
            padding: 20px;
        }

        .tool-content h3 {
            margin-bottom: 10px;
            color: var(--dark);
        }

        .tool-content p {
            color: #666;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .tool-link {
            display: inline-block;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .tool-link i {
            margin-left: 5px;
            transition: transform 0.3s ease;
        }

        .tool-link:hover i {
            transform: translateX(5px);
        }

        /* Pagination */
        .pagination-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 40px;
        }

        .entries-selector {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .entries-selector select {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: white;
            cursor: pointer;
        }

        .pagination {
            display: flex;
            list-style: none;
            gap: 8px;
        }

        .pagination li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 1px solid #ddd;
            border-radius: 8px;
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .pagination li.active a,
        .pagination li a:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--accent);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-links i {
            margin-right: 8px;
            font-size: 0.9rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #555;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .nav-toggle {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 70px;
                left: -100%;
                background: var(--primary);
                width: 80%;
                height: calc(100vh - 70px);
                flex-direction: column;
                padding: 40px 20px;
                transition: all 0.5s ease;
                box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-menu li {
                margin: 15px 0;
            }

            .search-bar {
                margin-left: 0;
                width: 100%;
                margin-top: 15px;
            }

            .header-content {
                flex-wrap: wrap;
            }
        }

        @media (max-width: 768px) {
            .hero h2 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .pagination-container {
                justify-content: center;
            }

            .entries-selector {
                margin-bottom: 15px;
            }
        }

        @media (max-width: 576px) {
    .logo h1 {
        font-size: clamp(1rem, 5vw, 1.3rem); /* text size responsive ho jayega */
        white-space: normal; /* text wrap ho sake agar space kam ho */
        line-height: 1.2;
    }
}

            .tool-card {
                max-width: 320px;
                margin: 0 auto;
            }

            .category-filters {
                gap: 5px;
            }

            .filter-btn {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .tool-img {
                height: 140px;
            }
            
            .tool-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }