

        .containerpdf {
            background: var(--white);
            padding: 100px 40px 60px 40px ;
            border-radius: 12px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            
        }

        .containerpdf:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        h1 {
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 30px;
            font-weight: 600;
            position: relative;
            padding-bottom: 15px;
        }

        h1:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            border-radius: 3px;
        }

        .input-group {
            margin-bottom: 25px;
            position: relative;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text-dark);
        }

        .file-input-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
            width: 100%;
        }

        .file-input-label {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px 15px;
            background-color: var(--white);
            border: 2px dashed #e5e7eb;
            border-radius: 6px;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
        }

        .file-input-label:hover {
            border-color: var(--primary-color);
            background-color: rgba(99, 102, 241, 0.05);
        }

        .file-input-label.has-file {
            border-style: solid;
            border-color: var(--success-color);
            background-color: rgba(16, 185, 129, 0.05);
        }

        .file-input-text {
            margin-left: 10px;
            color: var(--text-light);
        }

        .file-input-text.has-file {
            color: var(--text-dark);
            font-weight: 500;
        }

        #pdfInput {
            position: absolute;
            left: -9999px;
        }

        .pdf-icon {
            width: 24px;
            height: 24px;
            fill: var(--primary-color);
        }

        .pdf-icon.has-file {
            fill: var(--success-color);
        }

        select {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 10px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            background-color: var(--white);
            font-size: 16px;
            transition: var(--transition);
        }

        select:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        button {
            background-color: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 12px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            width: 100%;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        button:before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        button:hover:before {
            width: 300px;
            height: 300px;
        }

        button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
        }

        button:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px rgba(99, 102, 241, 0.2);
        }

        button:disabled {
            background-color: #d1d5db;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .download-btn {
            background-color: var(--secondary-color);
            margin-top: 10px;
        }

        .download-btn:hover {
            background-color: #7c3aed;
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
        }

        .zip-btn {
            background-color: var(--success-color);
            margin-top: 10px;
        }

        .zip-btn:hover {
            background-color: #059669;
            box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
        }

        .progress-container {
            margin-top: 20px;
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .progress-bar {
            height: 8px;
            background-color: #e5e7eb;
            border-radius: 4px;
            overflow: hidden;
            position: relative;
        }

        .progress {
            height: 100%;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            width: 0%;
            transition: width 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .progress:after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            background-image: linear-gradient(
                -45deg,
                rgba(255, 255, 255, 0.2) 25%,
                transparent 25%,
                transparent 50%,
                rgba(255, 255, 255, 0.2) 50%,
                rgba(255, 255, 255, 0.2) 75%,
                transparent 75%,
                transparent
            );
            background-size: 50px 50px;
            animation: move 2s linear infinite;
        }

        .status {
            margin-top: 10px;
            font-size: 14px;
            color: var(--text-light);
            display: flex;
            align-items: center;
        }

        .status-icon {
            margin-right: 8px;
            display: inline-block;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background-color: var(--primary-color);
            position: relative;
        }

        .status-icon:after {
            content: '';
            position: absolute;
            top: 3px;
            left: 3px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--white);
            animation: pulse 1.5s infinite;
        }

        .pages-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .page-card {
            border: 2px solid var(--primary-color);
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            background-color: var(--white);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            animation: fadeInUp 0.5s ease forwards;
            opacity: 0;
            transform: translateY(20px);
        }

        .page-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .page-card img {
            max-width: 100%;
            max-height: 200px;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            margin-bottom: 15px;
            transition: transform 0.3s ease;
        }

        .page-card:hover img {
            transform: scale(1.02);
        }

        .page-info {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 15px;
        }

        .format-selector {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
        }

        .format-option {
            flex: 1;
            padding: 12px;
            text-align: center;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .format-option:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.5s;
        }

        .format-option:hover:before {
            left: 100%;
        }

        .format-option:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
        }

        .format-option.active {
            background-color: rgba(99, 102, 241, 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
            font-weight: 500;
        }

        .quality-container {
            margin-bottom: 20px;
        }

        .quality-slider {
            width: 100%;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
            outline: none;
            -webkit-appearance: none;
            margin: 10px 0;
        }

        .quality-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            transition: var(--transition);
        }

        .quality-slider::-webkit-slider-thumb:hover {
            background: var(--primary-dark);
            transform: scale(1.2);
        }

        .quality-slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            transition: var(--transition);
        }

        .quality-slider::-moz-range-thumb:hover {
            background: var(--primary-dark);
            transform: scale(1.2);
        }

        .quality-value {
            text-align: center;
            font-weight: 500;
            color: var(--primary-color);
            font-size: 18px;
            margin-top: 5px;
        }

        /* Loading spinner */
        .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--white);
            animation: spin 1s ease-in-out infinite;
            margin-right: 10px;
        }

        /* PDF loading indicator */
        .pdf-loading {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background-color: rgba(99, 102, 241, 0.05);
            border-radius: 6px;
            border-left: 4px solid var(--primary-color);
            animation: fadeIn 0.3s ease;
        }

        .pdf-loading.show {
            display: flex;
            align-items: center;
        }

        .pdf-loading-spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(99, 102, 241, 0.2);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
            margin-right: 12px;
        }

        .pdf-loading-text {
            color: var(--primary-color);
            font-weight: 500;
        }

        /* Download animation */
        .download-animation {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: var(--success-color);
            color: var(--white);
            padding: 15px 20px;
            border-radius: 6px;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            transform: translateX(120%);
            transition: transform 0.3s ease;
            z-index: 1000;
        }

        .download-animation.show {
            transform: translateX(0);
        }

        .download-icon {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            position: relative;
        }

        .download-icon:before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 10px;
            background-color: var(--white);
        }

        .download-icon:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 8px solid var(--white);
        }

        /* Page processing indicator */
        .page-processing {
            display: inline-block;
            width: 16px;
            height: 16px;
            border: 2px solid rgba(99, 102, 241, 0.2);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
            margin-right: 8px;
            vertical-align: middle;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes move {
            0% { background-position: 0 0; }
            100% { background-position: 50px 50px; }
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
            }
            70% {
                transform: scale(1);
                box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
            }
            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
            }
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .container {
                padding: 20px;
            }
            
            .pages-container {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }
        }
        
        
          /*section */
          
          /* How It Works Section Styles */
.how-it-works-section {
    margin-top: 3rem;
    padding: 15px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

.process-flow {
    position: relative;
    margin-bottom: 4rem;
}

.process-line {
    position: absolute;
    top: 80px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    z-index: 0;
}

@media (min-width: 768px) {
    .process-line {
        top: 100px;
        left: 100px;
        right: 100px;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media (min-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.process-step {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.step-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.technology-info {
    margin-top: 4rem;
}

.technology-info h3 {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.tech-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tech-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tech-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(139, 92, 246, 0.08));
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-card h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .process-line {
        display: none;
    }
}

@media (max-width: 767px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -15px;
    }
    
    .step-icon {
        font-size: 2.5rem;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .detail-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .technology-info h3 {
        font-size: 1.5rem;
    }
    
    .tech-card {
        padding: 1.5rem;
    }
    
    .tech-icon {
        font-size: 2rem;
    }
    
    .tech-card h4 {
        font-size: 1.1rem;
    }
    
    .tech-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 479px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .process-step {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .detail-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .technology-info h3 {
        font-size: 1.3rem;
    }
    
    .tech-card {
        padding: 1.25rem;
    }
    
    .tech-icon {
        font-size: 1.75rem;
    }
    
    .tech-card h4 {
        font-size: 1rem;
    }
    
    .tech-card p {
        font-size: 0.85rem;
    }
}
