.elementor-2961 .elementor-element.elementor-element-4536955{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2961 .elementor-element.elementor-element-538ac50{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2961 .elementor-element.elementor-element-a781a59{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-dfa07b3 *//* PDF Splitter Tool - ilovepdf.com Style */

/* Tool Layout */
.tool-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 968px) {
    .tool-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Left Column Styles */
.left-column {
    background: var(--background-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Upload Section */
.upload-section {
    padding: 2rem;
}

.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.drop-zone.dragover {
    border-color: var(--primary-brand);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.upload-icon {
    margin-bottom: 1.5rem;
}

.upload-icon svg {
    color: var(--primary-red);
}

.drop-zone h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.drop-zone p {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
}

.upload-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.upload-btn:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

.upload-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--secondary-gray);
    font-size: 0.9rem;
}

.upload-info svg {
    width: 14px;
    height: 14px;
}

/* File Preview Section */
.file-preview-section {
    padding: 0;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--background-light);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.file-icon-large {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.file-icon-large svg {
    width: 20px;
    height: 20px;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-black);
}

.file-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

.btn-change {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--primary-black);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-change:hover {
    border-color: var(--primary-brand);
    color: var(--primary-brand);
}

/* Pages Preview */
.pages-preview {
    padding: 1.5rem;
}

.preview-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-black);
}

.pages-count {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    font-weight: normal;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.page-thumbnail {
    aspect-ratio: 3/4;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--secondary-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.page-thumbnail:hover {
    border-color: var(--primary-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-thumbnail.selected {
    border-color: var(--primary-brand);
    background: rgba(59, 130, 246, 0.1);
}

.page-thumbnail::before {
    content: attr(data-page);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px;
    text-align: center;
    font-size: 0.7rem;
}

/* Right Column Styles */
.right-column {
    background: var(--background-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.split-options {
    padding: 2rem;
}

.upload-prompt {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--secondary-gray);
}

.prompt-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.upload-prompt h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

/* Options Header */
.options-header {
    margin-bottom: 2rem;
}

.options-header h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.selection-info {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

/* Split Methods */
.split-methods {
    margin-bottom: 2rem;
}

.method-group {
    margin-bottom: 1.5rem;
}

.method-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-black);
}

.method-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: var(--background-light);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    color: var(--primary-black);
}

.method-btn:hover {
    background: rgba(59, 130, 246, 0.1);
}

.method-btn.active {
    border-color: var(--primary-brand);
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-brand);
}

.method-icon {
    font-size: 1.5rem;
}

/* Method Content */
.method-content {
    display: none;
    margin-top: 1.5rem;
}

.method-content.active {
    display: block;
}

.range-inputs {
    display: flex;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.9rem;
}

.page-input, .text-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.page-input:focus, .text-input:focus {
    outline: none;
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.range-separator {
    padding-bottom: 0.5rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

.split-interval {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.split-interval span {
    color: var(--secondary-gray);
}

.input-hint {
    font-size: 0.8rem;
    color: var(--secondary-gray);
    margin-top: 0.25rem;
}

/* Previews */
.range-preview,
.individual-preview,
.split-preview {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.preview-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.pages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-tag {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 0.8rem;
    color: var(--primary-black);
}

.split-groups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.split-group {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
}

.split-group-header {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-brand);
    font-size: 0.9rem;
}

.split-group-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Output Options */
.output-options {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}

.option-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.checkbox-group {
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--primary-black);
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 3px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary-brand);
    border-color: var(--primary-brand);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filename-option {
    margin-top: 1rem;
}

.filename-option label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.9rem;
}

/* Action Section */
.action-section {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.split-action-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.split-action-btn:hover:not(:disabled) {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
}

.split-action-btn:disabled {
    background: var(--secondary-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.btn-loading svg {
    animation: spin 1s linear infinite;
}

/* Output Section */
.output-section {
    margin-top: 2rem;
}

.success-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.success-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.success-icon svg {
    width: 24px;
    height: 24px;
}

.success-title h3 {
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.success-title p {
    color: var(--secondary-gray);
    margin: 0;
}

/* Download Options */
.download-options {
    margin-bottom: 2rem;
}

.download-main {
    text-align: center;
    margin-bottom: 1.5rem;
}

.download-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-all-btn:hover {
    background: #157347;
    transform: translateY(-2px);
}

.download-info {
    margin-top: 0.5rem;
    color: var(--secondary-gray);
    font-size: 0.9rem;
}

.download-separator {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.download-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.download-separator span {
    background: var(--background-white);
    padding: 0 1rem;
    color: var(--secondary-gray);
    font-size: 0.9rem;
}

.files-list {
    display: grid;
    gap: 0.75rem;
}

.file-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.file-download-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-download-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.file-download-name {
    font-weight: 500;
    color: var(--primary-black);
}

.file-download-size {
    font-size: 0.8rem;
    color: var(--secondary-gray);
}

.download-file-btn {
    background: var(--primary-brand);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.download-file-btn:hover {
    background: #2563eb;
}

.action-buttons {
    text-align: center;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.feature-content p {
    color: var(--secondary-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* Enhanced Loader */
.loader-content {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    min-width: 300px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loader-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-brand);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-card {
    animation: fadeIn 0.5s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-layout {
        gap: 1rem;
    }
    
    .upload-section,
    .split-options {
        padding: 1.5rem;
    }
    
    .method-buttons {
        grid-template-columns: 1fr;
    }
    
    .range-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .range-separator {
        padding: 0;
        text-align: center;
    }
    
    .pages-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .success-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none; }

/* Selection States */
.page-thumbnail.selected::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary-brand);
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-1e83934 *//* --- Styling for Info & FAQ Sections --- */

/* General container for the "How-To" and "FAQ" sections */
.info-section {
    max-width: 1100px; /* Or your site's main content width */
    margin: 4rem auto; /* Adds space above and below the section */
    padding: 2rem;
    border-top: 1px solid #e9ecef; /* A light separator line */
}

/* Styles the main headings (h2) of these sections */
.info-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #212529; /* A dark, professional heading color */
    margin-bottom: 3rem;
}

/* --- "How-To" Section Specific Styles --- */

/* The grid layout for the 4 steps */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

/* The individual step item */
.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* The numbered circle icon */
.feature-icon {
    flex-shrink: 0; /* Prevents the circle from shrinking */
    width: 40px;
    height: 40px;
    background-color: #e33d3d; /* Matches your tool's red theme */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

/* The text content next to the icon */
.feature-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #343a40;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d; /* A softer gray for body text */
    line-height: 1.6;
}


/* --- "FAQ" Section Specific Styles --- */

/* The grid layout for the FAQ items */
.faq-grid {
    display: grid;
    /* Creates 2 columns on larger screens, 1 on smaller */
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* The individual Q&A card */
.faq-item {
    background-color: #f8f9fa; /* A very light gray background */
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* The question text (the <strong> tag) */
.faq-item strong {
    display: block; /* Ensures it takes its own line */
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
}

/* The answer text (the <p> tag) */
.faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Styles for any links inside the FAQ answers */
.faq-item p a {
    color: #0056b3;
    text-decoration: underline;
    font-weight: 500;
}/* --- Enhanced Styling for "About Utilix" Section --- */

/* This targets the container for your main descriptive paragraphs */
.about-content {
    max-width: 800px; /* Sets a comfortable reading width on large screens */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem; /* Adds space before the checkmark features */
    text-align: left; /* Aligns the text to the left as requested */
}

/* This styles the paragraphs themselves for maximum readability */
.about-content p {
    font-size: 1.1rem; /* Increases font size from the default */
    line-height: 1.7;  /* Adds generous spacing between lines */
    color: #343a40;   /* A dark, high-contrast color for easy reading */
    margin-bottom: 1.5rem; /* Adds space between paragraphs */
}

/* We don't want the last paragraph to have extra space below it */
.about-content p:last-child {
    margin-bottom: 0;
}

/* --- Responsive Adjustments for Mobile Devices --- */
@media (max-width: 768px) {
    .about-content {
        /* On mobile, remove the left/right auto margin to allow full width */
        margin-left: 0;
        margin-right: 0;
    }

    .about-content p {
        /* Slightly reduce font size on smaller screens to fit more text */
        font-size: 1.05rem; 
    }
}/* End custom CSS */