    /* Image Rotator Tool Specific Styles - Scoped to prevent header/footer conflicts */
    .image-rotator-tool {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .image-rotator-tool .tool-hero-section {
        background-color: #123f6c;
        color: #ffffff;
        padding: 50px 0;
    }
    
    .image-rotator-tool .tool-hero-section h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .image-rotator-tool .tool-hero-section p {
        font-size: 1.1rem;
        opacity: 0.9;
    }
    
    .image-rotator-tool .main-tool-container {
        background-color: #ffffff;
        padding: 40px 0;
    }
    
    .image-rotator-tool .tool-card {
        background-color: #ffffff;
        border: 2px solid #57add8;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(18, 63, 108, 0.1);
    }
    
    .image-rotator-tool .upload-area {
        border: 3px dashed #57add8;
        border-radius: 12px;
        padding: 60px 30px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: rgba(87, 173, 216, 0.05);
    }
    
    .image-rotator-tool .upload-area:hover {
        border-color: #123f6c;
        background-color: rgba(18, 63, 108, 0.05);
    }
    
    .image-rotator-tool .upload-area.drag-over {
        border-color: #123f6c;
        background-color: rgba(87, 173, 216, 0.15);
    }
    
    .image-rotator-tool .upload-area i {
        font-size: 4rem;
        color: #57add8;
        margin-bottom: 20px;
    }
    
    .image-rotator-tool .upload-area h4 {
        color: #123f6c;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .image-rotator-tool .upload-area p {
        color: #666;
        margin-bottom: 0;
    }
    
    .image-rotator-tool .preview-container {
        display: none;
        text-align: center;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 12px;
        border: 2px solid #57add8;
    }
    
    .image-rotator-tool .preview-container.active {
        display: block;
    }
    
    .image-rotator-tool .preview-image-wrapper {
        max-width: 100%;
        max-height: 400px;
        overflow: hidden;
        display: inline-block;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .image-rotator-tool .preview-image {
        max-width: 100%;
        max-height: 400px;
        transition: transform 0.3s ease;
    }
    
    .image-rotator-tool .control-section {
        background-color: #ffffff;
        border: 2px solid #57add8;
        border-radius: 12px;
        padding: 25px;
        margin-top: 20px;
    }
    
    .image-rotator-tool .control-section h5 {
        color: #123f6c;
        font-weight: 600;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #57add8;
    }
    
    .image-rotator-tool .btn-primary-custom {
        background-color: #123f6c;
        border-color: #123f6c;
        color: #ffffff;
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .image-rotator-tool .btn-primary-custom:hover {
        background-color: #0d2d4d;
        border-color: #0d2d4d;
        color: #ffffff;
    }
    
    .image-rotator-tool .btn-secondary-custom {
        background-color: #57add8;
        border-color: #57add8;
        color: #ffffff;
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .image-rotator-tool .btn-secondary-custom:hover {
        background-color: #3d9bc9;
        border-color: #3d9bc9;
        color: #ffffff;
    }
    
    .image-rotator-tool .btn-outline-custom {
        background-color: #ffffff;
        border: 2px solid #123f6c;
        color: #123f6c;
        padding: 10px 25px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .image-rotator-tool .btn-outline-custom:hover {
        background-color: #123f6c;
        color: #ffffff;
    }
    
    .image-rotator-tool .btn-outline-custom.active {
        background-color: #123f6c;
        color: #ffffff;
    }
    
    .image-rotator-tool .preset-btn {
        min-width: 80px;
        margin: 5px;
    }
    
    .image-rotator-tool .rotation-slider {
        width: 100%;
        height: 8px;
        border-radius: 5px;
        background: #57add8;
        outline: none;
        -webkit-appearance: none;
    }
    
    .image-rotator-tool .rotation-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #123f6c;
        cursor: pointer;
        border: 3px solid #ffffff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    
    .image-rotator-tool .rotation-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #123f6c;
        cursor: pointer;
        border: 3px solid #ffffff;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }
    
    .image-rotator-tool .angle-input {
        border: 2px solid #57add8;
        border-radius: 8px;
        padding: 10px 15px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #123f6c;
        text-align: center;
        width: 120px;
    }
    
    .image-rotator-tool .angle-input:focus {
        border-color: #123f6c;
        box-shadow: 0 0 0 3px rgba(18, 63, 108, 0.1);
        outline: none;
    }
    
    .image-rotator-tool .direction-btn {
        padding: 15px 25px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .image-rotator-tool .color-picker-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .image-rotator-tool .color-picker {
        width: 60px;
        height: 45px;
        border: 2px solid #57add8;
        border-radius: 8px;
        padding: 2px;
        cursor: pointer;
    }
    
    .image-rotator-tool .color-input {
        border: 2px solid #57add8;
        border-radius: 8px;
        padding: 10px 15px;
        width: 120px;
        font-family: monospace;
    }
    
    .image-rotator-tool .ad-container {
        background-color: #f8f9fa;
        border: 2px dashed #57add8;
        border-radius: 12px;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #123f6c;
    }
    
    .image-rotator-tool .ad-container-horizontal {
        background-color: #f8f9fa;
        border: 2px dashed #57add8;
        border-radius: 12px;
        min-height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #123f6c;
        margin: 20px 0;
    }
    
    .image-rotator-tool .features-section {
        background-color: rgba(87, 173, 216, 0.1);
        padding: 60px 0;
    }
    
    .image-rotator-tool .feature-card {
        background-color: #ffffff;
        border: 2px solid #57add8;
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        height: 100%;
        transition: all 0.3s ease;
    }
    
    .image-rotator-tool .feature-card:hover {
        border-color: #123f6c;
        box-shadow: 0 5px 20px rgba(18, 63, 108, 0.15);
    }
    
    .image-rotator-tool .feature-card i {
        font-size: 3rem;
        color: #57add8;
        margin-bottom: 20px;
    }
    
    .image-rotator-tool .feature-card h4 {
        color: #123f6c;
        font-weight: 600;
        margin-bottom: 15px;
    }
    
    .image-rotator-tool .feature-card p {
        color: #666;
        margin-bottom: 0;
    }
    
    .image-rotator-tool .how-to-section {
        background-color: #ffffff;
        padding: 60px 0;
    }
    
    .image-rotator-tool .section-title {
        color: #123f6c;
        font-weight: 700;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .image-rotator-tool .step-card {
        text-align: center;
        padding: 30px;
    }
    
    .image-rotator-tool .step-number {
        width: 60px;
        height: 60px;
        background-color: #123f6c;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 auto 20px;
    }
    
    .image-rotator-tool .step-card h5 {
        color: #123f6c;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .image-rotator-tool .step-card p {
        color: #666;
    }
    
    .image-rotator-tool .faq-section {
        background-color: rgba(87, 173, 216, 0.1);
        padding: 60px 0;
    }
    
    .image-rotator-tool .accordion-item {
        border: 2px solid #57add8;
        border-radius: 12px !important;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .image-rotator-tool .accordion-button {
        background-color: #ffffff;
        color: #123f6c;
        font-weight: 600;
        padding: 20px 25px;
    }
    
    .image-rotator-tool .accordion-button:not(.collapsed) {
        background-color: #123f6c;
        color: #ffffff;
    }
    
    .image-rotator-tool .accordion-button:focus {
        box-shadow: none;
        border-color: #57add8;
    }
    
    .image-rotator-tool .accordion-body {
        background-color: #ffffff;
        color: #444;
        padding: 25px;
        line-height: 1.7;
    }
    
    .image-rotator-tool .content-section {
        background-color: #ffffff;
        padding: 60px 0;
    }
    
    .image-rotator-tool .content-section h2 {
        color: #123f6c;
        font-weight: 700;
        margin-bottom: 20px;
    }
    
    .image-rotator-tool .content-section h3 {
        color: #123f6c;
        font-weight: 600;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .image-rotator-tool .content-section p {
        color: #444;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .image-rotator-tool .content-section ul {
        color: #444;
        line-height: 2;
    }
    
    .image-rotator-tool .rating-display {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 15px;
    }
    
    .image-rotator-tool .rating-display .stars {
        color: #ffc107;
        font-size: 1.2rem;
    }
    
    .image-rotator-tool .rating-display .rating-text {
        color: #ffffff;
        opacity: 0.9;
    }
    
    /* Toast/Popup Styles */
    .image-rotator-tool .toast-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
    }
    
    .image-rotator-tool .custom-toast {
        background-color: #123f6c;
        color: #ffffff;
        border-radius: 10px;
        padding: 15px 25px;
        margin-bottom: 10px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        gap: 15px;
        animation: slideIn 0.3s ease;
    }
    
    .image-rotator-tool .custom-toast.success {
        background-color: #28a745;
    }
    
    .image-rotator-tool .custom-toast.error {
        background-color: #dc3545;
    }
    
    .image-rotator-tool .custom-toast.warning {
        background-color: #ffc107;
        color: #123f6c;
    }
    
    .image-rotator-tool .custom-toast i {
        font-size: 1.5rem;
    }
    
    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    /* Modal Styles */
    .image-rotator-tool .modal-content {
        border: none;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .image-rotator-tool .modal-header {
        background-color: #123f6c;
        color: #ffffff;
        border-bottom: none;
        padding: 20px 25px;
    }
    
    .image-rotator-tool .modal-header .btn-close {
        filter: brightness(0) invert(1);
    }
    
    .image-rotator-tool .modal-body {
        padding: 30px;
    }
    
    .image-rotator-tool .modal-footer {
        border-top: none;
        padding: 20px 25px;
    }
    
    .image-rotator-tool .download-option {
        border: 2px solid #57add8;
        border-radius: 12px;
        padding: 20px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 10px;
    }
    
    .image-rotator-tool .download-option:hover {
        border-color: #123f6c;
        background-color: rgba(18, 63, 108, 0.05);
    }
    
    .image-rotator-tool .download-option.selected {
        border-color: #123f6c;
        background-color: #123f6c;
        color: #ffffff;
    }
    
    .image-rotator-tool .download-option i {
        font-size: 2.5rem;
        color: #57add8;
        margin-bottom: 10px;
    }
    
    .image-rotator-tool .download-option.selected i {
        color: #ffffff;
    }
    
    .image-rotator-tool .image-info {
        background-color: rgba(87, 173, 216, 0.1);
        border-radius: 8px;
        padding: 15px;
        margin-top: 15px;
    }
    
    .image-rotator-tool .image-info p {
        margin-bottom: 5px;
        color: #123f6c;
        font-size: 0.9rem;
    }
    
    .image-rotator-tool .breadcrumb-custom {
        background-color: transparent;
        padding: 15px 0;
    }
    
    .image-rotator-tool .breadcrumb-custom .breadcrumb-item a {
        color: #57add8;
        text-decoration: none;
    }
    
    .image-rotator-tool .breadcrumb-custom .breadcrumb-item.active {
        color: #123f6c;
    }
    
    /* Canvas for rotation */
    .image-rotator-tool #rotationCanvas {
        display: none;
    }
    
    /* Responsive Styles */
    @media (max-width: 991px) {
        .image-rotator-tool .ad-container {
            min-height: 250px;
            margin-bottom: 30px;
        }
    }
    
    @media (max-width: 767px) {
        .image-rotator-tool .tool-hero-section h1 {
            font-size: 1.8rem;
        }
        
        .image-rotator-tool .upload-area {
            padding: 40px 20px;
        }
        
        .image-rotator-tool .upload-area i {
            font-size: 3rem;
        }
        
        .image-rotator-tool .preview-image {
            max-height: 250px;
        }
        
        .image-rotator-tool .preset-btn {
            min-width: 60px;
            padding: 8px 15px;
        }
    }