/* Image to PDF page CSS extracted from the supplied source. */

body {
            background-color: #f8f9fa;
        }
        .converter-box {
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }
        .file-upload {
            border: 2px dashed #dee2e6;
            border-radius: 5px;
            padding: 40px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        .file-upload:hover {
            border-color: #0d6efd;
            background-color: #f8f9fa;
        }
        .file-list-item {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            background-color: #f8f9fa;
            border-radius: 5px;
            margin-bottom: 5px;
        }
        .file-list-item img {
            width: 40px;
            height: 40px;
            object-fit: cover;
            margin-right: 10px;
            border-radius: 3px;
        }
        .advanced-options {
            border: 1px solid #dee2e6;
            border-radius: 5px;
            padding: 15px;
            margin-bottom: 20px;
        }
        .advanced-options h5 {
            cursor: pointer;
        }
        .advanced-options .options-content {
            display: none;
            margin-top: 15px;
        }
        .option-group {
            margin-bottom: 15px;
        }
        .option-group label {
            font-weight: 500;
        }
        .preview-box {
            border: 1px dashed #ccc;
            padding: 10px;
            margin-top: 20px;
            text-align: center;
            background-color: #f9f9f9;
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .preview-box img {
            max-width: 100%;
            max-height: 180px;
            box-shadow: 0 0 5px rgba(0,0,0,0.2);
        }
        .col-lg-4 .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.col-lg-4 .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.col-lg-4 .card-header {
    background: linear-gradient(135deg, #6C63FF, #554fd8) !important;
    border-bottom: none;
    padding: 20px 25px;
    position: relative;
    overflow: hidden;
}

.col-lg-4 .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.col-lg-4 .card-header h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.col-lg-4 .card-header h3 i {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.col-lg-4 .card-body {
    padding: 25px;
    background: white;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: left 0.5s;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: #6C63FF;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.15);
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C63FF, #36D1DC);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.tool-card:hover .tool-icon::after {
    left: 100%;
}

.tool-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: #2A2D3E;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-name {
    color: #6C63FF;
}

.tool-desc {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-desc {
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tool-card {
        padding: 15px 10px;
    }
    
    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .col-lg-4 .card-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tool-card {
        padding: 18px 15px;
    }
    
    .col-lg-4 .card-header {
        padding: 15px 20px;
    }
    
    .col-lg-4 .card-header h3 {
        font-size: 1.2rem;
    }
}

/* Animation for tool cards on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
.tool-card:nth-child(7) { animation-delay: 0.7s; }
.tool-card:nth-child(8) { animation-delay: 0.8s; }

/* Focus states for accessibility */
.tool-card:focus {
    outline: none;
    border-color: #6C63FF;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

/* Active state */
.tool-card:active {
    transform: translateY(-2px) scale(0.98);
}