    /* Image Compressor Tool Styles - Scoped */
    .ic-tool-wrapper {
        --ic-primary: #ce5b33;
        --ic-secondary: #354a5e;
        --ic-light: #ecf0f1;
        --ic-white: #ffffff;
        --ic-dark: #2c3e50;
        --ic-success: #27ae60;
        --ic-danger: #e74c3c;
        --ic-border: #dde4e6;
    }
    
    .ic-tool-wrapper * {
        box-sizing: border-box;
    }
    
    .ic-hero-section {
        background-color: var(--ic-secondary);
        padding: 60px 0;
        color: var(--ic-white);
    }
    
    .ic-hero-section h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--ic-white);
    }
    
    .ic-hero-section .ic-highlight {
        color: var(--ic-primary);
    }
    
    .ic-hero-section p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }
    
    .ic-rating-badge {
        display: inline-flex;
        align-items: center;
        background-color: rgba(255,255,255,0.1);
        padding: 8px 16px;
        border-radius: 50px;
        margin-top: 20px;
    }
    
    .ic-rating-badge .bi-star-fill {
        color: #ffc107;
        margin-right: 5px;
    }
    
    .ic-rating-badge span {
        font-weight: 600;
    }
    
    .ic-main-content {
        padding: 40px 0;
        background-color: var(--ic-light);
        min-height: 100vh;
    }
    
    .ic-ad-space {
        background-color: var(--ic-white);
        border: 2px dashed var(--ic-border);
        border-radius: 8px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #95a5a6;
        font-size: 0.9rem;
        position: sticky;
        top: 20px;
    }
    
    .ic-tool-card {
        background-color: var(--ic-white);
        border-radius: 12px;
        box-shadow: 0 2px 20px rgba(0,0,0,0.08);
        padding: 30px;
        margin-bottom: 30px;
    }
    
    .ic-upload-area {
        border: 3px dashed var(--ic-border);
        border-radius: 12px;
        padding: 60px 30px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #fafbfc;
    }
    
    .ic-upload-area:hover,
    .ic-upload-area.ic-dragover {
        border-color: var(--ic-primary);
        background-color: rgba(206, 91, 51, 0.05);
    }
    
    .ic-upload-area .ic-upload-icon {
        width: 80px;
        height: 80px;
        background-color: var(--ic-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }
    
    .ic-upload-area .ic-upload-icon i {
        font-size: 2.5rem;
        color: var(--ic-primary);
    }
    
    .ic-upload-area h3 {
        font-size: 1.3rem;
        color: var(--ic-secondary);
        margin-bottom: 10px;
        font-weight: 600;
    }
    
    .ic-upload-area p {
        color: #7f8c8d;
        margin-bottom: 20px;
    }
    
    .ic-btn-primary {
        background-color: var(--ic-primary);
        border: none;
        color: var(--ic-white);
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .ic-btn-primary:hover {
        background-color: #b84d2a;
        color: var(--ic-white);
        transform: translateY(-2px);
    }
    
    .ic-btn-secondary {
        background-color: var(--ic-secondary);
        border: none;
        color: var(--ic-white);
        padding: 12px 30px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .ic-btn-secondary:hover {
        background-color: #2a3d4d;
        color: var(--ic-white);
    }
    
    .ic-btn-outline {
        background-color: transparent;
        border: 2px solid var(--ic-primary);
        color: var(--ic-primary);
        padding: 10px 25px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .ic-btn-outline:hover {
        background-color: var(--ic-primary);
        color: var(--ic-white);
    }
    
    .ic-supported-formats {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .ic-format-badge {
        background-color: var(--ic-light);
        padding: 6px 15px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--ic-secondary);
    }
    
    .ic-settings-panel {
        background-color: #f8f9fa;
        border-radius: 10px;
        padding: 25px;
        margin-top: 25px;
    }
    
    .ic-settings-panel h5 {
        color: var(--ic-secondary);
        font-weight: 600;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .ic-settings-panel h5 i {
        color: var(--ic-primary);
    }
    
    .ic-quality-slider {
        width: 100%;
        height: 8px;
        border-radius: 4px;
        background: linear-gradient(to right, var(--ic-primary) 0%, var(--ic-light) 100%);
        outline: none;
        -webkit-appearance: none;
    }
    
    .ic-quality-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--ic-primary);
        cursor: pointer;
        border: 3px solid var(--ic-white);
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    
    .ic-quality-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: var(--ic-primary);
        cursor: pointer;
        border: 3px solid var(--ic-white);
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    
    .ic-quality-labels {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
        font-size: 0.85rem;
        color: #7f8c8d;
    }
    
    .ic-quality-value {
        font-size: 2rem;
        font-weight: 700;
        color: var(--ic-primary);
        text-align: center;
        margin-bottom: 15px;
    }
    
    .ic-images-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 25px;
    }
    
    .ic-image-item {
        background-color: var(--ic-white);
        border: 1px solid var(--ic-border);
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .ic-image-item:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .ic-image-preview {
        position: relative;
        height: 180px;
        background-color: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .ic-image-preview img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
    
    .ic-image-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        background-color: var(--ic-danger);
        color: var(--ic-white);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .ic-image-item:hover .ic-image-remove {
        opacity: 1;
    }
    
    .ic-image-info {
        padding: 15px;
    }
    
    .ic-image-name {
        font-weight: 600;
        color: var(--ic-secondary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 10px;
    }
    
    .ic-size-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .ic-original-size {
        color: #95a5a6;
    }
    
    .ic-compressed-size {
        color: var(--ic-success);
        font-weight: 600;
    }
    
    .ic-savings-badge {
        background-color: rgba(39, 174, 96, 0.1);
        color: var(--ic-success);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        display: inline-block;
    }
    
    .ic-progress-bar {
        height: 6px;
        background-color: var(--ic-light);
        border-radius: 3px;
        overflow: hidden;
        margin-bottom: 10px;
    }
    
    .ic-progress-fill {
        height: 100%;
        background-color: var(--ic-primary);
        transition: width 0.3s ease;
    }
    
    .ic-image-actions {
        display: flex;
        gap: 10px;
    }
    
    .ic-image-actions button {
        flex: 1;
        padding: 8px;
        border-radius: 6px;
        font-size: 0.85rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .ic-btn-download {
        background-color: var(--ic-primary);
        color: var(--ic-white);
        border: none;
    }
    
    .ic-btn-download:hover {
        background-color: #b84d2a;
    }
    
    .ic-btn-preview {
        background-color: var(--ic-light);
        color: var(--ic-secondary);
        border: none;
    }
    
    .ic-btn-preview:hover {
        background-color: #dde4e6;
    }
    
    .ic-bulk-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: var(--ic-secondary);
        border-radius: 10px;
        margin-top: 25px;
    }
    
    .ic-bulk-actions .ic-files-count {
        color: var(--ic-white);
        font-weight: 500;
    }
    
    .ic-bulk-actions .ic-total-savings {
        color: var(--ic-primary);
        font-weight: 700;
    }
    
    .ic-bulk-actions .ic-btn-group {
        display: flex;
        gap: 15px;
    }
    
    .ic-features-section {
        padding: 60px 0;
        background-color: var(--ic-white);
    }
    
    .ic-section-title {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .ic-section-title h2 {
        font-size: 2rem;
        font-weight: 700;
        color: var(--ic-secondary);
        margin-bottom: 15px;
    }
    
    .ic-section-title p {
        color: #7f8c8d;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .ic-feature-card {
        text-align: center;
        padding: 30px 20px;
        border-radius: 12px;
        background-color: #fafbfc;
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .ic-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .ic-feature-icon {
        width: 70px;
        height: 70px;
        background-color: var(--ic-light);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }
    
    .ic-feature-icon i {
        font-size: 1.8rem;
        color: var(--ic-primary);
    }
    
    .ic-feature-card h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--ic-secondary);
        margin-bottom: 15px;
    }
    
    .ic-feature-card p {
        color: #7f8c8d;
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .ic-how-it-works {
        padding: 60px 0;
        background-color: var(--ic-light);
    }
    
    .ic-step-item {
        text-align: center;
        position: relative;
        padding: 0 20px;
    }
    
    .ic-step-number {
        width: 60px;
        height: 60px;
        background-color: var(--ic-primary);
        color: var(--ic-white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 auto 20px;
    }
    
    .ic-step-item h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--ic-secondary);
        margin-bottom: 10px;
    }
    
    .ic-step-item p {
        color: #7f8c8d;
        font-size: 0.95rem;
    }
    
    .ic-step-connector {
        position: absolute;
        top: 30px;
        right: -50%;
        width: 100%;
        height: 2px;
        background-color: var(--ic-border);
        z-index: 0;
    }
    
    .ic-faq-section {
        padding: 60px 0;
        background-color: var(--ic-white);
    }
    
    .ic-accordion-item {
        border: 1px solid var(--ic-border);
        border-radius: 10px;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .ic-accordion-header {
        background-color: #fafbfc;
        padding: 0;
        border: none;
    }
    
    .ic-accordion-button {
        width: 100%;
        padding: 20px 25px;
        background-color: transparent;
        border: none;
        text-align: left;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ic-secondary);
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }
    
    .ic-accordion-button:not(.collapsed) {
        background-color: rgba(206, 91, 51, 0.05);
        color: var(--ic-primary);
    }
    
    .ic-accordion-button::after {
        content: '\F282';
        font-family: 'bootstrap-icons';
        transition: transform 0.3s ease;
    }
    
    .ic-accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
    }
    
    .ic-accordion-body {
        padding: 20px 25px;
        color: #7f8c8d;
        line-height: 1.7;
    }
    
    .ic-seo-content {
        padding: 60px 0;
        background-color: var(--ic-light);
    }
    
    .ic-seo-content h2 {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--ic-secondary);
        margin-bottom: 20px;
    }
    
    .ic-seo-content h3 {
        font-size: 1.4rem;
        font-weight: 600;
        color: var(--ic-secondary);
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .ic-seo-content p {
        color: #555;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .ic-seo-content ul {
        list-style: none;
        padding: 0;
    }
    
    .ic-seo-content ul li {
        padding: 8px 0;
        color: #555;
        position: relative;
        padding-left: 25px;
    }
    
    .ic-seo-content ul li::before {
        content: '\F26A';
        font-family: 'bootstrap-icons';
        position: absolute;
        left: 0;
        color: var(--ic-primary);
    }
    
    /* ========================================
       FIXED MODAL/POPUP STYLES - CLEAR VISIBILITY
       ======================================== */
    
    .ic-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 99999;
        padding: 20px;
        overflow-y: auto;
    }
    
    .ic-modal-overlay.ic-show {
        display: flex;
    }
    
    .ic-modal-content {
        background-color: #ffffff;
        border-radius: 20px;
        max-width: 500px;
        width: 100%;
        padding: 40px 35px;
        text-align: center;
        position: relative;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
        animation: icModalSlideIn 0.4s ease;
        margin: auto;
    }
    
    @keyframes icModalSlideIn {
        from {
            transform: translateY(-80px) scale(0.9);
            opacity: 0;
        }
        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }
    
    .ic-modal-icon {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
    }
    
    .ic-modal-icon.ic-success {
        background-color: #d4edda;
        border: 3px solid #28a745;
    }
    
    .ic-modal-icon.ic-success i {
        color: #28a745;
    }
    
    .ic-modal-icon.ic-error {
        background-color: #f8d7da;
        border: 3px solid #dc3545;
    }
    
    .ic-modal-icon.ic-error i {
        color: #dc3545;
    }
    
    .ic-modal-icon.ic-info {
        background-color: #fff3cd;
        border: 3px solid #ce5b33;
    }
    
    .ic-modal-icon.ic-info i {
        color: #ce5b33;
    }
    
    .ic-modal-icon i {
        font-size: 3rem;
    }
    
    .ic-modal-content h3 {
        font-size: 1.6rem;
        font-weight: 700;
        color: #354a5e;
        margin-bottom: 15px;
    }
    
    .ic-modal-content p {
        color: #6c757d;
        font-size: 1.05rem;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .ic-modal-content .ic-btn-primary {
        padding: 14px 50px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .ic-modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        background: #f1f1f1;
        border: none;
        font-size: 1.2rem;
        color: #666;
        cursor: pointer;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .ic-modal-close:hover {
        background-color: #e74c3c;
        color: #fff;
    }
    
    /* Preview Modal - Larger */
    .ic-preview-modal .ic-modal-content {
        max-width: 950px;
        padding: 30px;
        text-align: left;
    }
    
    .ic-preview-modal .ic-modal-content h3 {
        text-align: center;
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 2px solid #ecf0f1;
    }
    
    .ic-preview-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .ic-preview-box {
        text-align: center;
        background-color: #f8f9fa;
        border-radius: 12px;
        padding: 20px;
    }
    
    .ic-preview-box h5 {
        font-size: 1rem;
        color: #354a5e;
        margin-bottom: 15px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .ic-preview-image {
        background-color: #ffffff;
        border-radius: 10px;
        padding: 15px;
        min-height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #e9ecef;
    }
    
    .ic-preview-image img {
        max-width: 100%;
        max-height: 280px;
        object-fit: contain;
        border-radius: 5px;
    }
    
    .ic-preview-stats {
        margin-top: 15px;
        padding: 12px 15px;
        background-color: #ffffff;
        border-radius: 8px;
        border: 1px solid #dee2e6;
        font-weight: 600;
        color: #354a5e;
    }
    
    .ic-preview-stats .ic-savings-badge {
        background-color: #28a745;
        color: #fff;
        padding: 5px 12px;
    }
    
    .ic-preview-modal .ic-modal-footer {
        text-align: center;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 2px solid #ecf0f1;
    }
    
    /* Processing Modal */
    .ic-processing-modal .ic-modal-content {
        max-width: 450px;
    }
    
    .ic-processing {
        text-align: center;
        padding: 20px 0;
    }
    
    .ic-spinner {
        width: 70px;
        height: 70px;
        border: 5px solid #ecf0f1;
        border-top-color: #ce5b33;
        border-radius: 50%;
        animation: icSpin 1s linear infinite;
        margin: 0 auto 25px;
    }
    
    @keyframes icSpin {
        to {
            transform: rotate(360deg);
        }
    }
    
    .ic-processing h3 {
        color: #354a5e;
        margin-bottom: 10px;
    }
    
    .ic-processing p {
        color: #7f8c8d;
        margin-bottom: 20px;
    }
    
    .ic-processing .ic-progress-bar {
        height: 10px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px;
        background-color: #ecf0f1;
        border-radius: 5px;
    }
    
    .ic-processing .ic-progress-fill {
        height: 100%;
        background-color: #ce5b33;
        border-radius: 5px;
        transition: width 0.3s ease;
    }
    
    .ic-processing .ic-status-text {
        font-weight: 600;
        color: #354a5e;
    }
    
    /* Related Tools */
    .ic-related-tools {
        padding: 60px 0;
        background-color: var(--ic-white);
    }
    
    .ic-tool-link {
        display: block;
        padding: 20px;
        background-color: #fafbfc;
        border-radius: 10px;
        text-decoration: none;
        transition: all 0.3s ease;
        text-align: center;
        height: 100%;
    }
    
    .ic-tool-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        text-decoration: none;
    }
    
    .ic-tool-link i {
        font-size: 2rem;
        color: var(--ic-primary);
        margin-bottom: 15px;
    }
    
    .ic-tool-link h5 {
        font-size: 1rem;
        color: var(--ic-secondary);
        font-weight: 600;
        margin-bottom: 0;
    }
    
    /* Responsive Styles */
    @media (max-width: 991px) {
        .ic-ad-space {
            min-height: 250px;
            position: relative;
            margin-bottom: 30px;
        }
    
        .ic-preview-container {
            grid-template-columns: 1fr;
        }
    
        .ic-preview-modal .ic-modal-content {
            max-width: 95%;
        }
    }
    
    @media (max-width: 767px) {
        .ic-hero-section {
            padding: 40px 0;
        }
    
        .ic-hero-section h1 {
            font-size: 1.8rem;
        }
    
        .ic-tool-card {
            padding: 20px;
        }
    
        .ic-upload-area {
            padding: 40px 20px;
        }
    
        .ic-bulk-actions {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }
    
        .ic-bulk-actions .ic-btn-group {
            width: 100%;
            justify-content: center;
            flex-wrap: wrap;
        }
    
        .ic-step-connector {
            display: none;
        }
    
        .ic-images-grid {
            grid-template-columns: 1fr;
        }
    
        .ic-modal-content {
            padding: 30px 20px;
            margin: 15px;
        }
    
        .ic-modal-content h3 {
            font-size: 1.3rem;
        }
    
        .ic-modal-icon {
            width: 70px;
            height: 70px;
        }
    
        .ic-modal-icon i {
            font-size: 2rem;
        }
    
        .ic-preview-image {
            min-height: 200px;
        }
    
        .ic-preview-image img {
            max-height: 200px;
        }
    }
    
    @media (max-width: 576px) {
        .ic-modal-content {
            padding: 25px 15px;
        }
    
        .ic-modal-close {
            top: 10px;
            right: 10px;
            width: 35px;
            height: 35px;
        }
    }