/* Add these sections to style.css */

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    gap: 2rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Security Section */
.security {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.security-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--gray-color);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: white;
}

.faq-items {
    margin-top: 3rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .primary-btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .primary-btn:hover {
    background-color: #f5f5f5;
    color: var(--secondary-color);
}

.cta .secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cta .secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

#uploadBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.small-text {
    font-size: 0.8rem;
    color: var(--gray-color);
}

#bgRemoveInput {
    display: none;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-sm.active {
    background-color: var(--primary-color);
    color: white;
}

.comparison-view {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.image-box {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.image-box h4 {
    margin-bottom: 0.5rem;
}

.image-box img, .image-box canvas {
    max-width: 100%;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--dark-color);
}

/* Replace existing visitor counter styles with these */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    margin: 20px auto;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.counter-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.counter-stats {
    display: flex;
    gap: 20px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    animation: pulse 2s infinite;
}

.counter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Add these modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close:hover {
    color: var(--dark-color);
}

/* Base Styles */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4cc9f0;
    --warning-color: #f72585;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.image-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.image-preview-container {
    width: 100px;
    text-align: center;
}

.image-preview-container img {
    max-width: 100%;
    max-height: 80px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.image-preview-container p {
    margin: 5px 0 0;
    font-size: 12px;
    word-break: break-all;
}

/* Visitor Counter Styles */
.visitor-counter {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin: 20px auto;
    border: 1px solid rgba(67, 97, 238, 0.2);
    max-width: 300px;
}

.counter-icon {
    background: #4361ee;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.counter-stats {
    display: flex;
    gap: 20px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4361ee;
    line-height: 1;
}

.counter-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.counter-number.updated {
    animation: pulse 1s ease-in-out;
}

.counter-icon {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
}

.counter-stats {
    display: flex;
    gap: 20px;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.counter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.counter-number {
    animation: pulse 2s infinite;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

.premium-btn {
    background-color: var(--warning-color);
}

.premium-btn:hover {
    background-color: #d91a6d;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 800;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    color: var(--dark-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
    color: white;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: rgb(3, 3, 3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgb(3, 3, 3);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features h2, .pricing h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tool-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tool-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.tool-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tool-btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.premium-feature {
    position: relative;
    border: 2px solid var(--warning-color);
}

.premium-badge {
    background-color: var(--warning-color);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.features-list {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.features-list h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.features-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.features-list i {
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--warning-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.billing {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.pricing-card i {
    margin-right: 0.5rem;
}

.pricing-card .fa-check {
    color: var(--success-color);
}

.pricing-card .fa-times {
    color: var(--gray-color);
}

.pricing-card .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-contact i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.tool-modal .modal-content {
    max-width: 800px;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--gray-color);
    transition: var(--transition);
}

.close:hover {
    color: var(--dark-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

/* Tool Specific Styles */
.tool-container {
    margin-top: 1.5rem;
}

.file-upload {
    border: 2px dashed var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.05);
}

.file-upload i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-upload p {
    margin-bottom: 0;
}

#fileInput {
    display: none;
}

.options-container {
    margin-top: 1.5rem;
}

.option-group {
    margin-bottom: 1rem;
}

.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.option-group select, .option-group input[type="range"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
}

.process-btn {
    width: 100%;
    margin-top: 1rem;
}

.result-container {
    margin-top: 2rem;
    display: none;
}

.result-container h3 {
    margin-bottom: 1rem;
}

.download-btn {
    margin-top: 1rem;
}

.premium-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.premium-option {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.premium-option h3 {
    margin-bottom: 0.5rem;
}

.premium-option p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.payment-methods {
    margin-top: 2rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.payment-icons i, .local-payment {
    font-size: 2rem;
    color: var(--gray-color);
}

.local-payment {
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .features h2, .pricing h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    /* new Tools menu */
    /* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: 1px solid #eee;
    }
}
/* Remove Background Tool Styles */
.image-comparison {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.image-original, .image-processed {
    flex: 1;
    min-width: 300px;
}

.image-comparison h4 {
    margin-bottom: 10px;
    text-align: center;
}

.image-comparison img, .image-comparison canvas {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#processedCanvas {
    background: repeating-conic-gradient(#f5f5f5 0% 25%, white 0% 50%) 
                50% / 20px 20px;
}

}