 :root {
            --primary: #ff595e;
            --secondary: #ffca3a;
            --accent: #8ac926;
            --blue: #1982c4;
            --purple: #6a4c93;
            --teal: #00b4d8;
            --pink: #ff70a6;
            --indigo: #5a67d8;
            --orange: #ff7b25;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f1f1f1;
            color: var(--dark);
            line-height: 1.6;
        }
       

        /* Card Base */
    .main-div .tool-card {
        background: #fff !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
        /* width: 260px !important; */
        height: 230px;
        padding: 16px !important;
        display: flex !important;
        align-items: center !important;
        text-align: left !important;
    }

    /* Hover Effect */
    .main-div .tool-card:hover {
        transform: translateY(-6px) !important;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18) !important;
    }

    /* Icon Left */
    .main-div .tool-card .tool-icon-container {
        flex-shrink: 0 !important;
        /* background: #ff6b5a !important; */
        color: #fff !important;
        font-size: 20px !important;
        width: 48px !important;
        height: 48px !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: 0px;
    }

    /* Title + Description Wrapper */
    .main-div .tool-card .text-center {
        text-align: left !important;
            margin-top: -25px;  
    }

    /* Title */
    .main-div .tool-card .tool-title {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #222 !important;
        margin: 0 0 4px 0 !important;
    }

    /* Subtitle */
    .main-div .tool-card p {
        font-size: 13px !important;
        color: #6c757d !important;
        margin: 0 !important;
    }

        
        /* Black Navbar */
        .navbar {
            background-color: #fff !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-brand {
            font-weight: 700;
            font-size: 1.5rem;
            color: black !important;
            display: flex;
            align-items: center;
            margin-right: 30px;
        }
        #loginBtn{
            color: black;
            border: none;
        }
         #signupBtn{
            color: black;
            background-color: #e5322d;
            border-radius: 8px;
            /* border-bottom: #e5322d; */
            background: aliceblue;
        }
        .navbar-brand i {
            margin-right: 8px;
            font-size: 1.3rem;
        }
        
        .nav-link {
            color: rgba(0, 0, 0, 0.85) !important;
            font-weight: 500;
            padding: 8px 12px !important;
            font-size: 0.9rem;
        }
        
        .nav-link:hover {
            color: var(--primary) !important;
        }
        
        .navbar-toggler {
            border: none;
            padding: 5px;
            color: rgba(0, 0, 0, 0.8);
        }
        
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        
        /* Modern Tool Cards */
        .tool-card {
            transition: all 0.3s ease;
            border: none;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            height: 100%;
            background: white;
            position: relative;
            cursor: pointer;
        }
        
        .tool-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .tool-icon-container {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 1.3rem;
            color: white;
        }
        
        /* Colorful icons */
        .icon-red { background-color: var(--primary); }
        .icon-yellow { background-color: var(--secondary); }
        .icon-green { background-color: var(--accent); }
        .icon-blue { background-color: var(--blue); 
              margin-right: -20px !important;
        }
        .icon-purple { background-color: var(--purple); }
        .icon-orange { background-color: var(--orange); }
        .icon-teal { background-color: var(--teal); }
        .icon-pink { background-color: var(--pink); }
        .icon-indigo { background-color: var(--indigo); }
        .icon-brown { background-color: #8b5e3c; }
        .icon-cyan { background-color: #00b4d8; }
        .icon-lime { background-color: #84cc16; }
        
        /* Tool Pages */
        .tool-page {
            display: none;
            animation: fadeIn 0.4s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .active-page {
            display: block;
        }
        
        /* Black titles */
        .tool-title {
            color: var(--dark) !important;
            font-weight: 600;
        }
        
        /* Center all headings */
        .center-heading {
            text-align: center;
        }
        
        /* Back button */
        .back-btn {
            background: none;
            border: none;
            color: var(--dark);
            font-weight: 500;
            padding: 8px 0;
            display: inline-flex;
            align-items: center;
            font-size: 0.95rem;
            cursor: pointer;
        }
        
        .back-btn i {
            margin-right: 6px;
            transition: transform 0.3s;
        }
        
        .back-btn:hover i {
            transform: translateX(-3px);
        }
        
        /* Drop Zone */
        .drop-zone {
            border: 2px dashed #dee2e6;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.5);
            margin: 25px 0;
        }
        
        .drop-zone.active {
            border-color: var(--primary);
            background: rgba(255, 89, 94, 0.05);
        }
        
        .drop-zone i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 12px;
        }
        
        /* File input button */
        .file-input-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .file-input-btn:hover {
            background: #e84a4f;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(255, 89, 94, 0.2);
        }
        
        /* Progress bar */
        .progress {
            height: 6px;
            border-radius: 3px;
            background: #e9ecef;
            margin: 20px 0;
        }
        
        .progress-bar {
            background-color: var(--primary);
            border-radius: 3px;
            transition: width 0.3s ease;
        }
        
        /* Results section */
        .result-card {
            background: white;
            border-radius: 10px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            border-left: 3px solid var(--primary);
        }
        
        .download-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .download-btn i {
            margin-right: 6px;
        }
        
        .download-btn:hover {
            background: #e84a4f;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 89, 94, 0.2);
            color: white;
        }
        
        /* Category titles */
        .category-title {
            position: relative;
            margin: 30px 0 20px;
            font-weight: 600;
            color: var(--dark);
            padding-bottom: 8px;
            font-size: 1.2rem;
            text-align: center;
        }
        
        .category-title::after {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
            width: 40px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
        }
        
        /* Tool counter */
        .tool-counter {
            background: var(--primary);
            color: white;
            border-radius: 20px;
            padding: 5px 15px;
            font-size: 0.9rem;
            font-weight: 600;
            display: inline-block;
            margin-left: 15px;
            vertical-align: middle;
        }
        
        /* Black Footer */
        footer {
            background-color: #fff !important;
            color: black;
        }
        
        footer .tool-title {
            color: black !important;
        }
        
        footer a {
            color: black !important;
        }
        
        footer a:hover {
            color: var(--primary) !important;
        }
        
        footer hr {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Pricing Page Styles */
        .pricing-card {
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            height: 100%;
        }
        
        .pricing-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .pricing-header {
            padding: 2rem 1.5rem;
            text-align: center;
        }
        
        .pricing-price {
            font-size: 2.5rem;
            font-weight: 700;
            margin: 1rem 0;
        }
        
        .pricing-period {
            font-size: 0.9rem;
            color: var(--gray);
        }
        
        .pricing-features {
            padding: 1.5rem;
            border-top: 1px solid #e9ecef;
            border-bottom: 1px solid #e9ecef;
        }
        
        .pricing-features ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .pricing-features li {
            padding: 0.5rem 0;
            display: flex;
            align-items: center;
        }
        
        .pricing-features li i {
            color: var(--accent);
            margin-right: 0.5rem;
        }
        
        .pricing-cta {
            padding: 1.5rem;
            text-align: center;
        }
        
        .pricing-card.popular {
            border: 2px solid var(--primary);
            position: relative;
        }
        
        .popular-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--primary);
            color: white;
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
            font-weight: 600;
            border-bottom-left-radius: 8px;
        }
        
         .search-box {
                max-width: 295px;
        }
        /* Responsive adjustments */
        @media (max-width: 768px) {

             .main-div .tool-card {
                height: 300px !important;
                max-width: 370px !important;
                margin: auto; /* Center the box */
            }
            .search-box {
                    max-width: 195px;
            }
            
            /* .main-div .tool-card {
                width: 331px;
                height: 675px;
                margin: auto;
            } */

            /* .tool-card {
                aspect-ratio: 1 / 1;
            } */
            .row.g-3 .main-div:first-of-type .tool-card {
                /* height: 300px; */
            }
            .navbar-brand {
                font-size: 1.3rem;
            }
            
            .tool-icon-container {
                width: 42px;
                height: 42px;
                font-size: 1.1rem;
            }
            
            .drop-zone {
                padding: 25px 15px;
            }
            
            .tool-counter {
                margin-left: 10px;
                padding: 3px 10px;
                font-size: 0.8rem;
            }
            
            .category-title::after {
                left: 50%;
                transform: translateX(-50%);
            }

            .pricing-card {
                margin-bottom: 2rem;
            }
        }

        /* Search results styling */
        .search-highlight {
            background-color: rgba(255, 200, 58, 0.3);
            padding: 2px 4px;
            border-radius: 4px;
        }

        /* Multi-file upload styling */
        .file-list {
            margin-top: 15px;
        }
        
        .file-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            background-color: #f8f9fa;
            border-radius: 6px;
            margin-bottom: 8px;
        }
        
        .file-item .file-name {
            flex-grow: 1;
            margin-right: 10px;
        }
        
        .file-item .remove-file {
            color: #dc3545;
            cursor: pointer;
        }
        
        /* Tool-specific options */
        .tool-options {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .option-group {
            margin-bottom: 15px;
        }
        
        .option-label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .option-input {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
        }
        
        .option-select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid #ced4da;
            border-radius: 4px;
            background-color: white;
        }
        
        .option-checkbox {
            margin-right: 8px;
        }
        
        .server-side-message {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        
        .process-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            font-size: 1rem;
            cursor: pointer;
            margin-top: 15px;
        }
        
        .process-btn:hover {
            background: #e84a4f;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 89, 94, 0.2);
        }
        
        .process-btn i {
            margin-right: 8px;
        }
        
        .process-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }
        
        .process-btn:disabled:hover {
            transform: none;
            box-shadow: none;
        }

