.section {
    padding: 20px;
}

.tool-form input,
.tool-form select,
.tool-form button {
    width: 100%;
    box-sizing: border-box;
}

/* ===== Textarea ===== */
textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
}

/* ===== Buttons ===== */
.download-buttons button {
    width: 100%;
    margin-top: 10px;
}

/* ===== Tool Nav (scrollable on mobile) ===== */
.tool-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    white-space: nowrap;
}

.tool-nav a {
    flex: 0 0 auto;
    padding: 8px 14px;
    background: #f1f1f1;
    border-radius: 20px;
    font-size: 13px;
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {

    h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    h2 {
        font-size: 18px;
    }

    p, li {
        font-size: 14px;
    }

    .section {
        padding: 15px;
    }

    .tool-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    textarea {
        height: 150px;
    }

    .download-buttons {
        display: flex;
        flex-direction: column;
    }

    .seo-content {
        margin-top: 20px;
    }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 480px) {

    h1 {
        font-size: 20px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }

    .tool-nav a {
        font-size: 12px;
        padding: 6px 10px;
    }
}