html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn{
    margin: 10px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    padding: 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.badge {
    display: inline-block;
    background: #e0e7ff;
    color: #3730a3;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 18px;
    color: #555;
}

.hero-actions {
    margin-top: 30px;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary {
    margin-left: 12px;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    background: #f1f5f9;
    color: #1e293b;
}

/* TOOLS */
.tools-section {
    padding: 60px 20px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: auto;
}

.tool-card {
    padding: 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-align: left;
}

    .tool-card a {
        display: inline-block;
        margin-top: 12px;
        /*color: #2563eb;*/
        font-weight: 600;
        text-decoration: none;
    }

    .tool-card:hover {
        transform: translateY(-5px);
    }

.coming-soon span {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #999;
}

/* WHY SECTION */
.why-section {
    background: #f9fafb;
    padding: 60px 20px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.why-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
}

    .cta-section .btn-primary {
        margin-top: 20px;
    }

.btn-primary.large {
    font-size: 18px;
    padding: 16px 32px;
}

canvas {
    max-width: 100%;
}

.m-12-row-bg {
    background-color: darkorange;
}

table tbody tr td input {
    width: 100%; 
    min-width: 100px;
}


/*PDF merge*/
/* DROP ZONE */
.drop-zone {
    border: 2px dashed #2563eb;
    padding: 40px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    background: #f8fafc;
    transition: 0.3s;
}

    .drop-zone.drag-over {
        background: #e0e7ff;
    }

/* FILE LIST */
.file-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: auto;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: grab;
}

    .file-item button {
        border: none;
        background: transparent;
        cursor: pointer;
        font-size: 16px;
    }
.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    cursor: grab;
}

.file-thumb {
    width: 50px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    background: #f1f5f9;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
}

.remove-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
}


/*pdf compress*/
.file-info-box {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 8px;
}

/*image to pdf*/

#imageList {
    list-style: none;
    padding: 0;
}

.image-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.image-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

/*rotate pdf*/
.pdf-page-card {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

    .pdf-page-card canvas {
        width: 100%;
        border-radius: 8px;
        transition: transform 0.3s ease;
    }