/* PNG to JPG Converter Specific Styles */
.png-to-jpg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.png-to-jpg-hero {
    position: relative;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.png-to-jpg-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.png-to-jpg-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.png-to-jpg-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.png-to-jpg-hero-shapes .shape-1,
.png-to-jpg-hero-shapes .shape-2,
.png-to-jpg-hero-shapes .shape-3 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.png-to-jpg-hero-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.png-to-jpg-hero-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

.png-to-jpg-hero-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
}

.png-to-jpg-tool {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.png-to-jpg-upload-area {
    border: 2px dashed #a777e3;
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    background-color: #f9f6ff;
}

.png-to-jpg-upload-area:hover {
    border-color: #6e8efb;
    background-color: #f0eaff;
}

.png-to-jpg-upload-area.highlight {
    border-color: #4CAF50;
    background-color: #e8f5e9;
}

.upload-icon svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    color: #a777e3;
}

.png-to-jpg-upload-area h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.png-to-jpg-upload-area p {
    margin: 0.5rem 0;
    color: #666;
}

.png-to-jpg-upload-btn {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
    box-shadow: 0 4px 10px rgba(110, 142, 251, 0.3);
}

.png-to-jpg-upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 142, 251, 0.4);
}

.png-to-jpg-restrictions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

.png-to-jpg-settings {
    background: #f5f7fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.png-to-jpg-quality {
    margin-bottom: 1.5rem;
}

.png-to-jpg-quality label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
}

.png-to-jpg-quality input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 4px;
    outline: none;
}

.png-to-jpg-quality input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #a777e3;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.png-to-jpg-quality input[type="range"]::-webkit-slider-thumb:hover {
    background: #6e8efb;
    transform: scale(1.1);
}

.png-to-jpg-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    color: #444;
}

.png-to-jpg-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #a777e3;
    cursor: pointer;
}

.png-to-jpg-results {
    display: none;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.png-to-jpg-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.png-to-jpg-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.png-to-jpg-result-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.png-to-jpg-result-item:hover {
    transform: translateY(-5px);
}

.png-to-jpg-result-preview {
    position: relative;
    padding-top: 100%;
    background: #f5f5f5;
}

.png-to-jpg-result-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.png-to-jpg-result-info {
    padding: 1rem;
    text-align: center;
}

.png-to-jpg-result-info p {
    margin: 0.3rem 0;
    color: #666;
    font-size: 0.9rem;
}

.png-to-jpg-result-info .file-name {
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.png-to-jpg-download-btn {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    box-shadow: 0 3px 8px rgba(110, 142, 251, 0.3);
}

.png-to-jpg-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(110, 142, 251, 0.4);
}

.png-to-jpg-download-all {
    display: block;
    margin: 0 auto;
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.png-to-jpg-download-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4);
}

.png-to-jpg-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.png-to-jpg-info-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 4px solid #a777e3;
}

.png-to-jpg-info-box:hover {
    transform: translateY(-5px);
}

.info-box-icon svg {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    color: #a777e3;
}

.png-to-jpg-info-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.png-to-jpg-info-box p {
    color: #666;
    line-height: 1.6;
}

.png-to-jpg-content {
    margin-bottom: 3rem;
}

.png-to-jpg-content-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.png-to-jpg-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
}

.png-to-jpg-content-section {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-shape-decorator {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6e8efb, #a777e3);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    border-top-right-radius: 12px;
}

.png-to-jpg-content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    padding-right: 60px;
}

.png-to-jpg-content-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.png-to-jpg-feature-list {
    list-style-type: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.png-to-jpg-feature-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.png-to-jpg-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6e8efb;
    font-weight: bold;
}

.internal-link {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.internal-link:hover {
    color: #a777e3;
    text-decoration: underline;
}

.png-to-jpg-faq {
    margin-bottom: 3rem;
}

.png-to-jpg-faq-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
}

.png-to-jpg-faq-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
}

.png-to-jpg-faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.png-to-jpg-faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: left;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: background 0.3s ease;
}

.png-to-jpg-faq-question:hover {
    background: #f9f6ff;
}

.png-to-jpg-faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.png-to-jpg-faq-question.active svg {
    transform: rotate(180deg);
}

.png-to-jpg-faq-answer {
    padding: 0 1.5rem;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.png-to-jpg-faq-answer p {
    padding: 1rem 0;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.png-to-jpg-faq-item.active .png-to-jpg-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .png-to-jpg-hero-content h1 {
        font-size: 2rem;
    }
    
    .png-to-jpg-hero-content p {
        font-size: 1rem;
    }
    
    .png-to-jpg-tool {
        padding: 1.5rem;
    }
    
    .png-to-jpg-upload-area {
        padding: 2rem 1rem;
    }
    
    .png-to-jpg-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .png-to-jpg-content-section {
        padding: 1.5rem;
    }
    
    .png-to-jpg-faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .png-to-jpg-hero {
        padding: 2rem 1rem;
    }
    
    .png-to-jpg-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .png-to-jpg-restrictions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .png-to-jpg-results-grid {
        grid-template-columns: 1fr;
    }
}